Searched refs:category_mask (Results 1 – 1 of 1) sorted by relevance
18 locale_t newlocale(int category_mask, const char* locale, locale_t base) { in newlocale() argument23 if (category_mask == LC_ALL_MASK && setlocale(LC_ALL, locale) == NULL) { in newlocale()28 if ((_CATMASK(_Cat) & category_mask) != 0 && setlocale(_Cat, locale) == NULL) { in newlocale()40 if (category_mask != LC_ALL_MASK) { in newlocale()43 newloc->category_mask = category_mask | base->category_mask; in newlocale()47 newloc->category_mask = category_mask; in newlocale()50 if (category_mask & LC_COLLATE_MASK) in newlocale()52 if (category_mask & LC_CTYPE_MASK) in newlocale()54 if (category_mask & LC_MONETARY_MASK) in newlocale()56 if (category_mask & LC_NUMERIC_MASK) in newlocale()[all …]