• Home
  • Raw
  • Download

Lines Matching refs:iKey

46150   unsigned int iKey;             /* Key value (page number) */
46596 unsigned int h = pPage->iKey % nNew;
46645 h = pPage->iKey % pCache->nHash;
46711 if( pPage->iKey>=iLimit ){
46907 unsigned int iKey,
46957 unsigned int h = iKey % pCache->nHash;
46959 pPage->iKey = iKey;
46966 if( iKey>pCache->iMaxKey ){
46967 pCache->iMaxKey = iKey;
47034 unsigned int iKey,
47041 pPage = pCache->apHash[iKey % pCache->nHash];
47042 while( pPage && pPage->iKey!=iKey ){ pPage = pPage->pNext; }
47056 return pcache1FetchStage2(pCache, iKey, createFlag);
47064 unsigned int iKey,
47071 pPage = pcache1FetchNoMutex(p, iKey, createFlag);
47072 assert( pPage==0 || pCache->iMaxKey>=iKey );
47079 unsigned int iKey,
47094 return (sqlite3_pcache_page*)pcache1FetchWithMutex(p, iKey, createFlag);
47098 return (sqlite3_pcache_page*)pcache1FetchNoMutex(p, iKey, createFlag);
47153 assert( pPage->iKey==iOld );
47166 pPage->iKey = iNew;
56603 int iKey; /* Hash key */
56605 for(iKey=walHash(aPgno[j]); aHash[iKey]; iKey=walNextHash(iKey)){
56606 if( aHash[iKey]==j ) break;
56608 assert( aHash[iKey]==j );
56631 int iKey; /* Hash table key */
56659 for(iKey=walHash(iPage); aHash[iKey]; iKey=walNextHash(iKey)){
56663 aHash[iKey] = (ht_slot)idx;
56684 for(iKey=walHash(aPgno[i]); aHash[iKey]; iKey=walNextHash(iKey)){
56685 if( aHash[iKey]==i ) break;
56687 assert( aHash[iKey]==i );
58476 int iKey; /* Hash slot index */
58485 for(iKey=walHash(pgno); aHash[iKey]; iKey=walNextHash(iKey)){
58486 u32 iFrame = aHash[iKey] + iZero;
58487 if( iFrame<=iLast && iFrame>=pWal->minFrame && aPgno[aHash[iKey]]==pgno ){
61550 u64 iKey; /* Extracted Key value */
61580 iKey = *pIter;
61581 if( iKey>=0x80 ){
61583 iKey &= 0x7f;
61585 iKey = (iKey<<7) | (*++pIter & 0x7f);
61588 iKey = (iKey<<8) | *++pIter;
61595 pInfo->nKey = *(i64*)&iKey;
83798 i64 iKey; /* The rowid we are to seek to */
83830 iKey = sqlite3VdbeIntValue(pIn3);
83849 if( pIn3->u.r<(double)iKey ){
83858 else if( pIn3->u.r>(double)iKey ){
83865 rc = sqlite3BtreeMovetoUnpacked(pC->uc.pCursor, 0, (u64)iKey, 0, &res);
83866 pC->movetoTarget = iKey; /* Used by OP_Delete */
84162 u64 iKey;
84184 iKey = pIn3->u.i;
84185 rc = sqlite3BtreeMovetoUnpacked(pCrsr, 0, iKey, 0, &res);
84187 pC->movetoTarget = iKey; /* Used by OP_Delete */
84540 i64 iKey = sqlite3BtreeIntegerKey(pC->uc.pCursor);
84541 assert( pC->movetoTarget==iKey );
87710 sqlite3_int64 iKey;
87711 iKey = sqlite3BtreeIntegerKey(p->pCsr);
87713 v, v->apCsr[0], SQLITE_DELETE, p->zDb, p->pTab, iKey, -1
106816 int iKey; /* Memory cell holding key of row to be deleted */
107027 iKey = iPk;
107029 iKey = pParse->nMem + 1;
107030 iKey = sqlite3ExprCodeGetColumn(pParse, pTab, -1, iTabCur, iKey, 0);
107031 if( iKey>pParse->nMem ) pParse->nMem = iKey;
107052 iKey = ++pParse->nMem;
107054 sqlite3VdbeAddOp4(v, OP_MakeRecord, iPk, nPk, iKey,
107056 sqlite3VdbeAddOp4Int(v, OP_IdxInsert, iEphCur, iKey, iPk, nPk);
107060 sqlite3VdbeAddOp2(v, OP_RowSetAdd, iRowSet, iKey);
107097 sqlite3VdbeAddOp4Int(v, OP_NotFound, iDataCur, addrBypass, iKey, nKey);
107103 sqlite3VdbeAddOp3(v, OP_Column, iEphCur, 0, iKey);
107105 sqlite3VdbeAddOp2(v, OP_RowData, iEphCur, iKey);
107109 addrLoop = sqlite3VdbeAddOp3(v, OP_RowSetRead, iRowSet, 0, iKey);
107119 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, 1, iKey, pVTab, P4_VTAB);
107131 iKey, nKey, count, OE_Default, eOnePass, aiCurOnePass[1]);
110215 int iKey;
110216 for(iKey=0; iKey<pTab->nCol; iKey++){
110217 if( aChange[iKey]>=0 || (iKey==pTab->iPKey && bChngRowid) ){
110218 Column *pCol = &pTab->aCol[iKey];
170819 i64 iKey, /* Key for mapping */
170838 sqlite3_bind_int64(pStmt, 1, iKey);
170842 iKey, iVal, (bLeaf ? "%_rowid" : "%_parent")
170849 iKey, ii, (bLeaf ? "%_rowid" : "%_parent"), iKey, iVal
183745 u32 iKey; /* Key for ARRAY objects in json_tree() */
185589 pUp->u.iKey = 0;
185591 pUp->u.iKey++;
185634 jsonPrintf(30, pStr, "[%d]", pUp->u.iKey);
185658 u32 iKey;
185661 iKey = p->sParse.aNode[p->sParse.aUp[p->i]].u.iKey;
185663 iKey = p->iRowid;
185665 sqlite3_result_int64(ctx, (sqlite3_int64)iKey);
185854 pNode->u.iKey = 0;
200153 i64 iKey;
200162 iKey = FTS5_SEGMENT_ROWID(iSegid, iPg);
200163 pLeaf = fts5DataRead(p, iKey);
200173 iKey = FTS5_SEGMENT_ROWID(iSegid, iPrevLeaf);
200174 pLeaf = fts5DataRead(p, iKey);
200332 static void fts5DebugRowid(int *pRc, Fts5Buffer *pBuf, i64 iKey){
200334 fts5DecodeRowid(iKey, &iSegid, &bDlidx, &iHeight, &iPgno);
200337 if( iKey==FTS5_AVERAGES_ROWID ){