Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dwhere.c223 int sortOrder; in findSortingIndex() local
227 sortOrder = pOrderBy->a[0].sortOrder & SQLITE_SO_DIRMASK; in findSortingIndex()
230 if( (pOrderBy->a[i].sortOrder & SQLITE_SO_DIRMASK)!=sortOrder ){ in findSortingIndex()
235 if( (pOrderBy->a[i].sortOrder & SQLITE_SO_TYPEMASK)!=SQLITE_SO_UNK ){ in findSortingIndex()
269 *pbRev = sortOrder==SQLITE_SO_DESC; in findSortingIndex()
H A DsqliteInt.h448 u8 sortOrder; /* Some combination of SQLITE_SO_... values */ member
727 u8 sortOrder; /* 1 for DESC or 0 for ASC */ member
H A Dbuild.c581 pCol->sortOrder = SQLITE_SO_NUM; in sqliteAddColumn()
630 pCol->sortOrder = sqliteCollateType(z, n); in sqliteAddColumnType()
632 pCol->sortOrder = SQLITE_SO_NUM; in sqliteAddColumnType()
756 if( i>=0 ) p->aCol[i].sortOrder = collType; in sqliteAddCollateType()
1320 if( (pTab->aCol[iCol].sortOrder & SQLITE_SO_TYPEMASK)==SQLITE_SO_TEXT ){ in sqliteAddIdxKeyType()
H A Dexpr.c174 pItem->sortOrder = p->a[i].sortOrder; in sqliteExprListDup()
478 pExpr->dataType = pCol->sortOrder & SQLITE_SO_TYPEMASK; in lookupName()
510 pExpr->dataType = pCol->sortOrder & SQLITE_SO_TYPEMASK; in lookupName()
H A Dparse.y442 if( A ) A->a[A->nExpr-1].sortOrder = C+Z;
446 if( A ) A->a[0].sortOrder = C+Z;
H A Dselect.c319 int order = pOrderBy->a[i].sortOrder; in pushOntoSorter()