Lines Matching refs:iKey
46166 unsigned int iKey; /* Key value (page number) */
46612 unsigned int h = pPage->iKey % nNew;
46661 h = pPage->iKey % pCache->nHash;
46727 if( pPage->iKey>=iLimit ){
46923 unsigned int iKey,
46973 unsigned int h = iKey % pCache->nHash;
46975 pPage->iKey = iKey;
46982 if( iKey>pCache->iMaxKey ){
46983 pCache->iMaxKey = iKey;
47050 unsigned int iKey,
47057 pPage = pCache->apHash[iKey % pCache->nHash];
47058 while( pPage && pPage->iKey!=iKey ){ pPage = pPage->pNext; }
47072 return pcache1FetchStage2(pCache, iKey, createFlag);
47080 unsigned int iKey,
47087 pPage = pcache1FetchNoMutex(p, iKey, createFlag);
47088 assert( pPage==0 || pCache->iMaxKey>=iKey );
47095 unsigned int iKey,
47110 return (sqlite3_pcache_page*)pcache1FetchWithMutex(p, iKey, createFlag);
47114 return (sqlite3_pcache_page*)pcache1FetchNoMutex(p, iKey, createFlag);
47169 assert( pPage->iKey==iOld );
47182 pPage->iKey = iNew;
56619 int iKey; /* Hash key */
56621 for(iKey=walHash(aPgno[j]); aHash[iKey]; iKey=walNextHash(iKey)){
56622 if( aHash[iKey]==j ) break;
56624 assert( aHash[iKey]==j );
56647 int iKey; /* Hash table key */
56675 for(iKey=walHash(iPage); aHash[iKey]; iKey=walNextHash(iKey)){
56679 aHash[iKey] = (ht_slot)idx;
56700 for(iKey=walHash(aPgno[i]); aHash[iKey]; iKey=walNextHash(iKey)){
56701 if( aHash[iKey]==i ) break;
56703 assert( aHash[iKey]==i );
58492 int iKey; /* Hash slot index */
58501 for(iKey=walHash(pgno); aHash[iKey]; iKey=walNextHash(iKey)){
58502 u32 iFrame = aHash[iKey] + iZero;
58503 if( iFrame<=iLast && iFrame>=pWal->minFrame && aPgno[aHash[iKey]]==pgno ){
61566 u64 iKey; /* Extracted Key value */
61596 iKey = *pIter;
61597 if( iKey>=0x80 ){
61599 iKey &= 0x7f;
61601 iKey = (iKey<<7) | (*++pIter & 0x7f);
61604 iKey = (iKey<<8) | *++pIter;
61611 pInfo->nKey = *(i64*)&iKey;
83814 i64 iKey; /* The rowid we are to seek to */
83846 iKey = sqlite3VdbeIntValue(pIn3);
83865 if( pIn3->u.r<(double)iKey ){
83874 else if( pIn3->u.r>(double)iKey ){
83881 rc = sqlite3BtreeMovetoUnpacked(pC->uc.pCursor, 0, (u64)iKey, 0, &res);
83882 pC->movetoTarget = iKey; /* Used by OP_Delete */
84178 u64 iKey;
84200 iKey = pIn3->u.i;
84201 rc = sqlite3BtreeMovetoUnpacked(pCrsr, 0, iKey, 0, &res);
84203 pC->movetoTarget = iKey; /* Used by OP_Delete */
84556 i64 iKey = sqlite3BtreeIntegerKey(pC->uc.pCursor);
84557 assert( pC->movetoTarget==iKey );
87726 sqlite3_int64 iKey;
87727 iKey = sqlite3BtreeIntegerKey(p->pCsr);
87729 v, v->apCsr[0], SQLITE_DELETE, p->zDb, p->pTab, iKey, -1
106832 int iKey; /* Memory cell holding key of row to be deleted */
107043 iKey = iPk;
107045 iKey = pParse->nMem + 1;
107046 iKey = sqlite3ExprCodeGetColumn(pParse, pTab, -1, iTabCur, iKey, 0);
107047 if( iKey>pParse->nMem ) pParse->nMem = iKey;
107068 iKey = ++pParse->nMem;
107070 sqlite3VdbeAddOp4(v, OP_MakeRecord, iPk, nPk, iKey,
107072 sqlite3VdbeAddOp4Int(v, OP_IdxInsert, iEphCur, iKey, iPk, nPk);
107076 sqlite3VdbeAddOp2(v, OP_RowSetAdd, iRowSet, iKey);
107113 sqlite3VdbeAddOp4Int(v, OP_NotFound, iDataCur, addrBypass, iKey, nKey);
107119 sqlite3VdbeAddOp3(v, OP_Column, iEphCur, 0, iKey);
107121 sqlite3VdbeAddOp2(v, OP_RowData, iEphCur, iKey);
107125 addrLoop = sqlite3VdbeAddOp3(v, OP_RowSetRead, iRowSet, 0, iKey);
107135 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, 1, iKey, pVTab, P4_VTAB);
107147 iKey, nKey, count, OE_Default, eOnePass, aiCurOnePass[1]);
110231 int iKey;
110232 for(iKey=0; iKey<pTab->nCol; iKey++){
110233 if( aChange[iKey]>=0 || (iKey==pTab->iPKey && bChngRowid) ){
110234 Column *pCol = &pTab->aCol[iKey];
170847 i64 iKey, /* Key for mapping */
170866 sqlite3_bind_int64(pStmt, 1, iKey);
170870 iKey, iVal, (bLeaf ? "%_rowid" : "%_parent")
170877 iKey, ii, (bLeaf ? "%_rowid" : "%_parent"), iKey, iVal
183773 u32 iKey; /* Key for ARRAY objects in json_tree() */
185617 pUp->u.iKey = 0;
185619 pUp->u.iKey++;
185662 jsonPrintf(30, pStr, "[%d]", pUp->u.iKey);
185686 u32 iKey;
185689 iKey = p->sParse.aNode[p->sParse.aUp[p->i]].u.iKey;
185691 iKey = p->iRowid;
185693 sqlite3_result_int64(ctx, (sqlite3_int64)iKey);
185882 pNode->u.iKey = 0;
200181 i64 iKey;
200190 iKey = FTS5_SEGMENT_ROWID(iSegid, iPg);
200191 pLeaf = fts5DataRead(p, iKey);
200201 iKey = FTS5_SEGMENT_ROWID(iSegid, iPrevLeaf);
200202 pLeaf = fts5DataRead(p, iKey);
200360 static void fts5DebugRowid(int *pRc, Fts5Buffer *pBuf, i64 iKey){
200362 fts5DecodeRowid(iKey, &iSegid, &bDlidx, &iHeight, &iPgno);
200365 if( iKey==FTS5_AVERAGES_ROWID ){