Lines Matching refs:nSize
33657 i64 nSize; /* Required file size */
33664 nSize = ((nByte+pFile->szChunk-1) / pFile->szChunk) * pFile->szChunk;
33665 if( nSize>(i64)buf.st_size ){
33673 err = osFallocate(pFile->h, buf.st_size, nSize-buf.st_size);
33691 for(/*no-op*/; iWrite<nSize+nBlk-1; iWrite+=nBlk ){
33692 if( iWrite>=nSize ) iWrite = nSize - 1;
55738 i64 nSize; /* Size of log file */
55763 rc = sqlite3OsFileSize(pWal->pWalFd, &nSize);
55768 if( nSize>WAL_HDRSIZE ){
55834 for(iOffset=WAL_HDRSIZE; (iOffset+szFrame)<=nSize; iOffset+=szFrame){
56446 i64 nSize; /* Current size of database file */
56461 rc = sqlite3OsFileSize(pWal->pDbFd, &nSize);
56462 if( rc==SQLITE_OK && nSize<nReq ){
58678 u16 nSize; /* Size of the cell content on the main b-tree page */
60272 pInfo->nSize = (u16)(&pInfo->pPayload[pInfo->nLocal] - pCell) + 4;
60300 pInfo->nSize = 4 + getVarint(&pCell[4], (u64*)&pInfo->nKey);
60367 pInfo->nSize = nPayload + (u16)(pIter - pCell);
60368 if( pInfo->nSize<4 ) pInfo->nSize = 4;
60404 pInfo->nSize = nPayload + (u16)(pIter - pCell);
60405 if( pInfo->nSize<4 ) pInfo->nSize = 4;
60434 u32 nSize; /* Size value to return */
60445 nSize = *pIter;
60446 if( nSize>=0x80 ){
60448 nSize &= 0x7f;
60450 nSize = (nSize<<7) | (*++pIter & 0x7f);
60461 testcase( nSize==pPage->maxLocal );
60462 testcase( nSize==pPage->maxLocal+1 );
60463 if( nSize<=pPage->maxLocal ){
60464 nSize += (u32)(pIter - pCell);
60465 if( nSize<4 ) nSize = 4;
60468 nSize = minLocal + (nSize - minLocal) % (pPage->pBt->usableSize - 4);
60469 testcase( nSize==pPage->maxLocal );
60470 testcase( nSize==pPage->maxLocal+1 );
60471 if( nSize>pPage->maxLocal ){
60472 nSize = minLocal;
60474 nSize += 4 + (u16)(pIter - pCell);
60476 assert( nSize==debuginfo.nSize || CORRUPT_DB );
60477 return (u16)nSize;
60497 assert( debuginfo.nSize==(u16)(pIter - pCell) || CORRUPT_DB );
60522 Pgno ovfl = get4byte(&pCell[info.nSize-4]);
62633 if( pCell+info.nSize > pPage->aData+pPage->pBt->usableSize ){
62636 if( iFrom==get4byte(pCell+info.nSize-4) ){
62637 put4byte(pCell+info.nSize-4, iTo);
63536 if( pCur->info.nSize==0 ){
63996 assert( pCur->info.nSize>0 );
64044 pCur->info.nSize = 0;
64093 pCur->info.nSize = 0;
64178 pCur->info.nSize = 0;
64242 assert( pCur->info.nSize==0 );
64462 pCur->info.nSize = 0;
64575 pCur->info.nSize = 0;
64714 pCur->info.nSize = 0;
64760 assert( pCur->info.nSize==0 );
64797 assert( pCur->info.nSize==0 );
64817 pCur->info.nSize = 0;
65327 if( pCell+pInfo->nSize-1 > pPage->aData+pPage->maskPage ){
65330 ovflPgno = get4byte(pCell + pInfo->nSize - 4);
65470 assert( *pnSize == info.nSize );
66183 Pgno ovfl = get4byte(&z[info.nSize-4]);
67386 if( info.nSize==szNew && info.nLocal==info.nPayload
67403 dropCell(pPage, idx, info.nSize, &rc);
67436 pCur->info.nSize = 0;
67567 dropCell(pPage, iCellIdx, info.nSize, &rc);
68521 if( pc+info.nSize>usableSize ){
68540 assert( pc + info.nSize - 4 <= usableSize );
68542 pgnoOvfl = get4byte(&pCell[info.nSize - 4]);
68567 btreeHeapInsert(heap, (pc<<16)|(pc+info.nSize-1));
89025 int nSize; /* Bytes of data currently in memory */
89208 p->nSize = iAmt + iOfst;
89226 p->nSize = 0;
92191 int nSize;
92196 nSize = EXPR_FULLSIZE;
92203 nSize = EXPR_REDUCEDSIZE | EP_Reduced;
92206 nSize = EXPR_TOKENONLYSIZE | EP_TokenOnly;
92209 return nSize;
92295 u32 nSize = (u32)exprStructSize(p);
92296 memcpy(zAlloc, p, nSize);
92297 if( nSize<EXPR_FULLSIZE ){
92298 memset(&zAlloc[nSize], 0, EXPR_FULLSIZE-nSize);
152167 static int fts3auxGrowStatArray(Fts3auxCursor *pCsr, int nSize){
152168 if( nSize>pCsr->nStat ){
152171 sizeof(struct Fts3auxColstats) * nSize
152175 sizeof(struct Fts3auxColstats) * (nSize - pCsr->nStat)
152178 pCsr->nStat = nSize;
156241 int nSize; /* Size of allocation at aData */
158280 pWriter->nSize = p->nNodeSize;
158346 if( nReq>pWriter->nSize ){
158350 pWriter->nSize = nReq;
158352 assert( nData+nReq<=pWriter->nSize );
159136 i64 nSize = 0, dummy;
159137 fts3ReadEndBlockField(pRange, 2, &dummy, &nSize);
159138 if( nSize<=0 || nSize>nLimit ){
190436 int nSize;
194884 u8 *p = pIter->aPoslist + pIter->nSize + pIter->nPoslist;
194898 pIter->nSize = fts5GetVarint32(p, nPos);
194902 pIter->nSize = 1;
195034 fts5BufferSafeAppendBlob(&out, i1.aPoslist, i1.nPoslist+i1.nSize);
195041 fts5BufferSafeAppendBlob(&out, i2.aPoslist, i2.nPoslist+i2.nSize);
195051 u8 *a1 = &i1.aPoslist[i1.nSize];
195052 u8 *a2 = &i2.aPoslist[i2.nSize];