Lines Matching defs:iSize
25815 i64 iSize; /* Size of this allocation */
25888 static void adjustStats(int iSize, int increment){
25889 int i = ROUND8(iSize)/8;
25920 nReserve = ROUND8(p->iSize);
25928 while( nReserve-- > p->iSize ) assert( pU8[nReserve]==0x65 );
25941 return (int)pHdr->iSize;
26045 pHdr->iSize = nByte;
26086 adjustStats((int)pHdr->iSize, -1);
26088 (int)pHdr->iSize + sizeof(int) + pHdr->nTitle);
26110 memcpy(pNew, pPrior, (int)(nByte<pOldHdr->iSize ? nByte : pOldHdr->iSize));
26111 if( nByte>pOldHdr->iSize ){
26112 randomFill(&((char*)pNew)[pOldHdr->iSize], nByte - (int)pOldHdr->iSize);
26227 mem.xBacktrace((int)pHdr->iSize, pHdr->nBacktrace-1, &pBt[1]);
26250 pHdr->iSize, &pHdr[1], pHdr->nTitle ? z : "???");
27182 int iSize, i;
27186 iSize = mem5.szAtom * (1 << (mem5.aCtrl[i]&CTRL_LOGSIZE));
27187 return iSize;
52272 ** with values between 1 and iSize, inclusive.
52275 ** If iSize<=BITVEC_NBIT, then Bitvec.u.aBitmap[] is a straight
52278 ** If iSize>BITVEC_NBIT and iDivisor==0 then Bitvec.u.aHash[] is
52290 u32 iSize; /* Maximum bit index. Max iSize is 4,294,967,296. */
52306 ** Create a new bitmap object able to handle bits between 0 and iSize,
52310 SQLITE_PRIVATE Bitvec *sqlite3BitvecCreate(u32 iSize){
52315 p->iSize = iSize;
52328 if( i>=p->iSize ) return 0;
52337 if( p->iSize<=BITVEC_NBIT ){
52368 assert( i<=p->iSize );
52370 while((p->iSize > BITVEC_NBIT) && p->iDivisor) {
52379 if( p->iSize<=BITVEC_NBIT ){
52414 p->iDivisor = (p->iSize + BITVEC_NPTR - 1)/BITVEC_NPTR;
52447 if( p->iSize<=BITVEC_NBIT ){
52484 ** Return the value of the iSize parameter specified when Bitvec *p
52488 return p->iSize;
53953 int iSize;
53956 iSize = sqlite3MallocSize(p);
53958 return iSize;
70407 ** and the size of the block is iSize bytes.
70417 static int freeSpace(MemPage *pPage, u16 iStart, u16 iSize){
70422 u16 iOrigSize = iSize; /* Original value of iSize */
70424 u32 iEnd = iStart + iSize; /* First byte past the iStart buffer */
70433 assert( iSize>=4 ); /* Minimum cell size is 4 */
70469 iSize = iEnd - iStart;
70482 iSize = iEnd - iPtr;
70506 memset(&data[iStart], 0, iSize);
70509 put2byte(&data[iStart+2], iSize);
80059 ** If pFile is currently larger than iSize bytes, then truncate it to
80060 ** exactly iSize bytes. If pFile is not larger than iSize bytes, then
80066 static int backupTruncateFile(sqlite3_file *pFile, i64 iSize){
80069 if( rc==SQLITE_OK && iCurrent>iSize ){
80070 rc = sqlite3OsTruncate(pFile, iSize);
80244 const i64 iSize = (i64)pgszSrc * (i64)nSrcPage;
80253 || (i64)nDestTruncate*(i64)pgszDest >= iSize || (
80255 && iSize>=PENDING_BYTE && iSize<=PENDING_BYTE+pgszDest
80280 iEnd = MIN(PENDING_BYTE + pgszDest, iSize);
80296 rc = backupTruncateFile(pFile, iSize);
201354 u32 iSize; /* Size of this object */
202755 sqlite3_malloc64( sizeof(*pInfo)+pSrc->iSize );
202759 memcpy(pBlob, pSrc, pSrc->iSize);
207259 pBlob->iSize = nBlob;