Lines Matching refs:Bitmask

14690   typedef SQLITE_BITMASK_TYPE Bitmask;  typedef
14692 typedef u64 Bitmask; typedef
14698 #define BMS ((int)(sizeof(Bitmask)*8))
14703 #define MASKBIT(n) (((Bitmask)1)<<(n))
14706 #define ALLBITS ((Bitmask)-1)
17784 Bitmask colNotIdxed; /* 0 for unindexed columns in pTab */
18246 Bitmask colUsed; /* Bit N (1<<N) set if column N of pTab is used */
19931 SQLITE_PRIVATE Bitmask sqlite3ExprColUsed(Expr*);
97712 SQLITE_PRIVATE Bitmask sqlite3ExprColUsed(Expr *pExpr){
97729 return ((Bitmask)1)<<n;
98192 pItem->colUsed |= ((Bitmask)1)<<(iCol>=BMS ? BMS-1 : iCol);
102098 Bitmask colUsed; /* Columns of the index used */
102099 Bitmask mCol; /* Mask for the current column */
112016 Bitmask m = 0;
140229 Bitmask notReady; /* FROM entries not usable at this level */
140250 Bitmask prereq; /* Bitmask of other loops that must run first */
140251 Bitmask maskSelf; /* Bitmask identifying table iTab */
140292 Bitmask prereq; /* Prerequisites */
140326 Bitmask maskLoop; /* Bitmask of all WhereLoop objects in this path */
140327 Bitmask revLoop; /* aLoop[]s that should be reversed for ORDER BY */
140402 Bitmask prereqRight; /* Bitmask of tables used by pExpr->pRight */
140403 Bitmask prereqAll; /* Bitmask of tables referenced by pExpr */
140484 Bitmask indexable; /* Bitmask of all indexable tables in the clause */
140625 Bitmask revMask; /* Mask of ORDER BY terms that need reversing */
140636 SQLITE_PRIVATE Bitmask sqlite3WhereGetMask(WhereMaskSet*,int);
140646 Bitmask notReady, /* RHS must not overlap with this mask */
140672 SQLITE_PRIVATE Bitmask sqlite3WhereCodeOneLoopStart(
140678 Bitmask notReady /* Which tables are currently available */
140685 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsage(WhereMaskSet*, Expr*);
140686 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsageNN(WhereMaskSet*, Expr*);
140687 SQLITE_PRIVATE Bitmask sqlite3WhereExprListUsage(WhereMaskSet*, ExprList*);
142008 SQLITE_PRIVATE Bitmask sqlite3WhereCodeOneLoopStart(
142014 Bitmask notReady /* Which tables are currently available */
143850 Bitmask chngToIN; /* Tables that might satisfy case 1 */
143851 Bitmask indexable; /* Tables that are indexable, satisfying case 2 */
143874 indexable = ~(Bitmask)0;
143875 chngToIN = ~(Bitmask)0;
143886 Bitmask b = 0;
143912 Bitmask b;
144130 static Bitmask exprSelectUsage(WhereMaskSet *pMaskSet, Select *pS){
144131 Bitmask mask = 0;
144169 Bitmask mPrereq, /* Bitmask of FROM clause terms referenced by pExpr */
144193 Bitmask mPrereq, /* Bitmask of FROM clause terms referenced by pExpr */
144245 Bitmask prereqLeft; /* Prerequesites of the pExpr->pLeft */
144246 Bitmask prereqAll; /* Prerequesites of pExpr */
144247 Bitmask extraRight = 0; /* Extra dependencies on LEFT JOIN */
144283 Bitmask x = sqlite3WhereGetMask(pMaskSet, pExpr->iRightJoinTable);
144503 Bitmask prereqColumn, prereqExpr;
144716 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsageNN(WhereMaskSet *pMaskSet, Expr *p){
144717 Bitmask mask;
144744 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsage(WhereMaskSet *pMaskSet, Expr *p){
144747 SQLITE_PRIVATE Bitmask sqlite3WhereExprListUsage(WhereMaskSet *pMaskSet, ExprList *pList){
144749 Bitmask mask = 0;
144998 Bitmask prereq, /* Prerequisites of the new entry */
145033 SQLITE_PRIVATE Bitmask sqlite3WhereGetMask(WhereMaskSet *pMaskSet, int iCursor){
145035 assert( pMaskSet->n<=(int)sizeof(Bitmask)*8 );
145242 Bitmask notReady, /* RHS must not overlap with this mask */
145367 if( 0==sqlite3WhereFindTerm(pWC, iBase, i, ~(Bitmask)0, WO_EQ, pIdx) ){
145486 Bitmask notReady /* Tables in outer loops of the join */
145520 Bitmask notReady, /* Mask of cursors that are not available */
145538 Bitmask idxCols; /* Bitmap of columns used for indexing */
145539 Bitmask extraCols; /* Bitmap of additional columns */
145574 Bitmask cMask = iCol>=BMS ? MASKBIT(BMS-1) : MASKBIT(iCol);
145627 Bitmask cMask = iCol>=BMS ? MASKBIT(BMS-1) : MASKBIT(iCol);
145726 Bitmask mUnusable, /* Ignore terms with these prereqs */
146627 Bitmask mAll = (((Bitmask)1)<<(nb*4)) - 1;
147099 Bitmask notAllowed = ~(pLoop->prereq|pLoop->maskSelf);
147247 Bitmask saved_prereq; /* Original value of pNew->prereq */
147717 Bitmask mPrereq /* Extra prerequesites for using this table */
147870 Bitmask m;
147974 Bitmask mPrereq, /* Mask of tables that must be used. */
147975 Bitmask mUsable, /* Mask of usable tables */
148174 Bitmask mPrereq, /* Tables that must be scanned before this one */
148175 Bitmask mUnusable /* Tables that must be scanned after this one */
148186 Bitmask mBest; /* Tables used by best possible plan */
148222 Bitmask mPrev = 0;
148223 Bitmask mBestNoIn = 0;
148243 Bitmask mNext = ALLBITS;
148246 Bitmask mThis = (
148297 Bitmask mPrereq,
148298 Bitmask mUnusable
148421 Bitmask mPrereq = 0;
148422 Bitmask mPrior = 0;
148437 Bitmask mUnusable = 0;
148504 Bitmask *pRevMask /* OUT: Mask of WhereLoops to run in reverse order */
148526 Bitmask obSat = 0; /* Mask of ORDER BY terms satisfied so far */
148527 Bitmask obDone; /* Mask of all ORDER BY terms */
148528 Bitmask orderDistinctMask; /* Mask of all well-ordered loops */
148529 Bitmask ready; /* Mask of inner loops */
148783 Bitmask mTerm;
148797 Bitmask m = MASKBIT(i) - 1;
148994 Bitmask maskNew; /* Mask of src visited by (..) */
148995 Bitmask revMask = 0; /* Mask of rev-order loops for (..) */
149214 Bitmask notUsed;
149237 Bitmask m = 0;
149253 Bitmask revMask = 0;
149513 Bitmask notReady; /* Cursors that are not yet positioned */
149639 Bitmask mx = 0;
149641 Bitmask m = sqlite3WhereGetMask(pMaskSet, pTabList->a[ii].iCursor);
149804 notReady = ~(Bitmask)0;
149810 Bitmask tabUsed = sqlite3WhereExprListUsage(pMaskSet, pResultSet);
149942 Bitmask b = pTabItem->colUsed;