Lines Matching refs:nReq
37842 ** nReq is the number of bytes of memory required. Once this much has
37846 SQLITE_PRIVATE int sqlite3PcacheReleaseMemory(int nReq){
37853 while( (nReq<0 || nFree<nReq) && ((p=pcache1.grp.pLruTail)!=0) ){
47088 i64 nReq = ((i64)mxPage * szPage);
47090 if( rc==SQLITE_OK && nSize<nReq ){
47091 sqlite3OsFileControlHint(pWal->pDbFd, SQLITE_FCNTL_SIZE_HINT, &nReq);
126960 int nReq = nData; /* Required space after adding zTerm */
126967 nReq += sqlite3Fts3VarintLen(nPrefix)+sqlite3Fts3VarintLen(nSuffix)+nSuffix;
126968 if( nReq<=p->nNodeSize || !pTree->zTerm ){
126970 if( nReq>p->nNodeSize ){
126979 pTree->aData = (char *)sqlite3_malloc(nReq);
127161 int nReq; /* Number of bytes required on leaf page */
127196 nReq = sqlite3Fts3VarintLen(nPrefix) + /* varint containing prefix size */
127202 if( nData>0 && nData+nReq>p->nNodeSize ){
127230 nReq = 1 + /* varint containing prefix size */
127240 if( nReq>pWriter->nSize ){
127241 char *aNew = sqlite3_realloc(pWriter->aData, nReq);
127244 pWriter->nSize = nReq;
127246 assert( nData+nReq<=pWriter->nSize );