Home | History | Annotate | Download | only in orig

Lines Matching refs:nReq

37814 ** nReq is the number of bytes of memory required. Once this much has
37818 SQLITE_PRIVATE int sqlite3PcacheReleaseMemory(int nReq){
37825 while( (nReq<0 || nFree<nReq) && ((p=pcache1.grp.pLruTail)!=0) ){
47060 i64 nReq = ((i64)mxPage * szPage);
47062 if( rc==SQLITE_OK && nSize<nReq ){
47063 sqlite3OsFileControlHint(pWal->pDbFd, SQLITE_FCNTL_SIZE_HINT, &nReq);
126912 int nReq = nData; /* Required space after adding zTerm */
126919 nReq += sqlite3Fts3VarintLen(nPrefix)+sqlite3Fts3VarintLen(nSuffix)+nSuffix;
126920 if( nReq<=p->nNodeSize || !pTree->zTerm ){
126922 if( nReq>p->nNodeSize ){
126931 pTree->aData = (char *)sqlite3_malloc(nReq);
127113 int nReq; /* Number of bytes required on leaf page */
127148 nReq = sqlite3Fts3VarintLen(nPrefix) + /* varint containing prefix size */
127154 if( nData>0 && nData+nReq>p->nNodeSize ){
127182 nReq = 1 + /* varint containing prefix size */
127192 if( nReq>pWriter->nSize ){
127193 char *aNew = sqlite3_realloc(pWriter->aData, nReq);
127196 pWriter->nSize = nReq;
127198 assert( nData+nReq<=pWriter->nSize );