Lines Matching refs:pIdxCons

1177   struct sqlite3_index_constraint *pIdxCons;  in allocateIndexInfo()  local
1280 + (sizeof(*pIdxCons) + sizeof(*pUsage))*nTerm in allocateIndexInfo()
1288 pIdxCons = (struct sqlite3_index_constraint*)&pHidden->aRhs[nTerm]; in allocateIndexInfo()
1289 pIdxOrderBy = (struct sqlite3_index_orderby*)&pIdxCons[nTerm]; in allocateIndexInfo()
1291 pIdxInfo->aConstraint = pIdxCons; in allocateIndexInfo()
1301 pIdxCons[j].iColumn = pTerm->u.x.leftColumn; in allocateIndexInfo()
1302 pIdxCons[j].iTermOffset = i; in allocateIndexInfo()
1311 pIdxCons[j].op = pTerm->eMatchOp; in allocateIndexInfo()
1314 pIdxCons[j].op = SQLITE_INDEX_CONSTRAINT_ISNULL; in allocateIndexInfo()
1316 pIdxCons[j].op = SQLITE_INDEX_CONSTRAINT_IS; in allocateIndexInfo()
1319 pIdxCons[j].op = (u8)op; in allocateIndexInfo()
1335 if( op==WO_LT ) pIdxCons[j].op = WO_LE; in allocateIndexInfo()
1336 if( op==WO_GT ) pIdxCons[j].op = WO_GE; in allocateIndexInfo()
3683 struct sqlite3_index_constraint *pIdxCons; in whereLoopAddVirtualOne() local
3699 pIdxCons = *(struct sqlite3_index_constraint**)&pIdxInfo->aConstraint; in whereLoopAddVirtualOne()
3700 for(i=0; i<nConstraint; i++, pIdxCons++){ in whereLoopAddVirtualOne()
3701 WhereTerm *pTerm = &pWC->a[pIdxCons->iTermOffset]; in whereLoopAddVirtualOne()
3702 pIdxCons->usable = 0; in whereLoopAddVirtualOne()
3707 pIdxCons->usable = 1; in whereLoopAddVirtualOne()
3741 pIdxCons = *(struct sqlite3_index_constraint**)&pIdxInfo->aConstraint; in whereLoopAddVirtualOne()
3742 for(i=0; i<nConstraint; i++, pIdxCons++){ in whereLoopAddVirtualOne()
3746 int j = pIdxCons->iTermOffset; in whereLoopAddVirtualOne()
3751 || pIdxCons->usable==0 in whereLoopAddVirtualOne()