/third_party/python/Lib/test/ |
H A D | test__locale.py | 1 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 D | test_format.py | 428 localeconv = locale.localeconv() 429 sep = localeconv['thousands_sep'] 430 point = localeconv['decimal_point'] 431 grouping = localeconv['grouping']
|
H A D | test_locale.py | 55 # 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 D | locale_localeconv_test.cpp | 17 * 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 D | localeconv.c | 23 * @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 D | locale.py | 28 "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 D | locale.h | 54 struct lconv *localeconv(void);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | locale.h | 54 struct lconv *localeconv(void);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | locale.h | 56 struct lconv *localeconv(void);
|
/third_party/musl/porting/linux/user/include/ |
H A D | locale.h | 76 struct lconv *localeconv(void);
|
/third_party/musl/libc-test/src/functionalext/supplement/locale/ |
H A D | localeconv_sup.c | 23 * @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 D | locale.h | 66 struct lconv *localeconv(void);
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_locale.cpp | 99 benchmark::DoNotOptimize(localeconv()); in Bm_function_Locale_localeconv()
|
/third_party/musl/libc-test/src/api/ |
H A D | locale.c | 59 {struct lconv*(*p)(void) = localeconv;} in f()
|
/third_party/FreeBSD/contrib/gdtoa/ |
H A D | gethex.c | 54 const unsigned char *decimalpoint = (unsigned char*)localeconv()->decimal_point; 59 s0 = (unsigned char*)localeconv()->decimal_point;
|
/third_party/musl/src/locale/ |
H A D | localeconv.c | 113 struct lconv *localeconv(void) in localeconv() function
|
/third_party/python/Python/ |
H A D | pystrtod.c | 180 locale_data = localeconv(); in _PyOS_ascii_strtod() 450 struct lconv *locale_data = localeconv(); in change_decimal_from_locale_to_dot()
|
H A D | formatter_unicode.c | 708 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.c | 236 _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 D | lexer.hpp | 12 #include <clocale> // localeconv 145 const auto* loc = localeconv();
|
/third_party/json/include/nlohmann/detail/output/ |
H A D | serializer.hpp | 14 #include <clocale> // localeconv, lconv 70 , loc(std::localeconv()) in serializer()
|
/third_party/rust/crates/libc/src/solid/ |
H A D | mod.rs | 856 pub fn localeconv() -> *mut lconv; in localeconv() functions
|
/third_party/rust/crates/libc/src/ |
H A D | wasi.rs | 681 pub fn localeconv() -> *mut lconv; in localeconv() functions
|
/third_party/python/Modules/_decimal/libmpdec/ |
H A D | io.c | 892 lc = localeconv(); in mpd_parse_fmt_str()
|
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_ladspa.c | 1111 lc = localeconv (); in snd_pcm_ladspa_check_file()
|