Lines Matching refs:iKey

54916   unsigned int iKey;        /* Key value (page number) */
55356 unsigned int h = pPage->iKey % nNew;
55406 h = pPage->iKey % pCache->nHash;
55472 if( pPage->iKey>=iLimit ){
55673 unsigned int iKey,
55723 unsigned int h = iKey % pCache->nHash;
55725 pPage->iKey = iKey;
55733 if( iKey>pCache->iMaxKey ){
55734 pCache->iMaxKey = iKey;
55801 unsigned int iKey,
55808 pPage = pCache->apHash[iKey % pCache->nHash];
55809 while( pPage && pPage->iKey!=iKey ){ pPage = pPage->pNext; }
55823 return pcache1FetchStage2(pCache, iKey, createFlag);
55831 unsigned int iKey,
55838 pPage = pcache1FetchNoMutex(p, iKey, createFlag);
55839 assert( pPage==0 || pCache->iMaxKey>=iKey );
55846 unsigned int iKey,
55861 return (sqlite3_pcache_page*)pcache1FetchWithMutex(p, iKey, createFlag);
55865 return (sqlite3_pcache_page*)pcache1FetchNoMutex(p, iKey, createFlag);
55920 assert( pPage->iKey==iOld );
55936 pPage->iKey = iNew;
65823 int iKey; /* Hash key */
65825 for(iKey=walHash(sLoc.aPgno[j]);sLoc.aHash[iKey];iKey=walNextHash(iKey)){
65826 if( sLoc.aHash[iKey]==j+1 ) break;
65828 assert( sLoc.aHash[iKey]==j+1 );
65849 int iKey; /* Hash table key */
65878 for(iKey=walHash(iPage); sLoc.aHash[iKey]; iKey=walNextHash(iKey)){
65882 AtomicStore(&sLoc.aHash[iKey], (ht_slot)idx);
65903 for(iKey=walHash(sLoc.aPgno[i]);
65904 sLoc.aHash[iKey];
65905 iKey=walNextHash(iKey)){
65906 if( sLoc.aHash[iKey]==i+1 ) break;
65908 assert( sLoc.aHash[iKey]==i+1 );
68089 int iKey; /* Hash slot index */
68099 iKey = walHash(pgno);
68101 while( (iH = AtomicLoad(&sLoc.aHash[iKey]))!=0 ){
68111 iKey = walNextHash(iKey);
71400 u64 iKey; /* Extracted Key value */
71431 iKey = *pIter;
71432 if( iKey>=0x80 ){
71434 iKey = (iKey<<7) ^ (x = *++pIter);
71436 iKey = (iKey<<7) ^ (x = *++pIter);
71438 iKey = (iKey<<7) ^ 0x10204000 ^ (x = *++pIter);
71440 iKey = (iKey<<7) ^ 0x4000 ^ (x = *++pIter);
71442 iKey = (iKey<<7) ^ 0x4000 ^ (x = *++pIter);
71444 iKey = (iKey<<7) ^ 0x4000 ^ (x = *++pIter);
71446 iKey = (iKey<<7) ^ 0x4000 ^ (x = *++pIter);
71448 iKey = (iKey<<8) ^ 0x8000 ^ (*++pIter);
71455 iKey ^= 0x204000;
71458 iKey ^= 0x4000;
71463 pInfo->nKey = *(i64*)&iKey;
79725 SQLITE_PRIVATE int sqlite3BtreeTransferRow(BtCursor *pDest, BtCursor *pSrc, i64 iKey){
79738 if( pDest->pKeyInfo==0 ) aOut += putVarint(aOut, iKey);
97340 i64 iKey; /* The rowid we are to seek to */
97376 iKey = sqlite3VdbeIntValue(pIn3); /* Get the integer key value */
97394 c = sqlite3IntFloatCompare(iKey, pIn3->u.r);
97419 rc = sqlite3BtreeTableMoveto(pC->uc.pCursor, (u64)iKey, 0, &res);
97420 pC->movetoTarget = iKey; /* Used by OP_Delete */
98005 u64 iKey;
98021 iKey = x.u.i;
98030 iKey = pIn3->u.i;
98042 rc = sqlite3BtreeTableMoveto(pCrsr, iKey, 0, &res);
98044 pC->movetoTarget = iKey; /* Used by OP_Delete */
98356 i64 iKey; /* Rowid value to insert with */
98363 iKey = pOp->p3 ? aMem[pOp->p3].u.i : 0;
98364 rc = sqlite3BtreeTransferRow(pDest->uc.pCursor, pSrc->uc.pCursor, iKey);
98433 i64 iKey = sqlite3BtreeIntegerKey(pC->uc.pCursor);
98434 assert( CORRUPT_DB || pC->movetoTarget==iKey );
102167 sqlite3_int64 iKey;
102168 iKey = sqlite3BtreeIntegerKey(p->pCsr);
102172 v, v->apCsr[0], SQLITE_DELETE, p->zDb, p->pTab, iKey, -1, p->iCol
127180 int iKey; /* Memory cell holding key of row to be deleted */
127413 iKey = iPk;
127415 iKey = ++pParse->nMem;
127416 sqlite3ExprCodeGetColumnOfTable(v, pTab, iTabCur, -1, iKey);
127438 iKey = ++pParse->nMem;
127440 sqlite3VdbeAddOp4(v, OP_MakeRecord, iPk, nPk, iKey,
127442 sqlite3VdbeAddOp4Int(v, OP_IdxInsert, iEphCur, iKey, iPk, nPk);
127446 sqlite3VdbeAddOp2(v, OP_RowSetAdd, iRowSet, iKey);
127478 sqlite3VdbeAddOp4Int(v, OP_NotFound, iDataCur, addrBypass, iKey, nKey);
127484 sqlite3VdbeAddOp3(v, OP_Column, iEphCur, 0, iKey);
127486 sqlite3VdbeAddOp2(v, OP_RowData, iEphCur, iKey);
127490 addrLoop = sqlite3VdbeAddOp3(v, OP_RowSetRead, iRowSet, 0, iKey);
127508 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, 1, iKey, pVTab, P4_VTAB);
127515 iKey, nKey, count, OE_Default, eOnePass, aiCurOnePass[1]);
131489 int iKey;
131490 for(iKey=0; iKey<pTab->nCol; iKey++){
131491 if( aChange[iKey]>=0 || (iKey==pTab->iPKey && bChngRowid) ){
131492 Column *pCol = &pTab->aCol[iKey];
143532 int iKey = iCol+1;
143542 sqlite3VdbeAddOp3(v, OP_Column, iSortTab, iKey++, regKey);
143550 sqlite3VdbeAddOp3(v, OP_Column, iSortTab, iKey++, regKey+k);
207835 i64 iKey; /* Key for JSONB_ARRAY */
207988 jsonPrintf(30, &p->path, "[%lld]", p->aParent[p->nParent-1].iKey);
208041 pParent->iKey = -1;
208073 p->aParent[p->nParent-1].iKey++;
208133 sqlite3_result_int64(ctx, p->aParent[p->nParent-1].iKey);
208359 p->aParent[0].iKey = 0;
212462 i64 iKey, /* Key for mapping */
212481 sqlite3_bind_int64(pStmt, 1, iKey);
212485 iKey, iVal, (bLeaf ? "%_rowid" : "%_parent")
212492 iKey, ii, (bLeaf ? "%_rowid" : "%_parent"), iKey, iVal
243903 int iKey = 0;
243908 for(iIdx=0; iIdx<nIdx; iKey++){
243914 assert_nc( iKey>=1 );
243934 if( iKey!=1 ){
243945 if( iKey!=1 ){
246676 i64 iKey;
246685 iKey = FTS5_SEGMENT_ROWID(iSegid, iPg);
246686 pLeaf = fts5DataRead(p, iKey);
246696 iKey = FTS5_SEGMENT_ROWID(iSegid, iPrevLeaf);
246697 pLeaf = fts5DataRead(p, iKey);
246869 static void fts5DebugRowid(int *pRc, Fts5Buffer *pBuf, i64 iKey){
246871 fts5DecodeRowid(iKey, &bTomb, &iSegid, &bDlidx, &iHeight, &iPgno);
246874 if( iKey==FTS5_AVERAGES_ROWID ){
254195 u16 iKey;
254202 iKey = (iCode & 0xFFFF);
254206 if( iKey>=aFts5UnicodeMap[iTest] ){
254215 if( iKey>=(aFts5UnicodeMap[iRes]+(aFts5UnicodeData[iRes]>>5)) ) return 0;
254218 return ((iKey - aFts5UnicodeMap[iRes]) & 0x01) ? 5 : 9;