Lines Matching refs:WhereTerm

10798     struct WhereTerm *pTerm;       /* WHERE clause term for OR-search */
102619 ** WhereTerm.pWC->a[WhereTerm.idx] == WhereTerm
102626 ** then WhereTerm.leftCursor and WhereTerm.u.leftColumn record the
102627 ** cursor number and column number for X. WhereTerm.eOperator records
102632 ** A WhereTerm might also be two or more subterms connected by OR:
102637 ** and the WhereTerm.u.pOrInfo field points to auxiliary information that
102641 ** categories, then eOperator==0. The WhereTerm.pExpr field is still set
102643 ** but no other fields in the WhereTerm object are meaningful.
102661 typedef struct WhereTerm WhereTerm;
102662 struct WhereTerm {
102680 ** Allowed values of WhereTerm.wtFlags
102686 #define TERM_ORINFO 0x10 /* Need to free the WhereTerm.u.pOrInfo object */
102687 #define TERM_ANDINFO 0x20 /* Need to free the WhereTerm.u.pAndInfo obj */
102716 WhereTerm *a; /* Each a[] describes a term of the WHERE cluase */
102718 WhereTerm aStatic[1]; /* Initial static space for a[] */
102720 WhereTerm aStatic[8]; /* Initial static space for a[] */
102725 ** A WhereTerm with eOperator==WO_OR has its u.pOrInfo pointer set to
102734 ** A WhereTerm with eOperator==WO_AND has its u.pAndInfo pointer set to
102743 ** between VDBE cursor numbers and bits of the bitmasks in WhereTerm.
102880 WhereTerm *a;
102898 ** Add a single new WhereTerm entry to the WhereClause object pWC.
102899 ** The new WhereTerm object is constructed from Expr p and with wtFlags.
102900 ** The index in pWC->a[] of the new WhereTerm is returned on success.
102901 ** 0 is returned if the new WhereTerm could not be added due to a memory
102909 ** This is true even if this routine fails to allocate a new WhereTerm.
102917 WhereTerm *pTerm;
102921 WhereTerm *pOld = pWC->a;
103156 static WhereTerm *findTerm(
103164 WhereTerm *pTerm;
103370 ** WhereTerm.wtFlags |= TERM_ORINFO
103371 ** WhereTerm.u.pOrInfo = a dynamically allocated WhereOrTerm object
103400 ** WhereTerm.eOperator = WO_OR
103401 ** WhereTerm.u.pOrInfo->indexable |= the cursor number for table T
103442 WhereTerm *pTerm = &pWC->a[idxTerm]; /* The term to be analyzed */
103447 WhereTerm *pOrTerm; /* A Sub-term within the pOrWc */
103483 WhereTerm *pAndTerm;
103512 WhereTerm *pOther = &pOrWc->a[pOrTerm->iParent];
103671 ** The input to this routine is an WhereTerm structure with only the
103673 ** subexpression and populate all the other fields of the WhereTerm
103693 WhereTerm *pTerm; /* The term to be analyzed */
103746 WhereTerm *pNew;
103900 WhereTerm *pNewTerm;
103945 WhereTerm *pNewTerm;
104064 WhereTerm *pTerm;
104385 WhereTerm * const pWCEnd = &pWC->a[pWC->nTerm]; /* End of pWC->a[] */
104386 WhereTerm *pTerm; /* A single term of the WHERE clause */
104404 WhereTerm * const pOrWCEnd = &pOrWC->a[pOrWC->nTerm];
104405 WhereTerm *pOrTerm;
104469 WhereTerm *pTerm, /* WHERE clause term to check */
104502 WhereTerm *pTerm; /* A single term of the WHERE clause */
104503 WhereTerm *pWCEnd; /* End of pWC->a[] */
104571 WhereTerm *pTerm; /* A single term of the WHERE clause */
104572 WhereTerm *pWCEnd; /* End of pWC->a[] */
104725 WhereTerm *pTerm;
104892 WhereTerm *pTerm;
105227 ** place of the corresponding WhereTerm.
105257 WhereTerm *pLower, /* Lower bound on the range. ex: "x>123" Might be NULL */
105258 WhereTerm *pUpper, /* Upper bound on the range. ex: "x<455" Might be NULL */
105590 WhereTerm *pTerm; /* A single term of the WHERE clause */
105592 WhereTerm *pFirstTerm = 0; /* First term matching the index */
105640 WhereTerm *pTop = findTerm(pWC, iCur, j, notReady, WO_LT|WO_LE, pIdx);
105641 WhereTerm *pBtm = findTerm(pWC, iCur, j, notReady, WO_GT|WO_GE, pIdx);
105976 static void disableTerm(WhereLevel *pLevel, WhereTerm *pTerm){
105983 WhereTerm *pOther = &pTerm->pWC->a[pTerm->iParent];
106044 WhereTerm *pTerm, /* The term of the WHERE clause to be coded */
106147 WhereTerm *pTerm; /* A single constraint term */
106382 WhereTerm *pTerm; /* A WHERE clause term */
106494 WhereTerm *pStart, *pEnd;
106616 WhereTerm *pRangeStart = 0; /* Inequality constraint at range start */
106617 WhereTerm *pRangeEnd = 0; /* Inequality constraint at range end */
106680 SWAP(WhereTerm *, pRangeEnd, pRangeStart);
106934 WhereTerm *pOrTerm = &pOrWc->a[ii];