Home
last modified time | relevance | path

Searched refs:newLocale (Results 1 - 20 of 20) sorted by relevance

/third_party/musl/libc-test/src/functionalext/supplement/locale/
H A Duselocale_sup.c51 locale_t newLocale = newlocale(LC_PAPER_MASK, "en_ZA", NULL); in uselocale_0200() local
52 if (newLocale) { in uselocale_0200()
53 EXPECT_PTREQ("uselocale_0200", newLocale, NULL); in uselocale_0200()
54 freelocale(newLocale); in uselocale_0200()
55 newLocale = NULL; in uselocale_0200()
58 newLocale = newlocale(LC_PAPER_MASK, "C.UTF-8", NULL); in uselocale_0200()
59 locale_t usenow = uselocale(newLocale); in uselocale_0200()
62 EXPECT_PTREQ("uselocale_0200", it, newLocale); in uselocale_0200()
64 if (newLocale) { in uselocale_0200()
65 freelocale(newLocale); in uselocale_0200()
[all...]
/third_party/musl/libc-test/src/functionalext/locale/
H A Duselocale.c51 locale_t newLocale = newlocale(LC_PAPER_MASK, "en_ZA", NULL); in uselocale_0200() local
52 if (newLocale) { in uselocale_0200()
53 EXPECT_PTREQ("uselocale_0200", newLocale, NULL); in uselocale_0200()
54 freelocale(newLocale); in uselocale_0200()
55 newLocale = NULL; in uselocale_0200()
58 newLocale = newlocale(LC_PAPER_MASK, "C.UTF-8", NULL); in uselocale_0200()
59 locale_t usenow = uselocale(newLocale); in uselocale_0200()
62 EXPECT_PTREQ("uselocale_0200", it, newLocale); in uselocale_0200()
64 if (newLocale) { in uselocale_0200()
65 freelocale(newLocale); in uselocale_0200()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/locale/locale_gtest/
H A Dlocale_uselocale_test.cpp20 locale_t newLocale = newlocale(LC_ALL, "C", nullptr); in HWTEST_F() local
21 ASSERT_NE(newLocale, nullptr); in HWTEST_F()
22 ASSERT_NE(newLocale, initialLocale); in HWTEST_F()
23 locale_t previousLocale = uselocale(newLocale); in HWTEST_F()
26 ASSERT_EQ(newLocale, uselocale(nullptr)); in HWTEST_F()
/third_party/musl/Benchmark/musl/
H A Dlibc_locale.cpp106 locale_t newLocale = newlocale(LC_ALL_MASK, "zh_CN.UTF-8", nullptr); in Bm_function_Uselocale() local
108 oldLocale = uselocale(newLocale); in Bm_function_Uselocale()
109 newLocale = uselocale(oldLocale); in Bm_function_Uselocale()
/third_party/lzma/CPP/Common/
H A DStringConvert.cpp674 const char *newLocale = ""; in MY_SetLocale() local
683 newLocale = "en_US.UTF-8"; in MY_SetLocale()
689 // newLocale = "C"; in MY_SetLocale()
692 newLocale = "C.UTF-8"; // main UTF-8 locale in ubuntu in MY_SetLocale()
693 // newLocale = ".utf8"; // supported in new Windows 10 build 17134 (April 2018 Update), the Universal C Runtime in MY_SetLocale()
694 // newLocale = "en_US.utf8"; // supported by ubuntu ? in MY_SetLocale()
695 // newLocale = "en_US.UTF-8"; in MY_SetLocale()
702 // printf("\nsetlocale(LC_ALL, \"%s\") : returned: ", newLocale); in MY_SetLocale()
705 setlocale(LC_ALL, newLocale); in MY_SetLocale()
/third_party/icu/icu4c/source/i18n/unicode/
H A Dmsgfmt.h378 * @param newLocale The locale to use for formatting dates and numbers.
384 const Locale& newLocale,
389 * @param newLocale The locale to use for formatting dates and numbers.
397 const Locale& newLocale,
/third_party/node/deps/icu-small/source/i18n/unicode/
H A Dmsgfmt.h378 * @param newLocale The locale to use for formatting dates and numbers.
384 const Locale& newLocale,
389 * @param newLocale The locale to use for formatting dates and numbers.
397 const Locale& newLocale,
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
H A Dmsgfmt.h378 * @param newLocale The locale to use for formatting dates and numbers.
384 const Locale& newLocale,
389 * @param newLocale The locale to use for formatting dates and numbers.
397 const Locale& newLocale,
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DULocale.java589 * @param newLocale the new default locale
592 * @throws NullPointerException if <code>newLocale</code> is null
598 public static synchronized void setDefault(ULocale newLocale){ in setDefault() argument
599 defaultLocale = newLocale.toLocale(); in setDefault()
601 defaultULocale = newLocale; in setDefault()
604 setDefault(cat, newLocale); in setDefault()
669 * @param newLocale the new default locale
674 public static synchronized void setDefault(Category category, ULocale newLocale) { in setDefault() argument
675 Locale newJavaDefault = newLocale.toLocale(); in setDefault()
677 defaultCategoryULocales[idx] = newLocale; in setDefault()
3986 setDefault(Category category, Locale newLocale) setDefault() argument
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DULocale.java622 * @param newLocale the new default locale
625 * @throws NullPointerException if <code>newLocale</code> is null
631 public static synchronized void setDefault(ULocale newLocale){ in setDefault() argument
632 defaultLocale = newLocale.toLocale(); in setDefault()
634 defaultULocale = newLocale; in setDefault()
637 setDefault(cat, newLocale); in setDefault()
703 * @param newLocale the new default locale
708 public static synchronized void setDefault(Category category, ULocale newLocale) { in setDefault() argument
709 Locale newJavaDefault = newLocale.toLocale(); in setDefault()
711 defaultCategoryULocales[idx] = newLocale; in setDefault()
4529 setDefault(Category category, Locale newLocale) setDefault() argument
[all...]
/third_party/icu/icu4c/source/common/unicode/
H A Dlocid.h381 * @param newLocale Locale to set to. If NULL, set to the value obtained
387 static void U_EXPORT2 setDefault(const Locale& newLocale,
/third_party/node/deps/icu-small/source/common/unicode/
H A Dlocid.h381 * @param newLocale Locale to set to. If nullptr, set to the value obtained
387 static void U_EXPORT2 setDefault(const Locale& newLocale,
/third_party/skia/third_party/externals/icu/source/common/unicode/
H A Dlocid.h381 * @param newLocale Locale to set to. If NULL, set to the value obtained
387 static void U_EXPORT2 setDefault(const Locale& newLocale,
/third_party/icu/icu4c/source/i18n/
H A Dmsgfmt.cpp255 const Locale& newLocale, in MessageFormat()
257 : fLocale(newLocale), in MessageFormat()
277 const Locale& newLocale, in MessageFormat()
280 : fLocale(newLocale), in MessageFormat()
254 MessageFormat(const UnicodeString& pattern, const Locale& newLocale, UErrorCode& success) MessageFormat() argument
276 MessageFormat(const UnicodeString& pattern, const Locale& newLocale, UParseError& parseError, UErrorCode& success) MessageFormat() argument
/third_party/node/deps/icu-small/source/i18n/
H A Dmsgfmt.cpp255 const Locale& newLocale, in MessageFormat()
257 : fLocale(newLocale), in MessageFormat()
277 const Locale& newLocale, in MessageFormat()
280 : fLocale(newLocale), in MessageFormat()
254 MessageFormat(const UnicodeString& pattern, const Locale& newLocale, UErrorCode& success) MessageFormat() argument
276 MessageFormat(const UnicodeString& pattern, const Locale& newLocale, UParseError& parseError, UErrorCode& success) MessageFormat() argument
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dmsgfmt.cpp255 const Locale& newLocale, in MessageFormat()
257 : fLocale(newLocale), in MessageFormat()
277 const Locale& newLocale, in MessageFormat()
280 : fLocale(newLocale), in MessageFormat()
254 MessageFormat(const UnicodeString& pattern, const Locale& newLocale, UErrorCode& success) MessageFormat() argument
276 MessageFormat(const UnicodeString& pattern, const Locale& newLocale, UParseError& parseError, UErrorCode& success) MessageFormat() argument
/third_party/icu/icu4c/source/common/
H A Dlocid.cpp2044 Locale::setDefault( const Locale& newLocale,
2054 const char *localeID = newLocale.getName();
/third_party/node/deps/icu-small/source/common/
H A Dlocid.cpp2057 Locale::setDefault( const Locale& newLocale,
2067 const char *localeID = newLocale.getName();
/third_party/skia/third_party/externals/icu/source/common/
H A Dlocid.cpp2082 Locale::setDefault( const Locale& newLocale,
2092 const char *localeID = newLocale.getName();
/third_party/skia/third_party/externals/sfntly/java/lib/
H A Dicu4j-4_8_1_1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ibm/icu/ com/ibm/icu/impl/ ...

Completed in 34 milliseconds