Lines Matching refs:Bitmask
12111 typedef u64 Bitmask; typedef
12116 #define BMS ((int)(sizeof(Bitmask)*8))
12121 #define MASKBIT(n) (((Bitmask)1)<<(n))
12167 Bitmask colUsed; /* Bit N (1<<N) set if column N of pTab is used */
81792 pMatch->colUsed |= ((Bitmask)1)<<n;
81838 pItem->colUsed |= ((Bitmask)1)<<(iCol>=BMS ? BMS-1 : iCol);
115810 Bitmask notReady; /* FROM entries not usable at this level */
115831 Bitmask prereq; /* Bitmask of other loops that must run first */
115832 Bitmask maskSelf; /* Bitmask identifying table iTab */
115870 Bitmask prereq; /* Prerequisites */
115908 Bitmask maskLoop; /* Bitmask of all WhereLoop objects in this path */
115909 Bitmask revLoop; /* aLoop[]s that should be reversed for ORDER BY */
115982 Bitmask prereqRight; /* Bitmask of tables used by pExpr->pRight */
115983 Bitmask prereqAll; /* Bitmask of tables referenced by pExpr */
116053 Bitmask indexable; /* Bitmask of all indexable tables in the clause */
116127 Bitmask revMask; /* Mask of ORDER BY terms that need reversing */
116273 Bitmask prereq, /* Prerequisites of the new entry */
116452 static Bitmask getMask(WhereMaskSet *pMaskSet, int iCursor){
116454 assert( pMaskSet->n<=(int)sizeof(Bitmask)*8 );
116481 static Bitmask exprListTableUsage(WhereMaskSet*, ExprList*);
116482 static Bitmask exprSelectTableUsage(WhereMaskSet*, Select*);
116483 static Bitmask exprTableUsage(WhereMaskSet *pMaskSet, Expr *p){
116484 Bitmask mask = 0;
116499 static Bitmask exprListTableUsage(WhereMaskSet *pMaskSet, ExprList *pList){
116501 Bitmask mask = 0;
116509 static Bitmask exprSelectTableUsage(WhereMaskSet *pMaskSet, Select *pS){
116510 Bitmask mask = 0;
116761 Bitmask notReady, /* RHS must not overlap with this mask */
117123 Bitmask chngToIN; /* Tables that might satisfy case 1 */
117124 Bitmask indexable; /* Tables that are indexable, satisfying case 2 */
117146 indexable = ~(Bitmask)0;
117147 chngToIN = ~(Bitmask)0;
117158 Bitmask b = 0;
117182 Bitmask b;
117380 Bitmask prereqLeft; /* Prerequesites of the pExpr->pLeft */
117381 Bitmask prereqAll; /* Prerequesites of pExpr */
117382 Bitmask extraRight = 0; /* Extra dependencies on LEFT JOIN */
117413 Bitmask x = getMask(pMaskSet, pExpr->iRightJoinTable);
117614 Bitmask prereqColumn, prereqExpr;
117770 if( 0==findTerm(pWC, iBase, iCol, ~(Bitmask)0, WO_EQ, pIdx) ){
117848 Bitmask notReady /* Tables in outer loops of the join */
117872 Bitmask notReady, /* Mask of cursors that are not available */
117890 Bitmask idxCols; /* Bitmap of columns used for indexing */
117891 Bitmask extraCols; /* Bitmap of additional columns */
117923 Bitmask cMask = iCol>=BMS ? MASKBIT(BMS-1) : MASKBIT(iCol);
117976 Bitmask cMask = iCol>=BMS ? MASKBIT(BMS-1) : MASKBIT(iCol);
119417 static Bitmask codeOneLoopStart(
119420 Bitmask notReady /* Which tables are currently available */
120803 Bitmask notAllowed = ~(pLoop->prereq|pLoop->maskSelf);
120877 Bitmask saved_prereq; /* Original value of pNew->prereq */
121170 static Bitmask columnsInIndex(Index *pIdx){
121171 Bitmask m = 0;
121239 Bitmask mExtra /* Extra prerequesites for using this table */
121381 Bitmask m;
121440 Bitmask mExtra
121606 static int whereLoopAddOr(WhereLoopBuilder *pBuilder, Bitmask mExtra){
121729 Bitmask mExtra = 0;
121730 Bitmask mPrior = 0;
121789 Bitmask *pRevMask /* OUT: Mask of WhereLoops to run in reverse order */
121810 Bitmask obSat = 0; /* Mask of ORDER BY terms satisfied so far */
121811 Bitmask obDone; /* Mask of all ORDER BY terms */
121812 Bitmask orderDistinctMask; /* Mask of all well-ordered loops */
121813 Bitmask ready; /* Mask of inner loops */
121999 Bitmask mTerm;
122013 Bitmask m = MASKBIT(i) - 1;
122211 Bitmask maskNew; /* Mask of src visited by (..) */
122212 Bitmask revMask = 0; /* Mask of rev-order loops for (..) */
122407 Bitmask notUsed;
122427 Bitmask revMask = 0;
122633 Bitmask notReady; /* Cursors that are not yet positioned */
122755 Bitmask toTheLeft = 0;
122757 Bitmask m = getMask(pMaskSet, pTabList->a[ii].iCursor);
122823 pWInfo->revMask = (Bitmask)(-1);
122859 Bitmask tabUsed = exprListTableUsage(pMaskSet, pResultSet);
122905 notReady = ~(Bitmask)0;
122939 Bitmask b = pTabItem->colUsed;
123003 notReady = ~(Bitmask)0;