Home | History | Annotate | Download | only in amalgamation

Lines Matching refs:nReq

35852 ** nReq is the number of bytes of memory required. Once this much has
35856 SQLITE_PRIVATE int sqlite3PcacheReleaseMemory(int nReq){
35863 while( (nReq<0 || nFree<nReq) && ((p=pcache1.grp.pLruTail)!=0) ){
45152 i64 nReq = ((i64)mxPage * szPage);
45154 if( rc==SQLITE_OK && nSize<nReq ){
45155 sqlite3OsFileControl(pWal->pDbFd, SQLITE_FCNTL_SIZE_HINT, &nReq);
121611 int nReq = nData; /* Required space after adding zTerm */
121618 nReq += sqlite3Fts3VarintLen(nPrefix)+sqlite3Fts3VarintLen(nSuffix)+nSuffix;
121619 if( nReq<=p->nNodeSize || !pTree->zTerm ){
121621 if( nReq>p->nNodeSize ){
121630 pTree->aData = (char *)sqlite3_malloc(nReq);
121812 int nReq; /* Number of bytes required on leaf page */
121847 nReq = sqlite3Fts3VarintLen(nPrefix) + /* varint containing prefix size */
121853 if( nData>0 && nData+nReq>p->nNodeSize ){
121881 nReq = 1 + /* varint containing prefix size */
121891 if( nReq>pWriter->nSize ){
121892 char *aNew = sqlite3_realloc(pWriter->aData, nReq);
121895 pWriter->nSize = nReq;
121897 assert( nData+nReq<=pWriter->nSize );