• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/Heimdal-398.1.2/lib/sqlite/

Lines Matching refs:iIdx

52103   int iIdx = 0;
52166 iIdx = (offset/ovflSize);
52167 nextPage = pCur->aOverflow[iIdx];
52172 for( ; rc==SQLITE_OK && amt>0 && nextPage; iIdx++){
52177 assert(!pCur->aOverflow[iIdx] || pCur->aOverflow[iIdx]==nextPage);
52178 pCur->aOverflow[iIdx] = nextPage;
52190 if( pCur->aOverflow && pCur->aOverflow[iIdx+1] ){
52191 nextPage = pCur->aOverflow[iIdx+1];
52403 ** asserts that page number iChild is the left-child if the iIdx'th
52404 ** cell in page pParent. Or, if iIdx is equal to the total number of
52408 static void assertParentIndex(MemPage *pParent, int iIdx, Pgno iChild){
52409 assert( iIdx<=pParent->nCell );
52410 if( iIdx==pParent->nCell ){
52413 assert( get4byte(findCell(pParent, iIdx))==iChild );
54837 int const iIdx = pCur->aiIdx[iPage-1];
54846 && pParent->nCell==iIdx
54884 rc = balance_nonroot(pParent, iIdx, pSpace, iPage==1);
55642 int iIdx; /* Index of child node in parent */
55679 ** points at. This is the right-child if (iIdx==pPage->nCell).
55681 iIdx = pCur->aiIdx[pCur->iPage];
55682 if( iIdx==pPage->nCell ){
55685 rc = moveToChild(pCur, get4byte(findCell(pPage, iIdx)));
81102 int iIdx = pIdx->tnum;
81104 if( (iDestroyed==0 || (iIdx<iDestroyed)) && iIdx>iLargest ){
81105 iLargest = iIdx;
81462 int iIdx = pParse->nTab++; /* Btree cursor used for pIndex */
81493 sqlite3VdbeAddOp4(v, OP_OpenWrite, iIdx, tnum, iDb,
81530 sqlite3VdbeAddOp3(v, OP_IdxInsert, iIdx, regRecord, 1);
81547 sqlite3VdbeAddOp4(v, OP_IsUnique, iIdx, j2, regRowid, pRegKey, P4_INT32);
81551 sqlite3VdbeAddOp3(v, OP_IdxInsert, iIdx, regRecord, 0);
81559 sqlite3VdbeAddOp1(v, OP_Close, iIdx);
119435 int iIdx = (idxNum&FTS4AUX_GE_CONSTRAINT) ? 1 : 0;
119436 pCsr->zStop = sqlite3_mprintf("%s", sqlite3_value_text(apVal[iIdx]));
119437 pCsr->nStop = sqlite3_value_bytes(apVal[iIdx]);
122371 int iIdx; /* Index within level, or 0x7FFFFFFF for PT */
123641 pReader->iIdx = iAge;
123768 pReader->iIdx = 0x7FFFFFFF;
123809 rc = pRhs->iIdx - pLhs->iIdx;
123830 rc = pRhs->iIdx - pLhs->iIdx;
123842 rc = pRhs->iIdx - pLhs->iIdx;
123940 int iIdx, /* Value for "idx" field */
123951 sqlite3_bind_int(pStmt, 2, iIdx);
124334 int iIdx /* Value for 'idx' column of %_segdir */
124351 p, iLevel, iIdx, pWriter->iFirst, iLastLeaf, iLast, zRoot, nRoot);
124356 p, iLevel, iIdx, 0, 0, 0, pWriter->aData, pWriter->nData);
124922 int iIdx = 0; /* Index of new segment */
124953 rc = fts3AllocateSegdirIdx(p, iIndex, 0, &iIdx);
124959 rc = fts3AllocateSegdirIdx(p, iIndex, iLevel+1, &iIdx);
124985 rc = fts3SegWriterFlush(p, pWriter, iNewLevel, iIdx);
128387 int iIdx = 0;
128393 for(ii=0; ii<pIdxInfo->nConstraint && iIdx<(int)(sizeof(zIdxStr)-1); ii++){
128429 zIdxStr[iIdx++] = op;
128430 zIdxStr[iIdx++] = p->iColumn - 1 + 'a';
128431 pIdxInfo->aConstraintUsage[ii].argvIndex = (iIdx/2);
128438 if( iIdx>0 && 0==(pIdxInfo->idxStr = sqlite3_mprintf("%s", zIdxStr)) ){
128441 assert( iIdx>=0 );
128442 pIdxInfo->estimatedCost = (2000000.0 / (double)(iIdx + 1));