Home
last modified time | relevance | path

Searched refs:nm (Results 1 – 25 of 37) sorted by relevance

12

/ndk/sources/cxx-stl/llvm-libc++/patches.android/
D0003-Fallback-to-locale-C.patch148 @@ -1455,8 +1507,14 @@ codecvt<wchar_t, char, mbstate_t>::codecvt(const char* nm, size_t refs)
155 " failed to construct for " + string(nm));
163 @@ -4250,7 +4308,12 @@ numpunct_byname<char>::__init(const char* nm)
165 if (strcmp(nm, "C") != 0)
167 - __locale_unique_ptr loc(newlocale(LC_ALL_MASK, nm, 0), freelocale);
168 + locale_t l = newlocale(LC_ALL_MASK, nm, 0);
177 @@ -4293,7 +4356,12 @@ numpunct_byname<wchar_t>::__init(const char* nm)
179 if (strcmp(nm, "C") != 0)
181 - __locale_unique_ptr loc(newlocale(LC_ALL_MASK, nm, 0), freelocale);
182 + locale_t l = newlocale(LC_ALL_MASK, nm, 0);
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/
Dfrac_digits.pass.cpp26 explicit Fnf(const std::string& nm, std::size_t refs = 0) in Fnf() argument
27 : std::moneypunct_byname<char, false>(nm, refs) {} in Fnf()
34 explicit Fnt(const std::string& nm, std::size_t refs = 0) in Fnt() argument
35 : std::moneypunct_byname<char, true>(nm, refs) {} in Fnt()
42 explicit Fwf(const std::string& nm, std::size_t refs = 0) in Fwf() argument
43 : std::moneypunct_byname<wchar_t, false>(nm, refs) {} in Fwf()
50 explicit Fwt(const std::string& nm, std::size_t refs = 0) in Fwt() argument
51 : std::moneypunct_byname<wchar_t, true>(nm, refs) {} in Fwt()
Dgrouping.pass.cpp28 explicit Fnf(const std::string& nm, std::size_t refs = 0) in Fnf() argument
29 : std::moneypunct_byname<char, false>(nm, refs) {} in Fnf()
36 explicit Fnt(const std::string& nm, std::size_t refs = 0) in Fnt() argument
37 : std::moneypunct_byname<char, true>(nm, refs) {} in Fnt()
44 explicit Fwf(const std::string& nm, std::size_t refs = 0) in Fwf() argument
45 : std::moneypunct_byname<wchar_t, false>(nm, refs) {} in Fwf()
52 explicit Fwt(const std::string& nm, std::size_t refs = 0) in Fwt() argument
53 : std::moneypunct_byname<wchar_t, true>(nm, refs) {} in Fwt()
Dpositive_sign.pass.cpp26 explicit Fnf(const std::string& nm, std::size_t refs = 0) in Fnf() argument
27 : std::moneypunct_byname<char, false>(nm, refs) {} in Fnf()
34 explicit Fnt(const std::string& nm, std::size_t refs = 0) in Fnt() argument
35 : std::moneypunct_byname<char, true>(nm, refs) {} in Fnt()
42 explicit Fwf(const std::string& nm, std::size_t refs = 0) in Fwf() argument
43 : std::moneypunct_byname<wchar_t, false>(nm, refs) {} in Fwf()
50 explicit Fwt(const std::string& nm, std::size_t refs = 0) in Fwt() argument
51 : std::moneypunct_byname<wchar_t, true>(nm, refs) {} in Fwt()
Dthousands_sep.pass.cpp26 explicit Fnf(const std::string& nm, std::size_t refs = 0) in Fnf() argument
27 : std::moneypunct_byname<char, false>(nm, refs) {} in Fnf()
34 explicit Fnt(const std::string& nm, std::size_t refs = 0) in Fnt() argument
35 : std::moneypunct_byname<char, true>(nm, refs) {} in Fnt()
42 explicit Fwf(const std::string& nm, std::size_t refs = 0) in Fwf() argument
43 : std::moneypunct_byname<wchar_t, false>(nm, refs) {} in Fwf()
50 explicit Fwt(const std::string& nm, std::size_t refs = 0) in Fwt() argument
51 : std::moneypunct_byname<wchar_t, true>(nm, refs) {} in Fwt()
Dcurr_symbol.pass.cpp28 explicit Fnf(const std::string& nm, std::size_t refs = 0) in Fnf() argument
29 : std::moneypunct_byname<char, false>(nm, refs) {} in Fnf()
36 explicit Fnt(const std::string& nm, std::size_t refs = 0) in Fnt() argument
37 : std::moneypunct_byname<char, true>(nm, refs) {} in Fnt()
44 explicit Fwf(const std::string& nm, std::size_t refs = 0) in Fwf() argument
45 : std::moneypunct_byname<wchar_t, false>(nm, refs) {} in Fwf()
52 explicit Fwt(const std::string& nm, std::size_t refs = 0) in Fwt() argument
53 : std::moneypunct_byname<wchar_t, true>(nm, refs) {} in Fwt()
Dnegative_sign.pass.cpp26 explicit Fnf(const std::string& nm, std::size_t refs = 0) in Fnf() argument
27 : std::moneypunct_byname<char, false>(nm, refs) {} in Fnf()
34 explicit Fnt(const std::string& nm, std::size_t refs = 0) in Fnt() argument
35 : std::moneypunct_byname<char, true>(nm, refs) {} in Fnt()
42 explicit Fwf(const std::string& nm, std::size_t refs = 0) in Fwf() argument
43 : std::moneypunct_byname<wchar_t, false>(nm, refs) {} in Fwf()
50 explicit Fwt(const std::string& nm, std::size_t refs = 0) in Fwt() argument
51 : std::moneypunct_byname<wchar_t, true>(nm, refs) {} in Fwt()
Ddecimal_point.pass.cpp26 explicit Fnf(const std::string& nm, std::size_t refs = 0) in Fnf() argument
27 : std::moneypunct_byname<char, false>(nm, refs) {} in Fnf()
34 explicit Fnt(const std::string& nm, std::size_t refs = 0) in Fnt() argument
35 : std::moneypunct_byname<char, true>(nm, refs) {} in Fnt()
42 explicit Fwf(const std::string& nm, std::size_t refs = 0) in Fwf() argument
43 : std::moneypunct_byname<wchar_t, false>(nm, refs) {} in Fwf()
50 explicit Fwt(const std::string& nm, std::size_t refs = 0) in Fwt() argument
51 : std::moneypunct_byname<wchar_t, true>(nm, refs) {} in Fwt()
Dneg_format.pass.cpp28 explicit Fnf(const std::string& nm, std::size_t refs = 0) in Fnf() argument
29 : std::moneypunct_byname<char, false>(nm, refs) {} in Fnf()
36 explicit Fnt(const std::string& nm, std::size_t refs = 0) in Fnt() argument
37 : std::moneypunct_byname<char, true>(nm, refs) {} in Fnt()
44 explicit Fwf(const std::string& nm, std::size_t refs = 0) in Fwf() argument
45 : std::moneypunct_byname<wchar_t, false>(nm, refs) {} in Fwf()
52 explicit Fwt(const std::string& nm, std::size_t refs = 0) in Fwt() argument
53 : std::moneypunct_byname<wchar_t, true>(nm, refs) {} in Fwt()
Dpos_format.pass.cpp28 explicit Fnf(const std::string& nm, std::size_t refs = 0) in Fnf() argument
29 : std::moneypunct_byname<char, false>(nm, refs) {} in Fnf()
36 explicit Fnt(const std::string& nm, std::size_t refs = 0) in Fnt() argument
37 : std::moneypunct_byname<char, true>(nm, refs) {} in Fnt()
44 explicit Fwf(const std::string& nm, std::size_t refs = 0) in Fwf() argument
45 : std::moneypunct_byname<wchar_t, false>(nm, refs) {} in Fwf()
52 explicit Fwt(const std::string& nm, std::size_t refs = 0) in Fwt() argument
53 : std::moneypunct_byname<wchar_t, true>(nm, refs) {} in Fwt()
/ndk/sources/cxx-stl/stlport/src/c_locale_glibc/
Dc_locale_glibc2.c59 struct _Locale_ctype *_Locale_ctype_create(const char *nm, struct _Locale_name_hint* hint, in _Locale_ctype_create() argument
62 return (struct _Locale_ctype*)newlocale(LC_CTYPE_MASK, nm, NULL); in _Locale_ctype_create()
65 struct _Locale_codecvt *_Locale_codecvt_create(const char *nm, struct _Locale_name_hint* hint, in _Locale_codecvt_create() argument
68 if (nm[0] == 'C' && nm[1] == 0) in _Locale_codecvt_create()
73 struct _Locale_numeric *_Locale_numeric_create(const char *nm, struct _Locale_name_hint* hint, in _Locale_numeric_create() argument
76 return (struct _Locale_numeric*)newlocale(LC_NUMERIC_MASK, nm, NULL); in _Locale_numeric_create()
79 struct _Locale_time *_Locale_time_create(const char *nm, struct _Locale_name_hint* hint, in _Locale_time_create() argument
82 return (struct _Locale_time*)newlocale(LC_TIME_MASK, nm, NULL); in _Locale_time_create()
85 struct _Locale_collate *_Locale_collate_create(const char *nm, struct _Locale_name_hint* hint, in _Locale_collate_create() argument
88 return (struct _Locale_collate*)newlocale(LC_COLLATE_MASK, nm, NULL); in _Locale_collate_create()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt.byname/
Dctor_char32_t.pass.cpp28 explicit my_facet(const char* nm, std::size_t refs = 0) in my_facet() argument
29 : F(nm, refs) {++count;} in my_facet()
30 explicit my_facet(const std::string& nm, std::size_t refs = 0) in my_facet() argument
31 : F(nm, refs) {++count;} in my_facet()
Dctor_char.pass.cpp28 explicit my_facet(const char* nm, std::size_t refs = 0) in my_facet() argument
29 : F(nm, refs) {++count;} in my_facet()
30 explicit my_facet(const std::string& nm, std::size_t refs = 0) in my_facet() argument
31 : F(nm, refs) {++count;} in my_facet()
Dctor_char16_t.pass.cpp28 explicit my_facet(const char* nm, std::size_t refs = 0) in my_facet() argument
29 : F(nm, refs) {++count;} in my_facet()
30 explicit my_facet(const std::string& nm, std::size_t refs = 0) in my_facet() argument
31 : F(nm, refs) {++count;} in my_facet()
Dctor_wchar_t.pass.cpp30 explicit my_facet(const char* nm, std::size_t refs = 0) in my_facet() argument
31 : F(nm, refs) {++count;} in my_facet()
32 explicit my_facet(const std::string& nm, std::size_t refs = 0) in my_facet() argument
33 : F(nm, refs) {++count;} in my_facet()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/
Dget_monthname_wide.pass.cpp32 explicit my_facet(const std::string& nm, std::size_t refs = 0) in my_facet() argument
33 : F(nm, refs) {} in my_facet()
41 explicit my_facet2(const std::string& nm, std::size_t refs = 0) in my_facet2() argument
42 : F2(nm, refs) {} in my_facet2()
Ddate_order.pass.cpp28 explicit my_facet(const std::string& nm, std::size_t refs = 0) in my_facet() argument
29 : F(nm, refs) {} in my_facet()
Ddate_order_wide.pass.cpp28 explicit my_facet(const std::string& nm, std::size_t refs = 0) in my_facet() argument
29 : F(nm, refs) {} in my_facet()
Dget_monthname.pass.cpp32 explicit my_facet(const std::string& nm, std::size_t refs = 0) in my_facet() argument
33 : F(nm, refs) {} in my_facet()
Dget_weekday.pass.cpp32 explicit my_facet(const std::string& nm, std::size_t refs = 0) in my_facet() argument
33 : F(nm, refs) {} in my_facet()
Dget_year.pass.cpp31 explicit my_facet(const std::string& nm, std::size_t refs = 0) in my_facet() argument
32 : F(nm, refs) {} in my_facet()
Dget_time.pass.cpp32 explicit my_facet(const std::string& nm, std::size_t refs = 0) in my_facet() argument
33 : F(nm, refs) {} in my_facet()
Dget_weekday_wide.pass.cpp32 explicit my_facet(const std::string& nm, std::size_t refs = 0) in my_facet() argument
33 : F(nm, refs) {} in my_facet()
Dget_year_wide.pass.cpp31 explicit my_facet(const std::string& nm, std::size_t refs = 0) in my_facet() argument
32 : F(nm, refs) {} in my_facet()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.time/locale.time.put.byname/
Dput1.pass.cpp36 explicit my_facet(const std::string& nm, std::size_t refs = 0) in my_facet() argument
37 : F(nm, refs) {} in my_facet()

12