Lines Matching refs:Bitmask

15806   typedef SQLITE_BITMASK_TYPE Bitmask;  typedef
15808 typedef u64 Bitmask; typedef
15814 #define BMS ((int)(sizeof(Bitmask)*8))
15819 #define MASKBIT(n) (((Bitmask)1)<<(n))
15823 #define ALLBITS ((Bitmask)-1)
15824 #define TOPBIT (((Bitmask)1)<<(BMS-1))
19183 Bitmask colNotIdxed; /* Unindexed columns in pTab */
19735 Bitmask colUsed; /* Bit N set if column N used. Details above for N>62 */
21817 SQLITE_PRIVATE Bitmask sqlite3ExprColUsed(Expr*);
108213 SQLITE_PRIVATE Bitmask sqlite3ExprColUsed(Expr *pExpr){
108232 return ((Bitmask)1)<<n;
108915 pItem->colUsed |= ((Bitmask)1)<<(iCol>=BMS ? BMS-1 : iCol);
113585 Bitmask colUsed; /* Columns of the index used */
113586 Bitmask mCol; /* Mask for the current column */
125304 Bitmask m = 0;
150234 Bitmask colUsed; /* Columns that may not be NULLed out */
150271 colUsed |= ((Bitmask)1)<<(iCol>=BMS ? BMS-1 : iCol);
150277 Bitmask m = j<BMS-1 ? MASKBIT(j) : TOPBIT;
159063 Bitmask notReady; /* FROM entries not usable at this level */
159084 Bitmask prereq; /* Bitmask of other loops that must run first */
159085 Bitmask maskSelf; /* Bitmask identifying table iTab */
159134 Bitmask prereq; /* Prerequisites */
159168 Bitmask maskLoop; /* Bitmask of all WhereLoop objects in this path */
159169 Bitmask revLoop; /* aLoop[]s that should be reversed for ORDER BY */
159246 Bitmask prereqRight; /* Bitmask of tables used by pExpr->pRight */
159247 Bitmask prereqAll; /* Bitmask of tables referenced by pExpr */
159326 Bitmask indexable; /* Bitmask of all indexable tables in the clause */
159456 Bitmask revMask; /* Mask of ORDER BY terms that need reversing */
159472 SQLITE_PRIVATE Bitmask sqlite3WhereGetMask(WhereMaskSet*,int);
159482 Bitmask notReady, /* RHS must not overlap with this mask */
159524 SQLITE_PRIVATE Bitmask sqlite3WhereCodeOneLoopStart(
159530 Bitmask notReady /* Which tables are currently available */
159543 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsage(WhereMaskSet*, Expr*);
159544 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsageNN(WhereMaskSet*, Expr*);
159545 SQLITE_PRIVATE Bitmask sqlite3WhereExprListUsage(WhereMaskSet*, ExprList*);
160995 Bitmask notReady /* Loops that are not ready */
161064 SQLITE_PRIVATE Bitmask sqlite3WhereCodeOneLoopStart(
161070 Bitmask notReady /* Which tables are currently available */
162240 Bitmask m = sqlite3WhereGetMask(&pWInfo->sMaskSet, pE->w.iJoin);
162456 Bitmask mAll = 0;
163225 Bitmask chngToIN; /* Tables that might satisfy case 1 */
163226 Bitmask indexable; /* Tables that are indexable, satisfying case 2 */
163249 indexable = ~(Bitmask)0;
163250 chngToIN = ~(Bitmask)0;
163261 Bitmask b = 0;
163288 Bitmask b;
163520 static Bitmask exprSelectUsage(WhereMaskSet *pMaskSet, Select *pS){
163521 Bitmask mask = 0;
163653 Bitmask prereqLeft; /* Prerequisites of the pExpr->pLeft */
163654 Bitmask prereqAll; /* Prerequisites of pExpr */
163655 Bitmask extraRight = 0; /* Extra dependencies on LEFT JOIN */
163708 Bitmask x = sqlite3WhereGetMask(pMaskSet, pExpr->w.iJoin);
164069 Bitmask prereqColumn, prereqExpr;
164345 static SQLITE_NOINLINE Bitmask sqlite3WhereExprUsageFull(
164349 Bitmask mask;
164371 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsageNN(WhereMaskSet *pMaskSet, Expr *p){
164380 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsage(WhereMaskSet *pMaskSet, Expr *p){
164383 SQLITE_PRIVATE Bitmask sqlite3WhereExprListUsage(WhereMaskSet *pMaskSet, ExprList *pList){
164385 Bitmask mask = 0;
164678 Bitmask prereq, /* Prerequisites of the new entry */
164713 SQLITE_PRIVATE Bitmask sqlite3WhereGetMask(WhereMaskSet *pMaskSet, int iCursor){
164715 assert( pMaskSet->n<=(int)sizeof(Bitmask)*8 );
165021 Bitmask notReady, /* RHS must not overlap with this mask */
165150 if( 0==sqlite3WhereFindTerm(pWC, iBase, i, ~(Bitmask)0, WO_EQ, pIdx) ){
165372 const Bitmask notReady /* Tables in outer loops of the join */
165457 const Bitmask notReady, /* Mask of cursors that are not available */
165475 Bitmask idxCols; /* Bitmap of columns used for indexing */
165476 Bitmask extraCols; /* Bitmap of additional columns */
165517 Bitmask cMask;
165593 Bitmask cMask;
165740 Bitmask notReady /* Loops that are not ready */
165879 Bitmask mUnusable, /* Ignore terms with these prereqs */
166915 Bitmask mAll = (((Bitmask)1)<<(nb*4)) - 1;
167429 Bitmask notAllowed = ~(pLoop->prereq|pLoop->maskSelf);
167600 Bitmask saved_prereq; /* Original value of pNew->prereq */
168284 Bitmask *pMask, /* Mask to clear bits in */
168326 *pMask &= ~((Bitmask)1 << pLeft->iColumn);
168371 Bitmask mPrereq /* Extra prerequisites for using this table */
168547 Bitmask m;
168717 Bitmask mPrereq, /* Mask of tables that must be used. */
168718 Bitmask mUsable, /* Mask of usable tables */
169041 Bitmask mPrereq, /* Tables that must be scanned before this one */
169042 Bitmask mUnusable /* Tables that must be scanned after this one */
169053 Bitmask mBest; /* Tables used by best possible plan */
169097 Bitmask mPrev = 0;
169098 Bitmask mBestNoIn = 0;
169118 Bitmask mNext = ALLBITS;
169122 Bitmask mThis = termFromWhereClause(pWC, iTerm)->prereqRight & ~mPrereq;
169170 Bitmask mPrereq,
169171 Bitmask mUnusable
169297 Bitmask mPrereq = 0;
169298 Bitmask mPrior = 0;
169321 Bitmask mUnusable = 0;
169422 Bitmask *pRevMask, /* When loops need to go in reverse order */
169423 Bitmask *pOBSat /* Which terms of pOrderBy are satisfied so far */
169492 Bitmask *pRevMask /* OUT: Mask of WhereLoops to run in reverse order */
169514 Bitmask obSat = 0; /* Mask of ORDER BY terms satisfied so far */
169515 Bitmask obDone; /* Mask of all ORDER BY terms */
169516 Bitmask orderDistinctMask; /* Mask of all well-ordered loops */
169517 Bitmask ready; /* Mask of inner loops */
169795 Bitmask mTerm;
169809 Bitmask m = ALWAYS(i<BMS) ? MASKBIT(i) - 1 : 0;
170002 Bitmask m; /* Bitmask for candidate fact-table */
170003 Bitmask mSelfJoin = 0; /* Tables that cannot be dimension tables */
170018 Bitmask mSeen = 0; /* Mask of dimension tables */
170256 Bitmask maskNew; /* Mask of src visited by (..) */
170257 Bitmask revMask; /* Mask of rev-order loops for (..) */
170496 Bitmask notUsed;
170522 Bitmask m = 0;
170543 Bitmask revMask = 0;
170833 static SQLITE_NOINLINE Bitmask whereOmitNoopJoin(
170835 Bitmask notReady
170838 Bitmask tabUsed;
170859 Bitmask m1;
171145 Bitmask notReady; /* Cursors that are not yet positioned */
171280 Bitmask mx = 0;
171282 Bitmask m = sqlite3WhereGetMask(pMaskSet, pTabList->a[ii].iCursor);
171472 notReady = ~(Bitmask)0;
171586 Bitmask b = pTabItem->colUsed;