/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/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/cronet/third_party/protobuf/src/google/protobuf/stubs/ |
D | stringprintf_unittest.cc | 96 std::string old_locale = old_locale_c; in TEST() local 119 setlocale(LC_CTYPE, old_locale.c_str()); in TEST() 126 std::string old_locale = old_locale_c; in TEST() local 129 setlocale(LC_CTYPE, old_locale.c_str()); in TEST()
|
D | strutil_unittest.cc | 55 std::string old_locale = old_locale_cstr; in TEST() local 74 setlocale(LC_NUMERIC, old_locale.c_str()); in TEST()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | stringprintf_unittest.cc | 96 std::string old_locale = old_locale_c; in TEST() local 119 setlocale(LC_CTYPE, old_locale.c_str()); in TEST() 126 std::string old_locale = old_locale_c; in TEST() local 129 setlocale(LC_CTYPE, old_locale.c_str()); in TEST()
|
D | strutil_unittest.cc | 55 std::string old_locale = old_locale_cstr; in TEST() local 74 setlocale(LC_NUMERIC, old_locale.c_str()); in TEST()
|
/external/musl/src/signal/ |
D | psignal.c | 17 void *old_locale = f->locale; in psignal() local 24 f->locale = old_locale; in psignal()
|
/external/musl/src/stdio/ |
D | perror.c | 15 void *old_locale = f->locale; in perror() local 27 f->locale = old_locale; in perror()
|
/external/webrtc/third_party/abseil-cpp/absl/strings/ |
D | ascii_test.cc | 131 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST() local 132 ASSERT_TRUE(old_locale != nullptr); in TEST() 154 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST() 161 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST() local 162 ASSERT_TRUE(old_locale != nullptr); in TEST() 183 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST()
|
/external/cronet/third_party/abseil-cpp/absl/strings/ |
D | ascii_test.cc | 132 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST() local 133 ASSERT_TRUE(old_locale != nullptr); in TEST() 155 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST() 162 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST() local 163 ASSERT_TRUE(old_locale != nullptr); in TEST() 184 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST()
|
/external/angle/third_party/abseil-cpp/absl/strings/ |
D | ascii_test.cc | 132 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST() local 133 ASSERT_TRUE(old_locale != nullptr); in TEST() 155 ASSERT_TRUE(setlocale(LC_CTYPE, old_locale)); in TEST() 162 const char* old_locale = setlocale(LC_CTYPE, "C"); in TEST() local 163 ASSERT_TRUE(old_locale != nullptr); in TEST() 184 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/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/tensorflow/third_party/absl/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/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/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/cronet/third_party/icu/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)
|