Lines Matching refs:locales
500 if (locales[cp->internal]->flags & LC_debug) in set_collate()
505 else if (locales[cp->internal]->flags & LC_default) in set_collate()
635 if (locales[cp->internal]->flags & LC_debug) in set_ctype()
643 …else if ((locales[cp->internal]->flags & LC_default) || (ast.mb_cur_max = MB_CUR_MAX) <= 1 || !(as… in set_ctype()
651 else if ((locales[cp->internal]->flags & LC_utf8) && !(ast.locale.set & AST_LC_test)) in set_ctype()
801 locales[0]->flags &= ~lc->flags; in default_setlocale()
802 locales[1]->flags &= ~lc->flags; in default_setlocale()
805 return (locales[1]->flags & (1<<category)) ? locales[1]->name : locales[0]->name; in default_setlocale()
826 if ((flags & LC_setenv) && lc_all && locales[category]) in single()
827 return (char*)locales[category]->name; in single()
832 if (locales[category] != lc) in single()
837 if (locales[i] == lc) in single()
869 locales[category] = lc; in single()
872 locales[category] = lc_categories[category].prev; in single()
1036 return (char*)locales[category]->name; in _ast_setlocale()
1047 if (locales[j] == locales[i]) in _ast_setlocale()
1051 return (char*)locales[1]->name; in _ast_setlocale()
1053 if (cat[i] >= 0 && !(locales[i]->flags & LC_default)) in _ast_setlocale()
1063 sfprintf(sp, "%s", locales[i]->name); in _ast_setlocale()
1066 return (char*)locales[0]->name; in _ast_setlocale()
1135 …sfprintf(sfstderr, "locale env %17s %16s %16s %16s\n", lc_categories[i].name, locales[i]->name, "… in _ast_setlocale()
1168 return (char*)locales[category]->name; in _ast_setlocale()