Home | History | Annotate | Download | only in orig

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 */
30810 ** Allowed values for the unixFile.ctrlFlags bitmask:
52639 ** The vfsFlags parameter is a bitmask to pass to the flags parameter
62652 ** The "flags" parameter is a bitmask that might contain bits like
74427 ** The p->btreeMask field is a bitmask of all btrees that the prepared
82227 ** For subprograms, there is a bitmask in the VdbeFrame that determines
82228 ** whether or not the jump should be taken. The bitmask is necessary
86948 ** P1 is a 32-bit bitmask indicating whether or not each argument to the
86965 ** P1 is a 32-bit bitmask indicating whether or not each argument to the
91612 ** this fact in the pSrcList.a[].colUsed bitmask. Column 0 causes
91614 ** column number is greater than the number of bits in the bitmask
91615 ** then set the high-order bit of the bitmask.
91624 pMatch->colUsed |= ((Bitmask)1)<<n;
91671 pItem->colUsed |= ((Bitmask)1)<<(iCol>=BMS ? BMS-1 : iCol);
95020 Bitmask colUsed; /* Columns of the index used */
95021 Bitmask mCol; /* Mask for the current column */
95024 ** BITMASK(nExpr) without overflowing */
97470 ** pParse->pVdbe->expmask bitmask is updated for each variable referenced.
117227 ** The optional argument is a bitmask of optimizations to perform:
126023 ** This function returns a 32-bit bitmask indicating which columns of the
128718 Bitmask notReady; /* FROM entries not usable at this level */
128739 Bitmask prereq; /* Bitmask of other loops that must run first */
128740 Bitmask maskSelf; /* Bitmask identifying table iTab */
128781 Bitmask prereq; /* Prerequisites */
128815 Bitmask maskLoop; /* Bitmask of all WhereLoop objects in this path */
128816 Bitmask revLoop; /* aLoop[]s that should be reversed for ORDER BY */
128842 ** the <op> using a bitmask encoding defined by WO_xxx below. The
128843 ** use of a bitmask encoding for the operator allows us to search
128863 ** bits that will fit in a Bitmask. The VDBE cursor numbers might be
128868 ** bits in the Bitmask. So, in the example above, the cursor numbers
128891 Bitmask prereqRight; /* Bitmask of tables used by pExpr->pRight */
128892 Bitmask prereqAll; /* Bitmask of tables referenced by pExpr */
128966 Bitmask indexable; /* Bitmask of all indexable tables in the clause */
128989 ** If WhereMaskSet.ix[A]==B it means that The A-th bit of a Bitmask
128990 ** corresponds VDBE cursor number B. The A-th bit of a bitmask is 1<<A.
129066 Bitmask revMask; /* Mask of ORDER BY terms that need reversing */
129078 SQLITE_PRIVATE Bitmask sqlite3WhereGetMask(WhereMaskSet*,int);
129086 Bitmask notReady, /* RHS must not overlap with this mask */
129114 SQLITE_PRIVATE Bitmask sqlite3WhereCodeOneLoopStart(
129117 Bitmask notReady /* Which tables are currently available */
129124 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsage(WhereMaskSet*, Expr*);
129125 SQLITE_PRIVATE Bitmask sqlite3WhereExprListUsage(WhereMaskSet*, ExprList*);
130329 SQLITE_PRIVATE Bitmask sqlite3WhereCodeOneLoopStart(
130332 Bitmask notReady /* Which tables are currently available */
131526 ** Translate from TK_xx operator to WO_xx bitmask.
131969 Bitmask chngToIN; /* Tables that might satisfy case 1 */
131970 Bitmask indexable; /* Tables that are indexable, satisfying case 2 */
131993 indexable = ~(Bitmask)0;
131994 chngToIN = ~(Bitmask)0;
132005 Bitmask b = 0;
132031 Bitmask b;
132238 ** a bitmask indicating which tables are used in that expression
132241 static Bitmask exprSelectUsage(WhereMaskSet *pMaskSet, Select *pS){
132242 Bitmask mask = 0;
132277 Bitmask mPrereq, /* Bitmask of FROM clause terms referenced by pExpr */
132301 Bitmask mPrereq, /* Bitmask of FROM clause terms referenced by pExpr */
132353 Bitmask prereqLeft; /* Prerequesites of the pExpr->pLeft */
132354 Bitmask prereqAll; /* Prerequesites of pExpr */
132355 Bitmask extraRight = 0; /* Extra dependencies on LEFT JOIN */
132391 Bitmask x = sqlite3WhereGetMask(pMaskSet, pExpr->iRightJoinTable);
132611 Bitmask prereqColumn, prereqExpr;
132814 ** a bitmask indicating which tables are used in that expression
132817 SQLITE_PRIVATE Bitmask sqlite3WhereExprUsage(WhereMaskSet *pMaskSet, Expr *p){
132818 Bitmask mask;
132837 SQLITE_PRIVATE Bitmask sqlite3WhereExprListUsage(WhereMaskSet *pMaskSet, ExprList *pList){
132839 Bitmask mask = 0;
133052 Bitmask prereq, /* Prerequisites of the new entry */
133084 ** Return the bitmask for the given cursor number. Return 0 if
133087 SQLITE_PRIVATE Bitmask sqlite3WhereGetMask(WhereMaskSet *pMaskSet, int iCursor){
133089 assert( pMaskSet->n<=(int)sizeof(Bitmask)*8 );
133283 Bitmask notReady, /* RHS must not overlap with this mask */
133408 if( 0==sqlite3WhereFindTerm(pWC, iBase, i, ~(Bitmask)0, WO_EQ, pIdx) ){
133529 Bitmask notReady /* Tables in outer loops of the join */
133563 Bitmask notReady, /* Mask of cursors that are not available */
133581 Bitmask idxCols; /* Bitmap of columns used for indexing */
133582 Bitmask extraCols; /* Bitmap of additional columns */
133617 Bitmask cMask = iCol>=BMS ? MASKBIT(BMS-1) : MASKBIT(iCol);
133670 Bitmask cMask = iCol>=BMS ? MASKBIT(BMS-1) : MASKBIT(iCol);
133769 Bitmask mUnusable, /* Ignore terms with these prereqs */
134666 Bitmask mAll = (((Bitmask)1)<<(nb*4)) - 1;
135128 Bitmask notAllowed = ~(pLoop->prereq|pLoop->maskSelf);
135269 Bitmask saved_prereq; /* Original value of pNew->prereq */
135613 ** Return a bitmask where 1s indicate that the corresponding column of
135616 static Bitmask columnsInIndex(Index *pIdx){
135617 Bitmask m = 0;
135691 Bitmask mPrereq /* Extra prerequesites for using this table */
135838 Bitmask m;
135942 Bitmask mPrereq, /* Mask of tables that must be used. */
135943 Bitmask mUsable, /* Mask of usable tables */
136117 Bitmask mPrereq, /* Tables that must be scanned before this one */
136118 Bitmask mUnusable /* Tables that must be scanned after this one */
136129 Bitmask mBest; /* Tables used by best possible plan */
136164 Bitmask mPrev = 0;
136165 Bitmask mBestNoIn = 0;
136185 Bitmask mNext = ALLBITS;
136188 Bitmask mThis = (
136238 Bitmask mPrereq,
136239 Bitmask mUnusable
136361 Bitmask mPrereq = 0;
136362 Bitmask mPrior = 0;
136376 Bitmask mUnusable = 0;
136434 Bitmask *pRevMask /* OUT: Mask of WhereLoops to run in reverse order */
136456 Bitmask obSat = 0; /* Mask of ORDER BY terms satisfied so far */
136457 Bitmask obDone; /* Mask of all ORDER BY terms */
136458 Bitmask orderDistinctMask; /* Mask of all well-ordered loops */
136459 Bitmask ready; /* Mask of inner loops */
136690 Bitmask mTerm;
136704 Bitmask m = MASKBIT(i) - 1;
136901 Bitmask maskNew; /* Mask of src visited by (..) */
136902 Bitmask revMask = 0; /* Mask of rev-order loops for (..) */
137114 Bitmask notUsed;
137136 Bitmask m = 0;
137152 Bitmask revMask = 0;
137390 Bitmask notReady; /* Cursors that are not yet positioned */
137425 ** bits in a Bitmask
137444 ** field (type Bitmask) it must be aligned on an 8-byte boundary on
137494 /* Assign a bit from the bitmask to every term in the FROM clause.
137496 ** The N-th term of the FROM clause is assigned a bitmask of 1<<N.
137498 ** The rule of the previous sentence ensures thta if X is the bitmask for
137499 ** a table T, then X-1 is the bitmask for all other tables to the left of T.
137500 ** Knowing the bitmask for all tables to the left of a left join is
137515 Bitmask mx = 0;
137517 Bitmask m = sqlite3WhereGetMask(pMaskSet, pTabList->a[ii].iCursor);
137659 notReady = ~(Bitmask)0;
137665 Bitmask tabUsed = sqlite3WhereExprListUsage(pMaskSet, pResultSet);
137784 Bitmask b = pTabItem->colUsed;
147157 ** argument N is a bitmask of optimizations to be disabled. For normal
164996 u64 mCovered, /* Bitmask of phrases already covered */
164999 u64 *pmCover, /* OUT: Bitmask of phrases covered */
165000 u64 *pmHighlight /* OUT: Bitmask of terms to highlight */
166012 u64 mCovered = 0; /* Bitmask of phrases covered by snippet */
166013 u64 mSeen = 0; /* Bitmask of phrases seen by BestSnippet() */