Home
last modified time | relevance | path

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

/picolibc-3.7.0-3.6.0/newlib/libc/locale/
Dnewlocale.c115 newlocale (int category_mask, const char *locale, in newlocale() argument
118 (void) category_mask; in newlocale()
130 if (category_mask & LC_ALL_MASK) in newlocale()
132 category_mask &= ~LC_ALL_MASK; in newlocale()
133 category_mask |= LC_VALID_MASK; in newlocale()
136 if ((category_mask & ~LC_VALID_MASK) || !locale) in newlocale()
143 if ((!base && category_mask == 0) in newlocale()
144 || (category_mask == LC_VALID_MASK in newlocale()
152 if (((1 << i) & category_mask) != 0) in newlocale()
173 if (base && (((1 << i) & category_mask) == 0 in newlocale()
[all …]