Lines Matching refs:iKey
56227 unsigned int iKey; /* Key value (page number) */ member
56665 unsigned int h = pPage->iKey % nNew;
56715 h = pPage->iKey % pCache->nHash;
56781 if( pPage->iKey>=iLimit ){
56982 unsigned int iKey,
57032 unsigned int h = iKey % pCache->nHash;
57034 pPage->iKey = iKey;
57042 if( iKey>pCache->iMaxKey ){
57043 pCache->iMaxKey = iKey;
57110 unsigned int iKey,
57117 pPage = pCache->apHash[iKey % pCache->nHash];
57118 while( pPage && pPage->iKey!=iKey ){ pPage = pPage->pNext; }
57132 return pcache1FetchStage2(pCache, iKey, createFlag);
57140 unsigned int iKey,
57147 pPage = pcache1FetchNoMutex(p, iKey, createFlag);
57148 assert( pPage==0 || pCache->iMaxKey>=iKey );
57155 unsigned int iKey,
57170 return (sqlite3_pcache_page*)pcache1FetchWithMutex(p, iKey, createFlag);
57174 return (sqlite3_pcache_page*)pcache1FetchNoMutex(p, iKey, createFlag);
57229 assert( pPage->iKey==iOld );
57245 pPage->iKey = iNew;
67157 int iKey; /* Hash key */ local
67159 for(iKey=walHash(sLoc.aPgno[j]);sLoc.aHash[iKey];iKey=walNextHash(iKey)){
67160 if( sLoc.aHash[iKey]==j+1 ) break;
67162 assert( sLoc.aHash[iKey]==j+1 );
67183 int iKey; /* Hash table key */ local
67212 for(iKey=walHash(iPage); sLoc.aHash[iKey]; iKey=walNextHash(iKey)){
67216 AtomicStore(&sLoc.aHash[iKey], (ht_slot)idx);
67237 for(iKey=walHash(sLoc.aPgno[i]);
67238 sLoc.aHash[iKey];
67239 iKey=walNextHash(iKey)){
67240 if( sLoc.aHash[iKey]==i+1 ) break;
67242 assert( sLoc.aHash[iKey]==i+1 );
69435 int iKey; /* Hash slot index */ local
69445 iKey = walHash(pgno);
69447 while( (iH = AtomicLoad(&sLoc.aHash[iKey]))!=0 ){
69457 iKey = walNextHash(iKey);
72819 u64 iKey; /* Extracted Key value */ local
72850 iKey = *pIter;
72851 if( iKey>=0x80 ){
72853 iKey = (iKey<<7) ^ (x = *++pIter);
72855 iKey = (iKey<<7) ^ (x = *++pIter);
72857 iKey = (iKey<<7) ^ 0x10204000 ^ (x = *++pIter);
72859 iKey = (iKey<<7) ^ 0x4000 ^ (x = *++pIter);
72861 iKey = (iKey<<7) ^ 0x4000 ^ (x = *++pIter);
72863 iKey = (iKey<<7) ^ 0x4000 ^ (x = *++pIter);
72865 iKey = (iKey<<7) ^ 0x4000 ^ (x = *++pIter);
72867 iKey = (iKey<<8) ^ 0x8000 ^ (*++pIter);
72874 iKey ^= 0x204000;
72877 iKey ^= 0x4000;
72882 pInfo->nKey = *(i64*)&iKey;
81208 SQLITE_PRIVATE int sqlite3BtreeTransferRow(BtCursor *pDest, BtCursor *pSrc, i64 iKey){
81221 if( pDest->pKeyInfo==0 ) aOut += putVarint(aOut, iKey);
99116 i64 iKey; /* The rowid we are to seek to */
99152 iKey = sqlite3VdbeIntValue(pIn3); /* Get the integer key value */
99170 c = sqlite3IntFloatCompare(iKey, pIn3->u.r);
99195 rc = sqlite3BtreeTableMoveto(pC->uc.pCursor, (u64)iKey, 0, &res);
99196 pC->movetoTarget = iKey; /* Used by OP_Delete */
99782 u64 iKey;
99798 iKey = x.u.i;
99807 iKey = pIn3->u.i;
99819 rc = sqlite3BtreeTableMoveto(pCrsr, iKey, 0, &res);
99821 pC->movetoTarget = iKey; /* Used by OP_Delete */
100133 i64 iKey; /* Rowid value to insert with */
100140 iKey = pOp->p3 ? aMem[pOp->p3].u.i : 0;
100141 rc = sqlite3BtreeTransferRow(pDest->uc.pCursor, pSrc->uc.pCursor, iKey);
100210 i64 iKey = sqlite3BtreeIntegerKey(pC->uc.pCursor);
100211 assert( CORRUPT_DB || pC->movetoTarget==iKey );
104005 sqlite3_int64 iKey;
104006 iKey = sqlite3BtreeIntegerKey(p->pCsr);
104010 v, v->apCsr[0], SQLITE_DELETE, p->zDb, p->pTab, iKey, -1, p->iCol
129662 int iKey; /* Memory cell holding key of row to be deleted */
129895 iKey = iPk;
129897 iKey = ++pParse->nMem;
129898 sqlite3ExprCodeGetColumnOfTable(v, pTab, iTabCur, -1, iKey);
129920 iKey = ++pParse->nMem;
129922 sqlite3VdbeAddOp4(v, OP_MakeRecord, iPk, nPk, iKey,
129924 sqlite3VdbeAddOp4Int(v, OP_IdxInsert, iEphCur, iKey, iPk, nPk);
129928 sqlite3VdbeAddOp2(v, OP_RowSetAdd, iRowSet, iKey);
129960 sqlite3VdbeAddOp4Int(v, OP_NotFound, iDataCur, addrBypass, iKey, nKey);
129966 sqlite3VdbeAddOp3(v, OP_Column, iEphCur, 0, iKey);
129968 sqlite3VdbeAddOp2(v, OP_RowData, iEphCur, iKey);
129972 addrLoop = sqlite3VdbeAddOp3(v, OP_RowSetRead, iRowSet, 0, iKey);
129990 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, 1, iKey, pVTab, P4_VTAB);
129997 iKey, nKey, count, OE_Default, eOnePass, aiCurOnePass[1]);
134161 int iKey;
134162 for(iKey=0; iKey<pTab->nCol; iKey++){
134163 if( aChange[iKey]>=0 || (iKey==pTab->iPKey && bChngRowid) ){
134164 Column *pCol = &pTab->aCol[iKey];
146632 int iKey = iCol+1;
146642 sqlite3VdbeAddOp3(v, OP_Column, iSortTab, iKey++, regKey);
146650 sqlite3VdbeAddOp3(v, OP_Column, iSortTab, iKey++, regKey+k);
212769 i64 iKey; /* Key for JSONB_ARRAY */
212922 jsonPrintf(30, &p->path, "[%lld]", p->aParent[p->nParent-1].iKey);
212975 pParent->iKey = -1;
213007 p->aParent[p->nParent-1].iKey++;
213067 sqlite3_result_int64(ctx, p->aParent[p->nParent-1].iKey);
213295 p->aParent[0].iKey = 0;
217426 i64 iKey, /* Key for mapping */
217445 sqlite3_bind_int64(pStmt, 1, iKey);
217449 iKey, iVal, (bLeaf ? "%_rowid" : "%_parent")
217456 iKey, ii, (bLeaf ? "%_rowid" : "%_parent"), iKey, iVal
249595 int iKey = 0;
249600 for(iIdx=0; iIdx<nIdx; iKey++){
249606 assert_nc( iKey>=1 );
249626 if( iKey!=1 ){
249637 if( iKey!=1 ){
252747 i64 iKey;
252756 iKey = FTS5_SEGMENT_ROWID(iSegid, iPg);
252757 pLeaf = fts5DataRead(p, iKey);
252767 iKey = FTS5_SEGMENT_ROWID(iSegid, iPrevLeaf);
252768 pLeaf = fts5DataRead(p, iKey);
252940 static void fts5DebugRowid(int *pRc, Fts5Buffer *pBuf, i64 iKey){
252942 fts5DecodeRowid(iKey, &bTomb, &iSegid, &bDlidx, &iHeight, &iPgno);
252945 if( iKey==FTS5_AVERAGES_ROWID ){
261347 u16 iKey;
261354 iKey = (iCode & 0xFFFF);
261358 if( iKey>=aFts5UnicodeMap[iTest] ){
261367 if( iKey>=(aFts5UnicodeMap[iRes]+(aFts5UnicodeData[iRes]>>5)) ) return 0;
261370 return ((iKey - aFts5UnicodeMap[iRes]) & 0x01) ? 5 : 9;