Lines Matching refs:aConstraint

5781 ** ^(The aConstraint[] array records WHERE clause constraints of the form:
5786 ** stored in aConstraint[].op using one of the
5789 ** aConstraint[].iColumn.)^ ^(aConstraint[].usable is TRUE if the
5796 ** ^The aConstraint[] array only reports WHERE clause terms that are
5804 ** the right-hand side of the corresponding aConstraint[] is evaluated
5825 int nConstraint; /* Number of entries in aConstraint */
5831 } *aConstraint; /* Table of WHERE clause constraints */
5853 ** [sqlite3_index_info].aConstraint[].op field. Each value represents
106087 p->aConstraint[i].iColumn,
106088 p->aConstraint[i].iTermOffset,
106089 p->aConstraint[i].op,
106090 p->aConstraint[i].usable);
106539 *(struct sqlite3_index_constraint**)&pIdxInfo->aConstraint = pIdxCons;
106615 if( !p->aConstraint[i].usable && p->aConstraintUsage[i].argvIndex>0 ){
106698 /* Set the aConstraint[].usable fields and initialize all
106701 ** aConstraint[].usable is true for constraints where the right-hand
106718 pIdxCons = *(struct sqlite3_index_constraint**)&pIdxInfo->aConstraint;
106750 pIdxCons = *(struct sqlite3_index_constraint**)&pIdxInfo->aConstraint;
108604 const struct sqlite3_index_constraint *aConstraint =
108605 pVtabIdx->aConstraint;
108614 pTerm = &pWC->a[aConstraint[k].iTermOffset];
108633 int iTerm = aConstraint[j].iTermOffset;
120724 struct sqlite3_index_constraint *pCons = &pInfo->aConstraint[i];
124818 if( pInfo->aConstraint[i].usable && pInfo->aConstraint[i].iColumn==0 ){
124819 int op = pInfo->aConstraint[i].op;
128416 if( pInfo->aConstraint[i].usable
128417 && pInfo->aConstraint[i].iColumn==0
128418 && pInfo->aConstraint[i].op==SQLITE_INDEX_CONSTRAINT_EQ
136555 int nConstraint; /* Number of entries in aConstraint */
136556 RtreeConstraint *aConstraint; /* Search constraints. */
137164 ** Free the RtreeCursor.aConstraint[] array and its contents.
137167 if( pCsr->aConstraint ){
137170 sqlite3_rtree_geometry *pGeom = pCsr->aConstraint[i].pGeom;
137176 sqlite3_free(pCsr->aConstraint);
137177 pCsr->aConstraint = 0;
137231 ** (excluded) by the constraints in the pCursor->aConstraint[]
137245 RtreeConstraint *p = &pCursor->aConstraint[ii];
137282 ** pCursor->aConstraint[] array. If so, set *pbEof to true before
137298 RtreeConstraint *p = &pCursor->aConstraint[ii];
137609 /* Normal case - r-tree scan. Set up the RtreeCursor.aConstraint array
137613 pCsr->aConstraint = sqlite3_malloc(sizeof(RtreeConstraint)*argc);
137615 if( !pCsr->aConstraint ){
137618 memset(pCsr->aConstraint, 0, sizeof(RtreeConstraint)*argc);
137622 RtreeConstraint *p = &pCsr->aConstraint[ii];
137718 struct sqlite3_index_constraint *p = &pIdxInfo->aConstraint[ii];