Lines Matching refs:iKey
48759 unsigned int iKey; /* Key value (page number) */
49210 unsigned int h = pPage->iKey % nNew;
49260 h = pPage->iKey % pCache->nHash;
49326 if( pPage->iKey>=iLimit ){
49521 unsigned int iKey,
49571 unsigned int h = iKey % pCache->nHash;
49573 pPage->iKey = iKey;
49581 if( iKey>pCache->iMaxKey ){
49582 pCache->iMaxKey = iKey;
49649 unsigned int iKey,
49656 pPage = pCache->apHash[iKey % pCache->nHash];
49657 while( pPage && pPage->iKey!=iKey ){ pPage = pPage->pNext; }
49671 return pcache1FetchStage2(pCache, iKey, createFlag);
49679 unsigned int iKey,
49686 pPage = pcache1FetchNoMutex(p, iKey, createFlag);
49687 assert( pPage==0 || pCache->iMaxKey>=iKey );
49694 unsigned int iKey,
49709 return (sqlite3_pcache_page*)pcache1FetchWithMutex(p, iKey, createFlag);
49713 return (sqlite3_pcache_page*)pcache1FetchNoMutex(p, iKey, createFlag);
49768 assert( pPage->iKey==iOld );
49781 pPage->iKey = iNew;
59354 int iKey; /* Hash key */
59356 for(iKey=walHash(sLoc.aPgno[j]);sLoc.aHash[iKey];iKey=walNextHash(iKey)){
59357 if( sLoc.aHash[iKey]==j ) break;
59359 assert( sLoc.aHash[iKey]==j );
59380 int iKey; /* Hash table key */
59409 for(iKey=walHash(iPage); sLoc.aHash[iKey]; iKey=walNextHash(iKey)){
59413 sLoc.aHash[iKey] = (ht_slot)idx;
59434 for(iKey=walHash(sLoc.aPgno[i]);
59435 sLoc.aHash[iKey];
59436 iKey=walNextHash(iKey)){
59437 if( sLoc.aHash[iKey]==i ) break;
59439 assert( sLoc.aHash[iKey]==i );
61224 int iKey; /* Hash slot index */
61233 for(iKey=walHash(pgno); sLoc.aHash[iKey]; iKey=walNextHash(iKey)){
61234 u32 iFrame = sLoc.aHash[iKey] + sLoc.iZero;
61236 && sLoc.aPgno[sLoc.aHash[iKey]]==pgno ){
64365 u64 iKey; /* Extracted Key value */
64395 iKey = *pIter;
64396 if( iKey>=0x80 ){
64398 iKey &= 0x7f;
64400 iKey = (iKey<<7) | (*++pIter & 0x7f);
64403 iKey = (iKey<<8) | *++pIter;
64410 pInfo->nKey = *(i64*)&iKey;
87518 i64 iKey; /* The rowid we are to seek to */
87550 iKey = sqlite3VdbeIntValue(pIn3);
87569 if( pIn3->u.r<(double)iKey ){
87578 else if( pIn3->u.r>(double)iKey ){
87585 rc = sqlite3BtreeMovetoUnpacked(pC->uc.pCursor, 0, (u64)iKey, 0, &res);
87586 pC->movetoTarget = iKey; /* Used by OP_Delete */
87936 u64 iKey;
87966 iKey = pIn3->u.i;
87967 rc = sqlite3BtreeMovetoUnpacked(pCrsr, 0, iKey, 0, &res);
87969 pC->movetoTarget = iKey; /* Used by OP_Delete */
88313 i64 iKey = sqlite3BtreeIntegerKey(pC->uc.pCursor);
88314 assert( pC->movetoTarget==iKey );
91639 sqlite3_int64 iKey;
91640 iKey = sqlite3BtreeIntegerKey(p->pCsr);
91642 v, v->apCsr[0], SQLITE_DELETE, p->zDb, p->pTab, iKey, -1
112347 int iKey; /* Memory cell holding key of row to be deleted */
112562 iKey = iPk;
112564 iKey = ++pParse->nMem;
112565 sqlite3ExprCodeGetColumnOfTable(v, pTab, iTabCur, -1, iKey);
112586 iKey = ++pParse->nMem;
112588 sqlite3VdbeAddOp4(v, OP_MakeRecord, iPk, nPk, iKey,
112590 sqlite3VdbeAddOp4Int(v, OP_IdxInsert, iEphCur, iKey, iPk, nPk);
112594 sqlite3VdbeAddOp2(v, OP_RowSetAdd, iRowSet, iKey);
112631 sqlite3VdbeAddOp4Int(v, OP_NotFound, iDataCur, addrBypass, iKey, nKey);
112637 sqlite3VdbeAddOp3(v, OP_Column, iEphCur, 0, iKey);
112639 sqlite3VdbeAddOp2(v, OP_RowData, iEphCur, iKey);
112643 addrLoop = sqlite3VdbeAddOp3(v, OP_RowSetRead, iRowSet, 0, iKey);
112661 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, 1, iKey, pVTab, P4_VTAB);
112668 iKey, nKey, count, OE_Default, eOnePass, aiCurOnePass[1]);
115889 int iKey;
115890 for(iKey=0; iKey<pTab->nCol; iKey++){
115891 if( aChange[iKey]>=0 || (iKey==pTab->iPKey && bChngRowid) ){
115892 Column *pCol = &pTab->aCol[iKey];
126180 int iKey = iCol+1;
126190 sqlite3VdbeAddOp3(v, OP_Column, iSortTab, iKey++, regKey);
126198 sqlite3VdbeAddOp3(v, OP_Column, iSortTab, iKey++, regKey+k);
178997 u32 iKey; /* Key for ARRAY objects in json_tree() */
179840 int iKey;
179845 for(iKey=0; iKey<JSON_CACHE_SZ; iKey++){
179846 p = (JsonParse*)sqlite3_get_auxdata(pCtx, JSON_CACHE_ID+iKey);
179848 iMinKey = iKey;
179859 iMinKey = iKey;
180928 pUp->u.iKey = 0;
180930 pUp->u.iKey++;
180973 jsonPrintf(30, pStr, "[%d]", pUp->u.iKey);
180997 u32 iKey;
181000 iKey = p->sParse.aNode[p->sParse.aUp[p->i]].u.iKey;
181002 iKey = p->iRowid;
181004 sqlite3_result_int64(ctx, (sqlite3_int64)iKey);
181212 pNode->u.iKey = 0;
185353 i64 iKey, /* Key for mapping */
185372 sqlite3_bind_int64(pStmt, 1, iKey);
185376 iKey, iVal, (bLeaf ? "%_rowid" : "%_parent")
185383 iKey, ii, (bLeaf ? "%_rowid" : "%_parent"), iKey, iVal
215049 i64 iKey;
215058 iKey = FTS5_SEGMENT_ROWID(iSegid, iPg);
215059 pLeaf = fts5DataRead(p, iKey);
215069 iKey = FTS5_SEGMENT_ROWID(iSegid, iPrevLeaf);
215070 pLeaf = fts5DataRead(p, iKey);
215228 static void fts5DebugRowid(int *pRc, Fts5Buffer *pBuf, i64 iKey){
215230 fts5DecodeRowid(iKey, &iSegid, &bDlidx, &iHeight, &iPgno);
215233 if( iKey==FTS5_AVERAGES_ROWID ){
221637 u16 iKey;
221644 iKey = (iCode & 0xFFFF);
221648 if( iKey>=aFts5UnicodeMap[iTest] ){
221657 if( iKey>=(aFts5UnicodeMap[iRes]+(aFts5UnicodeData[iRes]>>5)) ) return 0;
221660 return ((iKey - aFts5UnicodeMap[iRes]) & 0x01) ? 5 : 9;