/third_party/boost/libs/math/test/ |
D | test_nonfinite_io.cpp | 69 std::locale old_locale; 70 std::locale tmp_locale(old_locale, 128 std::locale old_locale; 129 std::locale new_locale(old_locale, 149 std::locale old_locale; 150 std::locale tmp_locale(old_locale, new nonfinite_num_put<CharType>); 197 std::locale old_locale; 198 std::locale new_locale(old_locale, 218 std::locale old_locale; 219 std::locale tmp_locale(old_locale, new nonfinite_num_put<CharType>); [all …]
|
D | test_nonfinite_trap.cpp | 63 std::locale old_locale; in trap_test_finite_impl() local 64 std::locale tmp_locale(old_locale, in trap_test_finite_impl() 122 std::locale old_locale; in trap_test_put_inf_impl() local 123 std::locale new_locale(old_locale, in trap_test_put_inf_impl() 143 std::locale old_locale; in trap_test_get_inf_impl() local 144 std::locale tmp_locale(old_locale, new nonfinite_num_put<CharType>); in trap_test_get_inf_impl() 191 std::locale old_locale; in trap_test_put_nan_impl() local 192 std::locale new_locale(old_locale, in trap_test_put_nan_impl() 212 std::locale old_locale; in trap_test_get_nan_impl() local 213 std::locale tmp_locale(old_locale, new nonfinite_num_put<CharType>); in trap_test_get_nan_impl()
|
D | test_basic_nonfinite.cpp | 85 std::locale old_locale; in basic_test_finite_impl() local 86 std::locale tmp_locale(old_locale, new nonfinite_num_put<CharType>); in basic_test_finite_impl() 137 std::locale old_locale; in basic_test_inf_impl() local 138 std::locale tmp_locale(old_locale, new nonfinite_num_put<CharType>); in basic_test_inf_impl() 187 std::locale old_locale; in basic_test_nan_impl() local 188 std::locale tmp_locale(old_locale, new nonfinite_num_put<CharType>); in basic_test_nan_impl() 245 std::locale old_locale; in basic_test_format_impl() local 246 std::locale tmp_locale(old_locale, new nonfinite_num_put<CharType>); in basic_test_format_impl()
|
D | test_legacy_nonfinite.cpp | 75 std::locale old_locale; in legacy_test_inf_impl() local 76 std::locale new_locale(old_locale, new nonfinite_num_get<CharType>(legacy)); in legacy_test_inf_impl() 112 std::locale old_locale; in legacy_test_nan_impl() local 113 std::locale new_locale(old_locale, new nonfinite_num_get<CharType>(legacy)); in legacy_test_nan_impl()
|
D | test_signed_zero.cpp | 73 std::locale old_locale; in signed_zero_test_impl() local 75 old_locale, new nonfinite_num_put<CharType>(signed_zero)); in signed_zero_test_impl() 114 std::locale old_locale;\ 115 std::locale tmp_locale(old_locale, new nonfinite_num_put<char>(0));\ 124 std::locale old_locale;\ 125 std::locale tmp_locale(old_locale, new nonfinite_num_put<char>(signed_zero));\
|
D | test_lexical_cast.cpp | 61 std::locale old_locale; in lexical_cast_test_impl() local 62 std::locale tmp_locale(old_locale, in lexical_cast_test_impl() 117 std::locale::global(old_locale); in lexical_cast_test_impl()
|
/third_party/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()
|
/third_party/libsnd/tests/ |
D | locale_test.c | 135 const char *old_locale ; in locale_test() 143 if ((old_locale = setlocale (LC_CTYPE, utf8_locname)) == NULL) in locale_test() 164 setlocale (LC_CTYPE, old_locale) ; in locale_test()
|
/third_party/musl/src/signal/ |
D | psignal.c | 17 void *old_locale = f->locale; in psignal() local 24 f->locale = old_locale; in psignal()
|
/third_party/musl/porting/liteos_a/kernel/src/stdio/ |
D | perror.c | 15 void *old_locale = f->locale; in perror() local 27 f->locale = old_locale; in perror()
|
/third_party/musl/porting/uniproton/kernel/src/stdio/ |
D | perror.c | 15 void *old_locale = f->locale; in perror() local 27 f->locale = old_locale; in perror()
|
/third_party/musl/src/stdio/ |
D | perror.c | 15 void *old_locale = f->locale; in perror() local 27 f->locale = old_locale; in perror()
|
/third_party/musl/porting/liteos_m/kernel/src/stdio/ |
D | perror.c | 15 void *old_locale = f->locale; in perror() local 27 f->locale = old_locale; in perror()
|
/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()
|
/third_party/skia/third_party/externals/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()
|
/third_party/boost/libs/math/example/ |
D | nonfinite_facet_sstream.cpp | 45 locale old_locale; in main() local 46 locale tmp_locale(old_locale, new nonfinite_num_put<char>); in main()
|
/third_party/boost/libs/multiprecision/example/ |
D | numeric_limits_snips.cpp | 439 std::locale old_locale; in BOOST_AUTO_TEST_CASE() local 440 std::locale tmp_locale(old_locale, new nonfinite_num_put<char>); in BOOST_AUTO_TEST_CASE() 462 std::locale old_locale; in BOOST_AUTO_TEST_CASE() local 463 std::locale tmp_locale(old_locale, new nonfinite_num_put<char>); in BOOST_AUTO_TEST_CASE()
|
/third_party/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()
|
/third_party/python/Lib/test/ |
D | test__locale.py | 36 old_locale = locale.setlocale(locale.LC_ALL) 54 locale.setlocale(locale.LC_ALL, old_locale)
|
/third_party/glib/glib/tests/ |
D | keyfile.c | 714 gchar *old_locale; in test_locale_string() local 741 old_locale = g_strdup (setlocale (LC_ALL, NULL)); in test_locale_string() 757 setlocale (LC_ALL, old_locale); in test_locale_string() 758 g_free (old_locale); in test_locale_string() 766 gchar *old_locale = NULL; in test_locale_string_multiple_loads() local 781 old_locale = g_strdup (setlocale (LC_ALL, NULL)); in test_locale_string_multiple_loads() 799 setlocale (LC_ALL, old_locale); in test_locale_string_multiple_loads() 800 g_free (old_locale); in test_locale_string_multiple_loads()
|
D | option-context.c | 644 char *old_locale, *current_locale; in arg_test5() local 659 old_locale = g_strdup (setlocale (LC_NUMERIC, locale)); in arg_test5() 675 setlocale (LC_NUMERIC, old_locale); in arg_test5() 676 g_free (old_locale); in arg_test5()
|
/third_party/glib/glib/ |
D | gstrfuncs.c | 955 locale_t old_locale; in g_ascii_formatd() local 957 old_locale = uselocale (get_C_locale ()); in g_ascii_formatd() 959 uselocale (old_locale); in g_ascii_formatd()
|