Home
last modified time | relevance | path

Searched refs:LC_CTYPE (Results 1 – 25 of 175) sorted by relevance

1234567

/external/protobuf/src/google/protobuf/stubs/
Dstringprintf_unittest.cc94 char* old_locale = setlocale(LC_CTYPE, nullptr); 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, nullptr); in TEST()
124 setlocale(LC_CTYPE, "POSIX"); in TEST()
126 setlocale(LC_CTYPE, old_locale); in TEST()
/external/tensorflow/tensorflow/core/platform/
Dstringprintf_test.cc69 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/
Dtest__locale.py1 from _locale import (setlocale, LC_ALL, LC_CTYPE, LC_NUMERIC, localeconv, Error)
115 setlocale(LC_CTYPE, loc)
131 setlocale(LC_CTYPE, loc)
149 setlocale(LC_CTYPE, loc)
176 setlocale(LC_CTYPE, loc)
Dtest_locale.py546 locale.setlocale(locale.LC_CTYPE)
556 oldlocale = locale.setlocale(locale.LC_CTYPE)
557 self.addCleanup(locale.setlocale, locale.LC_CTYPE, oldlocale)
559 locale.setlocale(locale.LC_CTYPE, 'tr_TR')
563 loc = locale.getlocale(locale.LC_CTYPE)
566 locale.setlocale(locale.LC_CTYPE, loc)
567 self.assertEqual(loc, locale.getlocale(locale.LC_CTYPE))
Dtest_c_locale_coercion.py408 old_loc = locale.setlocale(locale.LC_CTYPE, None)
409 self.addCleanup(locale.setlocale, locale.LC_CTYPE, old_loc)
411 loc = locale.setlocale(locale.LC_CTYPE, "")
/external/libcxx/test/std/depr/depr.c.headers/
Dlocale_h.pass.cpp23 #ifndef LC_CTYPE
24 #error LC_CTYPE not defined
/external/llvm-project/libcxx/test/std/depr/depr.c.headers/
Dlocale_h.pass.cpp26 #ifndef LC_CTYPE
27 #error LC_CTYPE not defined
/external/llvm-project/libcxx/test/std/localization/c.locales/
Dclocale.pass.cpp26 #ifndef LC_CTYPE
27 #error LC_CTYPE not defined
/external/libcxx/test/std/localization/c.locales/
Dclocale.pass.cpp25 #ifndef LC_CTYPE
26 #error LC_CTYPE not defined
/external/python/cpython2/Lib/test/
Dtest_locale.py340 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)
Dtest___all__.py79 locale_tuple = locale.getlocale(locale.LC_CTYPE)
85 locale.setlocale(locale.LC_CTYPE, locale_tuple)
/external/openssh/
Dutf8.c347 (setlocale(LC_CTYPE, "C.UTF-8") != NULL || in msetlocale()
348 setlocale(LC_CTYPE, "POSIX.UTF-8") != NULL)) in msetlocale()
350 setlocale(LC_CTYPE, "C"); in msetlocale()
354 setlocale(LC_CTYPE, ""); in msetlocale()
/external/openssh/regress/unittests/utf8/
Dtests.c62 loc = setlocale(LC_CTYPE, "en_US.UTF-8"); in tests()
84 loc = setlocale(LC_CTYPE, "C"); in tests()
/external/python/cpython2/Lib/
Dlocale.py54 LC_CTYPE = 0 variable
548 def getlocale(category=LC_CTYPE):
614 oldloc = setlocale(LC_CTYPE)
616 setlocale(LC_CTYPE, "")
620 setlocale(LC_CTYPE, oldloc)
/external/python/cpython3/Lib/
Dlocale.py56 LC_CTYPE = 0 variable
577 def getlocale(category=LC_CTYPE):
660 oldloc = setlocale(LC_CTYPE)
662 setlocale(LC_CTYPE, "")
667 setlocale(LC_CTYPE, oldloc)
/external/libxkbcommon/scripts/
Dupdate-keysyms4 export LC_CTYPE=C
/external/angle/third_party/abseil-cpp/absl/strings/
Dascii_test.cc135 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST()
157 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST()
164 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST()
191 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST()
/external/openscreen/third_party/abseil/src/absl/strings/
Dascii_test.cc135 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST()
157 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST()
164 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST()
191 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST()
/external/libtextclassifier/abseil-cpp/absl/strings/
Dascii_test.cc135 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST()
157 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST()
164 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST()
191 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST()
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dascii_test.cc135 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST()
157 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST()
164 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST()
191 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dascii_test.cc135 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST()
157 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST()
164 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST()
191 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST()
/external/abseil-cpp/absl/strings/
Dascii_test.cc135 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST()
157 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST()
164 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST()
191 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST()
/external/python/cpython3/Python/
Dpreconfig.c640 const char *ctype_loc = setlocale(LC_CTYPE, NULL); in preconfig_init_utf8_mode()
794 const char *loc = setlocale(LC_CTYPE, NULL); in _PyPreConfig_Read()
813 _Py_SetLocaleFromEnv(LC_CTYPE); in _PyPreConfig_Read()
903 setlocale(LC_CTYPE, init_ctype_locale); in _PyPreConfig_Read()
961 _Py_SetLocaleFromEnv(LC_CTYPE); in _PyPreConfig_Write()
/external/libcxx/include/support/xlocale/
D__nop_locale_mgmt.h36 #define LC_CTYPE_MASK (1 << LC_CTYPE)
/external/llvm-project/libcxx/include/support/xlocale/
D__nop_locale_mgmt.h35 #define LC_CTYPE_MASK (1 << LC_CTYPE)

1234567