Lines Matching refs:Bitmask

14324   typedef SQLITE_BITMASK_TYPE Bitmask;  typedef
14326 typedef u64 Bitmask; typedef
14332 #define BMS ((int)(sizeof(Bitmask)*8))
14337 #define MASKBIT(n) (((Bitmask)1)<<(n))
14340 #define ALLBITS ((Bitmask)-1)
17537 Bitmask colNotIdxed; /* 0 for unindexed columns in pTab */
18001 Bitmask colUsed; /* Bit N (1<<N) set if column N of pTab is used */
19869 SQLITE_PRIVATE Bitmask sqlite3ExprColUsed(Expr*);
99776 SQLITE_PRIVATE Bitmask sqlite3ExprColUsed(Expr *pExpr){
99794 return ((Bitmask)1)<<n;
100289 pItem->colUsed |= ((Bitmask)1)<<(iCol>=BMS ? BMS-1 : iCol);
104420 Bitmask colUsed; /* Columns of the index used */
104421 Bitmask mCol; /* Mask for the current column */
115329 Bitmask m = 0;
145926 Bitmask notReady; /* FROM entries not usable at this level */
145947 Bitmask prereq; /* Bitmask of other loops that must run first */
145948 Bitmask maskSelf; /* Bitmask identifying table iTab */
145989 Bitmask prereq; /* Prerequisites */
146023 Bitmask maskLoop; /* Bitmask of all WhereLoop objects in this path */
146024 Bitmask revLoop; /* aLoop[]s that should be reversed for ORDER BY */
146101 Bitmask prereqRight; /* Bitmask of tables used by pExpr->pRight */
146102 Bitmask prereqAll; /* Bitmask of tables referenced by pExpr */
146179 Bitmask indexable; /* Bitmask of all indexable tables in the clause */
146321 Bitmask revMask; /* Mask of ORDER BY terms that need reversing */
146332 SQLITE_PRIVATE Bitmask sqlite3WhereGetMask(WhereMaskSet*,int);
146342 Bitmask notReady, /* RHS must not overlap with this mask */
146368 SQLITE_PRIVATE Bitmask sqlite3WhereCodeOneLoopStart(
146374 Bitmask notReady /* Which tables are currently available */
146381 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsage(WhereMaskSet*, Expr*);
146382 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsageNN(WhereMaskSet*, Expr*);
146383 SQLITE_PRIVATE Bitmask sqlite3WhereExprListUsage(WhereMaskSet*, ExprList*);
147740 SQLITE_PRIVATE Bitmask sqlite3WhereCodeOneLoopStart(
147746 Bitmask notReady /* Which tables are currently available */
149633 Bitmask chngToIN; /* Tables that might satisfy case 1 */
149634 Bitmask indexable; /* Tables that are indexable, satisfying case 2 */
149657 indexable = ~(Bitmask)0;
149658 chngToIN = ~(Bitmask)0;
149669 Bitmask b = 0;
149696 Bitmask b;
149916 static Bitmask exprSelectUsage(WhereMaskSet *pMaskSet, Select *pS){
149917 Bitmask mask = 0;
149955 Bitmask mPrereq, /* Bitmask of FROM clause terms referenced by pExpr */
149979 Bitmask mPrereq, /* Bitmask of FROM clause terms referenced by pExpr */
150034 Bitmask prereqLeft; /* Prerequesites of the pExpr->pLeft */
150035 Bitmask prereqAll; /* Prerequesites of pExpr */
150036 Bitmask extraRight = 0; /* Extra dependencies on LEFT JOIN */
150072 Bitmask x = sqlite3WhereGetMask(pMaskSet, pExpr->iRightJoinTable);
150410 Bitmask prereqColumn, prereqExpr;
150528 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsageNN(WhereMaskSet *pMaskSet, Expr *p){
150529 Bitmask mask;
150557 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsage(WhereMaskSet *pMaskSet, Expr *p){
150560 SQLITE_PRIVATE Bitmask sqlite3WhereExprListUsage(WhereMaskSet *pMaskSet, ExprList *pList){
150562 Bitmask mask = 0;
150836 Bitmask prereq, /* Prerequisites of the new entry */
150871 SQLITE_PRIVATE Bitmask sqlite3WhereGetMask(WhereMaskSet *pMaskSet, int iCursor){
150873 assert( pMaskSet->n<=(int)sizeof(Bitmask)*8 );
151106 Bitmask notReady, /* RHS must not overlap with this mask */
151235 if( 0==sqlite3WhereFindTerm(pWC, iBase, i, ~(Bitmask)0, WO_EQ, pIdx) ){
151354 Bitmask notReady /* Tables in outer loops of the join */
151389 Bitmask notReady, /* Mask of cursors that are not available */
151407 Bitmask idxCols; /* Bitmap of columns used for indexing */
151408 Bitmask extraCols; /* Bitmap of additional columns */
151443 Bitmask cMask;
151499 Bitmask cMask;
151601 Bitmask mUnusable, /* Ignore terms with these prereqs */
152505 Bitmask mAll = (((Bitmask)1)<<(nb*4)) - 1;
152991 Bitmask notAllowed = ~(pLoop->prereq|pLoop->maskSelf);
153142 Bitmask saved_prereq; /* Original value of pNew->prereq */
153629 Bitmask mPrereq /* Extra prerequesites for using this table */
153799 Bitmask m;
153904 Bitmask mPrereq, /* Mask of tables that must be used. */
153905 Bitmask mUsable, /* Mask of usable tables */
154104 Bitmask mPrereq, /* Tables that must be scanned before this one */
154105 Bitmask mUnusable /* Tables that must be scanned after this one */
154116 Bitmask mBest; /* Tables used by best possible plan */
154152 Bitmask mPrev = 0;
154153 Bitmask mBestNoIn = 0;
154173 Bitmask mNext = ALLBITS;
154176 Bitmask mThis = (
154227 Bitmask mPrereq,
154228 Bitmask mUnusable
154353 Bitmask mPrereq = 0;
154354 Bitmask mPrior = 0;
154368 Bitmask mUnusable = 0;
154436 Bitmask *pRevMask /* OUT: Mask of WhereLoops to run in reverse order */
154458 Bitmask obSat = 0; /* Mask of ORDER BY terms satisfied so far */
154459 Bitmask obDone; /* Mask of all ORDER BY terms */
154460 Bitmask orderDistinctMask; /* Mask of all well-ordered loops */
154461 Bitmask ready; /* Mask of inner loops */
154728 Bitmask mTerm;
154742 Bitmask m = ALWAYS(i<BMS) ? MASKBIT(i) - 1 : 0;
154947 Bitmask maskNew; /* Mask of src visited by (..) */
154948 Bitmask revMask = 0; /* Mask of rev-order loops for (..) */
155167 Bitmask notUsed;
155190 Bitmask m = 0;
155211 Bitmask revMask = 0;
155480 Bitmask notReady; /* Cursors that are not yet positioned */
155606 Bitmask mx = 0;
155608 Bitmask m = sqlite3WhereGetMask(pMaskSet, pTabList->a[ii].iCursor);
155771 notReady = ~(Bitmask)0;
155778 Bitmask tabUsed = sqlite3WhereExprListUsage(pMaskSet, pResultSet);
155910 Bitmask b = pTabItem->colUsed;