Lines Matching refs:jj
1123 int jj; in sqlite3ConstructBloomFilter() local
1124 for(jj=0; jj<n; jj++){ in sqlite3ConstructBloomFilter()
1125 int iCol = pIdx->aiColumn[jj]; in sqlite3ConstructBloomFilter()
1127 sqlite3ExprCodeGetColumnOfTable(v, pIdx->pTable, iCur, iCol,r1+jj); in sqlite3ConstructBloomFilter()
3192 int ii, jj; in indexMightHelpWithOrderBy() local
3201 for(jj=0; jj<pIndex->nKeyCol; jj++){ in indexMightHelpWithOrderBy()
3202 if( pExpr->iColumn==pIndex->aiColumn[jj] ) return 1; in indexMightHelpWithOrderBy()
3205 for(jj=0; jj<pIndex->nKeyCol; jj++){ in indexMightHelpWithOrderBy()
3206 if( pIndex->aiColumn[jj]!=XN_EXPR ) continue; in indexMightHelpWithOrderBy()
3207 if( sqlite3ExprCompareSkip(pExpr,aColExpr->a[jj].pExpr,iCursor)==0 ){ in indexMightHelpWithOrderBy()
4784 int ii, jj; /* Loop counters */ in wherePathSolver() local
4942 for(jj=0, pTo=aTo; jj<nTo; jj++, pTo++){ in wherePathSolver()
4946 testcase( jj==nTo-1 ); in wherePathSolver()
4950 if( jj>=nTo ){ in wherePathSolver()
4971 jj = nTo++; in wherePathSolver()
4974 jj = mxI; in wherePathSolver()
4976 pTo = &aTo[jj]; in wherePathSolver()
5043 for(jj=1, pTo=&aTo[1]; jj<mxChoice; jj++, pTo++){ in wherePathSolver()
5049 mxI = jj; in wherePathSolver()
6104 int ii, jj; in sqlite3WhereBegin() local
6106 jj = pIx->aiColumn[ii]; in sqlite3WhereBegin()
6107 if( jj<0 ) continue; in sqlite3WhereBegin()
6108 if( jj>63 ) jj = 63; in sqlite3WhereBegin()
6109 if( (pTabItem->colUsed & MASKBIT(jj))==0 ) continue; in sqlite3WhereBegin()