• Home
  • Raw
  • Download

Lines Matching refs:Bitmask

16421   typedef SQLITE_BITMASK_TYPE Bitmask;  typedef
16423 typedef u64 Bitmask; typedef
16429 #define BMS ((int)(sizeof(Bitmask)*8))
16434 #define MASKBIT(n) (((Bitmask)1)<<(n))
16436 #define ALLBITS ((Bitmask)-1)
16485 Bitmask colUsed; /* Bit N (1<<N) set if column N of pTab is used */
91624 pMatch->colUsed |= ((Bitmask)1)<<n;
91671 pItem->colUsed |= ((Bitmask)1)<<(iCol>=BMS ? BMS-1 : iCol);
95020 Bitmask colUsed; /* Columns of the index used */
95021 Bitmask mCol; /* Mask for the current column */
128718 Bitmask notReady; /* FROM entries not usable at this level */
128739 Bitmask prereq; /* Bitmask of other loops that must run first */
128740 Bitmask maskSelf; /* Bitmask identifying table iTab */
128781 Bitmask prereq; /* Prerequisites */
128815 Bitmask maskLoop; /* Bitmask of all WhereLoop objects in this path */
128816 Bitmask revLoop; /* aLoop[]s that should be reversed for ORDER BY */
128891 Bitmask prereqRight; /* Bitmask of tables used by pExpr->pRight */
128892 Bitmask prereqAll; /* Bitmask of tables referenced by pExpr */
128966 Bitmask indexable; /* Bitmask of all indexable tables in the clause */
129066 Bitmask revMask; /* Mask of ORDER BY terms that need reversing */
129078 SQLITE_PRIVATE Bitmask sqlite3WhereGetMask(WhereMaskSet*,int);
129086 Bitmask notReady, /* RHS must not overlap with this mask */
129114 SQLITE_PRIVATE Bitmask sqlite3WhereCodeOneLoopStart(
129117 Bitmask notReady /* Which tables are currently available */
129124 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsage(WhereMaskSet*, Expr*);
129125 SQLITE_PRIVATE Bitmask sqlite3WhereExprListUsage(WhereMaskSet*, ExprList*);
130329 SQLITE_PRIVATE Bitmask sqlite3WhereCodeOneLoopStart(
130332 Bitmask notReady /* Which tables are currently available */
131969 Bitmask chngToIN; /* Tables that might satisfy case 1 */
131970 Bitmask indexable; /* Tables that are indexable, satisfying case 2 */
131993 indexable = ~(Bitmask)0;
131994 chngToIN = ~(Bitmask)0;
132005 Bitmask b = 0;
132031 Bitmask b;
132241 static Bitmask exprSelectUsage(WhereMaskSet *pMaskSet, Select *pS){
132242 Bitmask mask = 0;
132277 Bitmask mPrereq, /* Bitmask of FROM clause terms referenced by pExpr */
132301 Bitmask mPrereq, /* Bitmask of FROM clause terms referenced by pExpr */
132353 Bitmask prereqLeft; /* Prerequesites of the pExpr->pLeft */
132354 Bitmask prereqAll; /* Prerequesites of pExpr */
132355 Bitmask extraRight = 0; /* Extra dependencies on LEFT JOIN */
132391 Bitmask x = sqlite3WhereGetMask(pMaskSet, pExpr->iRightJoinTable);
132611 Bitmask prereqColumn, prereqExpr;
132817 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsage(WhereMaskSet *pMaskSet, Expr *p){
132818 Bitmask mask;
132837 SQLITE_PRIVATE Bitmask sqlite3WhereExprListUsage(WhereMaskSet *pMaskSet, ExprList *pList){
132839 Bitmask mask = 0;
133052 Bitmask prereq, /* Prerequisites of the new entry */
133087 SQLITE_PRIVATE Bitmask sqlite3WhereGetMask(WhereMaskSet *pMaskSet, int iCursor){
133089 assert( pMaskSet->n<=(int)sizeof(Bitmask)*8 );
133283 Bitmask notReady, /* RHS must not overlap with this mask */
133408 if( 0==sqlite3WhereFindTerm(pWC, iBase, i, ~(Bitmask)0, WO_EQ, pIdx) ){
133529 Bitmask notReady /* Tables in outer loops of the join */
133563 Bitmask notReady, /* Mask of cursors that are not available */
133581 Bitmask idxCols; /* Bitmap of columns used for indexing */
133582 Bitmask extraCols; /* Bitmap of additional columns */
133617 Bitmask cMask = iCol>=BMS ? MASKBIT(BMS-1) : MASKBIT(iCol);
133670 Bitmask cMask = iCol>=BMS ? MASKBIT(BMS-1) : MASKBIT(iCol);
133769 Bitmask mUnusable, /* Ignore terms with these prereqs */
134666 Bitmask mAll = (((Bitmask)1)<<(nb*4)) - 1;
135128 Bitmask notAllowed = ~(pLoop->prereq|pLoop->maskSelf);
135269 Bitmask saved_prereq; /* Original value of pNew->prereq */
135616 static Bitmask columnsInIndex(Index *pIdx){
135617 Bitmask m = 0;
135691 Bitmask mPrereq /* Extra prerequesites for using this table */
135838 Bitmask m;
135942 Bitmask mPrereq, /* Mask of tables that must be used. */
135943 Bitmask mUsable, /* Mask of usable tables */
136117 Bitmask mPrereq, /* Tables that must be scanned before this one */
136118 Bitmask mUnusable /* Tables that must be scanned after this one */
136129 Bitmask mBest; /* Tables used by best possible plan */
136164 Bitmask mPrev = 0;
136165 Bitmask mBestNoIn = 0;
136185 Bitmask mNext = ALLBITS;
136188 Bitmask mThis = (
136238 Bitmask mPrereq,
136239 Bitmask mUnusable
136361 Bitmask mPrereq = 0;
136362 Bitmask mPrior = 0;
136376 Bitmask mUnusable = 0;
136434 Bitmask *pRevMask /* OUT: Mask of WhereLoops to run in reverse order */
136456 Bitmask obSat = 0; /* Mask of ORDER BY terms satisfied so far */
136457 Bitmask obDone; /* Mask of all ORDER BY terms */
136458 Bitmask orderDistinctMask; /* Mask of all well-ordered loops */
136459 Bitmask ready; /* Mask of inner loops */
136690 Bitmask mTerm;
136704 Bitmask m = MASKBIT(i) - 1;
136901 Bitmask maskNew; /* Mask of src visited by (..) */
136902 Bitmask revMask = 0; /* Mask of rev-order loops for (..) */
137114 Bitmask notUsed;
137136 Bitmask m = 0;
137152 Bitmask revMask = 0;
137390 Bitmask notReady; /* Cursors that are not yet positioned */
137515 Bitmask mx = 0;
137517 Bitmask m = sqlite3WhereGetMask(pMaskSet, pTabList->a[ii].iCursor);
137659 notReady = ~(Bitmask)0;
137665 Bitmask tabUsed = sqlite3WhereExprListUsage(pMaskSet, pResultSet);
137784 Bitmask b = pTabItem->colUsed;