Lines Matching refs:Bitmask

10460 typedef u64 Bitmask;  typedef
10465 #define BMS ((int)(sizeof(Bitmask)*8))
10506 Bitmask colUsed; /* Bit N (1<<N) set if column N of pTab is used */
35879 Bitmask mUsed; /* Mask of used slots */
36204 if( pBlock==0 || pBlock->mUsed==(((Bitmask)1<<pBlock->nEntry)-1) ){
36237 if( 0==(pBlock->mUsed & ((Bitmask)1<<i)) ){
36238 pBlock->mUsed |= ((Bitmask)1<<i);
36246 if( pBlock->mUsed==(((Bitmask)1<<pBlock->nEntry)-1) && pList->pLast!=pBlock ){
36299 assert( pBlock->mUsed & ((Bitmask)1<<i) );
36300 pBlock->mUsed &= ~((Bitmask)1<<i);
72177 pMatch->colUsed |= ((Bitmask)1)<<n;
72221 pItem->colUsed |= ((Bitmask)1)<<(iCol>=BMS ? BMS-1 : iCol);
100452 Bitmask prereqRight; /* Bitmask of tables used by pExpr->pRight */
100453 Bitmask prereqAll; /* Bitmask of tables referenced by pExpr */
100479 Bitmask vmask; /* Bitmask identifying virtual table cursors */
100497 Bitmask indexable; /* Bitmask of all indexable tables in the clause */
100546 Bitmask used; /* Bitmask of cursors used by this plan */
100746 static Bitmask getMask(WhereMaskSet *pMaskSet, int iCursor){
100748 assert( pMaskSet->n<=(int)sizeof(Bitmask)*8 );
100751 return ((Bitmask)1)<<i;
100784 static Bitmask exprListTableUsage(WhereMaskSet*, ExprList*);
100785 static Bitmask exprSelectTableUsage(WhereMaskSet*, Select*);
100786 static Bitmask exprTableUsage(WhereMaskSet *pMaskSet, Expr *p){
100787 Bitmask mask = 0;
100802 static Bitmask exprListTableUsage(WhereMaskSet *pMaskSet, ExprList *pList){
100804 Bitmask mask = 0;
100812 static Bitmask exprSelectTableUsage(WhereMaskSet *pMaskSet, Select *pS){
100813 Bitmask mask = 0;
100924 Bitmask notReady, /* RHS must not overlap with this mask */
101211 Bitmask chngToIN; /* Tables that might satisfy case 1 */
101212 Bitmask indexable; /* Tables that are indexable, satisfying case 2 */
101234 indexable = ~(Bitmask)0;
101247 Bitmask b = 0;
101270 Bitmask b;
101457 Bitmask prereqLeft; /* Prerequesites of the pExpr->pLeft */
101458 Bitmask prereqAll; /* Prerequesites of pExpr */
101459 Bitmask extraRight = 0; /* Extra dependencies on LEFT JOIN */
101489 Bitmask x = getMask(pMaskSet, pExpr->iRightJoinTable);
101662 Bitmask prereqColumn, prereqExpr;
101745 Bitmask allowed = ~getMask(pMaskSet, iBase);
101810 Bitmask mask = 0; /* Mask of unaccounted for pDistinct exprs */
101828 pTerm = findTerm(pWC, p->iTable, p->iColumn, ~(Bitmask)0, WO_EQ, 0);
101836 mask |= (((Bitmask)1) << i);
101842 mask &= ~(((Bitmask)1) << iExpr);
101896 if( 0==findTerm(pWC, iBase, iCol, ~(Bitmask)0, WO_EQ, pIdx)
102125 Bitmask, Bitmask, ExprList*, WhereCost*);
102138 Bitmask notReady, /* Mask of cursors not available for indexing */
102139 Bitmask notValid, /* Cursors not available for any purpose */
102145 const Bitmask maskSrc = getMask(pWC->pMaskSet, iCur); /* Bitmask for pSrc */
102167 Bitmask used = 0;
102227 Bitmask notReady /* Tables in outer loops of the join */
102252 Bitmask notReady, /* Mask of cursors that are not available */
102323 Bitmask notReady, /* Mask of cursors that are not available */
102342 Bitmask idxCols; /* Bitmap of columns used for indexing */
102343 Bitmask extraCols; /* Bitmap of additional columns */
102361 Bitmask cMask = iCol>=BMS ? ((Bitmask)1)<<(BMS-1) : ((Bitmask)1)<<iCol;
102381 extraCols = pSrc->colUsed & (~idxCols | (((Bitmask)1)<<(BMS-1)));
102386 if( extraCols & (((Bitmask)1)<<i) ) nColumn++;
102388 if( pSrc->colUsed & (((Bitmask)1)<<(BMS-1)) ){
102412 Bitmask cMask = iCol>=BMS ? ((Bitmask)1)<<(BMS-1) : ((Bitmask)1)<<iCol;
102428 if( extraCols & (((Bitmask)1)<<i) ){
102434 if( pSrc->colUsed & (((Bitmask)1)<<(BMS-1)) ){
102640 Bitmask notReady, /* Mask of cursors not available for index */
102641 Bitmask notValid, /* Cursors not valid for any purpose */
103211 Bitmask notReady, /* Mask of cursors not available for indexing */
103212 Bitmask notValid, /* Cursors not available for any purpose */
103284 Bitmask used = 0;
103442 Bitmask m = pSrc->colUsed;
103447 m &= ~(((Bitmask)1)<<x);
103577 Bitmask thisTab; /* Bitmap for pSrc */
103683 Bitmask notReady, /* Mask of cursors not available for indexing */
103684 Bitmask notValid, /* Cursors not available for any purpose */
103892 Bitmask notReady, /* Which parts of FROM have not yet been coded */
104120 static Bitmask codeOneLoopStart(
104124 Bitmask notReady /* Which tables are currently available */
104910 Bitmask notReady; /* Cursors that are not yet positioned */
105009 pWC->vmask |= ((Bitmask)1 << i);
105015 Bitmask toTheLeft = 0;
105017 Bitmask m = getMask(pMaskSet, pTabList->a[i].iCursor);
105058 notReady = ~(Bitmask)0;
105066 Bitmask m; /* Bitmask value for j or bestJ */
105069 Bitmask notIndexed; /* Mask of tables that cannot use an index */
105121 Bitmask mask; /* Mask of tables not yet ready */
105277 notReady = ~(Bitmask)0;
105305 Bitmask b = pTabItem->colUsed;
105340 notReady = ~(Bitmask)0;