Home
last modified time | relevance | path

Searched refs:BMS (Results 1 – 6 of 6) sorted by relevance

/sqlite-3.40.0/src/
H A Dresolve.c171 testcase( pExTab->nCol==BMS-1 ); in sqlite3ExprColUsed()
172 testcase( pExTab->nCol==BMS ); in sqlite3ExprColUsed()
173 return pExTab->nCol>=BMS ? ALLBITS : MASKBIT(pExTab->nCol)-1; in sqlite3ExprColUsed()
175 testcase( n==BMS-1 ); in sqlite3ExprColUsed()
176 testcase( n==BMS ); in sqlite3ExprColUsed()
177 if( n>=BMS ) n = BMS-1; in sqlite3ExprColUsed()
782 testcase( iCol==BMS ); in sqlite3CreateColumnExpr()
783 testcase( iCol==BMS-1 ); in sqlite3CreateColumnExpr()
784 pItem->colUsed |= ((Bitmask)1)<<(iCol>=BMS ? BMS-1 : iCol); in sqlite3CreateColumnExpr()
H A Dwhere.c880 cMask = iCol>=BMS ? MASKBIT(BMS-1) : MASKBIT(iCol); in constructAutomaticIndex()
881 testcase( iCol==BMS ); in constructAutomaticIndex()
882 testcase( iCol==BMS-1 ); in constructAutomaticIndex()
913 testcase( pTable->nCol==BMS-1 ); in constructAutomaticIndex()
914 testcase( pTable->nCol==BMS-2 ); in constructAutomaticIndex()
936 cMask = iCol>=BMS ? MASKBIT(BMS-1) : MASKBIT(iCol); in constructAutomaticIndex()
937 testcase( iCol==BMS-1 ); in constructAutomaticIndex()
938 testcase( iCol==BMS ); in constructAutomaticIndex()
4414 testcase( nOrderBy==BMS-1 ); in wherePathSatisfiesOrderBy()
5667 if( pTabList->nSrc>BMS ){ in sqlite3WhereBegin()
[all …]
H A DwhereInt.h405 int ix[BMS]; /* Cursor assigned to each bit */
H A Dbuild.c2302 testcase( x==BMS-1 ); in recomputeColumnsNotIndexed()
2303 testcase( x==BMS-2 ); in recomputeColumnsNotIndexed()
2304 if( x<BMS-1 ) m |= MASKBIT(x); in recomputeColumnsNotIndexed()
H A DsqliteInt.h1248 #define BMS ((int)(sizeof(Bitmask)*8)) macro
1258 #define TOPBIT (((Bitmask)1)<<(BMS-1))
H A Dexpr.c2846 testcase( pIdx->nColumn==BMS-2 ); in sqlite3FindInIndex()
2847 testcase( pIdx->nColumn==BMS-1 ); in sqlite3FindInIndex()
2848 if( pIdx->nColumn>=BMS-1 ) continue; in sqlite3FindInIndex()