• Home
  • Raw
  • Download

Lines Matching refs:iKey

45217   unsigned int iKey;             /* Key value (page number) */
45659 unsigned int h = pPage->iKey % nNew;
45712 h = pPage->iKey % pCache->nHash;
45778 if( pPage->iKey>=iLimit ){
45970 unsigned int iKey,
46020 unsigned int h = iKey % pCache->nHash;
46022 pPage->iKey = iKey;
46030 if( iKey>pCache->iMaxKey ){
46031 pCache->iMaxKey = iKey;
46098 unsigned int iKey,
46105 pPage = pCache->apHash[iKey % pCache->nHash];
46106 while( pPage && pPage->iKey!=iKey ){ pPage = pPage->pNext; }
46120 return pcache1FetchStage2(pCache, iKey, createFlag);
46128 unsigned int iKey,
46135 pPage = pcache1FetchNoMutex(p, iKey, createFlag);
46136 assert( pPage==0 || pCache->iMaxKey>=iKey );
46143 unsigned int iKey,
46158 return (sqlite3_pcache_page*)pcache1FetchWithMutex(p, iKey, createFlag);
46162 return (sqlite3_pcache_page*)pcache1FetchNoMutex(p, iKey, createFlag);
46218 assert( pPage->iKey==iOld );
46231 pPage->iKey = iNew;
55631 int iKey; /* Hash key */
55633 for(iKey=walHash(aPgno[j]); aHash[iKey]; iKey=walNextHash(iKey)){
55634 if( aHash[iKey]==j ) break;
55636 assert( aHash[iKey]==j );
55659 int iKey; /* Hash table key */
55687 for(iKey=walHash(iPage); aHash[iKey]; iKey=walNextHash(iKey)){
55691 aHash[iKey] = (ht_slot)idx;
55712 for(iKey=walHash(aPgno[i]); aHash[iKey]; iKey=walNextHash(iKey)){
55713 if( aHash[iKey]==i ) break;
55715 assert( aHash[iKey]==i );
57285 int iKey; /* Hash slot index */
57294 for(iKey=walHash(pgno); aHash[iKey]; iKey=walNextHash(iKey)){
57295 u32 iFrame = aHash[iKey] + iZero;
57296 if( iFrame<=iLast && iFrame>=pWal->minFrame && aPgno[aHash[iKey]]==pgno ){
60313 u64 iKey; /* Extracted Key value */
60343 iKey = *pIter;
60344 if( iKey>=0x80 ){
60346 iKey &= 0x7f;
60348 iKey = (iKey<<7) | (*++pIter & 0x7f);
60351 iKey = (iKey<<8) | *++pIter;
60358 pInfo->nKey = *(i64*)&iKey;
82329 i64 iKey; /* The rowid we are to seek to */
82361 iKey = sqlite3VdbeIntValue(pIn3);
82380 if( pIn3->u.r<(double)iKey ){
82389 else if( pIn3->u.r>(double)iKey ){
82396 rc = sqlite3BtreeMovetoUnpacked(pC->uc.pCursor, 0, (u64)iKey, 0, &res);
82397 pC->movetoTarget = iKey; /* Used by OP_Delete */
82679 u64 iKey;
82701 iKey = pIn3->u.i;
82702 rc = sqlite3BtreeMovetoUnpacked(pCrsr, 0, iKey, 0, &res);
82704 pC->movetoTarget = iKey; /* Used by OP_Delete */
83058 i64 iKey = sqlite3BtreeIntegerKey(pC->uc.pCursor);
83059 assert( pC->movetoTarget==iKey );
86110 sqlite3_int64 iKey;
86111 iKey = sqlite3BtreeIntegerKey(p->pCsr);
86113 v, v->apCsr[0], SQLITE_DELETE, p->zDb, p->pTab, iKey, -1
105070 int iKey; /* Memory cell holding key of row to be deleted */
105266 iKey = iPk;
105268 iKey = pParse->nMem + 1;
105269 iKey = sqlite3ExprCodeGetColumn(pParse, pTab, -1, iTabCur, iKey, 0);
105270 if( iKey>pParse->nMem ) pParse->nMem = iKey;
105291 iKey = ++pParse->nMem;
105293 sqlite3VdbeAddOp4(v, OP_MakeRecord, iPk, nPk, iKey,
105295 sqlite3VdbeAddOp4Int(v, OP_IdxInsert, iEphCur, iKey, iPk, nPk);
105299 sqlite3VdbeAddOp2(v, OP_RowSetAdd, iRowSet, iKey);
105336 sqlite3VdbeAddOp4Int(v, OP_NotFound, iDataCur, addrBypass, iKey, nKey);
105341 sqlite3VdbeAddOp2(v, OP_RowData, iEphCur, iKey);
105344 addrLoop = sqlite3VdbeAddOp3(v, OP_RowSetRead, iRowSet, 0, iKey);
105354 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, 1, iKey, pVTab, P4_VTAB);
105366 iKey, nKey, count, OE_Default, eOnePass, aiCurOnePass[1]);
108416 int iKey;
108417 for(iKey=0; iKey<pTab->nCol; iKey++){
108418 if( aChange[iKey]>=0 || (iKey==pTab->iPKey && bChngRowid) ){
108419 Column *pCol = &pTab->aCol[iKey];
179737 u32 iKey; /* Key for ARRAY objects in json_tree() */
181581 pUp->u.iKey = 0;
181583 pUp->u.iKey++;
181626 jsonPrintf(30, pStr, "[%d]", pUp->u.iKey);
181650 u32 iKey;
181653 iKey = p->sParse.aNode[p->sParse.aUp[p->i]].u.iKey;
181655 iKey = p->iRowid;
181657 sqlite3_result_int64(ctx, (sqlite3_int64)iKey);
181846 pNode->u.iKey = 0;
195994 i64 iKey;
196003 iKey = FTS5_SEGMENT_ROWID(iSegid, iPg);
196004 pLeaf = fts5DataRead(p, iKey);
196014 iKey = FTS5_SEGMENT_ROWID(iSegid, iPrevLeaf);
196015 pLeaf = fts5DataRead(p, iKey);
196173 static void fts5DebugRowid(int *pRc, Fts5Buffer *pBuf, i64 iKey){
196175 fts5DecodeRowid(iKey, &iSegid, &bDlidx, &iHeight, &iPgno);
196178 if( iKey==FTS5_AVERAGES_ROWID ){