Lines Matching refs:WhereLoop
163066 typedef struct WhereLoop WhereLoop; typedef
163146 struct WhereLoop *pWLoop; /* The selected WhereLoop object */
163167 struct WhereLoop { struct
163202 # define WHERE_LOOP_XFER_SZ offsetof(WhereLoop,nLSlot) argument
163209 WhereLoop *pNextLoop; /* Next WhereLoop object in the WhereClause */ argument
163258 WhereLoop **aLoop; /* Array of WhereLoop objects implementing this path */
163463 WhereLoop *pNew; /* Template WhereLoop */
163541 WhereLoop *pLoops; /* List of all WhereLoop objects */
163563 SQLITE_PRIVATE void sqlite3WhereLoopPrint(const WhereLoop *p, const WhereClause *pWC);
163775 static void explainIndexRange(StrAccum *pStr, WhereLoop *pLoop){
163820 WhereLoop *pLoop; /* The controlling WhereLoop object */
163979 WhereLoop *pLoop; /* The where loop */
164029 WhereLoop *pLoop = pLvl->pWLoop;
164264 WhereLoop *pLoop, /* The current loop */
164368 WhereLoop *pLoop = pLevel->pWLoop;
164592 WhereLoop *pLoop; /* The WhereLoop object */
164844 WhereLoop *pLoop = pLevel->pWLoop;
165089 WhereLoop *pLoop = pLevel->pWLoop;
165134 static int whereLoopIsOneRow(WhereLoop *pLoop){
165166 WhereLoop *pLoop; /* The WhereLoop object being coded */
166123 WhereLoop *pSubLoop;
166540 WhereLoop *pLoop = pLevel->pWLoop;
168639 static int whereLoopResize(sqlite3*, WhereLoop*, int);
169595 WhereLoop *pLoop; /* The Loop object */
169876 WhereLoop *pLoop = pLevel->pWLoop; /* The loop being coded */
170574 WhereLoop *pLoop, /* Update the .nOut value of this loop */
170687 WhereLoop *pLoop /* Modify the .nOut and maybe .rRun fields */
171039 SQLITE_PRIVATE void sqlite3WhereLoopPrint(const WhereLoop *p, const WhereClause *pWC){
171102 SQLITE_PRIVATE void sqlite3ShowWhereLoop(const WhereLoop *p){
171105 SQLITE_PRIVATE void sqlite3ShowWhereLoopList(const WhereLoop *p){
171117 static void whereLoopInit(WhereLoop *p){
171127 static void whereLoopClearUnion(sqlite3 *db, WhereLoop *p){
171145 static void whereLoopClear(sqlite3 *db, WhereLoop *p){
171159 static int whereLoopResize(sqlite3 *db, WhereLoop *p, int n){
171175 static int whereLoopXfer(sqlite3 *db, WhereLoop *pTo, WhereLoop *pFrom){
171196 static void whereLoopDelete(sqlite3 *db, WhereLoop *p){
171210 WhereLoop *p = pWInfo->pLoops;
171248 const WhereLoop *pX, /* First WhereLoop to compare */
171249 const WhereLoop *pY /* Compare against this WhereLoop */
171293 static void whereLoopAdjustCost(const WhereLoop *p, WhereLoop *pTemplate){
171334 static WhereLoop **whereLoopFindLesser(
171335 WhereLoop **ppPrev,
171336 const WhereLoop *pTemplate
171338 WhereLoop *p;
171422 static int whereLoopInsert(WhereLoopBuilder *pBuilder, WhereLoop *pTemplate){
171423 WhereLoop **ppPrev, *p;
171495 *ppPrev = p = sqlite3DbMallocRawNN(db, sizeof(WhereLoop));
171503 WhereLoop **ppTail = &p->pNextLoop;
171504 WhereLoop *pToDel;
171629 WhereLoop *pLoop, /* The loop to adjust downward */
171818 WhereLoop *pNew; /* Template WhereLoop under construction */
172604 WhereLoop *pNew; /* Template WhereLoop object */
172964 WhereLoop *pNew = pBuilder->pNew;
173284 WhereLoop *pNew;
173407 WhereLoop *pNew;
173539 WhereLoop *pNew;
173669 WhereLoop *pLoop, /* The nested loop term that is a subquery */
173742 WhereLoop *pLast, /* Add this WhereLoop to the end of pPath->aLoop[] */
173759 WhereLoop *pLoop = 0; /* Current WhereLoop being processed. */
174102 static const char *wherePathName(WherePath *pPath, int nLoop, WhereLoop *pLast){
174243 WhereLoop *pWLoop; /* For looping over WhereLoops */
174266 WhereLoop *pStart; /* Where to start searching for dimension-tables */
174402 const WhereLoop *pCandidate,
174403 const WhereLoop *pBaseline
174439 WhereLoop *pWLoop; /* One of the WhereLoop objects */
174440 WhereLoop **pX; /* Used to divy up the pSpace memory */
174481 nSpace = (sizeof(WherePath)+sizeof(WhereLoop*)*nLoop)*mxChoice*2;
174488 pX = (WhereLoop**)(aFrom+mxChoice);
174700 memcpy(pTo->aLoop, pFrom->aLoop, sizeof(WhereLoop*)*iLoop);
174897 WhereLoop *p = pWInfo->a[i].pWLoop;
174905 WhereLoop *pLoop;
174945 WhereLoop *pLoop;
175065 WhereLoop *p;
175145 WhereLoop *pLoop;
175221 WhereLoop *pLoop = pWInfo->a[i].pWLoop;
175437 WhereLoop *pLoop; /* Pointer to a single WhereLoop object */
175488 pWInfo = sqlite3DbMallocRawNN(db, nByteWInfo + sizeof(WhereLoop));
175510 memset(&pWInfo->a[0], 0, sizeof(WhereLoop)+nTabList*sizeof(WhereLevel));
175519 sWLB.pNew = (WhereLoop*)(((char*)pWInfo)+nByteWInfo);
175685 WhereLoop *p = pWInfo->pLoops;
176114 WhereLoop *pLoop;