Lines Matching refs:iKey
55275 unsigned int iKey; /* Key value (page number) */
55715 unsigned int h = pPage->iKey % nNew;
55765 h = pPage->iKey % pCache->nHash;
55831 if( pPage->iKey>=iLimit ){
56032 unsigned int iKey,
56082 unsigned int h = iKey % pCache->nHash;
56084 pPage->iKey = iKey;
56092 if( iKey>pCache->iMaxKey ){
56093 pCache->iMaxKey = iKey;
56160 unsigned int iKey,
56167 pPage = pCache->apHash[iKey % pCache->nHash];
56168 while( pPage && pPage->iKey!=iKey ){ pPage = pPage->pNext; }
56182 return pcache1FetchStage2(pCache, iKey, createFlag);
56190 unsigned int iKey,
56197 pPage = pcache1FetchNoMutex(p, iKey, createFlag);
56198 assert( pPage==0 || pCache->iMaxKey>=iKey );
56205 unsigned int iKey,
56220 return (sqlite3_pcache_page*)pcache1FetchWithMutex(p, iKey, createFlag);
56224 return (sqlite3_pcache_page*)pcache1FetchNoMutex(p, iKey, createFlag);
56279 assert( pPage->iKey==iOld );
56295 pPage->iKey = iNew;
66182 int iKey; /* Hash key */
66184 for(iKey=walHash(sLoc.aPgno[j]);sLoc.aHash[iKey];iKey=walNextHash(iKey)){
66185 if( sLoc.aHash[iKey]==j+1 ) break;
66187 assert( sLoc.aHash[iKey]==j+1 );
66208 int iKey; /* Hash table key */
66237 for(iKey=walHash(iPage); sLoc.aHash[iKey]; iKey=walNextHash(iKey)){
66241 AtomicStore(&sLoc.aHash[iKey], (ht_slot)idx);
66262 for(iKey=walHash(sLoc.aPgno[i]);
66263 sLoc.aHash[iKey];
66264 iKey=walNextHash(iKey)){
66265 if( sLoc.aHash[iKey]==i+1 ) break;
66267 assert( sLoc.aHash[iKey]==i+1 );
68448 int iKey; /* Hash slot index */
68458 iKey = walHash(pgno);
68460 while( (iH = AtomicLoad(&sLoc.aHash[iKey]))!=0 ){
68470 iKey = walNextHash(iKey);
71808 u64 iKey; /* Extracted Key value */
71839 iKey = *pIter;
71840 if( iKey>=0x80 ){
71842 iKey = (iKey<<7) ^ (x = *++pIter);
71844 iKey = (iKey<<7) ^ (x = *++pIter);
71846 iKey = (iKey<<7) ^ 0x10204000 ^ (x = *++pIter);
71848 iKey = (iKey<<7) ^ 0x4000 ^ (x = *++pIter);
71850 iKey = (iKey<<7) ^ 0x4000 ^ (x = *++pIter);
71852 iKey = (iKey<<7) ^ 0x4000 ^ (x = *++pIter);
71854 iKey = (iKey<<7) ^ 0x4000 ^ (x = *++pIter);
71856 iKey = (iKey<<8) ^ 0x8000 ^ (*++pIter);
71863 iKey ^= 0x204000;
71866 iKey ^= 0x4000;
71871 pInfo->nKey = *(i64*)&iKey;
80155 SQLITE_PRIVATE int sqlite3BtreeTransferRow(BtCursor *pDest, BtCursor *pSrc, i64 iKey){
80168 if( pDest->pKeyInfo==0 ) aOut += putVarint(aOut, iKey);
97853 i64 iKey; /* The rowid we are to seek to */
97889 iKey = sqlite3VdbeIntValue(pIn3); /* Get the integer key value */
97907 c = sqlite3IntFloatCompare(iKey, pIn3->u.r);
97932 rc = sqlite3BtreeTableMoveto(pC->uc.pCursor, (u64)iKey, 0, &res);
97933 pC->movetoTarget = iKey; /* Used by OP_Delete */
98518 u64 iKey;
98534 iKey = x.u.i;
98543 iKey = pIn3->u.i;
98555 rc = sqlite3BtreeTableMoveto(pCrsr, iKey, 0, &res);
98557 pC->movetoTarget = iKey; /* Used by OP_Delete */
98869 i64 iKey; /* Rowid value to insert with */
98876 iKey = pOp->p3 ? aMem[pOp->p3].u.i : 0;
98877 rc = sqlite3BtreeTransferRow(pDest->uc.pCursor, pSrc->uc.pCursor, iKey);
98946 i64 iKey = sqlite3BtreeIntegerKey(pC->uc.pCursor);
98947 assert( CORRUPT_DB || pC->movetoTarget==iKey );
102707 sqlite3_int64 iKey;
102708 iKey = sqlite3BtreeIntegerKey(p->pCsr);
102712 v, v->apCsr[0], SQLITE_DELETE, p->zDb, p->pTab, iKey, -1, p->iCol
127931 int iKey; /* Memory cell holding key of row to be deleted */
128164 iKey = iPk;
128166 iKey = ++pParse->nMem;
128167 sqlite3ExprCodeGetColumnOfTable(v, pTab, iTabCur, -1, iKey);
128189 iKey = ++pParse->nMem;
128191 sqlite3VdbeAddOp4(v, OP_MakeRecord, iPk, nPk, iKey,
128193 sqlite3VdbeAddOp4Int(v, OP_IdxInsert, iEphCur, iKey, iPk, nPk);
128197 sqlite3VdbeAddOp2(v, OP_RowSetAdd, iRowSet, iKey);
128229 sqlite3VdbeAddOp4Int(v, OP_NotFound, iDataCur, addrBypass, iKey, nKey);
128235 sqlite3VdbeAddOp3(v, OP_Column, iEphCur, 0, iKey);
128237 sqlite3VdbeAddOp2(v, OP_RowData, iEphCur, iKey);
128241 addrLoop = sqlite3VdbeAddOp3(v, OP_RowSetRead, iRowSet, 0, iKey);
128259 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, 1, iKey, pVTab, P4_VTAB);
128266 iKey, nKey, count, OE_Default, eOnePass, aiCurOnePass[1]);
132242 int iKey;
132243 for(iKey=0; iKey<pTab->nCol; iKey++){
132244 if( aChange[iKey]>=0 || (iKey==pTab->iPKey && bChngRowid) ){
132245 Column *pCol = &pTab->aCol[iKey];
144645 int iKey = iCol+1;
144655 sqlite3VdbeAddOp3(v, OP_Column, iSortTab, iKey++, regKey);
144663 sqlite3VdbeAddOp3(v, OP_Column, iSortTab, iKey++, regKey+k);
209626 i64 iKey; /* Key for JSONB_ARRAY */
209779 jsonPrintf(30, &p->path, "[%lld]", p->aParent[p->nParent-1].iKey);
209832 pParent->iKey = -1;
209864 p->aParent[p->nParent-1].iKey++;
209924 sqlite3_result_int64(ctx, p->aParent[p->nParent-1].iKey);
210153 p->aParent[0].iKey = 0;
214270 i64 iKey, /* Key for mapping */
214289 sqlite3_bind_int64(pStmt, 1, iKey);
214293 iKey, iVal, (bLeaf ? "%_rowid" : "%_parent")
214300 iKey, ii, (bLeaf ? "%_rowid" : "%_parent"), iKey, iVal
245836 int iKey = 0;
245841 for(iIdx=0; iIdx<nIdx; iKey++){
245847 assert_nc( iKey>=1 );
245867 if( iKey!=1 ){
245878 if( iKey!=1 ){
248612 i64 iKey;
248621 iKey = FTS5_SEGMENT_ROWID(iSegid, iPg);
248622 pLeaf = fts5DataRead(p, iKey);
248632 iKey = FTS5_SEGMENT_ROWID(iSegid, iPrevLeaf);
248633 pLeaf = fts5DataRead(p, iKey);
248805 static void fts5DebugRowid(int *pRc, Fts5Buffer *pBuf, i64 iKey){
248807 fts5DecodeRowid(iKey, &bTomb, &iSegid, &bDlidx, &iHeight, &iPgno);
248810 if( iKey==FTS5_AVERAGES_ROWID ){
256143 u16 iKey;
256150 iKey = (iCode & 0xFFFF);
256154 if( iKey>=aFts5UnicodeMap[iTest] ){
256163 if( iKey>=(aFts5UnicodeMap[iRes]+(aFts5UnicodeData[iRes]>>5)) ) return 0;
256166 return ((iKey - aFts5UnicodeMap[iRes]) & 0x01) ? 5 : 9;