Lines Matching refs:iKey
41216 unsigned int iKey; /* Key value (page number) */
41657 unsigned int h = pPage->iKey % nNew;
41710 h = pPage->iKey % pCache->nHash;
41758 if( pPage->iKey>=iLimit ){
41948 unsigned int iKey,
41998 unsigned int h = iKey % pCache->nHash;
42000 pPage->iKey = iKey;
42008 if( iKey>pCache->iMaxKey ){
42009 pCache->iMaxKey = iKey;
42076 unsigned int iKey,
42083 pPage = pCache->apHash[iKey % pCache->nHash];
42084 while( pPage && pPage->iKey!=iKey ){ pPage = pPage->pNext; }
42098 return pcache1FetchStage2(pCache, iKey, createFlag);
42106 unsigned int iKey,
42113 pPage = pcache1FetchNoMutex(p, iKey, createFlag);
42114 assert( pPage==0 || pCache->iMaxKey>=iKey );
42121 unsigned int iKey,
42136 return (sqlite3_pcache_page*)pcache1FetchWithMutex(p, iKey, createFlag);
42140 return (sqlite3_pcache_page*)pcache1FetchNoMutex(p, iKey, createFlag);
42196 assert( pPage->iKey==iOld );
42209 pPage->iKey = iNew;
51257 int iKey; /* Hash key */
51259 for(iKey=walHash(aPgno[j]); aHash[iKey]; iKey=walNextHash(iKey)){
51260 if( aHash[iKey]==j ) break;
51262 assert( aHash[iKey]==j );
51285 int iKey; /* Hash table key */
51313 for(iKey=walHash(iPage); aHash[iKey]; iKey=walNextHash(iKey)){
51317 aHash[iKey] = (ht_slot)idx;
51338 for(iKey=walHash(aPgno[i]); aHash[iKey]; iKey=walNextHash(iKey)){
51339 if( aHash[iKey]==i ) break;
51341 assert( aHash[iKey]==i );
52737 int iKey; /* Hash slot index */
52746 for(iKey=walHash(pgno); aHash[iKey]; iKey=walNextHash(iKey)){
52747 u32 iFrame = aHash[iKey] + iZero;
52748 if( iFrame<=iLast && iFrame>=pWal->minFrame && aPgno[aHash[iKey]]==pgno ){
55581 u64 iKey; /* Extracted Key value */
55613 iKey = *pIter;
55614 if( iKey>=0x80 ){
55616 iKey &= 0x7f;
55618 iKey = (iKey<<7) | (*++pIter & 0x7f);
55621 iKey = (iKey<<8) | *++pIter;
55628 pInfo->nKey = *(i64*)&iKey;
76553 i64 iKey; /* The rowid we are to seek to */
76594 iKey = sqlite3VdbeIntValue(pIn3);
76613 if( pIn3->u.r<(double)iKey ){
76622 else if( pIn3->u.r>(double)iKey ){
76629 rc = sqlite3BtreeMovetoUnpacked(pC->pCursor, 0, (u64)iKey, 0, &res);
76630 pC->movetoTarget = iKey; /* Used by OP_Delete */
76888 u64 iKey;
76903 iKey = pIn3->u.i;
76904 rc = sqlite3BtreeMovetoUnpacked(pCrsr, 0, iKey, 0, &res);
76906 pC->movetoTarget = iKey; /* Used by OP_Delete */
77123 i64 iKey; /* The integer ROWID or key for the record to be inserted */
77146 iKey = pKey->u.i;
77149 iKey = pOp->p3;
77153 if( pOp->p5 & OPFLAG_LASTROWID ) db->lastRowid = lastRowid = iKey;
77166 rc = sqlite3BtreeInsert(pC->pCursor, 0, iKey,
77179 db->xUpdateCallback(db->pUpdateArg, op, zDb, zTbl, iKey);
77226 i64 iKey = 0;
77227 sqlite3BtreeKeySize(pC->pCursor, &iKey);
77228 assert( pC->movetoTarget==iKey );
97921 int iKey; /* Memory cell holding key of row to be deleted */
98106 iKey = iPk;
98108 iKey = pParse->nMem + 1;
98109 iKey = sqlite3ExprCodeGetColumn(pParse, pTab, -1, iTabCur, iKey, 0);
98110 if( iKey>pParse->nMem ) pParse->nMem = iKey;
98131 iKey = ++pParse->nMem;
98133 sqlite3VdbeAddOp4(v, OP_MakeRecord, iPk, nPk, iKey,
98135 sqlite3VdbeAddOp2(v, OP_IdxInsert, iEphCur, iKey);
98139 sqlite3VdbeAddOp2(v, OP_RowSetAdd, iRowSet, iKey);
98176 sqlite3VdbeAddOp4Int(v, OP_NotFound, iDataCur, addrBypass, iKey, nKey);
98181 sqlite3VdbeAddOp2(v, OP_RowKey, iEphCur, iKey);
98184 addrLoop = sqlite3VdbeAddOp3(v, OP_RowSetRead, iRowSet, 0, iKey);
98194 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, 1, iKey, pVTab, P4_VTAB);
98210 iKey, nKey, count, OE_Default, eOnePass, iIdxNoSeek);
101173 int iKey;
101174 for(iKey=0; iKey<pTab->nCol; iKey++){
101175 if( aChange[iKey]>=0 || (iKey==pTab->iPKey && bChngRowid) ){
101176 Column *pCol = &pTab->aCol[iKey];
107095 int iKey = pFK->aCol[0].iFrom;
107096 assert( iKey>=0 && iKey<pTab->nCol );
107097 if( iKey!=pTab->iPKey ){
107098 sqlite3VdbeAddOp3(v, OP_Column, 0, iKey, regRow);
107099 sqlite3ColumnDefault(v, pTab, iKey, regRow);
163703 u32 iKey; /* Key for ARRAY objects in json_tree() */
165196 pUp->u.iKey = 0;
165198 pUp->u.iKey++;
165241 jsonPrintf(30, pStr, "[%d]", pUp->u.iKey);
165265 u32 iKey;
165268 iKey = p->sParse.aNode[p->sParse.aUp[p->i]].u.iKey;
165270 iKey = p->iRowid;
165272 sqlite3_result_int64(ctx, (sqlite3_int64)iKey);
165461 pNode->u.iKey = 0;
177686 i64 iKey;
177695 iKey = FTS5_SEGMENT_ROWID(iSegid, iPg);
177696 pLeaf = fts5DataRead(p, iKey);
177706 iKey = FTS5_SEGMENT_ROWID(iSegid, iPrevLeaf);
177707 pLeaf = fts5DataRead(p, iKey);
177881 static void fts5DebugRowid(int *pRc, Fts5Buffer *pBuf, i64 iKey){
177883 fts5DecodeRowid(iKey, &iSegid, &bDlidx, &iHeight, &iPgno);
177886 if( iKey==FTS5_AVERAGES_ROWID ){