Home
last modified time | relevance | path

Searched refs:localeconv (Results 1 - 25 of 36) sorted by relevance

12

/third_party/python/Lib/test/
H A Dtest__locale.py1 from _locale import (setlocale, LC_ALL, LC_CTYPE, LC_NUMERIC, localeconv, Error) namespace
48 localeconv()
136 # Test localeconv against known values
144 formatting = localeconv()
147 if self.numeric_tester('localeconv', formatting[lc], lc, loc):
154 # Test nl_langinfo against localeconv
165 li_radixchar = localeconv()[lc]
171 "%s (nl_langinfo) != %s (localeconv) "
191 if loc == 'eu_ES' and localeconv()['decimal_point'] == "' ":
198 if localeconv()['decimal_poin
[all...]
H A Dtest_format.py428 localeconv = locale.localeconv()
429 sep = localeconv['thousands_sep']
430 point = localeconv['decimal_point']
431 grouping = localeconv['grouping']
H A Dtest_locale.py55 # Base class for tests using cooked localeconv() values
166 self.sep = locale.localeconv()['thousands_sep']
/third_party/musl/libc-test/src/functionalext/supplement/locale/locale_gtest/
H A Dlocale_localeconv_test.cpp17 * localeconv match the expected empty string.
22 struct lconv* pconv = localeconv(); in HWTEST_F()
36 * @tc.desc: This test verifies whether the fields in the struct lconv structure returned by localeconv are equal to
42 struct lconv* pconv = localeconv(); in HWTEST_F()
56 * localeconv() function to ensure the correctness of the decimal character under the local setting.
63 EXPECT_TRUE(strcmp(localeconv()->decimal_point, radixChar) == 0); in HWTEST_F()
69 * nl_langinfo() function matches the thousands separator returned by the localeconv() function, in order to
77 EXPECT_TRUE(strcmp(localeconv()->thousands_sep, thousandsSep) == 0); in HWTEST_F()
/third_party/musl/libc-test/src/functionalext/locale/
H A Dlocaleconv.c23 * @tc.desc : Asserts whether the localeconv function returns a value that is expected by default
28 struct lconv *pconv = localeconv(); in localeconv_0100()
63 * @tc.desc : set locale as zh_CN.UTF-8, check whether the localeconv function returns a value that is expected
69 struct lconv *pconv = localeconv(); in localeconv_0200()
104 * @tc.desc : set LC_NUMERIC locale as zh_CN.UTF-8, check whether the localeconv function
112 struct lconv *pconv = localeconv(); in localeconv_0300()
147 * @tc.desc : set LC_NUMELC_MONETARYRIC locale as zh_CN.UTF-8, check whether the localeconv function
155 struct lconv *pconv = localeconv(); in localeconv_0400()
/third_party/python/Lib/
H A Dlocale.py28 "setlocale", "resetlocale", "localeconv", "strcoll", "strxfrm",
63 def localeconv(): function
64 """ localeconv() -> dict.
102 _localeconv = localeconv
104 # With this dict, you can override some items of localeconv's return value.
109 def localeconv(): function
139 conv = localeconv()
200 decimal_point = localeconv()[monetary and 'mon_decimal_point'
268 conv = localeconv()
319 conv = localeconv()
[all...]
/third_party/musl/porting/liteos_m/kernel/include/
H A Dlocale.h54 struct lconv *localeconv(void);
/third_party/musl/porting/uniproton/kernel/include/
H A Dlocale.h54 struct lconv *localeconv(void);
/third_party/musl/porting/liteos_a/kernel/include/
H A Dlocale.h56 struct lconv *localeconv(void);
/third_party/musl/porting/linux/user/include/
H A Dlocale.h76 struct lconv *localeconv(void);
/third_party/musl/libc-test/src/functionalext/supplement/locale/
H A Dlocaleconv_sup.c23 * @tc.desc : Asserts whether the localeconv function returns a value that is expected by default
28 struct lconv *pconv = localeconv(); in localeconv_0100()
/third_party/musl/include/
H A Dlocale.h66 struct lconv *localeconv(void);
/third_party/musl/Benchmark/musl/
H A Dlibc_locale.cpp99 benchmark::DoNotOptimize(localeconv()); in Bm_function_Locale_localeconv()
/third_party/musl/libc-test/src/api/
H A Dlocale.c59 {struct lconv*(*p)(void) = localeconv;} in f()
/third_party/FreeBSD/contrib/gdtoa/
H A Dgethex.c54 const unsigned char *decimalpoint = (unsigned char*)localeconv()->decimal_point;
59 s0 = (unsigned char*)localeconv()->decimal_point;
/third_party/musl/src/locale/
H A Dlocaleconv.c113 struct lconv *localeconv(void) in localeconv() function
/third_party/python/Python/
H A Dpystrtod.c180 locale_data = localeconv(); in _PyOS_ascii_strtod()
450 struct lconv *locale_data = localeconv(); in change_decimal_from_locale_to_dot()
H A Dformatter_unicode.c708 struct lconv *lc = localeconv(); in get_locale_info()
715 /* localeconv() grouping can become a dangling pointer or point in get_locale_info()
716 to a different string if another thread calls localeconv() during in get_locale_info()
/third_party/python/Modules/
H A D_localemodule.c236 _locale.localeconv
255 lc = localeconv(); in _locale_localeconv_impl()
257 /* hopefully, the localeconv result survives the C library calls in _locale_localeconv_impl()
/third_party/json/include/nlohmann/detail/input/
H A Dlexer.hpp12 #include <clocale> // localeconv
145 const auto* loc = localeconv();
/third_party/json/include/nlohmann/detail/output/
H A Dserializer.hpp14 #include <clocale> // localeconv, lconv
70 , loc(std::localeconv()) in serializer()
/third_party/rust/crates/libc/src/solid/
H A Dmod.rs856 pub fn localeconv() -> *mut lconv; in localeconv() functions
/third_party/rust/crates/libc/src/
H A Dwasi.rs681 pub fn localeconv() -> *mut lconv; in localeconv() functions
/third_party/python/Modules/_decimal/libmpdec/
H A Dio.c892 lc = localeconv(); in mpd_parse_fmt_str()
/third_party/alsa-lib/src/pcm/
H A Dpcm_ladspa.c1111 lc = localeconv (); in snd_pcm_ladspa_check_file()

Completed in 24 milliseconds

12