Home
last modified time | relevance | path

Searched refs:nl_langinfo (Results 1 - 25 of 57) sorted by relevance

123

/third_party/musl/libc-test/src/functionalext/locale/
H A Dlanginfo.c26 * @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 Dlanginfo_sup.c26 * @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 Dstrptime.c45 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 Dstrptime.c45 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 Dstrptime.c45 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 Dtest__locale.py3 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 Dstrptime.c173 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 Dstrptime.c128 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 Dutf8.c17 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 Dlocale_localeconv_test.cpp55 * @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 Dmbc.c43 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 Dlanginfo.c72 weak_alias(__nl_langinfo, nl_langinfo);
/third_party/musl/porting/linux/user/src/locale/
H A Dlanginfo.c102 weak_alias(__nl_langinfo, nl_langinfo);
/third_party/musl/porting/liteos_a/kernel/src/locale/
H A Dlanginfo.c72 weak_alias(__nl_langinfo, nl_langinfo);
/third_party/musl/porting/liteos_m/kernel/src/locale/
H A Dlanginfo.c72 weak_alias(__nl_langinfo, nl_langinfo);
/third_party/musl/src/locale/
H A Dlanginfo.c75 weak_alias(__nl_langinfo, nl_langinfo);
H A Dcatopen.c41 lang = oflag ? nl_langinfo(_NL_LOCALE_NAME(LC_MESSAGES)) : getenv("LANG"); in catopen()
/third_party/musl/porting/linux/user/include/
H A Dlanginfo.h109 char *nl_langinfo(nl_item);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dlanginfo.h91 char *nl_langinfo(nl_item);
/third_party/musl/porting/uniproton/kernel/include/
H A Dlanginfo.h91 char *nl_langinfo(nl_item);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dlanginfo.h91 char *nl_langinfo(nl_item);
/third_party/musl/porting/liteos_a/kernel/include/
H A Dlanginfo.h91 char *nl_langinfo(nl_item);
/third_party/musl/Benchmark/musl/
H A Dlibc_locale.cpp92 benchmark::DoNotOptimize(nl_langinfo(CODESET)); in Bm_function_Locale_nl_langinfo()
/third_party/musl/include/
H A Dlanginfo.h94 char *nl_langinfo(nl_item);
/third_party/musl/libc-test/src/api/
H A Dlanginfo.c63 {char*(*p)(nl_item) = nl_langinfo;} in f()

Completed in 9 milliseconds

123