Lines Matching refs:Bitmask

14246   typedef SQLITE_BITMASK_TYPE Bitmask;  typedef
14248 typedef u64 Bitmask; typedef
14254 #define BMS ((int)(sizeof(Bitmask)*8))
14259 #define MASKBIT(n) (((Bitmask)1)<<(n))
14261 #define ALLBITS ((Bitmask)-1)
17187 Bitmask colNotIdxed; /* 0 for unindexed columns in pTab */
17601 Bitmask colUsed; /* Bit N (1<<N) set if column N of pTab is used */
95652 pMatch->colUsed |= ((Bitmask)1)<<n;
95699 pItem->colUsed |= ((Bitmask)1)<<(iCol>=BMS ? BMS-1 : iCol);
99350 Bitmask colUsed; /* Columns of the index used */
99351 Bitmask mCol; /* Mask for the current column */
108588 Bitmask m = 0;
135667 Bitmask notReady; /* FROM entries not usable at this level */
135688 Bitmask prereq; /* Bitmask of other loops that must run first */
135689 Bitmask maskSelf; /* Bitmask identifying table iTab */
135730 Bitmask prereq; /* Prerequisites */
135764 Bitmask maskLoop; /* Bitmask of all WhereLoop objects in this path */
135765 Bitmask revLoop; /* aLoop[]s that should be reversed for ORDER BY */
135840 Bitmask prereqRight; /* Bitmask of tables used by pExpr->pRight */
135841 Bitmask prereqAll; /* Bitmask of tables referenced by pExpr */
135916 Bitmask indexable; /* Bitmask of all indexable tables in the clause */
136037 Bitmask revMask; /* Mask of ORDER BY terms that need reversing */
136049 SQLITE_PRIVATE Bitmask sqlite3WhereGetMask(WhereMaskSet*,int);
136057 Bitmask notReady, /* RHS must not overlap with this mask */
136083 SQLITE_PRIVATE Bitmask sqlite3WhereCodeOneLoopStart(
136089 Bitmask notReady /* Which tables are currently available */
136096 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsage(WhereMaskSet*, Expr*);
136097 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsageNN(WhereMaskSet*, Expr*);
136098 SQLITE_PRIVATE Bitmask sqlite3WhereExprListUsage(WhereMaskSet*, ExprList*);
137336 SQLITE_PRIVATE Bitmask sqlite3WhereCodeOneLoopStart(
137342 Bitmask notReady /* Which tables are currently available */
139071 Bitmask chngToIN; /* Tables that might satisfy case 1 */
139072 Bitmask indexable; /* Tables that are indexable, satisfying case 2 */
139095 indexable = ~(Bitmask)0;
139096 chngToIN = ~(Bitmask)0;
139107 Bitmask b = 0;
139133 Bitmask b;
139351 static Bitmask exprSelectUsage(WhereMaskSet *pMaskSet, Select *pS){
139352 Bitmask mask = 0;
139390 Bitmask mPrereq, /* Bitmask of FROM clause terms referenced by pExpr */
139414 Bitmask mPrereq, /* Bitmask of FROM clause terms referenced by pExpr */
139466 Bitmask prereqLeft; /* Prerequesites of the pExpr->pLeft */
139467 Bitmask prereqAll; /* Prerequesites of pExpr */
139468 Bitmask extraRight = 0; /* Extra dependencies on LEFT JOIN */
139504 Bitmask x = sqlite3WhereGetMask(pMaskSet, pExpr->iRightJoinTable);
139724 Bitmask prereqColumn, prereqExpr;
139932 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsageNN(WhereMaskSet *pMaskSet, Expr *p){
139933 Bitmask mask;
139959 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsage(WhereMaskSet *pMaskSet, Expr *p){
139962 SQLITE_PRIVATE Bitmask sqlite3WhereExprListUsage(WhereMaskSet *pMaskSet, ExprList *pList){
139964 Bitmask mask = 0;
140202 Bitmask prereq, /* Prerequisites of the new entry */
140237 SQLITE_PRIVATE Bitmask sqlite3WhereGetMask(WhereMaskSet *pMaskSet, int iCursor){
140239 assert( pMaskSet->n<=(int)sizeof(Bitmask)*8 );
140446 Bitmask notReady, /* RHS must not overlap with this mask */
140571 if( 0==sqlite3WhereFindTerm(pWC, iBase, i, ~(Bitmask)0, WO_EQ, pIdx) ){
140692 Bitmask notReady /* Tables in outer loops of the join */
140726 Bitmask notReady, /* Mask of cursors that are not available */
140744 Bitmask idxCols; /* Bitmap of columns used for indexing */
140745 Bitmask extraCols; /* Bitmap of additional columns */
140780 Bitmask cMask = iCol>=BMS ? MASKBIT(BMS-1) : MASKBIT(iCol);
140833 Bitmask cMask = iCol>=BMS ? MASKBIT(BMS-1) : MASKBIT(iCol);
140930 Bitmask mUnusable, /* Ignore terms with these prereqs */
141833 Bitmask mAll = (((Bitmask)1)<<(nb*4)) - 1;
142303 Bitmask notAllowed = ~(pLoop->prereq|pLoop->maskSelf);
142444 Bitmask saved_prereq; /* Original value of pNew->prereq */
142884 Bitmask mPrereq /* Extra prerequesites for using this table */
143034 Bitmask m;
143138 Bitmask mPrereq, /* Mask of tables that must be used. */
143139 Bitmask mUsable, /* Mask of usable tables */
143332 Bitmask mPrereq, /* Tables that must be scanned before this one */
143333 Bitmask mUnusable /* Tables that must be scanned after this one */
143344 Bitmask mBest; /* Tables used by best possible plan */
143380 Bitmask mPrev = 0;
143381 Bitmask mBestNoIn = 0;
143401 Bitmask mNext = ALLBITS;
143404 Bitmask mThis = (
143455 Bitmask mPrereq,
143456 Bitmask mUnusable
143578 Bitmask mPrereq = 0;
143579 Bitmask mPrior = 0;
143594 Bitmask mUnusable = 0;
143661 Bitmask *pRevMask /* OUT: Mask of WhereLoops to run in reverse order */
143683 Bitmask obSat = 0; /* Mask of ORDER BY terms satisfied so far */
143684 Bitmask obDone; /* Mask of all ORDER BY terms */
143685 Bitmask orderDistinctMask; /* Mask of all well-ordered loops */
143686 Bitmask ready; /* Mask of inner loops */
143917 Bitmask mTerm;
143931 Bitmask m = MASKBIT(i) - 1;
144128 Bitmask maskNew; /* Mask of src visited by (..) */
144129 Bitmask revMask = 0; /* Mask of rev-order loops for (..) */
144348 Bitmask notUsed;
144371 Bitmask m = 0;
144387 Bitmask revMask = 0;
144625 Bitmask notReady; /* Cursors that are not yet positioned */
144751 Bitmask mx = 0;
144753 Bitmask m = sqlite3WhereGetMask(pMaskSet, pTabList->a[ii].iCursor);
144896 notReady = ~(Bitmask)0;
144902 Bitmask tabUsed = sqlite3WhereExprListUsage(pMaskSet, pResultSet);
145022 Bitmask b = pTabItem->colUsed;