Lines Matching refs:Bitmask

15362   typedef SQLITE_BITMASK_TYPE Bitmask;  typedef
15364 typedef u64 Bitmask; typedef
15370 #define BMS ((int)(sizeof(Bitmask)*8))
15375 #define MASKBIT(n) (((Bitmask)1)<<(n))
15379 #define ALLBITS ((Bitmask)-1)
15380 #define TOPBIT (((Bitmask)1)<<(BMS-1))
18710 Bitmask colNotIdxed; /* Unindexed columns in pTab */
19230 Bitmask colUsed; /* Bit N set if column N used. Details above for N>62 */
21263 SQLITE_PRIVATE Bitmask sqlite3ExprColUsed(Expr*);
106361 SQLITE_PRIVATE Bitmask sqlite3ExprColUsed(Expr *pExpr){
106380 return ((Bitmask)1)<<n;
107027 pItem->colUsed |= ((Bitmask)1)<<(iCol>=BMS ? BMS-1 : iCol);
111484 Bitmask colUsed; /* Columns of the index used */
111485 Bitmask mCol; /* Mask for the current column */
122922 Bitmask m = 0;
147077 Bitmask colUsed; /* Columns that may not be NULLed out */
147114 colUsed |= ((Bitmask)1)<<(iCol>=BMS ? BMS-1 : iCol);
147120 Bitmask m = j<BMS-1 ? MASKBIT(j) : TOPBIT;
155642 Bitmask notReady; /* FROM entries not usable at this level */
155663 Bitmask prereq; /* Bitmask of other loops that must run first */
155664 Bitmask maskSelf; /* Bitmask identifying table iTab */
155707 Bitmask prereq; /* Prerequisites */
155741 Bitmask maskLoop; /* Bitmask of all WhereLoop objects in this path */
155742 Bitmask revLoop; /* aLoop[]s that should be reversed for ORDER BY */
155819 Bitmask prereqRight; /* Bitmask of tables used by pExpr->pRight */
155820 Bitmask prereqAll; /* Bitmask of tables referenced by pExpr */
155899 Bitmask indexable; /* Bitmask of all indexable tables in the clause */
156024 Bitmask revMask; /* Mask of ORDER BY terms that need reversing */
156035 SQLITE_PRIVATE Bitmask sqlite3WhereGetMask(WhereMaskSet*,int);
156045 Bitmask notReady, /* RHS must not overlap with this mask */
156079 SQLITE_PRIVATE Bitmask sqlite3WhereCodeOneLoopStart(
156085 Bitmask notReady /* Which tables are currently available */
156098 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsage(WhereMaskSet*, Expr*);
156099 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsageNN(WhereMaskSet*, Expr*);
156100 SQLITE_PRIVATE Bitmask sqlite3WhereExprListUsage(WhereMaskSet*, ExprList*);
157451 Bitmask notReady /* Loops that are not ready */
157499 SQLITE_PRIVATE Bitmask sqlite3WhereCodeOneLoopStart(
157505 Bitmask notReady /* Which tables are currently available */
158659 Bitmask m = sqlite3WhereGetMask(&pWInfo->sMaskSet, pE->w.iJoin);
158874 Bitmask mAll = 0;
159600 Bitmask chngToIN; /* Tables that might satisfy case 1 */
159601 Bitmask indexable; /* Tables that are indexable, satisfying case 2 */
159624 indexable = ~(Bitmask)0;
159625 chngToIN = ~(Bitmask)0;
159636 Bitmask b = 0;
159663 Bitmask b;
159883 static Bitmask exprSelectUsage(WhereMaskSet *pMaskSet, Select *pS){
159884 Bitmask mask = 0;
160014 Bitmask prereqLeft; /* Prerequisites of the pExpr->pLeft */
160015 Bitmask prereqAll; /* Prerequisites of pExpr */
160016 Bitmask extraRight = 0; /* Extra dependencies on LEFT JOIN */
160069 Bitmask x = sqlite3WhereGetMask(pMaskSet, pExpr->w.iJoin);
160424 Bitmask prereqColumn, prereqExpr;
160697 static SQLITE_NOINLINE Bitmask sqlite3WhereExprUsageFull(
160701 Bitmask mask;
160723 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsageNN(WhereMaskSet *pMaskSet, Expr *p){
160732 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsage(WhereMaskSet *pMaskSet, Expr *p){
160735 SQLITE_PRIVATE Bitmask sqlite3WhereExprListUsage(WhereMaskSet *pMaskSet, ExprList *pList){
160737 Bitmask mask = 0;
161025 Bitmask prereq, /* Prerequisites of the new entry */
161060 SQLITE_PRIVATE Bitmask sqlite3WhereGetMask(WhereMaskSet *pMaskSet, int iCursor){
161062 assert( pMaskSet->n<=(int)sizeof(Bitmask)*8 );
161324 Bitmask notReady, /* RHS must not overlap with this mask */
161453 if( 0==sqlite3WhereFindTerm(pWC, iBase, i, ~(Bitmask)0, WO_EQ, pIdx) ){
161622 const Bitmask notReady /* Tables in outer loops of the join */
161704 const Bitmask notReady, /* Mask of cursors that are not available */
161722 Bitmask idxCols; /* Bitmap of columns used for indexing */
161723 Bitmask extraCols; /* Bitmap of additional columns */
161764 Bitmask cMask;
161824 Bitmask cMask;
161963 Bitmask notReady /* Loops that are not ready */
162088 Bitmask mUnusable, /* Ignore terms with these prereqs */
163087 Bitmask mAll = (((Bitmask)1)<<(nb*4)) - 1;
163595 Bitmask notAllowed = ~(pLoop->prereq|pLoop->maskSelf);
163766 Bitmask saved_prereq; /* Original value of pNew->prereq */
164424 Bitmask *pMask, /* Mask to clear bits in */
164466 *pMask &= ~((Bitmask)1 << pLeft->iColumn);
164511 Bitmask mPrereq /* Extra prerequisites for using this table */
164682 Bitmask m;
164835 Bitmask mPrereq, /* Mask of tables that must be used. */
164836 Bitmask mUsable, /* Mask of usable tables */
165154 Bitmask mPrereq, /* Tables that must be scanned before this one */
165155 Bitmask mUnusable /* Tables that must be scanned after this one */
165166 Bitmask mBest; /* Tables used by best possible plan */
165210 Bitmask mPrev = 0;
165211 Bitmask mBestNoIn = 0;
165231 Bitmask mNext = ALLBITS;
165234 Bitmask mThis = (
165285 Bitmask mPrereq,
165286 Bitmask mUnusable
165412 Bitmask mPrereq = 0;
165413 Bitmask mPrior = 0;
165436 Bitmask mUnusable = 0;
165516 Bitmask *pRevMask /* OUT: Mask of WhereLoops to run in reverse order */
165538 Bitmask obSat = 0; /* Mask of ORDER BY terms satisfied so far */
165539 Bitmask obDone; /* Mask of all ORDER BY terms */
165540 Bitmask orderDistinctMask; /* Mask of all well-ordered loops */
165541 Bitmask ready; /* Mask of inner loops */
165812 Bitmask mTerm;
165826 Bitmask m = ALWAYS(i<BMS) ? MASKBIT(i) - 1 : 0;
166049 Bitmask maskNew; /* Mask of src visited by (..) */
166050 Bitmask revMask; /* Mask of rev-order loops for (..) */
166271 Bitmask notUsed;
166298 Bitmask m = 0;
166319 Bitmask revMask = 0;
166526 static SQLITE_NOINLINE Bitmask whereOmitNoopJoin(
166528 Bitmask notReady
166531 Bitmask tabUsed;
166854 Bitmask notReady; /* Cursors that are not yet positioned */
166987 Bitmask mx = 0;
166989 Bitmask m = sqlite3WhereGetMask(pMaskSet, pTabList->a[ii].iCursor);
167176 notReady = ~(Bitmask)0;
167290 Bitmask b = pTabItem->colUsed;