Home | History | Annotate | Download | only in dist

Lines Matching defs:Bitmask

12287 ** bitmask tests, testcase() can be used to make sure each bit
16414 ** The bitmask datatype defined below is used for various optimizations.
16421 typedef SQLITE_BITMASK_TYPE Bitmask;
16423 typedef u64 Bitmask;
16427 ** The number of bits in a Bitmask. "BMS" means "BitMask Size".
16429 #define BMS ((int)(sizeof(Bitmask)*8))
16432 ** A bit in a Bitmask
16434 #define MASKBIT(n) (((Bitmask)1)<<(n))
16436 #define ALLBITS ((Bitmask)-1)
16485 Bitmask colUsed; /* Bit N (1<<N) set if column N of pTab is used */
16806 ** The yDbMask datatype for the bitmask of all attached databases.
16871 yDbMask cookieMask; /* Bitmask of schema verified databases */
18253 ** the MEMTYPE_* macros defined below. The type must be a bitmask with
18800 u8 *aOnce; /* Bitmask used by OP_Once */
19031 yDbMask btreeMask; /* Bitmask of db->aDb[] entries referenced */
30814 ** Allowed values for the unixFile.ctrlFlags bitmask:
52655 ** The vfsFlags parameter is a bitmask to pass to the flags parameter
62668 ** The "flags" parameter is a bitmask that might contain bits like
74443 ** The p->btreeMask field is a bitmask of all btrees that the prepared
82243 ** For subprograms, there is a bitmask in the VdbeFrame that determines
82244 ** whether or not the jump should be taken. The bitmask is necessary
86964 ** P1 is a 32-bit bitmask indicating whether or not each argument to the
86981 ** P1 is a 32-bit bitmask indicating whether or not each argument to the
91628 ** this fact in the pSrcList.a[].colUsed bitmask. Column 0 causes
91630 ** column number is greater than the number of bits in the bitmask
91631 ** then set the high-order bit of the bitmask.
91640 pMatch->colUsed |= ((Bitmask)1)<<n;
91687 Bitmask)1)<<(iCol>=BMS ? BMS-1 : iCol);
95036 Bitmask colUsed; /* Columns of the index used */
95037 Bitmask mCol; /* Mask for the current column */
95040 ** BITMASK(nExpr) without overflowing */
97486 ** pParse->pVdbe->expmask bitmask is updated for each variable referenced.
117243 ** The optional argument is a bitmask of optimizations to perform:
126039 ** This function returns a 32-bit bitmask indicating which columns of the
128734 Bitmask notReady; /* FROM entries not usable at this level */
128755 Bitmask prereq; /* Bitmask of other loops that must run first */
128756 Bitmask maskSelf; /* Bitmask identifying table iTab */
128797 Bitmask prereq; /* Prerequisites */
128831 Bitmask maskLoop; /* Bitmask of all WhereLoop objects in this path */
128832 Bitmask revLoop; /* aLoop[]s that should be reversed for ORDER BY */
128858 ** the <op> using a bitmask encoding defined by WO_xxx below. The
128859 ** use of a bitmask encoding for the operator allows us to search
128879 ** bits that will fit in a Bitmask. The VDBE cursor numbers might be
128884 ** bits in the Bitmask. So, in the example above, the cursor numbers
128907 Bitmask prereqRight; /* Bitmask of tables used by pExpr->pRight */
128908 Bitmask prereqAll; /* Bitmask of tables referenced by pExpr */
128982 Bitmask indexable; /* Bitmask of all indexable tables in the clause */
129005 ** If WhereMaskSet.ix[A]==B it means that The A-th bit of a Bitmask
129006 ** corresponds VDBE cursor number B. The A-th bit of a bitmask is 1<<A.
129082 Bitmask revMask; /* Mask of ORDER BY terms that need reversing */
129094 SQLITE_PRIVATE Bitmask sqlite3WhereGetMask(WhereMaskSet*,int);
129102 Bitmask notReady, /* RHS must not overlap with this mask */
129130 SQLITE_PRIVATE Bitmask sqlite3WhereCodeOneLoopStart(
129133 Bitmask notReady /* Which tables are currently available */
129140 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsage(WhereMaskSet*, Expr*);
129141 SQLITE_PRIVATE Bitmask sqlite3WhereExprListUsage(WhereMaskSet*, ExprList*);
130345 SQLITE_PRIVATE Bitmask sqlite3WhereCodeOneLoopStart(
130348 Bitmask notReady /* Which tables are currently available */
131542 ** Translate from TK_xx operator to WO_xx bitmask.
131985 Bitmask chngToIN; /* Tables that might satisfy case 1 */
131986 Bitmask indexable; /* Tables that are indexable, satisfying case 2 */
132009 indexable = ~(Bitmask)0;
132010 chngToIN = ~(Bitmask)0;
132021 Bitmask b = 0;
132047 Bitmask b;
132254 ** a bitmask indicating which tables are used in that expression
132257 static Bitmask exprSelectUsage(WhereMaskSet *pMaskSet, Select *pS){
132258 Bitmask mask = 0;
132293 Bitmask mPrereq, /* Bitmask of FROM clause terms referenced by pExpr */
132317 Bitmask mPrereq, /* Bitmask of FROM clause terms referenced by pExpr */
132369 Bitmask prereqLeft; /* Prerequesites of the pExpr->pLeft */
132370 Bitmask prereqAll; /* Prerequesites of pExpr */
132371 Bitmask extraRight = 0; /* Extra dependencies on LEFT JOIN */
132407 Bitmask x = sqlite3WhereGetMask(pMaskSet, pExpr->iRightJoinTable);
132627 Bitmask prereqColumn, prereqExpr;
132830 ** a bitmask indicating which tables are used in that expression
132833 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsage(WhereMaskSet *pMaskSet, Expr *p){
132834 Bitmask mask;
132853 SQLITE_PRIVATE Bitmask sqlite3WhereExprListUsage(WhereMaskSet *pMaskSet, ExprList *pList){
132855 Bitmask mask = 0;
133068 Bitmask prereq, /* Prerequisites of the new entry */
133100 ** Return the bitmask for the given cursor number. Return 0 if
133103 SQLITE_PRIVATE Bitmask sqlite3WhereGetMask(WhereMaskSet *pMaskSet, int iCursor){
133105 assert( pMaskSet->n<=(int)sizeof(Bitmask)*8 );
133299 Bitmask notReady, /* RHS must not overlap with this mask */
133424 if( 0==sqlite3WhereFindTerm(pWC, iBase, i, ~(Bitmask)0, WO_EQ, pIdx) ){
133545 Bitmask notReady /* Tables in outer loops of the join */
133579 Bitmask notReady, /* Mask of cursors that are not available */
133597 Bitmask idxCols; /* Bitmap of columns used for indexing */
133598 Bitmask extraCols; /* Bitmap of additional columns */
133633 Bitmask cMask = iCol>=BMS ? MASKBIT(BMS-1) : MASKBIT(iCol);
133686 Bitmask cMask = iCol>=BMS ? MASKBIT(BMS-1) : MASKBIT(iCol);
133785 Bitmask mUnusable, /* Ignore terms with these prereqs */
134682 Bitmask mAll = (((Bitmask)1)<<(nb*4)) - 1;
135144 Bitmask notAllowed = ~(pLoop->prereq|pLoop->maskSelf);
135285 Bitmask saved_prereq; /* Original value of pNew->prereq */
135629 ** Return a bitmask where 1s indicate that the corresponding column of
135632 static Bitmask columnsInIndex(Index *pIdx){
135633 Bitmask m = 0;
135707 Bitmask mPrereq /* Extra prerequesites for using this table */
135854 Bitmask m;
135958 Bitmask mPrereq, /* Mask of tables that must be used. */
135959 Bitmask mUsable, /* Mask of usable tables */
136133 Bitmask mPrereq, /* Tables that must be scanned before this one */
136134 Bitmask mUnusable /* Tables that must be scanned after this one */
136145 Bitmask mBest; /* Tables used by best possible plan */
136180 Bitmask mPrev = 0;
136181 Bitmask mBestNoIn = 0;
136201 Bitmask mNext = ALLBITS;
136204 Bitmask mThis = (
136254 Bitmask mPrereq,
136255 Bitmask mUnusable
136377 Bitmask mPrereq = 0;
136378 Bitmask mPrior = 0;
136392 Bitmask mUnusable = 0;
136450 Bitmask *pRevMask /* OUT: Mask of WhereLoops to run in reverse order */
136472 Bitmask obSat = 0; /* Mask of ORDER BY terms satisfied so far */
136473 Bitmask obDone; /* Mask of all ORDER BY terms */
136474 Bitmask orderDistinctMask; /* Mask of all well-ordered loops */
136475 Bitmask ready; /* Mask of inner loops */
136706 Bitmask mTerm;
136720 Bitmask m = MASKBIT(i) - 1;
136917 Bitmask maskNew; /* Mask of src visited by (..) */
136918 Bitmask revMask = 0; /* Mask of rev-order loops for (..) */
137130 Bitmask notUsed;
137152 Bitmask m = 0;
137168 Bitmask revMask = 0;
137406 Bitmask notReady; /* Cursors that are not yet positioned */
137441 ** bits in a Bitmask
137460 ** field (type Bitmask) it must be aligned on an 8-byte boundary on
137510 /* Assign a bit from the bitmask to every term in the FROM clause.
137512 bitmask of 1<<N.
137514 ** The rule of the previous sentence ensures thta if X is the bitmask for
137515 ** a table T, then X-1 is the bitmask for all other tables to the left of T.
137516 ** Knowing the bitmask for all tables to the left of a left join is
137531 Bitmask mx = 0;
137533 Bitmask m = sqlite3WhereGetMask(pMaskSet, pTabList->a[ii].iCursor);
137675 notReady = ~(Bitmask)0;
137681 Bitmask tabUsed = sqlite3WhereExprListUsage(pMaskSet, pResultSet);
137800 Bitmask b = pTabItem->colUsed;
147173 ** argument N is a bitmask of optimizations to be disabled. For normal
165024 u64 mCovered, /* Bitmask of phrases already covered */
165027 u64 *pmCover, /* OUT: Bitmask of phrases covered */
165028 u64 *pmHighlight /* OUT: Bitmask of terms to highlight */
166040 u64 mCovered = 0; /* Bitmask of phrases covered by snippet */
166041 u64 mSeen = 0; /* Bitmask of phrases seen by BestSnippet() */