Lines Matching refs:nReq
46170 SQLITE_PRIVATE int sqlite3PcacheReleaseMemory(int nReq){
46177 while( (nReq<0 || nFree<nReq)
56209 i64 nReq = ((i64)mxPage * szPage);
56211 if( rc==SQLITE_OK && nSize<nReq ){
56212 sqlite3OsFileControlHint(pWal->pDbFd, SQLITE_FCNTL_SIZE_HINT, &nReq);
87625 int nReq; /* Bytes of memory required */
87658 nReq = pVal->n + sizeof(SorterRecord);
87662 bFlush = pSorter->iMemory && (pSorter->iMemory+nReq) > pSorter->mxPmaSize;
87683 int nMin = pSorter->iMemory + nReq;
87701 pSorter->iMemory += ROUND8(nReq);
87706 pNew = (SorterRecord *)sqlite3Malloc(nReq);
157349 int nReq = nData; /* Required space after adding zTerm */
157356 nReq += sqlite3Fts3VarintLen(nPrefix)+sqlite3Fts3VarintLen(nSuffix)+nSuffix;
157357 if( nReq<=p->nNodeSize || !pTree->zTerm ){
157359 if( nReq>p->nNodeSize ){
157368 pTree->aData = (char *)sqlite3_malloc(nReq);
157550 int nReq; /* Number of bytes required on leaf page */
157585 nReq = sqlite3Fts3VarintLen(nPrefix) + /* varint containing prefix size */
157591 if( nData>0 && nData+nReq>p->nNodeSize ){
157620 nReq = 1 + /* varint containing prefix size */
157628 pWriter->nLeafData += nReq;
157633 if( nReq>pWriter->nSize ){
157634 char *aNew = sqlite3_realloc(pWriter->aData, nReq);
157637 pWriter->nSize = nReq;
157639 assert( nData+nReq<=pWriter->nSize );
193183 int nReq = p->pConfig->pgsz - pPage->buf.n - pPage->pgidx.n;
193185 while( nCopy<nReq ){