/third_party/musl/src/locale/ |
D | setlocale.c | 8 static char buf[LC_ALL*(LOCALE_NAME_MAX+1)]; 14 if ((unsigned)cat > LC_ALL) return 0; in setlocale() 23 if (cat == LC_ALL) { in setlocale() 29 for (i=0; i<LC_ALL; i++) { in setlocale() 48 for (i=0; i<LC_ALL; i++) { in setlocale() 60 return same==LC_ALL ? (char *)part : buf; in setlocale()
|
/third_party/musl/porting/linux/user/src/locale/ |
D | setlocale.c | 8 static char buf[LC_ALL*(LOCALE_NAME_MAX+1)]; 22 if ((unsigned)cat > LC_ALL) return 0; in setlocale() 31 if (cat == LC_ALL) { in setlocale() 37 for (i=0; i<LC_ALL; i++) { in setlocale() 59 for (i=0; i<LC_ALL; i++) { in setlocale() 74 return same==LC_ALL ? (char *)part : buf; in setlocale()
|
/third_party/musl/libc-test/src/functionalext/locale/ |
D | setlocale.c | 36 LC_ALL 131 char *rev = setlocale(LC_ALL, "C"); in setlocale_0500() 155 char *vec[LC_ALL]; in setlocale_0600() 159 char *locale = setlocale(LC_ALL, ""); in setlocale_0600() 169 char *str = setlocale(LC_ALL, "sss123456"); in setlocale_0700()
|
D | langinfo.c | 140 char *lo = setlocale(LC_ALL, ""); in nl_langinfo_0600() 157 char *lo = setlocale(LC_ALL, ""); in nl_langinfo_0700() 174 char *lo = setlocale(LC_ALL, ""); in nl_langinfo_0800() 191 char *lo = setlocale(LC_ALL, ""); in nl_langinfo_0900()
|
D | newlocale.c | 37 char *lo = setlocale(LC_ALL, "C"); in newlocale_0100() 58 char *lo = setlocale(LC_ALL, "C"); in newlocale_0200() 81 char *lo = setlocale(LC_ALL, "C"); in newlocale_0300()
|
D | uselocale.c | 27 char *rev = setlocale(LC_ALL, "C"); in uselocale_0100() 45 char *rev = setlocale(LC_ALL, "C"); in uselocale_0200()
|
D | duplocale.c | 27 char *lo = setlocale(LC_ALL, "C"); in duplocale_0100() 49 char *lo = setlocale(LC_ALL, "C"); in duplocale_0200()
|
/third_party/python/Lib/test/ |
D | test__locale.py | 1 from _locale import (setlocale, LC_ALL, LC_CTYPE, LC_NUMERIC, localeconv, Error) 36 old_locale = locale.setlocale(locale.LC_ALL) 41 locale.setlocale(locale.LC_ALL, loc) 54 locale.setlocale(locale.LC_ALL, old_locale) 82 self.oldlocale = setlocale(LC_ALL) 85 setlocale(LC_ALL, self.oldlocale)
|
D | test_utf8_mode.py | 45 with self.subTest(LC_ALL=loc): 46 out = self.get_output('-c', code, LC_ALL=loc) 209 with self.subTest(LC_ALL=loc): 210 out = self.get_output('-X', 'utf8', '-c', code, LC_ALL=loc) 227 with self.subTest(LC_ALL=loc): 228 check('utf8', [arg_utf8], LC_ALL=loc) 237 with self.subTest(LC_ALL=loc): 238 check('utf8=0', [c_arg], LC_ALL=loc)
|
/third_party/musl/libc-test/src/functionalext/supplement/locale/ |
D | setlocale_sup.c | 28 LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE, LC_MEASUREMENT, LC_IDENTIFICATION, LC_ALL}; 122 char *rev = setlocale(LC_ALL, "C"); in setlocale_0500() 146 char *vec[LC_ALL]; in setlocale_0600() 150 char *locale = setlocale(LC_ALL, ""); in setlocale_0600()
|
D | newlocale_sup.c | 35 char *lo = setlocale(LC_ALL, "C"); in newlocale_0100() 56 char *lo = setlocale(LC_ALL, "C"); in newlocale_0200() 78 char *lo = setlocale(LC_ALL, "C"); in newlocale_0300()
|
D | uselocale_sup.c | 27 char *rev = setlocale(LC_ALL, "C"); in uselocale_0100() 45 char *rev = setlocale(LC_ALL, "C"); in uselocale_0200()
|
D | duplocale_sup.c | 27 char *lo = setlocale(LC_ALL, "C"); in duplocale_0100() 49 char *lo = setlocale(LC_ALL, "C"); in duplocale_0200()
|
/third_party/icu/tools/release/c/os-mapping/ |
D | testLocales.sh | 12 for loc in `locale -a`; do echo ; echo LC_ALL=$loc ; LC_ALL=$loc ./displayLocaleConv ; done
|
/third_party/python/Python/ |
D | frozenmain.c | 57 oldloc = _PyMem_RawStrdup(setlocale(LC_ALL, NULL)); in Py_FrozenMain() 63 setlocale(LC_ALL, ""); in Py_FrozenMain() 74 setlocale(LC_ALL, oldloc); in Py_FrozenMain()
|
/third_party/musl/Benchmark/musl/ |
D | libc_locale.cpp | 44 benchmark::DoNotOptimize(setlocale(LC_ALL, nullptr)); in Bm_function_Setlocale_All() 52 benchmark::DoNotOptimize(setlocale(LC_ALL, "C")); in Bm_function_Setlocale_All1() 60 benchmark::DoNotOptimize(setlocale(LC_ALL, "")); in Bm_function_Setlocale_All2()
|
/third_party/icu/tools/release/c/ |
D | allLocaleTest.sh | 12 echo LC_ALL=$loc >> $outfile 13 LC_ALL=$loc make check $2 >> $outfile 2>&1
|
/third_party/libexif/test/ |
D | parse-regression.sh | 12 LC_ALL=C 13 export LANG LANGUAGE LC_ALL
|
D | swap-byte-order.sh | 12 LC_ALL=C 13 export LANG LANGUAGE LC_ALL
|
D | extract-parse.sh | 31 LC_ALL=C 32 export LANG LANGUAGE LC_ALL
|
/third_party/musl/libc-test/src/functionalext/supplement/locale/locale_gtest/ |
D | locale_newlocale_test.cpp | 22 setlocale(LC_ALL, "en_US.utf8"); 23 locale_t newLoc = __newlocale(LC_ALL, "fr_FR.utf8", nullptr);
|
D | locale_nl_langinfo_l_test.cpp | 20 setlocale(LC_ALL, "A"); 21 locale_t testLocale = newlocale(LC_ALL, "A", nullptr);
|
/third_party/musl/libc-test/src/functionalext/supplement/ctype/ |
D | __ctype_get_mb_cur_max.c | 31 setlocale(LC_ALL, ".1252"); in __ctype_get_mb_cur_max_0100() 57 setlocale(LC_ALL, ".936"); in __ctype_get_mb_cur_max_0300()
|
/third_party/ffmpeg/tests/ |
D | copycooker.sh | 3 LC_ALL=C 4 export LC_ALL
|
/third_party/skia/src/gpu/ |
D | GrAutoLocaleSetter.h | 45 char* oldLocale = setlocale(LC_ALL, name); in GrAutoLocaleSetter() 73 setlocale(LC_ALL, fOldLocale.c_str()); in ~GrAutoLocaleSetter()
|