Lines Matching defs:SrcItem

15380 typedef struct SrcItem SrcItem;
18713 ** The colNotIdxed bitmask is used in combination with SrcItem.colUsed
19242 ** The SrcItem object represents a single term in the FROM clause of a query.
19262 struct SrcItem {
19326 SrcItem a[1]; /* One entry for each identifier on the list */
20302 SrcItem *pSrcItem; /* A single FROM clause item */
20956 SQLITE_PRIVATE int sqlite3IndexedByLookup(Parse *, SrcItem *);
21023 SQLITE_PRIVATE Table *sqlite3LocateTableItem(Parse*,u32 flags,SrcItem *);
21158 SQLITE_PRIVATE void sqlite3SrcItemColumnUsed(SrcItem*,int);
21336 SQLITE_PRIVATE int sqlite3ExpandSubquery(Parse*, SrcItem*);
31170 #define etSRCITEM 12 /* a pointer to a SrcItem */
31242 ** %S Takes a pointer to SrcItem. Shows name or database.name
31982 SrcItem *pItem;
31984 pItem = va_arg(ap, SrcItem*);
32773 const SrcItem *pItem = &pSrc->a[i];
106631 SrcItem *pItem;
106935 SrcItem *pMatch, /* Source table containing the column */
107015 SrcItem *pItem; /* Use for looping over pSrcList items */
107016 SrcItem *pMatch = 0; /* The matching pSrcList item */
107595 SrcItem *pItem = &pSrc->a[iSrc];
107712 SrcItem *pItem;
108618 SrcItem *pItem = &p->pSrc->a[i];
108694 SrcItem *pItem = &p->pSrc->a[i];
110886 SrcItem *pNewItem = &pNew->a[i];
110887 const SrcItem *pOldItem = &p->a[i];
111668 const SrcItem *pSrc = &pSrcList->a[iSrc];
115886 SrcItem *pItem = pSrcList->a;
117510 SrcItem *p = &pStep->pFrom->a[i];
117827 SrcItem *pItem = &pSrc->a[i];
117972 SrcItem *pItem = &pStep->pFrom->a[i];
120951 SrcItem *pItem;
121864 SrcItem *p
126235 SrcItem *pItem;
126276 SrcItem *pItem;
126294 SrcItem *pItem;
126339 SrcItem *pItem;
126395 SrcItem *pItem;
126426 memcpy(&p1->a[1], p2->a, p2->nSrc*sizeof(SrcItem));
126440 SrcItem *pItem = &p->a[p->nSrc-1];
127649 SrcItem *pItem = pSrc->a;
132453 SrcItem *pItem = pSrc->a;
133480 SrcItem *pItem = &pVal->pSrc->a[0];
133593 SrcItem *p = 0; /* SrcItem that reads from co-routine */
134005 SrcItem *pItem = &pSelect->pSrc->a[0];
135896 SrcItem *pItem; /* An element of pSelect->pSrc */
143224 SQLITE_PRIVATE void sqlite3SrcItemColumnUsed(SrcItem *pItem, int iCol){
143388 SrcItem *pLeft; /* Left table being joined */
143389 SrcItem *pRight; /* Right table being joined */
146854 SrcItem *pItem;
146884 SrcItem *pItem;
146894 SrcItem *pSrcItem /* Which FROM clause item to recompute */
146928 SrcItem *pItem;
147235 SrcItem *pSubitem; /* The subquery */
147539 SrcItem *pItem = &pSrc->a[i+iFrom];
147620 /* Recompute the SrcItem.colUsed masks for the flattened
148059 SrcItem *pSrc; /* The subquery FROM term into which WHERE is pushed */
148211 static int disableUnusedSubqueryResultColumns(SrcItem *pItem){
148386 SQLITE_PRIVATE int sqlite3IndexedByLookup(Parse *pParse, SrcItem *pFrom){
148493 static int cannotBeFunction(Parse *pParse, SrcItem *pFrom){
148514 SrcItem *pItem, /* FROM clause element to resolve */
148584 SrcItem *pFrom /* The FROM clause term to check */
148675 SrcItem *pItem = &pSrc->a[i];
148775 ** The SrcItem structure passed as the second argument represents a
148777 ** allocates and populates the SrcItem.pTab object. If successful,
148781 SQLITE_PRIVATE int sqlite3ExpandSubquery(Parse *pParse, SrcItem *pFrom){
148811 ** Check the N SrcItem objects to the right of pBase. (N might be zero!)
148812 ** If any of those SrcItem objects have a USING clause containing zName
148815 ** If N is zero, or none of the N SrcItem objects to the right of pBase
148821 SrcItem *pBase, /* The base SrcItem. Looking at pBase[1] and following */
148864 SrcItem *pFrom;
149300 SrcItem *pFrom;
149953 ** If pThis is a self-join, then return the SrcItem for the first other
149956 static SrcItem *isSelfJoinView(
149958 SrcItem *pThis, /* Search for prior reference to this subquery */
149961 SrcItem *pItem;
150097 static int sameSrcAlias(SrcItem *p0, SrcList *pSrc){
150100 SrcItem *p1 = &pSrc->a[i];
150149 SrcItem *pItem = &pTabList->a[i];
150279 SrcItem *p0 = &p->pSrc->a[0];
150321 SrcItem *pItem = &pTabList->a[i];
150360 SrcItem *pI2 = &pTabList->a[j];
150535 SrcItem *pItem = &pTabList->a[i];
150536 SrcItem *pPrior;
157171 ** SrcItem.iCursor and Expr.iTable fields. For any given WHERE
157358 SQLITE_PRIVATE void sqlite3WhereTabFuncArgs(Parse*, SrcItem*, WhereClause*);
157543 SrcItem *pItem = &pTabList->a[pLevel->iFrom];
157653 SrcItem *pItem = &pWInfo->pTabList->a[pLevel->iFrom];
158458 SrcItem *pTabItem, /* FROM clause item */
158792 SrcItem *pTabItem; /* FROM clause term being coded */
159612 SrcItem *origSrc; /* Original list of tables */
160157 SrcItem *pTabItem = &pWInfo->pTabList->a[pLevel->iFrom];
160167 SrcItem *pRight;
160200 memcpy(&sFrom.a[0], pTabItem, sizeof(SrcItem));
162071 SrcItem *pItem, /* The FROM clause term to process */
162940 const SrcItem *pSrc /* Table we are trying to access */
162970 const SrcItem *pSrc, /* Table we are trying to access */
163078 SrcItem *pSrc; /* The FROM clause term to get the next index */
163339 const SrcItem *pItem;
163404 const SrcItem *pTabItem;
163438 SrcItem *pSrc, /* The FROM clause term that is the vtab */
164434 SrcItem *pItem = pWInfo->pTabList->a + p->iTab;
165104 SrcItem *pSrc, /* FROM clause term being analyzed */
165790 SrcItem *pItem /* The FROM clause entry for the table */
165883 SrcItem *pSrc; /* The FROM clause btree term to add */
166233 SrcItem *pSrc = &pBuilder->pWInfo->pTabList->a[pNew->iTab];
166549 SrcItem *pSrc; /* The FROM clause term to search */
166685 SrcItem *pItem;
166804 SrcItem *pItem;
166805 SrcItem *pEnd = &pTabList->a[pWInfo->nLevel];
166849 SrcItem *p;
167815 SrcItem *pItem;
168017 SrcItem *pItem;
168091 SrcItem *pItem = &pWInfo->pTabList->a[pLoop->iTab];
168182 SrcItem *pTabItem /* The FROM clause entry for the table */
168245 SrcItem *pItem = &pWInfo->pTabList->a[ii];
168762 SrcItem *pTabItem;
168936 SrcItem *pSrc;
169157 SrcItem *pSrc = &pTabList->a[pLevel->iFrom];
169195 SrcItem *pTabItem = &pTabList->a[pLevel->iFrom];
176575 SrcItem *pNew = &yymsp[-5].minor.yy203->a[yymsp[-5].minor.yy203->nSrc-1];
176576 SrcItem *pOld = yymsp[-3].minor.yy203->a;