Home
last modified time | relevance | path

Searched refs:LC_ALL (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/third_party/musl/src/locale/
Dsetlocale.c8 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/
Dsetlocale.c8 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/
Dsetlocale.c36 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()
Dlanginfo.c140 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()
Dnewlocale.c37 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()
Duselocale.c27 char *rev = setlocale(LC_ALL, "C"); in uselocale_0100()
45 char *rev = setlocale(LC_ALL, "C"); in uselocale_0200()
Dduplocale.c27 char *lo = setlocale(LC_ALL, "C"); in duplocale_0100()
49 char *lo = setlocale(LC_ALL, "C"); in duplocale_0200()
/third_party/python/Lib/test/
Dtest__locale.py1 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)
Dtest_utf8_mode.py45 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/
Dsetlocale_sup.c28 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()
Dnewlocale_sup.c35 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()
Duselocale_sup.c27 char *rev = setlocale(LC_ALL, "C"); in uselocale_0100()
45 char *rev = setlocale(LC_ALL, "C"); in uselocale_0200()
Dduplocale_sup.c27 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/
DtestLocales.sh12 for loc in `locale -a`; do echo ; echo LC_ALL=$loc ; LC_ALL=$loc ./displayLocaleConv ; done
/third_party/python/Python/
Dfrozenmain.c57 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/
Dlibc_locale.cpp44 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/
DallLocaleTest.sh12 echo LC_ALL=$loc >> $outfile
13 LC_ALL=$loc make check $2 >> $outfile 2>&1
/third_party/libexif/test/
Dparse-regression.sh12 LC_ALL=C
13 export LANG LANGUAGE LC_ALL
Dswap-byte-order.sh12 LC_ALL=C
13 export LANG LANGUAGE LC_ALL
Dextract-parse.sh31 LC_ALL=C
32 export LANG LANGUAGE LC_ALL
/third_party/musl/libc-test/src/functionalext/supplement/locale/locale_gtest/
Dlocale_newlocale_test.cpp22 setlocale(LC_ALL, "en_US.utf8");
23 locale_t newLoc = __newlocale(LC_ALL, "fr_FR.utf8", nullptr);
Dlocale_nl_langinfo_l_test.cpp20 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.c31 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/
Dcopycooker.sh3 LC_ALL=C
4 export LC_ALL
/third_party/skia/src/gpu/
DGrAutoLocaleSetter.h45 char* oldLocale = setlocale(LC_ALL, name); in GrAutoLocaleSetter()
73 setlocale(LC_ALL, fOldLocale.c_str()); in ~GrAutoLocaleSetter()

12345678910>>...13