Lines Matching refs:iBlock
22428 int iBlock; in memsys5FreeUnsafe() local
22433 iBlock = (int)(((u8 *)pOld-mem5.zPool)/mem5.szAtom); in memsys5FreeUnsafe()
22436 assert( iBlock>=0 && iBlock<mem5.nBlock ); in memsys5FreeUnsafe()
22438 assert( (mem5.aCtrl[iBlock] & CTRL_FREE)==0 ); in memsys5FreeUnsafe()
22440 iLogsize = mem5.aCtrl[iBlock] & CTRL_LOGSIZE; in memsys5FreeUnsafe()
22442 assert( iBlock+size-1<(u32)mem5.nBlock ); in memsys5FreeUnsafe()
22444 mem5.aCtrl[iBlock] |= CTRL_FREE; in memsys5FreeUnsafe()
22445 mem5.aCtrl[iBlock+size-1] |= CTRL_FREE; in memsys5FreeUnsafe()
22456 mem5.aCtrl[iBlock] = CTRL_FREE | iLogsize; in memsys5FreeUnsafe()
22459 if( (iBlock>>iLogsize) & 1 ){ in memsys5FreeUnsafe()
22460 iBuddy = iBlock - size; in memsys5FreeUnsafe()
22463 iBuddy = iBlock + size; in memsys5FreeUnsafe()
22469 if( iBuddy<iBlock ){ in memsys5FreeUnsafe()
22471 mem5.aCtrl[iBlock] = 0; in memsys5FreeUnsafe()
22472 iBlock = iBuddy; in memsys5FreeUnsafe()
22474 mem5.aCtrl[iBlock] = CTRL_FREE | iLogsize; in memsys5FreeUnsafe()
22483 memset(&mem5.zPool[iBlock*mem5.szAtom], 0x55, size); in memsys5FreeUnsafe()
22486 memsys5Link(iBlock, iLogsize); in memsys5FreeUnsafe()
157238 sqlite3_int64 iBlock, /* Block id for new block */
157245 sqlite3_bind_int64(pStmt, 1, iBlock);
158978 sqlite3_int64 iBlock; /* Current block id */
159132 sqlite3_int64 iPtr = pWriter->aNodeWriter[0].iBlock;
159184 rc = fts3WriteSegment(p, pNode->iBlock, pNode->block.a, pNode->block.n);
159190 iNextPtr = pNode->iBlock;
159191 pNode->iBlock++;
159304 rc = fts3WriteSegment(p, pLeaf->iBlock, pLeaf->block.a, pLeaf->block.n);
159324 pLeaf->iBlock++;
159409 &pBlock->a[1], pWriter->aNodeWriter[0].iBlock
159420 rc = fts3WriteSegment(p, pNode->iBlock, pNode->block.a, pNode->block.n);
159432 pWriter->aNodeWriter[0].iBlock, /* leaves_end_block */
159586 pWriter->aNodeWriter[i].iBlock = pWriter->iStart + i*pWriter->nLeafEst;
159590 pNode->iBlock = pWriter->iStart + pWriter->nLeafEst*nHeight;
159611 pNode->iBlock = reader.iChild;
159735 pWriter->aNodeWriter[i].iBlock = pWriter->iStart + i*pWriter->nLeafEst;
159915 sqlite3_int64 iBlock = 0; /* Block id */
159929 rc = fts3TruncateNode(aRoot, nRoot, &root, zTerm, nTerm, &iBlock);
159935 while( rc==SQLITE_OK && iBlock ){
159938 iNewStart = iBlock;
159940 rc = sqlite3Fts3ReadBlock(p, iBlock, &aBlock, &nBlock, 0);
159942 rc = fts3TruncateNode(aBlock, nBlock, &block, zTerm, nTerm, &iBlock);