Searched refs:locale_name (Results 1 – 1 of 1) sorted by relevance
122 static bool __is_supported_locale(const char* locale_name) { in __is_supported_locale() argument123 return (strcmp(locale_name, "") == 0 || in __is_supported_locale()124 strcmp(locale_name, "C") == 0 || in __is_supported_locale()125 strcmp(locale_name, "C.UTF-8") == 0 || in __is_supported_locale()126 strcmp(locale_name, "en_US.UTF-8") == 0 || in __is_supported_locale()127 strcmp(locale_name, "POSIX") == 0); in __is_supported_locale()130 static bool __is_utf8_locale(const char* locale_name) { in __is_utf8_locale() argument131 return (*locale_name == '\0' || strstr(locale_name, "UTF-8")); in __is_utf8_locale()147 locale_t newlocale(int category_mask, const char* locale_name, locale_t /*base*/) { in newlocale() argument149 if ((category_mask & ~LC_ALL_MASK) != 0 || locale_name == nullptr) { in newlocale()[all …]