Lines Matching refs:iKey
49772 unsigned int iKey; /* Key value (page number) */
50226 unsigned int h = pPage->iKey % nNew;
50276 h = pPage->iKey % pCache->nHash;
50342 if( pPage->iKey>=iLimit ){
50537 unsigned int iKey,
50587 unsigned int h = iKey % pCache->nHash;
50589 pPage->iKey = iKey;
50597 if( iKey>pCache->iMaxKey ){
50598 pCache->iMaxKey = iKey;
50665 unsigned int iKey,
50672 pPage = pCache->apHash[iKey % pCache->nHash];
50673 while( pPage && pPage->iKey!=iKey ){ pPage = pPage->pNext; }
50687 return pcache1FetchStage2(pCache, iKey, createFlag);
50695 unsigned int iKey,
50702 pPage = pcache1FetchNoMutex(p, iKey, createFlag);
50703 assert( pPage==0 || pCache->iMaxKey>=iKey );
50710 unsigned int iKey,
50725 return (sqlite3_pcache_page*)pcache1FetchWithMutex(p, iKey, createFlag);
50729 return (sqlite3_pcache_page*)pcache1FetchNoMutex(p, iKey, createFlag);
50784 assert( pPage->iKey==iOld );
50797 pPage->iKey = iNew;
60347 int iKey; /* Hash key */
60349 for(iKey=walHash(sLoc.aPgno[j]);sLoc.aHash[iKey];iKey=walNextHash(iKey)){
60350 if( sLoc.aHash[iKey]==j ) break;
60352 assert( sLoc.aHash[iKey]==j );
60373 int iKey; /* Hash table key */
60402 for(iKey=walHash(iPage); sLoc.aHash[iKey]; iKey=walNextHash(iKey)){
60406 sLoc.aHash[iKey] = (ht_slot)idx;
60427 for(iKey=walHash(sLoc.aPgno[i]);
60428 sLoc.aHash[iKey];
60429 iKey=walNextHash(iKey)){
60430 if( sLoc.aHash[iKey]==i ) break;
60432 assert( sLoc.aHash[iKey]==i );
62329 int iKey; /* Hash slot index */
62339 iKey = walHash(pgno);
62340 while( (iH = AtomicLoad(&sLoc.aHash[iKey]))!=0 ){
62349 iKey = walNextHash(iKey);
65497 u64 iKey; /* Extracted Key value */
65527 iKey = *pIter;
65528 if( iKey>=0x80 ){
65530 iKey &= 0x7f;
65532 iKey = (iKey<<7) | (*++pIter & 0x7f);
65535 iKey = (iKey<<8) | *++pIter;
65542 pInfo->nKey = *(i64*)&iKey;
89301 i64 iKey; /* The rowid we are to seek to */
89337 iKey = sqlite3VdbeIntValue(pIn3); /* Get the integer key value */
89362 if( pIn3->u.r<(double)iKey ){
89371 else if( pIn3->u.r>(double)iKey ){
89378 rc = sqlite3BtreeMovetoUnpacked(pC->uc.pCursor, 0, (u64)iKey, 0, &res);
89379 pC->movetoTarget = iKey; /* Used by OP_Delete */
89744 u64 iKey;
89760 iKey = x.u.i;
89768 iKey = pIn3->u.i;
89780 rc = sqlite3BtreeMovetoUnpacked(pCrsr, 0, iKey, 0, &res);
89782 pC->movetoTarget = iKey; /* Used by OP_Delete */
90131 i64 iKey = sqlite3BtreeIntegerKey(pC->uc.pCursor);
90132 assert( CORRUPT_DB || pC->movetoTarget==iKey );
93566 sqlite3_int64 iKey;
93567 iKey = sqlite3BtreeIntegerKey(p->pCsr);
93569 v, v->apCsr[0], SQLITE_DELETE, p->zDb, p->pTab, iKey, -1
115940 int iKey; /* Memory cell holding key of row to be deleted */
116155 iKey = iPk;
116157 iKey = ++pParse->nMem;
116158 sqlite3ExprCodeGetColumnOfTable(v, pTab, iTabCur, -1, iKey);
116179 iKey = ++pParse->nMem;
116181 sqlite3VdbeAddOp4(v, OP_MakeRecord, iPk, nPk, iKey,
116183 sqlite3VdbeAddOp4Int(v, OP_IdxInsert, iEphCur, iKey, iPk, nPk);
116187 sqlite3VdbeAddOp2(v, OP_RowSetAdd, iRowSet, iKey);
116226 sqlite3VdbeAddOp4Int(v, OP_NotFound, iDataCur, addrBypass, iKey, nKey);
116232 sqlite3VdbeAddOp3(v, OP_Column, iEphCur, 0, iKey);
116234 sqlite3VdbeAddOp2(v, OP_RowData, iEphCur, iKey);
116238 addrLoop = sqlite3VdbeAddOp3(v, OP_RowSetRead, iRowSet, 0, iKey);
116256 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, 1, iKey, pVTab, P4_VTAB);
116263 iKey, nKey, count, OE_Default, eOnePass, aiCurOnePass[1]);
119516 int iKey;
119517 for(iKey=0; iKey<pTab->nCol; iKey++){
119518 if( aChange[iKey]>=0 || (iKey==pTab->iPKey && bChngRowid) ){
119519 Column *pCol = &pTab->aCol[iKey];
130356 int iKey = iCol+1;
130366 sqlite3VdbeAddOp3(v, OP_Column, iSortTab, iKey++, regKey);
130374 sqlite3VdbeAddOp3(v, OP_Column, iSortTab, iKey++, regKey+k);
184715 u32 iKey; /* Key for ARRAY objects in json_tree() */
185599 int iKey;
185604 for(iKey=0; iKey<JSON_CACHE_SZ; iKey++){
185605 p = (JsonParse*)sqlite3_get_auxdata(pCtx, JSON_CACHE_ID+iKey);
185607 iMinKey = iKey;
185618 iMinKey = iKey;
186728 pUp->u.iKey = 0;
186730 pUp->u.iKey++;
186773 jsonPrintf(30, pStr, "[%d]", pUp->u.iKey);
186797 u32 iKey;
186800 iKey = p->sParse.aNode[p->sParse.aUp[p->i]].u.iKey;
186802 iKey = p->iRowid;
186804 sqlite3_result_int64(ctx, (sqlite3_int64)iKey);
187012 pNode->u.iKey = 0;
191219 i64 iKey, /* Key for mapping */
191238 sqlite3_bind_int64(pStmt, 1, iKey);
191242 iKey, iVal, (bLeaf ? "%_rowid" : "%_parent")
191249 iKey, ii, (bLeaf ? "%_rowid" : "%_parent"), iKey, iVal
221445 i64 iKey;
221454 iKey = FTS5_SEGMENT_ROWID(iSegid, iPg);
221455 pLeaf = fts5DataRead(p, iKey);
221465 iKey = FTS5_SEGMENT_ROWID(iSegid, iPrevLeaf);
221466 pLeaf = fts5DataRead(p, iKey);
221624 static void fts5DebugRowid(int *pRc, Fts5Buffer *pBuf, i64 iKey){
221626 fts5DecodeRowid(iKey, &iSegid, &bDlidx, &iHeight, &iPgno);
221629 if( iKey==FTS5_AVERAGES_ROWID ){
228134 u16 iKey;
228141 iKey = (iCode & 0xFFFF);
228145 if( iKey>=aFts5UnicodeMap[iTest] ){
228154 if( iKey>=(aFts5UnicodeMap[iRes]+(aFts5UnicodeData[iRes]>>5)) ) return 0;
228157 return ((iKey - aFts5UnicodeMap[iRes]) & 0x01) ? 5 : 9;