Searched refs:locales (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/libast/common/port/
H A Dlclib.h31 #define locales _ast_locales macro
59 #define LCINFO(c) (&locales[c]->info[c])
67 extern Lc_t* locales[];
H A Dmc.c77 if (!(lc = locale ? lcmake(locale) : locales[category]))
H A Dlc.c96 Lc_t* locales[] = variable
695 * add to the list of possibly active locales
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dlocaleconv.c95 return ((locales[AST_LC_MONETARY]->flags | locales[AST_LC_NUMERIC]->flags) & LC_debug) ? &debug_lconv : localeconv();
H A Dsetlocale.c500 if (locales[cp->internal]->flags & LC_debug)
505 else if (locales[cp->internal]->flags & LC_default)
635 if (locales[cp->internal]->flags & LC_debug)
643 else if ((locales[cp->internal]->flags & LC_default) || (ast.mb_cur_max = MB_CUR_MAX) <= 1 || !(ast.mb_len = mblen) || !(ast.mb_towc = mbtowc))
651 else if ((locales[cp->internal]->flags & LC_utf8) && !(ast.locale.set & AST_LC_test))
801 locales[0]->flags &= ~lc->flags;
802 locales[1]->flags &= ~lc->flags;
805 return (locales[1]->flags & (1<<category)) ? locales[1]->name : locales[
[all...]
H A Diconv.c489 if ((locales[AST_LC_CTYPE]->flags & LC_default) || !locales[AST_LC_CTYPE]->charset || !(m = locales[AST_LC_CTYPE]->charset->code) || streq(m, "iso8859-1"))
/illumos-gate/usr/src/lib/libast/common/misc/
H A Derrorx.c40 loc = (const char*)locales[AST_LC_MESSAGES]->code;
/illumos-gate/usr/src/test/libc-tests/tests/wcsrtombs/
H A Dwcsrtombs_test.c18 * In order for it to work, it requires that some additional locales
74 } locales[] = { variable in typeref:struct:__anon4441
208 for (int i = 0; locales[i].locale != NULL; i++) {
209 test_wcsrtombs_thr_iter(t, locales[i].locale,
210 locales[i].test);
352 for (int i = 0; locales[i].locale != NULL; i++) {
353 test_wcsrtombs_1(locales[i].locale, locales[i].test);
354 test_wcsrtombs_l(locales[i].locale, locales[
[all...]
/illumos-gate/usr/src/test/libc-tests/tests/nl_langinfo/
H A Dnl_langinfo_test.c19 * some additional locales be installed.
170 } locales[] = { variable in typeref:struct:__anon4439
250 for (int i = 0; locales[i].locale != NULL; i++) {
251 test_nl_langinfo_1(locales[i].locale, locales[i].loctest);
252 test_nl_langinfo_l(locales[i].locale, locales[i].loctest);
/illumos-gate/usr/src/uts/common/io/
H A Dldterm.c499 * support any single byte (EUC) locales.

Completed in 149 milliseconds