/third_party/musl/libc-test/src/functionalext/locale/ |
H A D | langinfo.c | 26 * @tc.desc : Asserts whether the nl_langinfo function succeeds in reading data 39 char *ptr = nl_langinfo(DAY_2); in langinfo_0100() 45 * @tc.desc : Assert that the nl_langinfo function does not read data from the default zh_CN.UTF-8 file 56 char *ptr = nl_langinfo(DAY_2); in nl_langinfo_0200() 65 * and whether the return value is empty when the abnormal time data is passed to the nl_langinfo function. 77 char *ptr = nl_langinfo(TIME_ERROR_INFO); in nl_langinfo_0300() 84 * and whether the return value is empty when the abnormal time data is passed to the nl_langinfo function 91 char *ptr = nl_langinfo(MESSAGES_ERROR_INFO); in nl_langinfo_0400() 98 * when the function nl_langinfo passes in the CODESET parameter 108 char *ptr = nl_langinfo(CODESE in nl_langinfo_0500() [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/locale/ |
H A D | langinfo_sup.c | 26 * @tc.desc : Asserts whether the nl_langinfo function succeeds in reading data 39 char *ptr = nl_langinfo(DAY_2); in langinfo_0100() 45 * @tc.desc : Assert that the nl_langinfo function does not read data from the default zh_CN.UTF-8 file 56 char *ptr = nl_langinfo(DAY_2); in nl_langinfo_0200() 65 * return value is empty when the abnormal time data is passed to the nl_langinfo function 76 char *ptr = nl_langinfo(TIME_ERROR_INFO); in nl_langinfo_0300() 83 * the return value is empty when the abnormal time data is passed to the nl_langinfo function 89 char *ptr = nl_langinfo(MESSAGES_ERROR_INFO); in nl_langinfo_0400() 96 * when the function nl_langinfo passes in the CODESET parameter 106 char *ptr = nl_langinfo(CODESE in nl_langinfo_0500() [all...] |
/third_party/musl/porting/liteos_a/kernel/src/time/ |
H A D | strptime.c | 45 s = strptime(s, nl_langinfo(D_T_FMT), tm); in strptime() 93 ex = nl_langinfo(AM_STR); in strptime() 100 ex = nl_langinfo(PM_STR); in strptime() 110 s = strptime(s, nl_langinfo(T_FMT_AMPM), tm); in strptime() 139 s = strptime(s, nl_langinfo(D_FMT), tm); in strptime() 143 s = strptime(s, nl_langinfo(T_FMT), tm); in strptime() 186 ex = nl_langinfo(min+i); in strptime()
|
/third_party/musl/porting/liteos_m/kernel/src/time/ |
H A D | strptime.c | 45 s = strptime(s, nl_langinfo(D_T_FMT), tm); in strptime() 93 ex = nl_langinfo(AM_STR); in strptime() 100 ex = nl_langinfo(PM_STR); in strptime() 110 s = strptime(s, nl_langinfo(T_FMT_AMPM), tm); in strptime() 139 s = strptime(s, nl_langinfo(D_FMT), tm); in strptime() 143 s = strptime(s, nl_langinfo(T_FMT), tm); in strptime() 186 ex = nl_langinfo(min+i); in strptime()
|
/third_party/musl/porting/uniproton/kernel/src/time/ |
H A D | strptime.c | 45 s = strptime(s, nl_langinfo(D_T_FMT), tm); in strptime() 93 ex = nl_langinfo(AM_STR); in strptime() 100 ex = nl_langinfo(PM_STR); in strptime() 110 s = strptime(s, nl_langinfo(T_FMT_AMPM), tm); in strptime() 139 s = strptime(s, nl_langinfo(D_FMT), tm); in strptime() 143 s = strptime(s, nl_langinfo(T_FMT), tm); in strptime() 186 ex = nl_langinfo(min+i); in strptime()
|
/third_party/python/Lib/test/ |
H A D | test__locale.py | 3 from _locale import (RADIXCHAR, THOUSEP, nl_langinfo) namespace 5 nl_langinfo = None variable 110 @unittest.skipUnless(nl_langinfo, "nl_langinfo is not available") 116 # Test nl_langinfo against known values 126 if self.numeric_tester('nl_langinfo', nl_langinfo(li), lc, loc): 152 @unittest.skipUnless(nl_langinfo, "nl_langinfo is not available") 154 # Test nl_langinfo agains [all...] |
/third_party/musl/porting/linux/user/src/time/ |
H A D | strptime.c | 173 s = strptime(s, nl_langinfo(D_T_FMT), tm); in strptime() 248 ex = nl_langinfo(AM_STR); in strptime() 255 ex = nl_langinfo(PM_STR); in strptime() 265 s = strptime(s, nl_langinfo(T_FMT_AMPM), tm); in strptime() 352 s = strptime(s, nl_langinfo(D_FMT), tm); in strptime() 358 s = strptime(s, nl_langinfo(T_FMT), tm); in strptime() 427 ex = nl_langinfo(min+i); in strptime()
|
/third_party/musl/src/time/ |
H A D | strptime.c | 128 s = strptime(s, nl_langinfo(D_T_FMT), tm); in strptime() 197 ex = nl_langinfo(AM_STR); in strptime() 204 ex = nl_langinfo(PM_STR); in strptime() 214 s = strptime(s, nl_langinfo(T_FMT_AMPM), tm); in strptime() 296 s = strptime(s, nl_langinfo(D_FMT), tm); in strptime() 300 s = strptime(s, nl_langinfo(T_FMT), tm); in strptime() 350 ex = nl_langinfo(min+i); in strptime()
|
/third_party/musl/libc-test/src/common/ |
H A D | utf8.c | 17 if (strcmp(nl_langinfo(CODESET), "UTF-8")) in t_setutf8() 18 return t_error("cannot set UTF-8 locale for test (codeset=%s)\n", nl_langinfo(CODESET)); in t_setutf8()
|
/third_party/musl/libc-test/src/functionalext/supplement/locale/locale_gtest/ |
H A D | locale_localeconv_test.cpp | 55 * @tc.desc: This test verifies the use of nl_langinfo() function consistent with the decimal character returned by the 61 char* radixChar = nl_langinfo(RADIXCHAR); in HWTEST_F() 69 * nl_langinfo() function matches the thousands separator returned by the localeconv() function, in order to 75 char* thousandsSep = nl_langinfo(THOUSEP); in HWTEST_F()
|
/third_party/musl/libc-test/src/functional/ |
H A D | mbc.c | 43 if (strcmp(nl_langinfo(CODESET), "UTF-8")) in main() 44 return t_error("cannot set UTF-8 locale for test (codeset=%s)\n", nl_langinfo(CODESET)); in main()
|
/third_party/musl/porting/uniproton/kernel/src/locale/ |
H A D | langinfo.c | 72 weak_alias(__nl_langinfo, nl_langinfo);
|
/third_party/musl/porting/linux/user/src/locale/ |
H A D | langinfo.c | 102 weak_alias(__nl_langinfo, nl_langinfo);
|
/third_party/musl/porting/liteos_a/kernel/src/locale/ |
H A D | langinfo.c | 72 weak_alias(__nl_langinfo, nl_langinfo);
|
/third_party/musl/porting/liteos_m/kernel/src/locale/ |
H A D | langinfo.c | 72 weak_alias(__nl_langinfo, nl_langinfo);
|
/third_party/musl/src/locale/ |
H A D | langinfo.c | 75 weak_alias(__nl_langinfo, nl_langinfo);
|
H A D | catopen.c | 41 lang = oflag ? nl_langinfo(_NL_LOCALE_NAME(LC_MESSAGES)) : getenv("LANG"); in catopen()
|
/third_party/musl/porting/linux/user/include/ |
H A D | langinfo.h | 109 char *nl_langinfo(nl_item);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | langinfo.h | 91 char *nl_langinfo(nl_item);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | langinfo.h | 91 char *nl_langinfo(nl_item);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | langinfo.h | 91 char *nl_langinfo(nl_item);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | langinfo.h | 91 char *nl_langinfo(nl_item);
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_locale.cpp | 92 benchmark::DoNotOptimize(nl_langinfo(CODESET)); in Bm_function_Locale_nl_langinfo()
|
/third_party/musl/include/ |
H A D | langinfo.h | 94 char *nl_langinfo(nl_item);
|
/third_party/musl/libc-test/src/api/ |
H A D | langinfo.c | 63 {char*(*p)(nl_item) = nl_langinfo;} in f()
|