Lines Matching refs:iKey

41234   unsigned int iKey;             /* Key value (page number) */
41675 unsigned int h = pPage->iKey % nNew;
41728 h = pPage->iKey % pCache->nHash;
41776 if( pPage->iKey>=iLimit ){
41966 unsigned int iKey,
42016 unsigned int h = iKey % pCache->nHash;
42018 pPage->iKey = iKey;
42026 if( iKey>pCache->iMaxKey ){
42027 pCache->iMaxKey = iKey;
42094 unsigned int iKey,
42101 pPage = pCache->apHash[iKey % pCache->nHash];
42102 while( pPage && pPage->iKey!=iKey ){ pPage = pPage->pNext; }
42116 return pcache1FetchStage2(pCache, iKey, createFlag);
42124 unsigned int iKey,
42131 pPage = pcache1FetchNoMutex(p, iKey, createFlag);
42132 assert( pPage==0 || pCache->iMaxKey>=iKey );
42139 unsigned int iKey,
42154 return (sqlite3_pcache_page*)pcache1FetchWithMutex(p, iKey, createFlag);
42158 return (sqlite3_pcache_page*)pcache1FetchNoMutex(p, iKey, createFlag);
42214 assert( pPage->iKey==iOld );
42227 pPage->iKey = iNew;
51275 int iKey; /* Hash key */
51277 for(iKey=walHash(aPgno[j]); aHash[iKey]; iKey=walNextHash(iKey)){
51278 if( aHash[iKey]==j ) break;
51280 assert( aHash[iKey]==j );
51303 int iKey; /* Hash table key */
51331 for(iKey=walHash(iPage); aHash[iKey]; iKey=walNextHash(iKey)){
51335 aHash[iKey] = (ht_slot)idx;
51356 for(iKey=walHash(aPgno[i]); aHash[iKey]; iKey=walNextHash(iKey)){
51357 if( aHash[iKey]==i ) break;
51359 assert( aHash[iKey]==i );
52755 int iKey; /* Hash slot index */
52764 for(iKey=walHash(pgno); aHash[iKey]; iKey=walNextHash(iKey)){
52765 u32 iFrame = aHash[iKey] + iZero;
52766 if( iFrame<=iLast && iFrame>=pWal->minFrame && aPgno[aHash[iKey]]==pgno ){
55599 u64 iKey; /* Extracted Key value */
55631 iKey = *pIter;
55632 if( iKey>=0x80 ){
55634 iKey &= 0x7f;
55636 iKey = (iKey<<7) | (*++pIter & 0x7f);
55639 iKey = (iKey<<8) | *++pIter;
55646 pInfo->nKey = *(i64*)&iKey;
76571 i64 iKey; /* The rowid we are to seek to */
76612 iKey = sqlite3VdbeIntValue(pIn3);
76631 if( pIn3->u.r<(double)iKey ){
76640 else if( pIn3->u.r>(double)iKey ){
76647 rc = sqlite3BtreeMovetoUnpacked(pC->pCursor, 0, (u64)iKey, 0, &res);
76648 pC->movetoTarget = iKey; /* Used by OP_Delete */
76906 u64 iKey;
76921 iKey = pIn3->u.i;
76922 rc = sqlite3BtreeMovetoUnpacked(pCrsr, 0, iKey, 0, &res);
76924 pC->movetoTarget = iKey; /* Used by OP_Delete */
77141 i64 iKey; /* The integer ROWID or key for the record to be inserted */
77164 iKey = pKey->u.i;
77167 iKey = pOp->p3;
77171 if( pOp->p5 & OPFLAG_LASTROWID ) db->lastRowid = lastRowid = iKey;
77184 rc = sqlite3BtreeInsert(pC->pCursor, 0, iKey,
77197 db->xUpdateCallback(db->pUpdateArg, op, zDb, zTbl, iKey);
77244 i64 iKey = 0;
77245 sqlite3BtreeKeySize(pC->pCursor, &iKey);
77246 assert( pC->movetoTarget==iKey );
97939 int iKey; /* Memory cell holding key of row to be deleted */
98124 iKey = iPk;
98126 iKey = pParse->nMem + 1;
98127 iKey = sqlite3ExprCodeGetColumn(pParse, pTab, -1, iTabCur, iKey, 0);
98128 if( iKey>pParse->nMem ) pParse->nMem = iKey;
98149 iKey = ++pParse->nMem;
98151 sqlite3VdbeAddOp4(v, OP_MakeRecord, iPk, nPk, iKey,
98153 sqlite3VdbeAddOp2(v, OP_IdxInsert, iEphCur, iKey);
98157 sqlite3VdbeAddOp2(v, OP_RowSetAdd, iRowSet, iKey);
98194 sqlite3VdbeAddOp4Int(v, OP_NotFound, iDataCur, addrBypass, iKey, nKey);
98199 sqlite3VdbeAddOp2(v, OP_RowKey, iEphCur, iKey);
98202 addrLoop = sqlite3VdbeAddOp3(v, OP_RowSetRead, iRowSet, 0, iKey);
98212 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, 1, iKey, pVTab, P4_VTAB);
98228 iKey, nKey, count, OE_Default, eOnePass, iIdxNoSeek);
101191 int iKey;
101192 for(iKey=0; iKey<pTab->nCol; iKey++){
101193 if( aChange[iKey]>=0 || (iKey==pTab->iPKey && bChngRowid) ){
101194 Column *pCol = &pTab->aCol[iKey];
107113 int iKey = pFK->aCol[0].iFrom;
107114 assert( iKey>=0 && iKey<pTab->nCol );
107115 if( iKey!=pTab->iPKey ){
107116 sqlite3VdbeAddOp3(v, OP_Column, 0, iKey, regRow);
107117 sqlite3ColumnDefault(v, pTab, iKey, regRow);
163733 u32 iKey; /* Key for ARRAY objects in json_tree() */
165226 pUp->u.iKey = 0;
165228 pUp->u.iKey++;
165271 jsonPrintf(30, pStr, "[%d]", pUp->u.iKey);
165295 u32 iKey;
165298 iKey = p->sParse.aNode[p->sParse.aUp[p->i]].u.iKey;
165300 iKey = p->iRowid;
165302 sqlite3_result_int64(ctx, (sqlite3_int64)iKey);
165491 pNode->u.iKey = 0;
177716 i64 iKey;
177725 iKey = FTS5_SEGMENT_ROWID(iSegid, iPg);
177726 pLeaf = fts5DataRead(p, iKey);
177736 iKey = FTS5_SEGMENT_ROWID(iSegid, iPrevLeaf);
177737 pLeaf = fts5DataRead(p, iKey);
177911 static void fts5DebugRowid(int *pRc, Fts5Buffer *pBuf, i64 iKey){
177913 fts5DecodeRowid(iKey, &iSegid, &bDlidx, &iHeight, &iPgno);
177916 if( iKey==FTS5_AVERAGES_ROWID ){