Lines Matching defs:iSize

26989   i64 iSize;                          /* Size of this allocation */
27062 static void adjustStats(int iSize, int increment){
27063 int i = ROUND8(iSize)/8;
27094 nReserve = ROUND8(p->iSize);
27102 while( nReserve-- > p->iSize ) assert( pU8[nReserve]==0x65 );
27115 return (int)pHdr->iSize;
27219 pHdr->iSize = nByte;
27260 adjustStats((int)pHdr->iSize, -1);
27262 (int)pHdr->iSize + sizeof(int) + pHdr->nTitle);
27284 memcpy(pNew, pPrior, (int)(nByte<pOldHdr->iSize ? nByte : pOldHdr->iSize));
27285 if( nByte>pOldHdr->iSize ){
27286 randomFill(&((char*)pNew)[pOldHdr->iSize], nByte - (int)pOldHdr->iSize);
27401 mem.xBacktrace((int)pHdr->iSize, pHdr->nBacktrace-1, &pBt[1]);
27424 pHdr->iSize, &pHdr[1], pHdr->nTitle ? z : "???");
28356 int iSize, i;
28360 iSize = mem5.szAtom * (1 << (mem5.aCtrl[i]&CTRL_LOGSIZE));
28361 return iSize;
53881 ** with values between 1 and iSize, inclusive.
53884 ** If iSize<=BITVEC_NBIT, then Bitvec.u.aBitmap[] is a straight
53887 ** If iSize>BITVEC_NBIT and iDivisor==0 then Bitvec.u.aHash[] is
53899 u32 iSize; /* Maximum bit index. Max iSize is 4,294,967,296. */
53915 ** Create a new bitmap object able to handle bits between 0 and iSize,
53919 SQLITE_PRIVATE Bitvec *sqlite3BitvecCreate(u32 iSize){
53924 p->iSize = iSize;
53937 if( i>=p->iSize ) return 0;
53946 if( p->iSize<=BITVEC_NBIT ){
53977 assert( i<=p->iSize );
53979 while((p->iSize > BITVEC_NBIT) && p->iDivisor) {
53988 if( p->iSize<=BITVEC_NBIT ){
54023 p->iDivisor = (p->iSize + BITVEC_NPTR - 1)/BITVEC_NPTR;
54056 if( p->iSize<=BITVEC_NBIT ){
54093 ** Return the value of the iSize parameter specified when Bitvec *p
54097 return p->iSize;
55575 int iSize;
55578 iSize = sqlite3MallocSize(p);
55580 return iSize;
72446 ** and the size of the block is iSize bytes.
72456 static int freeSpace(MemPage *pPage, u16 iStart, u16 iSize){
72461 u16 iOrigSize = iSize; /* Original value of iSize */
72463 u32 iEnd = iStart + iSize; /* First byte past the iStart buffer */
72472 assert( iSize>=4 ); /* Minimum cell size is 4 */
72508 iSize = iEnd - iStart;
72521 iSize = iEnd - iPtr;
72533 memset(&data[iStart], 0, iSize);
72547 put2byte(&data[iStart+2], iSize);
82294 ** If pFile is currently larger than iSize bytes, then truncate it to
82295 ** exactly iSize bytes. If pFile is not larger than iSize bytes, then
82301 static int backupTruncateFile(sqlite3_file *pFile, i64 iSize){
82304 if( rc==SQLITE_OK && iCurrent>iSize ){
82305 rc = sqlite3OsTruncate(pFile, iSize);
82482 const i64 iSize = (i64)pgszSrc * (i64)nSrcPage;
82491 || (i64)nDestTruncate*(i64)pgszDest >= iSize || (
82493 && iSize>=PENDING_BYTE && iSize<=PENDING_BYTE+pgszDest
82518 iEnd = MIN(PENDING_BYTE + pgszDest, iSize);
82534 rc = backupTruncateFile(pFile, iSize);
210726 u32 iSize; /* Size of this object */
212137 sqlite3_malloc64( sizeof(*pInfo)+pSrc->iSize );
212141 memcpy(pBlob, pSrc, pSrc->iSize);
216535 pBlob->iSize = nBlob;