/external/libiio/src/ |
D | utilities.c | 40 char *end, *old_locale; in read_double_locale() local 46 old_locale = iio_strdup(setlocale(LC_NUMERIC, NULL)); in read_double_locale() 47 if (!old_locale) in read_double_locale() 52 setlocale(LC_NUMERIC, old_locale); in read_double_locale() 53 free(old_locale); in read_double_locale() 65 char *old_locale = iio_strdup(setlocale(LC_NUMERIC, NULL)); in write_double_locale() local 66 if (!old_locale) in write_double_locale() 71 setlocale(LC_NUMERIC, old_locale); in write_double_locale() 72 free(old_locale); in write_double_locale() 109 locale_t old_locale, new_locale; in read_double_locale() local [all …]
|
/external/protobuf/src/google/protobuf/stubs/ |
D | stringprintf_unittest.cc | 94 char* old_locale = setlocale(LC_CTYPE, nullptr); in TEST() local 118 setlocale(LC_CTYPE, old_locale); in TEST() 123 char* old_locale = setlocale(LC_CTYPE, nullptr); in TEST() local 126 setlocale(LC_CTYPE, old_locale); in TEST()
|
D | strutil_unittest.cc | 55 string old_locale = old_locale_cstr; in TEST() local 74 setlocale(LC_NUMERIC, old_locale.c_str()); in TEST()
|
/external/tensorflow/tensorflow/core/platform/ |
D | stringprintf_test.cc | 69 char* old_locale = setlocale(LC_CTYPE, nullptr); in TEST() local 93 setlocale(LC_CTYPE, old_locale); in TEST() 98 char* old_locale = setlocale(LC_CTYPE, nullptr); in TEST() local 101 setlocale(LC_CTYPE, old_locale); in TEST()
|
/external/angle/third_party/abseil-cpp/absl/strings/ |
D | ascii_test.cc | 135 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST() local 136 ASSERT_TRUE(old_locale != nullptr); in TEST() 157 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST() 164 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST() local 165 ASSERT_TRUE(old_locale != nullptr); in TEST() 191 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST()
|
/external/openscreen/third_party/abseil/src/absl/strings/ |
D | ascii_test.cc | 135 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST() local 136 ASSERT_TRUE(old_locale != nullptr); in TEST() 157 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST() 164 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST() local 165 ASSERT_TRUE(old_locale != nullptr); in TEST() 191 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST()
|
/external/libtextclassifier/abseil-cpp/absl/strings/ |
D | ascii_test.cc | 135 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST() local 136 ASSERT_TRUE(old_locale != nullptr); in TEST() 157 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST() 164 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST() local 165 ASSERT_TRUE(old_locale != nullptr); in TEST() 191 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST()
|
/external/webrtc/third_party/abseil-cpp/absl/strings/ |
D | ascii_test.cc | 135 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST() local 136 ASSERT_TRUE(old_locale != nullptr); in TEST() 157 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST() 164 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST() local 165 ASSERT_TRUE(old_locale != nullptr); in TEST() 191 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/ |
D | ascii_test.cc | 135 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST() local 136 ASSERT_TRUE(old_locale != nullptr); in TEST() 157 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST() 164 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST() local 165 ASSERT_TRUE(old_locale != nullptr); in TEST() 191 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST()
|
/external/abseil-cpp/absl/strings/ |
D | ascii_test.cc | 135 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST() local 136 ASSERT_TRUE(old_locale != nullptr); in TEST() 157 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST() 164 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST() local 165 ASSERT_TRUE(old_locale != nullptr); in TEST() 191 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST()
|
/external/libiio/src/examples/ |
D | iio-monitor.c | 65 char *old_locale; in get_channel_value() local 69 old_locale = strdup(setlocale(LC_NUMERIC, NULL)); in get_channel_value() 90 setlocale(LC_NUMERIC, old_locale); in get_channel_value() 91 free(old_locale); in get_channel_value()
|
/external/icu/icu4c/source/test/intltest/ |
D | winnmtst.cpp | 322 char *old_locale = strdup(setlocale(LC_ALL, NULL)); in testLocales() 329 setlocale(LC_ALL, old_locale); in testLocales() 331 free(old_locale); in testLocales()
|
/external/python/cpython3/Lib/test/ |
D | test__locale.py | 36 old_locale = locale.setlocale(locale.LC_ALL) 54 locale.setlocale(locale.LC_ALL, old_locale)
|