/openbsd/gnu/lib/libstdc++/libstdc++/src/ |
H A D | locale.cc | 48 const locale::category locale::none; 52 const locale::category locale::time; 55 const locale::category locale::all; 60 locale::_Impl* locale::_S_classic; 61 locale::_Impl* locale::_S_global; 159 locale::locale() throw() in locale() function in std::locale 165 locale::locale(const locale& __other) throw() in locale() function in std::locale 174 locale::locale(const char* __s) in locale() function in std::locale 296 locale::locale(const locale& __base, const locale& __add, category __cat) in locale() function in std::locale 299 locale::~locale() throw() in ~locale() [all …]
|
H A D | locale-inst.cc | 261 use_facet<collate<char> >(const locale&); 265 use_facet<numpunct<char> >(const locale&); 269 use_facet<num_put<char> >(const locale&); 273 use_facet<num_get<char> >(const locale&); 297 use_facet<time_put<char> >(const locale&); 301 use_facet<time_get<char> >(const locale&); 305 use_facet<messages<char> >(const locale&); 364 has_facet<ctype<char> >(const locale&); 372 has_facet<collate<char> >(const locale&); 380 has_facet<num_put<char> >(const locale&); [all …]
|
H A D | localename.cc | 83 locale::_Impl:: 105 locale::_Impl:: 142 locale::_Impl:: 233 locale::_Impl:: 238 locale::facet::_S_c_name[0] = 'C'; in _Impl() 240 locale::facet::_S_create_c_locale(locale::facet::_S_c_locale, in _Impl() 241 locale::facet::_S_c_name); in _Impl() 315 locale::_Impl:: 341 locale::_Impl:: 349 locale::_Impl:: [all …]
|
/openbsd/gnu/lib/libstdc++/libstdc++/testsuite/22_locale/ |
H A D | static_members.cc | 39 const locale loc01 = locale::classic(); in test01() 42 locale loc02(locale::classic(), new gnu_codecvt); in test01() 55 locale global_orig = locale::global(loc02); in test01() 92 locale global_orig = locale::global(loc_mx); in test02() 134 locale loc01(locale::classic(), new facet_type); in test03() 140 locale loc02 = locale(); in test03() 146 locale loc03 = locale::global(global_orig); in test03() 151 locale loc04 = locale(); in test03() 167 locale loc02 = locale(); in test03() 173 locale loc03 = locale::global(global_orig); in test03() [all …]
|
H A D | ctor_copy_dtor.cc | 124 const locale loc01 = locale::classic(); in test01() 173 locale loc04 = locale::global(loc02); in test01() 205 locale loc09(loc06, "C", locale::ctype); in test01() 212 locale loc10(loc02, "C", locale::ctype); in test01() 217 locale loc11(loc01, "C", locale::ctype); in test01() 235 locale loc14(loc06, "C", locale::none); in test01() 239 locale loc15(loc06, "C", locale::collate); in test01() 253 locale loc09(loc06, loc01, locale::ctype); in test01() 260 locale loc10(loc02, loc01, locale::ctype); in test01() 277 { locale loc13(loc01, locale("wu-tang clan"), locale::ctype); } in test01() [all …]
|
H A D | facet.cc | 165 class gnu_facet: public std::locale::facet 168 static std::locale::id id; 171 std::locale::id gnu_facet::id; 240 class surf : public std::locale::facet 243 static std::locale::id id; 248 std::locale::id surf::id; 260 locale loc01(locale::classic(), new facet_type); in test02() 269 locale loc02(locale::classic(), new facet_type(1)); in test02() 281 locale loc01(locale::classic(), f); in test02() 284 locale loc02(locale::classic(), f); in test02() [all …]
|
/openbsd/gnu/lib/libstdc++/libstdc++/include/bits/ |
H A D | locale_classes.h | 56 class locale 95 locale() throw(); 97 locale(const locale& __other) throw(); 102 locale(const locale& __base, const char* __s, category __cat); 104 locale(const locale& __base, const locale& __add, category __cat); 107 locale(const locale& __other, _Facet* __f); 111 const locale& 115 locale 135 static locale 302 locale::locale(const locale& __other, _Facet* __f) in locale() function [all …]
|
H A D | localefwd.h | 53 class locale; variable 58 isspace(_CharT, const locale&); 62 isprint(_CharT, const locale&); 66 iscntrl(_CharT, const locale&); 70 isupper(_CharT, const locale&); 74 islower(_CharT, const locale&); 78 isalpha(_CharT, const locale&); 82 isdigit(_CharT, const locale&); 86 ispunct(_CharT, const locale&); 94 isalnum(_CharT, const locale&); [all …]
|
/openbsd/lib/libc/locale/ |
H A D | iswctype_l.c | 59 __runelocale(locale_t locale) in __runelocale() argument 64 if (locale == _LOCALE_UTF8) in __runelocale() 77 rl = __runelocale(locale); in __isctype_wl() 83 iswalnum_l(wint_t c, locale_t locale) in iswalnum_l() argument 89 iswalpha_l(wint_t c, locale_t locale) in iswalpha_l() argument 95 iswblank_l(wint_t c, locale_t locale) in iswblank_l() argument 101 iswcntrl_l(wint_t c, locale_t locale) in iswcntrl_l() argument 107 iswdigit_l(wint_t c, locale_t locale) in iswdigit_l() argument 113 iswgraph_l(wint_t c, locale_t locale) in iswgraph_l() argument 119 iswlower_l(wint_t c, locale_t locale) in iswlower_l() argument [all …]
|
H A D | isctype_l.c | 28 isalnum_l(int c, locale_t locale __attribute__((__unused__))) in isalnum_l() argument 35 isalpha_l(int c, locale_t locale __attribute__((__unused__))) in isalpha_l() argument 42 isblank_l(int c, locale_t locale __attribute__((__unused__))) in isblank_l() argument 49 iscntrl_l(int c, locale_t locale __attribute__((__unused__))) in iscntrl_l() argument 56 isdigit_l(int c, locale_t locale __attribute__((__unused__))) in isdigit_l() argument 63 isgraph_l(int c, locale_t locale __attribute__((__unused__))) in isgraph_l() argument 70 islower_l(int c, locale_t locale __attribute__((__unused__))) in islower_l() argument 77 isprint_l(int c, locale_t locale __attribute__((__unused__))) in isprint_l() argument 84 ispunct_l(int c, locale_t locale __attribute__((__unused__))) in ispunct_l() argument 91 isspace_l(int c, locale_t locale __attribute__((__unused__))) in isspace_l() argument [all …]
|
/openbsd/gnu/gcc/libstdc++-v3/include/bits/ |
H A D | locale_classes.h | 66 class locale in _GLIBCXX_BEGIN_NAMESPACE() 123 locale() throw(); in _GLIBCXX_BEGIN_NAMESPACE() 132 locale(const locale& __other) throw(); in _GLIBCXX_BEGIN_NAMESPACE() 157 locale(const locale& __base, const char* __s, category __cat); in _GLIBCXX_BEGIN_NAMESPACE() 170 locale(const locale& __base, const locale& __add, category __cat); in _GLIBCXX_BEGIN_NAMESPACE() 183 locale(const locale& __other, _Facet* __f); in _GLIBCXX_BEGIN_NAMESPACE() 196 const locale& in _GLIBCXX_BEGIN_NAMESPACE() 212 locale in _GLIBCXX_BEGIN_NAMESPACE() 274 static locale in _GLIBCXX_BEGIN_NAMESPACE() 433 class locale::id [all …]
|
H A D | localefwd.h | 53 class locale; 58 isspace(_CharT, const locale&); 62 isprint(_CharT, const locale&); 66 iscntrl(_CharT, const locale&); 70 isupper(_CharT, const locale&); 74 islower(_CharT, const locale&); 78 isalpha(_CharT, const locale&); 82 isdigit(_CharT, const locale&); 86 ispunct(_CharT, const locale&); 94 isalnum(_CharT, const locale&); [all …]
|
/openbsd/gnu/gcc/libstdc++-v3/src/ |
H A D | locale.cc | 60 const locale::category locale::none; 61 const locale::category locale::ctype; 62 const locale::category locale::numeric; 63 const locale::category locale::collate; 64 const locale::category locale::time; 65 const locale::category locale::monetary; 66 const locale::category locale::messages; 67 const locale::category locale::all; 71 locale::_Impl* locale::_S_global; 77 locale::locale(const locale& __other) throw() in locale() function in locale [all …]
|
H A D | compatibility-ldbl.cc | 46 template const num_put<C>& use_facet<num_put<C> >(const locale&); 47 template const num_get<C>& use_facet<num_get<C> >(const locale&); 50 template bool has_facet<num_put<C> >(const locale&); 51 template bool has_facet<num_get<C> >(const locale&); 52 template bool has_facet<money_put<C> >(const locale&); 53 template bool has_facet<money_get<C> >(const locale&); 61 template const num_put<C>& use_facet<num_put<C> >(const locale&); 65 template bool has_facet<num_put<C> >(const locale&); 66 template bool has_facet<num_get<C> >(const locale&); 67 template bool has_facet<money_put<C> >(const locale&); [all …]
|
H A D | locale_init.cc | 212 locale::locale() throw() : _M_impl(0) in _GLIBCXX_BEGIN_NAMESPACE() 220 locale 221 locale::global(const locale& __other) in global() 240 return locale(__old); in global() 243 const locale& 244 locale::classic() in classic() 261 locale::_S_initialize() in _S_initialize() 272 const locale::id* const 284 const locale::id* const 298 const locale::id* const [all …]
|
H A D | locale-inst.cc | 202 use_facet<collate<C> >(const locale&); 206 use_facet<numpunct<C> >(const locale&); 210 use_facet<num_put<C> >(const locale&); 214 use_facet<num_get<C> >(const locale&); 238 use_facet<time_put<C> >(const locale&); 242 use_facet<time_get<C> >(const locale&); 246 use_facet<messages<C> >(const locale&); 251 has_facet<ctype<C> >(const locale&); 259 has_facet<collate<C> >(const locale&); 267 has_facet<num_put<C> >(const locale&); [all …]
|
H A D | localename.cc | 37 locale::locale(const char* __s) : _M_impl(0) in locale() function in locale 146 locale::locale(const locale& __base, const char* __s, category __cat) in locale() function in locale 152 locale __add(__s); in locale() 156 locale::locale(const locale& __base, const locale& __add, category __cat) in locale() function in locale 161 locale::_M_coalesce(const locale& __base, const locale& __add, in _M_coalesce() 177 locale::_Impl:: 185 locale::facet::_S_create_c_locale(__cloc, __s); in _Impl() 253 locale::facet::_S_destroy_c_locale(__cloc); in _Impl() 257 locale::facet::_S_destroy_c_locale(__cloc); in _Impl() 264 locale::_Impl::
|
/openbsd/gnu/gcc/intl/ |
H A D | localcharset.c | 286 const char *locale = NULL; in locale_charset() local 295 if (locale == NULL || locale[0] == '\0') in locale_charset() 298 if (locale == NULL || locale[0] == '\0') in locale_charset() 301 if (locale == NULL || locale[0] == '\0') in locale_charset() 309 codeset = locale; in locale_charset() 323 const char *locale; in locale_charset() local 331 if (locale == NULL || locale[0] == '\0') in locale_charset() 334 if (locale == NULL || locale[0] == '\0') in locale_charset() 335 locale = getenv ("LANG"); in locale_charset() 337 if (locale != NULL && locale[0] != '\0') in locale_charset() [all …]
|
/openbsd/gnu/usr.bin/texinfo/intl/ |
H A D | localcharset.c | 286 const char *locale = NULL; in locale_charset() local 295 if (locale == NULL || locale[0] == '\0') in locale_charset() 298 if (locale == NULL || locale[0] == '\0') in locale_charset() 301 if (locale == NULL || locale[0] == '\0') in locale_charset() 309 codeset = locale; in locale_charset() 323 const char *locale; in locale_charset() local 331 if (locale == NULL || locale[0] == '\0') in locale_charset() 334 if (locale == NULL || locale[0] == '\0') in locale_charset() 335 locale = getenv ("LANG"); in locale_charset() 337 if (locale != NULL && locale[0] != '\0') in locale_charset() [all …]
|
/openbsd/gnu/llvm/libcxx/include/__support/ibm/ |
H A D | xlocale.h | 34 explicit __setAndRestore(locale_t locale) { in __setAndRestore() 35 if (locale == (locale_t)0) { in __setAndRestore() 39 __stored = uselocale(locale); in __setAndRestore() 60 __setAndRestore __newloc(locale); in strtoll_l() 66 __setAndRestore __newloc(locale); in strtol_l() 71 strtod_l(const char *__nptr, char **__endptr, locale_t locale) { in strtod_l() argument 72 __setAndRestore __newloc(locale); in strtod_l() 78 __setAndRestore __newloc(locale); in strtof_l() 84 __setAndRestore __newloc(locale); in strtold_l() 90 __setAndRestore __newloc(locale); in strtoull_l() [all …]
|
/openbsd/gnu/usr.bin/perl/t/lib/warnings/ |
H A D | regexec | 130 use warnings 'locale'; 131 use locale; 138 no warnings 'locale'; 164 use warnings 'locale'; 165 use locale; 184 use locale; 187 no warnings 'locale'; 207 use locale; 235 use locale; 241 no warnings 'locale'; [all …]
|
/openbsd/gnu/usr.bin/perl/t/run/ |
H A D | locale.t | 57 use locale; 68 use locale; 80 next if $locale eq "C" || $locale eq 'POSIX' || $locale eq "C.UTF-8"; 111 use locale; 126 use locale; 143 use locale; 215 use locale; 237 use locale; 287 use locale; 553 use locale; [all …]
|
/openbsd/gnu/usr.bin/perl/pod/ |
H A D | perllocale.pod | 51 Turkic locale, perl will treat it like a non-Turkic locale. 190 ignores the current locale. The S<C<use locale>> 222 locale-sensitive. 615 default locale. 773 current locale. 1005 current locale, if that locale even has an 'A'. 1042 use locale; 1081 current locale: 1391 use locale; 1398 use locale; [all …]
|
/openbsd/gnu/usr.bin/gcc/gcc/intl/ |
H A D | localcharset.c | 221 const char *locale = NULL; in locale_charset() local 228 locale = setlocale (LC_CTYPE, NULL); in locale_charset() 230 if (locale == NULL || locale[0] == '\0') in locale_charset() 232 locale = getenv ("LC_ALL"); in locale_charset() 233 if (locale == NULL || locale[0] == '\0') in locale_charset() 235 locale = getenv ("LC_CTYPE"); in locale_charset() 236 if (locale == NULL || locale[0] == '\0') in locale_charset() 237 locale = getenv ("LANG"); in locale_charset() 244 codeset = locale; in locale_charset()
|
/openbsd/gnu/usr.bin/perl/ |
H A D | locale.c | 485 if (! locale) { in S_get_category_index() 486 locale = ""; in S_get_category_index() 581 # define posix_setlocale(cat, locale) win32_setlocale(cat, locale) argument 594 # define stdized_setlocale(cat, locale) posix_setlocale(cat, locale) argument 672 # define setlocale_r(cat, locale) less_dicey_setlocale_r(cat, locale) argument 673 # define setlocale_c(cat, locale) setlocale_r(cat, locale) argument 674 # define setlocale_i(i, locale) setlocale_r(categories[i], locale) argument 700 void_setlocale_i(get_category_index(cat, locale), locale) 723 # define bool_setlocale_c(cat, locale) bool_setlocale_r(cat, locale) argument 1004 const char * e = locale + strlen(locale); in S_setlocale_from_aggregate_LC_ALL() [all …]
|