Home
last modified time | relevance | path

Searched refs:locale (Results 1 - 25 of 1663) sorted by relevance

12345678910>>...67

/third_party/python/Lib/test/
H A Dtest_locale.py5 import locale namespace
12 # Base class for tests using a real locale
21 # The locale test work fine on OSX 10.6, I (ronaldoussoren)
31 oldlocale = locale.setlocale(locale.LC_NUMERIC)
34 locale.setlocale(locale.LC_NUMERIC, tloc)
35 except locale.Error:
39 raise unittest.SkipTest("Test locale not supported "
43 locale
[all...]
/third_party/python/Tools/i18n/
H A Dmakelocalealias.py3 Convert the X11 locale.alias file into a mapping dictionary suitable
4 for locale.py.
9 import locale namespace
11 _locale = locale
14 LOCALE_ALIAS = '/usr/share/X11/locale/locale.alias'
22 # Remove mojibake in /usr/share/X11/locale/locale.alias.
32 locale, alias = line.split()
33 # Fix non-standard locale name
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
H A DLocaleDataTest.java52 ULocale locale = availableLocales[i]; in TestPaperSize()
53 LocaleData.PaperSize paperSize = LocaleData.getPaperSize(locale); in TestPaperSize()
55 String lang = locale.getLanguage(); in TestPaperSize()
59 ULocale fullLoc = ULocale.addLikelySubtags(locale); in TestPaperSize()
68 errln("PaperSize did not return the expected value for locale "+ locale+ in TestPaperSize()
73 logln("PaperSize returned the expected values for locale " + locale); in TestPaperSize()
77 errln("PaperSize did not return the expected value for locale "+ locale in TestPaperSize()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DLocaleDataTest.java49 ULocale locale = availableLocales[i]; in TestPaperSize()
50 LocaleData.PaperSize paperSize = LocaleData.getPaperSize(locale); in TestPaperSize()
52 String lang = locale.getLanguage(); in TestPaperSize()
56 ULocale fullLoc = ULocale.addLikelySubtags(locale); in TestPaperSize()
65 errln("PaperSize did not return the expected value for locale "+ locale+ in TestPaperSize()
70 logln("PaperSize returned the expected values for locale " + locale); in TestPaperSize()
74 errln("PaperSize did not return the expected value for locale "+ locale in TestPaperSize()
[all...]
/third_party/node/deps/v8/src/objects/
H A Djs-locale.h28 #include "torque-generated/src/objects/js-locale-tq.inc"
32 // Creates locale object with properties derived from input locale string
35 Handle<String> locale,
39 Handle<JSLocale> locale);
41 Handle<JSLocale> locale);
44 Isolate* isolate, Handle<JSLocale> locale);
46 Isolate* isolate, Handle<JSLocale> locale);
48 Isolate* isolate, Handle<JSLocale> locale);
50 Isolate* isolate, Handle<JSLocale> locale);
[all...]
H A Djs-locale.cc9 #include "src/objects/js-locale.h"
20 #include "src/objects/js-locale-inl.h"
47 // Inserts tags from options into locale string.
74 ? GetBoolOption(isolate, options, option_to_bcp47.name, "locale", in InsertOptionsIntoLocale()
77 *(option_to_bcp47.possible_values), "locale", in InsertOptionsIntoLocale()
91 // Overwrite existing, or insert new key-value to the locale string. in InsertOptionsIntoLocale()
101 Handle<Object> UnicodeKeywordValue(Isolate* isolate, Handle<JSLocale> locale, in UnicodeKeywordValue() argument
103 icu::Locale* icu_locale = locale->icu_locale().raw(); in UnicodeKeywordValue()
373 // 31. Set locale.[[Locale]] to r.[[locale]]
[all...]
/third_party/icu/tools/colprobe/
H A DdoComparisonTable.pl12 my $locale = $ARGV[0];
15 my $long_name = `/home/weiv/src/icu/source/extra/colprobe/longname $locale`;
17 my $pageTitle = $locale." collation";
18 my $filename = $locale.".html";
41 <p><b><font color="#FF0000">Collation:</font> $locale ($long_name) <a href="http://oss.software.ibm.com/cgi-bin/icu/lx/en/?_=$locale">Demo</a>,
51 my $nameCommon = $dirCommon."/".$locale."_collation.html";
54 my $loc = $locale;
57 $locale =~ /_/;
71 my $refLinux = $dirLinux."/".$locale
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
H A DExhaustiveNumberTest.java58 for (ULocale locale : ULocale.getAvailableLocales()) { in testSetCoverage()
59 DecimalFormatSymbols dfs = DecimalFormatSymbols.getInstance(locale); in testSetCoverage()
61 if (!locale.getBaseName().startsWith("ks_Deva") || !logKnownIssue("22099", "locale-specific parse sets not supported")) { in testSetCoverage()
62 assertInSet(locale, decimals, dfs.getDecimalSeparatorString()); in testSetCoverage()
64 assertInSet(locale, grouping, dfs.getGroupingSeparatorString()); in testSetCoverage()
65 assertInSet(locale, plusSign, dfs.getPlusSignString()); in testSetCoverage()
66 assertInSet(locale, minusSign, dfs.getMinusSignString()); in testSetCoverage()
67 assertInSet(locale, percent, dfs.getPercentString()); in testSetCoverage()
68 assertInSet(locale, permill in testSetCoverage()
73 assertInSet(ULocale locale, UnicodeSet set, String str) assertInSet() argument
81 assertInSet(ULocale locale, UnicodeSet set, int cp) assertInSet() argument
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DTimeUnitFormat.java46 * // set the locale of time unit format
90 private ULocale locale; field in TimeUnitFormat
117 * @param locale locale of this time unit formatter.
121 public TimeUnitFormat(ULocale locale) { in TimeUnitFormat() argument
122 this(locale, FULL_NAME); in TimeUnitFormat()
127 * @param locale locale of this time unit formatter.
131 public TimeUnitFormat(Locale locale) { in TimeUnitFormat() argument
132 this(locale, FULL_NAM in TimeUnitFormat()
144 TimeUnitFormat(ULocale locale, int style) TimeUnitFormat() argument
154 TimeUnitFormat(ULocale locale, int style, NumberFormat numberFormat) TimeUnitFormat() argument
166 TimeUnitFormat(Locale locale, int style) TimeUnitFormat() argument
177 setLocale(ULocale locale) setLocale() argument
190 setLocale(Locale locale) setLocale() argument
357 ULocale locale; global() field in TimeUnitFormat.TimeUnitFormatSetupSink
360 TimeUnitFormatSetupSink(Map<TimeUnit, Map<String, Object[]>> timeUnitToCountToPatterns, int style, Set<String> pluralKeywords, ULocale locale) TimeUnitFormatSetupSink() argument
[all...]
H A DCaseMap.java30 private static int getCaseLocale(Locale locale) { in getCaseLocale() argument
31 if (locale == null) { in getCaseLocale()
32 locale = Locale.getDefault(); in getCaseLocale()
34 return UCaseProps.getCaseLocale(locale); in getCaseLocale()
89 * Casing is locale-dependent and context-sensitive.
92 * @param locale The locale ID. Can be null for {@link Locale#getDefault}.
100 public String apply(Locale locale, CharSequence src) { in apply() argument
101 return CaseMapImpl.toLower(getCaseLocale(locale), internalOptions, src); in apply()
106 * Casing is locale
121 apply( Locale locale, CharSequence src, A dest, Edits edits) apply() argument
160 apply(Locale locale, CharSequence src) apply() argument
181 apply( Locale locale, CharSequence src, A dest, Edits edits) apply() argument
328 apply(Locale locale, BreakIterator iter, CharSequence src) apply() argument
363 apply( Locale locale, BreakIterator iter, CharSequence src, A dest, Edits edits) apply() argument
[all...]
H A DLocaleDisplayNames.java38 * Use standard names when generating a locale name,
44 * Use dialect names when generating a locale name,
55 * @param locale the display locale
59 public static LocaleDisplayNames getInstance(ULocale locale) { in getInstance() argument
60 return getInstance(locale, DialectHandling.STANDARD_NAMES); in getInstance()
66 * @param locale the display {@link java.util.Locale}
70 public static LocaleDisplayNames getInstance(Locale locale) { in getInstance() argument
71 return getInstance(ULocale.forLocale(locale)); in getInstance()
75 * Returns an instance of LocaleDisplayNames that returns names formatted for the provided locale,
82 getInstance(ULocale locale, DialectHandling dialectHandling) getInstance() argument
109 getInstance(ULocale locale, DisplayContext... contexts) getInstance() argument
136 getInstance(Locale locale, DisplayContext... contexts) getInstance() argument
175 localeDisplayName(ULocale locale) localeDisplayName() argument
187 localeDisplayName(Locale locale) localeDisplayName() argument
453 private ULocale locale; global() field in LocaleDisplayNames.LastResortLocaleDisplayNames
456 LastResortLocaleDisplayNames(ULocale locale, DialectHandling dialectHandling) LastResortLocaleDisplayNames() argument
463 LastResortLocaleDisplayNames(ULocale locale, DisplayContext... contexts) LastResortLocaleDisplayNames() argument
501 localeDisplayName(ULocale locale) localeDisplayName() argument
506 localeDisplayName(Locale locale) localeDisplayName() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DTimeUnitFormat.java47 * // set the locale of time unit format
92 private ULocale locale; field in TimeUnitFormat
119 * @param locale locale of this time unit formatter.
123 public TimeUnitFormat(ULocale locale) { in TimeUnitFormat() argument
124 this(locale, FULL_NAME); in TimeUnitFormat()
129 * @param locale locale of this time unit formatter.
133 public TimeUnitFormat(Locale locale) { in TimeUnitFormat() argument
134 this(locale, FULL_NAM in TimeUnitFormat()
146 TimeUnitFormat(ULocale locale, int style) TimeUnitFormat() argument
156 TimeUnitFormat(ULocale locale, int style, NumberFormat numberFormat) TimeUnitFormat() argument
168 TimeUnitFormat(Locale locale, int style) TimeUnitFormat() argument
179 setLocale(ULocale locale) setLocale() argument
192 setLocale(Locale locale) setLocale() argument
359 ULocale locale; global() field in TimeUnitFormat.TimeUnitFormatSetupSink
362 TimeUnitFormatSetupSink(Map<TimeUnit, Map<String, Object[]>> timeUnitToCountToPatterns, int style, Set<String> pluralKeywords, ULocale locale) TimeUnitFormatSetupSink() argument
[all...]
H A DCaseMap.java30 private static int getCaseLocale(Locale locale) { in getCaseLocale() argument
31 if (locale == null) { in getCaseLocale()
32 locale = Locale.getDefault(); in getCaseLocale()
34 return UCaseProps.getCaseLocale(locale); in getCaseLocale()
82 * Casing is locale-dependent and context-sensitive.
85 * @param locale The locale ID. Can be null for {@link Locale#getDefault}.
92 public String apply(Locale locale, CharSequence src) { in apply() argument
93 return CaseMapImpl.toLower(getCaseLocale(locale), internalOptions, src); in apply()
98 * Casing is locale
112 apply( Locale locale, CharSequence src, A dest, Edits edits) apply() argument
148 apply(Locale locale, CharSequence src) apply() argument
168 apply( Locale locale, CharSequence src, A dest, Edits edits) apply() argument
307 apply(Locale locale, BreakIterator iter, CharSequence src) apply() argument
341 apply( Locale locale, BreakIterator iter, CharSequence src, A dest, Edits edits) apply() argument
[all...]
H A DLocaleDisplayNames.java37 * Use standard names when generating a locale name,
42 * Use dialect names when generating a locale name,
52 * @param locale the display locale
55 public static LocaleDisplayNames getInstance(ULocale locale) { in getInstance() argument
56 return getInstance(locale, DialectHandling.STANDARD_NAMES); in getInstance()
62 * @param locale the display {@link java.util.Locale}
65 public static LocaleDisplayNames getInstance(Locale locale) { in getInstance() argument
66 return getInstance(ULocale.forLocale(locale)); in getInstance()
70 * Returns an instance of LocaleDisplayNames that returns names formatted for the provided locale,
76 getInstance(ULocale locale, DialectHandling dialectHandling) getInstance() argument
102 getInstance(ULocale locale, DisplayContext... contexts) getInstance() argument
128 getInstance(Locale locale, DisplayContext... contexts) getInstance() argument
163 localeDisplayName(ULocale locale) localeDisplayName() argument
174 localeDisplayName(Locale locale) localeDisplayName() argument
419 private ULocale locale; global() field in LocaleDisplayNames.LastResortLocaleDisplayNames
422 LastResortLocaleDisplayNames(ULocale locale, DialectHandling dialectHandling) LastResortLocaleDisplayNames() argument
429 LastResortLocaleDisplayNames(ULocale locale, DisplayContext... contexts) LastResortLocaleDisplayNames() argument
467 localeDisplayName(ULocale locale) localeDisplayName() argument
472 localeDisplayName(Locale locale) localeDisplayName() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
H A DExhaustiveNumberTest.java61 for (ULocale locale : ULocale.getAvailableLocales()) { in testSetCoverage()
62 DecimalFormatSymbols dfs = DecimalFormatSymbols.getInstance(locale); in testSetCoverage()
64 assertInSet(locale, decimals, dfs.getDecimalSeparatorString()); in testSetCoverage()
65 assertInSet(locale, grouping, dfs.getGroupingSeparatorString()); in testSetCoverage()
66 assertInSet(locale, plusSign, dfs.getPlusSignString()); in testSetCoverage()
67 assertInSet(locale, minusSign, dfs.getMinusSignString()); in testSetCoverage()
68 assertInSet(locale, percent, dfs.getPercentString()); in testSetCoverage()
69 assertInSet(locale, permille, dfs.getPerMillString()); in testSetCoverage()
70 assertInSet(locale, infinity, dfs.getInfinity()); in testSetCoverage()
74 static void assertInSet(ULocale locale, UnicodeSe argument
82 assertInSet(ULocale locale, UnicodeSet set, int cp) assertInSet() argument
[all...]
/third_party/icu/icu4c/source/test/perf/DateFmtPerf/
H A DDateFmtPerf.cpp24 if (locale == NULL){ in DateFormatPerfTest()
25 locale = "en_US"; // set default locale in DateFormatPerfTest()
74 DateFmtFunction* func= new DateFmtFunction(1, locale); in DateFmt250()
79 DateFmtFunction* func= new DateFmtFunction(40, locale); in DateFmt10000()
84 DateFmtFunction* func= new DateFmtFunction(400, locale); in DateFmt100000()
109 NumFmtFunction* func= new NumFmtFunction(10000, locale); in NumFmt10000()
114 NumFmtFunction* func= new NumFmtFunction(100000, locale); in NumFmt100000()
119 CollationFunction* func= new CollationFunction(40, locale); in Collation10000()
124 CollationFunction* func= new CollationFunction(400, locale); in Collation100000()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DLocaleDisplayNamesImpl.java25 import com.ibm.icu.impl.locale.AsciiUtil;
37 private final ULocale locale; field in LocaleDisplayNamesImpl
57 * Capitalization context usage types for locale display names
93 private static String toTitleWholeStringNoLowercase(ULocale locale, String s) { in toTitleWholeStringNoLowercase() argument
94 return TO_TITLE_WHOLE_STRING_NO_LOWERCASE.apply(locale.toLocale(), null, s); in toTitleWholeStringNoLowercase()
97 public static LocaleDisplayNames getInstance(ULocale locale, DialectHandling dialectHandling) { in getInstance() argument
99 return cache.get(locale, dialectHandling); in getInstance()
103 public static LocaleDisplayNames getInstance(ULocale locale, DisplayContext... contexts) { in getInstance() argument
105 return cache.get(locale, contexts); in getInstance()
133 public LocaleDisplayNamesImpl(ULocale locale, DialectHandlin argument
138 LocaleDisplayNamesImpl(ULocale locale, DisplayContext... contexts) LocaleDisplayNamesImpl() argument
283 localeDisplayName(ULocale locale) localeDisplayName() argument
288 localeDisplayName(Locale locale) localeDisplayName() argument
298 localeDisplayNameInternal(ULocale locale) localeDisplayNameInternal() argument
672 ICUDataTable(String path, ULocale locale, boolean nullIfNotFound) ICUDataTable() argument
691 get(ULocale locale, boolean nullIfNotFound) get() argument
714 get(ULocale locale, boolean nullIfNotFound) get() argument
750 private ULocale locale; global() field in LocaleDisplayNamesImpl.Cache
756 get(ULocale locale, DialectHandling dialectHandling) get() argument
769 get(ULocale locale, DisplayContext... contexts) get() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DLocaleDisplayNamesImpl.java26 import ohos.global.icu.impl.locale.AsciiUtil;
41 private final ULocale locale; field in LocaleDisplayNamesImpl
61 * Capitalization context usage types for locale display names
97 private static String toTitleWholeStringNoLowercase(ULocale locale, String s) { in toTitleWholeStringNoLowercase() argument
98 return TO_TITLE_WHOLE_STRING_NO_LOWERCASE.apply(locale.toLocale(), null, s); in toTitleWholeStringNoLowercase()
101 public static LocaleDisplayNames getInstance(ULocale locale, DialectHandling dialectHandling) { in getInstance() argument
103 return cache.get(locale, dialectHandling); in getInstance()
107 public static LocaleDisplayNames getInstance(ULocale locale, DisplayContext... contexts) { in getInstance() argument
109 return cache.get(locale, contexts); in getInstance()
137 public LocaleDisplayNamesImpl(ULocale locale, DialectHandlin argument
142 LocaleDisplayNamesImpl(ULocale locale, DisplayContext... contexts) LocaleDisplayNamesImpl() argument
287 localeDisplayName(ULocale locale) localeDisplayName() argument
292 localeDisplayName(Locale locale) localeDisplayName() argument
302 localeDisplayNameInternal(ULocale locale) localeDisplayNameInternal() argument
650 ICUDataTable(String path, ULocale locale, boolean nullIfNotFound) ICUDataTable() argument
669 get(ULocale locale, boolean nullIfNotFound) get() argument
692 get(ULocale locale, boolean nullIfNotFound) get() argument
731 private ULocale locale; global() field in LocaleDisplayNamesImpl.Cache
737 get(ULocale locale, DialectHandling dialectHandling) get() argument
750 get(ULocale locale, DisplayContext... contexts) get() argument
[all...]
/third_party/icu/icu4c/source/common/
H A Dustrcase_locale.cpp31 ustrcase_getCaseLocale(const char *locale) { in ustrcase_getCaseLocale() argument
32 if (locale == NULL) { in ustrcase_getCaseLocale()
33 locale = uloc_getDefault(); in ustrcase_getCaseLocale()
35 if (*locale == 0) { in ustrcase_getCaseLocale()
38 return ucase_getCaseLocale(locale); in ustrcase_getCaseLocale()
47 const char *locale, in u_strToLower()
50 ustrcase_getCaseLocale(locale), 0, UCASEMAP_BREAK_ITERATOR_NULL in u_strToLower()
59 const char *locale, in u_strToUpper()
62 ustrcase_getCaseLocale(locale), 0, UCASEMAP_BREAK_ITERATOR_NULL in u_strToUpper()
71 const char *locale, uint32_ in toLower()
45 u_strToLower(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) u_strToLower() argument
57 u_strToUpper(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) u_strToUpper() argument
70 toLower( const char *locale, uint32_t options, const UChar *src, int32_t srcLength, UChar *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) toLower() argument
82 toUpper( const char *locale, uint32_t options, const UChar *src, int32_t srcLength, UChar *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) toUpper() argument
[all...]
/third_party/node/deps/icu-small/source/common/
H A Dustrcase_locale.cpp31 ustrcase_getCaseLocale(const char *locale) { in ustrcase_getCaseLocale() argument
32 if (locale == nullptr) { in ustrcase_getCaseLocale()
33 locale = uloc_getDefault(); in ustrcase_getCaseLocale()
35 if (*locale == 0) { in ustrcase_getCaseLocale()
38 return ucase_getCaseLocale(locale); in ustrcase_getCaseLocale()
47 const char *locale, in u_strToLower()
50 ustrcase_getCaseLocale(locale), 0, UCASEMAP_BREAK_ITERATOR_NULL in u_strToLower()
59 const char *locale, in u_strToUpper()
62 ustrcase_getCaseLocale(locale), 0, UCASEMAP_BREAK_ITERATOR_NULL in u_strToUpper()
71 const char *locale, uint32_ in toLower()
45 u_strToLower(char16_t *dest, int32_t destCapacity, const char16_t *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) u_strToLower() argument
57 u_strToUpper(char16_t *dest, int32_t destCapacity, const char16_t *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) u_strToUpper() argument
70 toLower( const char *locale, uint32_t options, const char16_t *src, int32_t srcLength, char16_t *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) toLower() argument
82 toUpper( const char *locale, uint32_t options, const char16_t *src, int32_t srcLength, char16_t *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) toUpper() argument
[all...]
H A Dulocale.cpp35 ulocale_close(ULocale* locale) {
36 delete INTERNAL(locale);
40 const char* ulocale_get ## N1(const ULocale* locale) { \
41 if (locale == nullptr) return nullptr; \
42 return CONST_INTERNAL(locale)->get ## N2(); \
49 const ULocale* locale, const char* keyword, int32_t keywordLength, \
52 if (locale == nullptr) { \
57 CONST_INTERNAL(locale)->get ## N( \
73 UEnumeration* ulocale_get ## N(const ULocale* locale, UErrorCode *err) { \
75 if (locale
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/locale/
H A Dsetlocale_sup.c16 #include <locale.h>
49 const char *locale = setlocale(LcArry[i], NULL); in setlocale_0100() local
50 if (!locale) { in setlocale_0100()
54 EXPECT_EQ("SetlocaleTest_0100", strcmp(locale, "C"), 0); in setlocale_0100()
69 const char *locale = setlocale(LcArry[i], "C"); in setlocale_0200() local
70 if (!locale) { in setlocale_0200()
74 EXPECT_STREQ("SetlocaleTest_0200", locale, "C"); in setlocale_0200()
106 const char *locale = setlocale(LcArry[i], ""); in setlocale_0400() local
107 if (locale) { in setlocale_0400()
128 const char *locale in setlocale_0500() local
150 char *locale = setlocale(LC_ALL, ""); setlocale_0600() local
[all...]
/third_party/musl/libc-test/src/functionalext/locale/
H A Dsetlocale.c16 #include <locale.h>
58 const char *locale = setlocale(LcArry[i], NULL); in setlocale_0100() local
59 if (!locale) { in setlocale_0100()
63 EXPECT_EQ("SetlocaleTest_0100", strcmp(locale, "C"), 0); in setlocale_0100()
78 const char *locale = setlocale(LcArry[i], "C"); in setlocale_0200() local
79 if (!locale) { in setlocale_0200()
83 EXPECT_STREQ("SetlocaleTest_0200", locale, "C"); in setlocale_0200()
115 const char *locale = setlocale(LcArry[i], ""); in setlocale_0400() local
116 if (locale) { in setlocale_0400()
137 const char *locale in setlocale_0500() local
159 char *locale = setlocale(LC_ALL, ""); setlocale_0600() local
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Dustrcase_locale.cpp31 ustrcase_getCaseLocale(const char *locale) { in ustrcase_getCaseLocale() argument
32 if (locale == NULL) { in ustrcase_getCaseLocale()
33 locale = uloc_getDefault(); in ustrcase_getCaseLocale()
35 if (*locale == 0) { in ustrcase_getCaseLocale()
38 return ucase_getCaseLocale(locale); in ustrcase_getCaseLocale()
47 const char *locale, in u_strToLower()
50 ustrcase_getCaseLocale(locale), 0, UCASEMAP_BREAK_ITERATOR_NULL in u_strToLower()
59 const char *locale, in u_strToUpper()
62 ustrcase_getCaseLocale(locale), 0, UCASEMAP_BREAK_ITERATOR_NULL in u_strToUpper()
71 const char *locale, uint32_ in toLower()
45 u_strToLower(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) u_strToLower() argument
57 u_strToUpper(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) u_strToUpper() argument
70 toLower( const char *locale, uint32_t options, const UChar *src, int32_t srcLength, UChar *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) toLower() argument
82 toUpper( const char *locale, uint32_t options, const UChar *src, int32_t srcLength, UChar *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) toUpper() argument
[all...]
/third_party/node/deps/icu-small/source/common/unicode/
H A Dulocale.h18 * Opaque C service object type for the locale API
30 * Constructs an ULocale from the locale ID.
33 * @param localeID the locale, a const char * pointer (need not be terminated when
35 * @param length the length of the locale; if negative, then the locale need to be
38 * @return the locale.
54 * @return the locale.
62 * Close the locale and destroy it's internal states.
64 * @param locale the locale
[all...]

Completed in 11 milliseconds

12345678910>>...67