Lines Matching refs:nSize

29168     i64 nSize;                    /* Required file size */
29175 nSize = ((nByte+pFile->szChunk-1) / pFile->szChunk) * pFile->szChunk;
29176 if( nSize>(i64)buf.st_size ){
29184 err = osFallocate(pFile->h, buf.st_size, nSize-buf.st_size);
29203 for(/*no-op*/; iWrite<nSize; iWrite+=nBlk ){
29207 if( nWrite==0 || (nSize%nBlk) ){
29208 nWrite = seekAndWrite(pFile, nSize-1, "", 1);
49983 i64 nSize; /* Size of log file */
50008 rc = sqlite3OsFileSize(pWal->pWalFd, &nSize);
50013 if( nSize>WAL_HDRSIZE ){
50079 for(iOffset=WAL_HDRSIZE; (iOffset+szFrame)<=nSize; iOffset+=szFrame){
50680 i64 nSize; /* Current size of database file */
50693 rc = sqlite3OsFileSize(pWal->pDbFd, &nSize);
50694 if( rc==SQLITE_OK && nSize<nReq ){
52569 u16 nSize; /* Size of the cell content on the main b-tree page */
54073 pInfo->nSize = 4 + getVarint(&pCell[4], (u64*)&pInfo->nKey);
54092 pInfo->nSize = nPayload + (u16)(pIter - pCell);
54093 if( pInfo->nSize<4 ) pInfo->nSize = 4;
54121 pInfo->nSize = pInfo->iOverflow + 4;
54141 u32 nSize; /* Size value to return */
54158 nSize = *pIter;
54159 if( nSize>=0x80 ){
54161 nSize &= 0x7f;
54163 nSize = (nSize<<7) | (*++pIter & 0x7f);
54174 testcase( nSize==pPage->maxLocal );
54175 testcase( nSize==pPage->maxLocal+1 );
54176 if( nSize<=pPage->maxLocal ){
54177 nSize += (u32)(pIter - pCell);
54178 if( nSize<4 ) nSize = 4;
54181 nSize = minLocal + (nSize - minLocal) % (pPage->pBt->usableSize - 4);
54182 testcase( nSize==pPage->maxLocal );
54183 testcase( nSize==pPage->maxLocal+1 );
54184 if( nSize>pPage->maxLocal ){
54185 nSize = minLocal;
54187 nSize += 4 + (u16)(pIter - pCell);
54189 assert( nSize==debuginfo.nSize || CORRUPT_DB );
54190 return (u16)nSize;
57047 if( pCur->info.nSize==0 ){
57058 if( pCur->info.nSize==0 ){ \
57529 assert( pCur->info.nSize>0 );
57590 pCur->info.nSize = 0;
57642 pCur->info.nSize = 0;
57716 pCur->info.nSize = 0;
57779 assert( pCur->info.nSize==0 );
58077 pCur->info.nSize = 0;
58192 pCur->info.nSize = 0;
58238 assert( pCur->info.nSize==0 );
58275 assert( pCur->info.nSize==0 );
58295 pCur->info.nSize = 0;
58809 *pnSize = info.nSize;
58963 assert( *pnSize == info.nSize );
60745 pCur->info.nSize = 0;
83609 int nSize;
83614 nSize = EXPR_FULLSIZE;
83621 nSize = EXPR_REDUCEDSIZE | EP_Reduced;
83624 nSize = EXPR_TOKENONLYSIZE | EP_TokenOnly;
83627 return nSize;
83711 int nSize = exprStructSize(p);
83712 memcpy(zAlloc, p, nSize);
83713 memset(&zAlloc[nSize], 0, EXPR_FULLSIZE-nSize);
139166 static int fts3auxGrowStatArray(Fts3auxCursor *pCsr, int nSize){
139167 if( nSize>pCsr->nStat ){
139170 sizeof(struct Fts3auxColstats) * nSize
139174 sizeof(struct Fts3auxColstats) * (nSize - pCsr->nStat)
139177 pCsr->nStat = nSize;
143182 int nSize; /* Size of allocation at aData */
145204 pWriter->nSize = p->nNodeSize;
145270 if( nReq>pWriter->nSize ){
145274 pWriter->nSize = nReq;
145276 assert( nData+nReq<=pWriter->nSize );
146060 i64 nSize = 0, dummy;
146061 fts3ReadEndBlockField(pRange, 2, &dummy, &nSize);
146062 if( nSize<=0 || nSize>nLimit ){