Home
last modified time | relevance | path

Searched refs:locale (Results 1 – 25 of 674) sorted by relevance

12345678910>>...27

/openbsd/src/gnu/lib/libstdc++/libstdc++/src/
Dlocale.cc39 extern std::locale c_locale;
40 extern std::locale::_Impl c_locale_impl;
48 const locale::category locale::none;
49 const locale::category locale::ctype;
50 const locale::category locale::numeric;
51 const locale::category locale::collate;
52 const locale::category locale::time;
53 const locale::category locale::monetary;
54 const locale::category locale::messages;
55 const locale::category locale::all;
[all …]
Dlocale-inst.cc257 use_facet<codecvt<char, char, mbstate_t> >(const locale&);
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&);
277 use_facet<moneypunct<char, true> >(const locale&);
281 use_facet<moneypunct<char, false> >(const locale&);
285 use_facet<money_put<char> >(const locale&);
289 use_facet<money_get<char> >(const locale&);
293 use_facet<__timepunct<char> >(const locale&);
[all …]
Dlocalename.cc38 extern locale::facet* facet_vec[_GLIBCPP_NUM_FACETS];
39 extern locale::facet* facet_cache_vec[2 * _GLIBCPP_NUM_FACETS];
83 locale::_Impl::
105 locale::_Impl::
142 locale::_Impl::
149 locale::facet::_S_create_c_locale(__cloc, __s); in _Impl()
222 locale::facet::_S_destroy_c_locale(__cloc); in _Impl()
226 locale::facet::_S_destroy_c_locale(__cloc); in _Impl()
233 locale::_Impl::
238 locale::facet::_S_c_name[0] = 'C'; in _Impl()
[all …]
/openbsd/src/gnu/lib/libstdc++/libstdc++/testsuite/22_locale/
Dstatic_members.cc39 const locale loc01 = locale::classic(); in test01()
42 locale loc02(locale::classic(), new gnu_codecvt); in test01()
47 locale loc06("C"); in test01()
53 locale loc03; in test01()
55 locale global_orig = locale::global(loc02); in test01()
56 locale loc05; in test01()
61 locale::global(global_orig); in test01()
82 const locale loc_ph(ph.c_str()); in test02()
83 const locale loc_mx(mx.c_str()); in test02()
86 const locale loc_env_1(""); in test02()
[all …]
Dctor_copy_dtor.cc32 std::locale loc("C"); in test00()
43 class gnu_facet: public std::locale::facet
46 static std::locale::id id;
49 std::locale::id gnu_facet::id;
124 const locale loc01 = locale::classic(); in test01()
129 locale loc02(locale::classic(), new gnu_codecvt); in test01()
149 locale loc13(locale::classic(), new unicode_codecvt); in test01()
170 locale loc03; in test01()
173 locale loc04 = locale::global(loc02); in test01()
174 locale loc05; in test01()
[all …]
Dfacet.cc165 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;
244 surf(size_t refs = 0): std::locale::facet(refs) { ++counter; } in surf()
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()
[all …]
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/bits/
Dlocale_classes.h56 class locale
72 use_facet(const locale&);
76 has_facet(const locale&) throw();
80 __use_cache(const locale&);
95 locale() throw();
97 locale(const locale& __other) throw();
100 locale(const char* __s);
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);
[all …]
Dlocalefwd.h53 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&);
90 isxdigit(_CharT, const locale&);
[all …]
/openbsd/src/lib/libc/locale/
Diswctype_l.c59 __runelocale(locale_t locale) in __runelocale() argument
64 if (locale == _LOCALE_UTF8) in __runelocale()
72 __isctype_wl(wint_t c, _RuneType f, locale_t locale) in __isctype_wl() argument
77 rl = __runelocale(locale); in __isctype_wl()
83 iswalnum_l(wint_t c, locale_t locale) in iswalnum_l() argument
85 return __isctype_wl(c, _RUNETYPE_A|_RUNETYPE_D, locale); in iswalnum_l()
89 iswalpha_l(wint_t c, locale_t locale) in iswalpha_l() argument
91 return __isctype_wl(c, _RUNETYPE_A, locale); in iswalpha_l()
95 iswblank_l(wint_t c, locale_t locale) in iswblank_l() argument
97 return __isctype_wl(c, _RUNETYPE_B, locale); in iswblank_l()
[all …]
Disctype_l.c28 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/src/gnu/gcc/libstdc++-v3/include/bits/
Dlocale_classes.h66 class locale in _GLIBCXX_BEGIN_NAMESPACE()
83 has_facet(const locale&) throw(); in _GLIBCXX_BEGIN_NAMESPACE()
87 use_facet(const locale&); in _GLIBCXX_BEGIN_NAMESPACE()
123 locale() throw(); in _GLIBCXX_BEGIN_NAMESPACE()
132 locale(const locale& __other) throw(); in _GLIBCXX_BEGIN_NAMESPACE()
143 locale(const char* __s); 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()
186 ~locale() throw(); in _GLIBCXX_BEGIN_NAMESPACE()
[all …]
Dlocalefwd.h53 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&);
90 isxdigit(_CharT, const locale&);
[all …]
/openbsd/src/gnu/gcc/libstdc++-v3/src/
Dlocale.cc44 # define _GLIBCXX_LOC_ID(mangled) extern std::locale::id mangled
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;
70 locale::_Impl* locale::_S_classic;
[all …]
Dcompatibility-ldbl.cc46 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&);
48 template const money_put<C>& use_facet<money_put<C> >(const locale&);
49 template const money_get<C>& use_facet<money_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&);
62 template const num_get<C>& use_facet<num_get<C> >(const locale&);
[all …]
Dlocale_init.cc48 typedef char fake_locale_Impl[sizeof(locale::_Impl)]
49 __attribute__ ((aligned(__alignof__(locale::_Impl))));
52 typedef char fake_locale[sizeof(locale)]
53 __attribute__ ((aligned(__alignof__(locale))));
64 typedef char fake_facet_vec[sizeof(locale::facet*)]
65 __attribute__ ((aligned(__alignof__(locale::facet*))));
68 typedef char fake_cache_vec[sizeof(locale::facet*)]
69 __attribute__ ((aligned(__alignof__(locale::facet*))));
212 locale::locale() throw() : _M_impl(0) in _GLIBCXX_BEGIN_NAMESPACE()
220 locale
[all …]
Dlocale-inst.cc198 use_facet<codecvt<C, char, mbstate_t> >(const locale&);
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&);
218 use_facet<moneypunct<C, true> >(const locale&);
222 use_facet<moneypunct<C, false> >(const locale&);
226 use_facet<money_put<C> >(const locale&);
230 use_facet<money_get<C> >(const locale&);
234 use_facet<__timepunct<C> >(const locale&);
[all …]
Dlocalename.cc37 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/src/gnu/usr.bin/texinfo/intl/
Dlocalcharset.c286 const char *locale = NULL; in locale_charset() local
293 locale = setlocale (LC_CTYPE, NULL); in locale_charset()
295 if (locale == NULL || locale[0] == '\0') in locale_charset()
297 locale = getenv ("LC_ALL"); in locale_charset()
298 if (locale == NULL || locale[0] == '\0') in locale_charset()
300 locale = getenv ("LC_CTYPE"); in locale_charset()
301 if (locale == NULL || locale[0] == '\0') in locale_charset()
302 locale = getenv ("LANG"); in locale_charset()
309 codeset = locale; in locale_charset()
323 const char *locale; in locale_charset() local
[all …]
/openbsd/src/gnu/gcc/intl/
Dlocalcharset.c286 const char *locale = NULL; in locale_charset() local
293 locale = setlocale (LC_CTYPE, NULL); in locale_charset()
295 if (locale == NULL || locale[0] == '\0') in locale_charset()
297 locale = getenv ("LC_ALL"); in locale_charset()
298 if (locale == NULL || locale[0] == '\0') in locale_charset()
300 locale = getenv ("LC_CTYPE"); in locale_charset()
301 if (locale == NULL || locale[0] == '\0') in locale_charset()
302 locale = getenv ("LANG"); in locale_charset()
309 codeset = locale; in locale_charset()
323 const char *locale; in locale_charset() local
[all …]
/openbsd/src/gnu/usr.bin/perl/t/lib/warnings/
Dregexec121 # NAME Wide character in non-UTF-8 locale
130 use warnings 'locale';
131 use locale;
138 no warnings 'locale';
151 # NAME Wide character in UTF-8 locale
164 use warnings 'locale';
165 use locale;
174 # NAME \b{} in non-UTF-8 locale
183 use warnings 'locale';
184 use locale;
[all …]
/openbsd/src/gnu/usr.bin/perl/t/run/
Dlocale.t55 use locale;
67 use locale;
78 foreach my $locale (@locales) {
79 next if $locale eq "C" || $locale eq 'POSIX' || $locale eq "C.UTF-8";
80 $non_C_locale = $locale;
110 use locale;
125 use locale;
142 use locale;
195 use locale;
214 use locale;
[all …]
/openbsd/src/gnu/usr.bin/perl/
Dlocale.c391 # define start_DEALING_WITH_MISMATCHED_CTYPE(locale) \ argument
392 const char * orig_CTYPE_locale = toggle_locale_c(LC_CTYPE, locale)
393 # define end_DEALING_WITH_MISMATCHED_CTYPE(locale) \ argument
396 # define start_DEALING_WITH_MISMATCHED_CTYPE(locale) argument
397 # define end_DEALING_WITH_MISMATCHED_CTYPE(locale) argument
521 S_positional_name_value_xlation(const char * locale, bool direction) in S_positional_name_value_xlation() argument
524 assert(locale); in S_positional_name_value_xlation()
530 switch (parse_LC_ALL_string(locale, in S_positional_name_value_xlation()
543 return locale; in S_positional_name_value_xlation()
567 S_positional_setlocale(int cat, const char * locale) in S_positional_setlocale() argument
[all …]
/openbsd/src/gnu/usr.bin/perl/t/
Dloc_tools.pl156 my $locale = shift;
161 my $normalized_locale = lc ($locale =~ s/\W//gr);
162 return if ! $locale || grep { $normalized_locale eq lc ($_ =~ s/\W//gr) } @$list;
166 return if $locale =~ / ^ pig $ /ix;
175 && $locale !~ / ^ (?: C | POSIX | C\.UTF-?8 ) $/ix;
179 return if grep { $locale eq $_ } @bad_locales;
221 my $cur_result = setlocale($category, $locale);
228 && ! $seen{$locale})
230 push @platform_locales, $locale;
231 $seen{$locale}++;
[all …]
/openbsd/src/gnu/usr.bin/perl/pod/
Dperllocale.pod5 perllocale - Perl locale handling (internationalization and localization)
19 (formally the ISO C, XPG4, POSIX 1.c "locale system"). These allow for
21 Applications were and are being written that use the locale mechanism.
28 the locale system. This is controlled per application by using one
32 the ISO 8859 ones, and one multi-byte-type locale, UTF-8 ones, described
51 supported. The name of the locale is ignored; if your system has a
52 C<tr_TR.UTF-8> locale and it doesn't behave like a Turkic locale, perl
53 will treat it like a non-Turkic locale.
58 The perl interpreter is a C language program. At least stub locale
63 more types of information than the basic locale systems have. This
[all …]
/openbsd/src/gnu/usr.bin/gcc/gcc/intl/
Dlocalcharset.c221 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()

12345678910>>...27