/external/protobuf/src/google/protobuf/stubs/ |
D | stringprintf_unittest.cc | 94 char* old_locale = setlocale(LC_CTYPE, NULL); in TEST() 96 setlocale(LC_CTYPE, "en_US.utf8"); in TEST() 118 setlocale(LC_CTYPE, old_locale); in TEST() 123 char* old_locale = setlocale(LC_CTYPE, NULL); in TEST() 124 setlocale(LC_CTYPE, "POSIX"); in TEST() 126 setlocale(LC_CTYPE, old_locale); in TEST()
|
/external/tensorflow/tensorflow/core/lib/strings/ |
D | stringprintf_test.cc | 69 char* old_locale = setlocale(LC_CTYPE, nullptr); in TEST() 71 setlocale(LC_CTYPE, "en_US.utf8"); in TEST() 93 setlocale(LC_CTYPE, old_locale); in TEST() 98 char* old_locale = setlocale(LC_CTYPE, nullptr); in TEST() 99 setlocale(LC_CTYPE, "POSIX"); in TEST() 101 setlocale(LC_CTYPE, old_locale); in TEST()
|
/external/python/cpython3/Lib/test/ |
D | test__locale.py | 1 from _locale import (setlocale, LC_ALL, LC_CTYPE, LC_NUMERIC, localeconv, Error) 111 setlocale(LC_CTYPE, loc) 127 setlocale(LC_CTYPE, loc) 145 setlocale(LC_CTYPE, loc) 172 setlocale(LC_CTYPE, loc)
|
D | test_locale.py | 511 locale.setlocale(locale.LC_CTYPE) 521 oldlocale = locale.setlocale(locale.LC_CTYPE) 522 self.addCleanup(locale.setlocale, locale.LC_CTYPE, oldlocale) 524 locale.setlocale(locale.LC_CTYPE, 'tr_TR') 528 loc = locale.getlocale(locale.LC_CTYPE) 531 locale.setlocale(locale.LC_CTYPE, loc) 532 self.assertEqual(loc, locale.getlocale(locale.LC_CTYPE))
|
D | test_c_locale_coercion.py | 412 old_loc = locale.setlocale(locale.LC_CTYPE, None) 413 self.addCleanup(locale.setlocale, locale.LC_CTYPE, old_loc) 414 loc = locale.setlocale(locale.LC_CTYPE, "")
|
/external/python/cpython2/Lib/test/ |
D | test_locale.py | 340 locale_type = locale.LC_CTYPE 462 locale.setlocale(locale.LC_CTYPE) 473 self.addCleanup(locale.setlocale, locale.LC_CTYPE, oldlocale) 476 locale.setlocale(locale.LC_CTYPE, loc) 485 locale.setlocale(locale.LC_CTYPE, loc) 498 self.addCleanup(locale.setlocale, locale.LC_CTYPE, oldlocale) 500 user_locale = locale.setlocale(locale.LC_CTYPE, '') 503 user_locale2 = locale.setlocale(locale.LC_CTYPE, unicode_locale)
|
D | test___all__.py | 79 locale_tuple = locale.getlocale(locale.LC_CTYPE) 85 locale.setlocale(locale.LC_CTYPE, locale_tuple)
|
/external/openssh/ |
D | utf8.c | 326 (setlocale(LC_CTYPE, "C.UTF-8") != NULL || in msetlocale() 327 setlocale(LC_CTYPE, "POSIX.UTF-8") != NULL)) in msetlocale() 329 setlocale(LC_CTYPE, "C"); in msetlocale() 333 setlocale(LC_CTYPE, ""); in msetlocale()
|
/external/libcxx/test/std/depr/depr.c.headers/ |
D | locale_h.pass.cpp | 23 #ifndef LC_CTYPE 24 #error LC_CTYPE not defined
|
/external/libcxx/test/std/localization/c.locales/ |
D | clocale.pass.cpp | 25 #ifndef LC_CTYPE 26 #error LC_CTYPE not defined
|
/external/openssh/regress/unittests/utf8/ |
D | tests.c | 60 loc = setlocale(LC_CTYPE, "en_US.UTF-8"); in tests() 82 loc = setlocale(LC_CTYPE, "C"); in tests()
|
/external/python/cpython2/Lib/ |
D | locale.py | 54 LC_CTYPE = 0 variable 548 def getlocale(category=LC_CTYPE): 614 oldloc = setlocale(LC_CTYPE) 616 setlocale(LC_CTYPE, "") 620 setlocale(LC_CTYPE, oldloc)
|
D | re.py | 238 if loc is None or loc == _locale.setlocale(_locale.LC_CTYPE): 258 loc = _locale.setlocale(_locale.LC_CTYPE)
|
/external/python/cpython3/Lib/ |
D | locale.py | 56 LC_CTYPE = 0 variable 571 def getlocale(category=LC_CTYPE): 654 oldloc = setlocale(LC_CTYPE) 656 setlocale(LC_CTYPE, "") 661 setlocale(LC_CTYPE, oldloc)
|
/external/libjpeg-turbo/ |
D | rdjpgcom.c | 228 setlocale(LC_CTYPE, ""); in process_COM() 266 setlocale(LC_CTYPE, "C"); in process_COM()
|
/external/curl/tests/ |
D | testcurl.pl | 189 $ENV{LC_CTYPE}="C" if (($ENV{LC_CTYPE}) && ($ENV{LC_CTYPE} !~ /^C$/));
|
/external/python/cpython3/Modules/ |
D | _localemodule.c | 142 oldloc = setlocale(LC_CTYPE, NULL); in locale_decode_monetary() 164 setlocale(LC_CTYPE, loc); in locale_decode_monetary() 194 setlocale(LC_CTYPE, oldloc); in locale_decode_monetary() 741 PyModule_AddIntMacro(m, LC_CTYPE); in PyInit__locale()
|
/external/libcxx/include/support/xlocale/ |
D | __nop_locale_mgmt.h | 36 #define LC_CTYPE_MASK (1 << LC_CTYPE)
|
/external/python/cpython3/Python/ |
D | pylifecycle.c | 386 const char *ctype_loc = setlocale(LC_CTYPE, NULL); in _Py_LegacyLocaleDetected() 424 const char *ctype_loc = setlocale(LC_CTYPE, NULL); in get_default_standard_stream_error_handler() 480 oldloc = _PyMem_RawStrdup(setlocale(LC_CTYPE, NULL)); in _Py_CoerceLegacyLocale() 490 const char *new_locale = setlocale(LC_CTYPE, in _Py_CoerceLegacyLocale() 500 _Py_SetLocaleFromEnv(LC_CTYPE); in _Py_CoerceLegacyLocale() 512 setlocale(LC_CTYPE, oldloc); in _Py_CoerceLegacyLocale() 846 _Py_SetLocaleFromEnv(LC_CTYPE); in _Py_InitializeCore()
|
/external/e2fsprogs/misc/ |
D | uuidgen.c | 46 setlocale(LC_CTYPE, ""); in main()
|
D | partinfo.c | 37 setlocale(LC_CTYPE, ""); in main()
|
/external/e2fsprogs/lib/ss/ |
D | mk_cmds.sh.in | 10 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
/external/libcxx/include/ |
D | clocale | 21 LC_CTYPE
|
/external/python/cpython2/Modules/ |
D | readline.c | 24 # define RESTORE_LOCALE(sl) { setlocale(LC_CTYPE, sl); free(sl); } 908 char *saved_locale = strdup(setlocale(LC_CTYPE, NULL)); in setup_readline() 1128 char *saved_locale = strdup(setlocale(LC_CTYPE, NULL)); in call_readline() 1131 setlocale(LC_CTYPE, ""); in call_readline()
|
/external/mksh/src/ |
D | var_spec.h | 59 FN(LC_CTYPE)
|