Lines Matching refs:iKey
50816 unsigned int iKey; /* Key value (page number) */
51271 unsigned int h = pPage->iKey % nNew;
51321 h = pPage->iKey % pCache->nHash;
51387 if( pPage->iKey>=iLimit ){
51588 unsigned int iKey,
51638 unsigned int h = iKey % pCache->nHash;
51640 pPage->iKey = iKey;
51648 if( iKey>pCache->iMaxKey ){
51649 pCache->iMaxKey = iKey;
51716 unsigned int iKey,
51723 pPage = pCache->apHash[iKey % pCache->nHash];
51724 while( pPage && pPage->iKey!=iKey ){ pPage = pPage->pNext; }
51738 return pcache1FetchStage2(pCache, iKey, createFlag);
51746 unsigned int iKey,
51753 pPage = pcache1FetchNoMutex(p, iKey, createFlag);
51754 assert( pPage==0 || pCache->iMaxKey>=iKey );
51761 unsigned int iKey,
51776 return (sqlite3_pcache_page*)pcache1FetchWithMutex(p, iKey, createFlag);
51780 return (sqlite3_pcache_page*)pcache1FetchNoMutex(p, iKey, createFlag);
51835 assert( pPage->iKey==iOld );
51848 pPage->iKey = iNew;
61491 int iKey; /* Hash key */
61493 for(iKey=walHash(sLoc.aPgno[j]);sLoc.aHash[iKey];iKey=walNextHash(iKey)){
61494 if( sLoc.aHash[iKey]==j+1 ) break;
61496 assert( sLoc.aHash[iKey]==j+1 );
61517 int iKey; /* Hash table key */
61546 for(iKey=walHash(iPage); sLoc.aHash[iKey]; iKey=walNextHash(iKey)){
61550 AtomicStore(&sLoc.aHash[iKey], (ht_slot)idx);
61571 for(iKey=walHash(sLoc.aPgno[i]);
61572 sLoc.aHash[iKey];
61573 iKey=walNextHash(iKey)){
61574 if( sLoc.aHash[iKey]==i+1 ) break;
61576 assert( sLoc.aHash[iKey]==i+1 );
63559 int iKey; /* Hash slot index */
63569 iKey = walHash(pgno);
63570 while( (iH = AtomicLoad(&sLoc.aHash[iKey]))!=0 ){
63579 iKey = walNextHash(iKey);
66774 u64 iKey; /* Extracted Key value */
66804 iKey = *pIter;
66805 if( iKey>=0x80 ){
66807 iKey &= 0x7f;
66809 iKey = (iKey<<7) | (*++pIter & 0x7f);
66812 iKey = (iKey<<8) | *++pIter;
66819 pInfo->nKey = *(i64*)&iKey;
74684 SQLITE_PRIVATE int sqlite3BtreeTransferRow(BtCursor *pDest, BtCursor *pSrc, i64 iKey){
74694 if( pDest->pKeyInfo==0 ) aOut += putVarint(aOut, iKey);
91083 i64 iKey; /* The rowid we are to seek to */
91119 iKey = sqlite3VdbeIntValue(pIn3); /* Get the integer key value */
91137 c = sqlite3IntFloatCompare(iKey, pIn3->u.r);
91162 rc = sqlite3BtreeTableMoveto(pC->uc.pCursor, (u64)iKey, 0, &res);
91163 pC->movetoTarget = iKey; /* Used by OP_Delete */
91700 u64 iKey;
91716 iKey = x.u.i;
91725 iKey = pIn3->u.i;
91737 rc = sqlite3BtreeTableMoveto(pCrsr, iKey, 0, &res);
91739 pC->movetoTarget = iKey; /* Used by OP_Delete */
92046 i64 iKey; /* Rowid value to insert with */
92053 iKey = pOp->p3 ? aMem[pOp->p3].u.i : 0;
92054 rc = sqlite3BtreeTransferRow(pDest->uc.pCursor, pSrc->uc.pCursor, iKey);
92118 i64 iKey = sqlite3BtreeIntegerKey(pC->uc.pCursor);
92119 assert( CORRUPT_DB || pC->movetoTarget==iKey );
95599 sqlite3_int64 iKey;
95600 iKey = sqlite3BtreeIntegerKey(p->pCsr);
95604 v, v->apCsr[0], SQLITE_DELETE, p->zDb, p->pTab, iKey, -1, p->iCol
119473 int iKey; /* Memory cell holding key of row to be deleted */
119695 iKey = iPk;
119697 iKey = ++pParse->nMem;
119698 sqlite3ExprCodeGetColumnOfTable(v, pTab, iTabCur, -1, iKey);
119720 iKey = ++pParse->nMem;
119722 sqlite3VdbeAddOp4(v, OP_MakeRecord, iPk, nPk, iKey,
119724 sqlite3VdbeAddOp4Int(v, OP_IdxInsert, iEphCur, iKey, iPk, nPk);
119728 sqlite3VdbeAddOp2(v, OP_RowSetAdd, iRowSet, iKey);
119760 sqlite3VdbeAddOp4Int(v, OP_NotFound, iDataCur, addrBypass, iKey, nKey);
119766 sqlite3VdbeAddOp3(v, OP_Column, iEphCur, 0, iKey);
119768 sqlite3VdbeAddOp2(v, OP_RowData, iEphCur, iKey);
119772 addrLoop = sqlite3VdbeAddOp3(v, OP_RowSetRead, iRowSet, 0, iKey);
119790 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, 1, iKey, pVTab, P4_VTAB);
119797 iKey, nKey, count, OE_Default, eOnePass, aiCurOnePass[1]);
123382 int iKey;
123383 for(iKey=0; iKey<pTab->nCol; iKey++){
123384 if( aChange[iKey]>=0 || (iKey==pTab->iPKey && bChngRowid) ){
123385 Column *pCol = &pTab->aCol[iKey];
134874 int iKey = iCol+1;
134884 sqlite3VdbeAddOp3(v, OP_Column, iSortTab, iKey++, regKey);
134892 sqlite3VdbeAddOp3(v, OP_Column, iSortTab, iKey++, regKey+k);
191410 u32 iKey; /* 3: Key for ARRAY objects in json_tree() */
192312 int iKey;
192317 for(iKey=0; iKey<JSON_CACHE_SZ; iKey++){
192318 p = (JsonParse*)sqlite3_get_auxdata(pCtx, JSON_CACHE_ID+iKey);
192320 iMinKey = iKey;
192331 iMinKey = iKey;
193477 pUp->u.iKey = 0;
193479 pUp->u.iKey++;
193522 assert( pUp->eU==3 || (pUp->eU==0 && pUp->u.iKey==0) );
193524 jsonPrintf(30, pStr, "[%d]", pUp->u.iKey);
193549 u32 iKey;
193553 iKey = p->sParse.aNode[p->sParse.aUp[p->i]].u.iKey;
193555 iKey = p->iRowid;
193557 sqlite3_result_int64(ctx, (sqlite3_int64)iKey);
193770 pNode->u.iKey = 0;
198027 i64 iKey, /* Key for mapping */
198046 sqlite3_bind_int64(pStmt, 1, iKey);
198050 iKey, iVal, (bLeaf ? "%_rowid" : "%_parent")
198057 iKey, ii, (bLeaf ? "%_rowid" : "%_parent"), iKey, iVal
229075 i64 iKey;
229084 iKey = FTS5_SEGMENT_ROWID(iSegid, iPg);
229085 pLeaf = fts5DataRead(p, iKey);
229095 iKey = FTS5_SEGMENT_ROWID(iSegid, iPrevLeaf);
229096 pLeaf = fts5DataRead(p, iKey);
229260 static void fts5DebugRowid(int *pRc, Fts5Buffer *pBuf, i64 iKey){
229262 fts5DecodeRowid(iKey, &iSegid, &bDlidx, &iHeight, &iPgno);
229265 if( iKey==FTS5_AVERAGES_ROWID ){
235991 u16 iKey;
235998 iKey = (iCode & 0xFFFF);
236002 if( iKey>=aFts5UnicodeMap[iTest] ){
236011 if( iKey>=(aFts5UnicodeMap[iRes]+(aFts5UnicodeData[iRes]>>5)) ) return 0;
236014 return ((iKey - aFts5UnicodeMap[iRes]) & 0x01) ? 5 : 9;