/external/icu/icu4c/source/common/ |
D | uloc_tag.cpp | 307 ultag_close(ULanguageTag* langtag); 310 ultag_getLanguage(const ULanguageTag* langtag); 314 ultag_getJDKLanguage(const ULanguageTag* langtag); 318 ultag_getExtlang(const ULanguageTag* langtag, int32_t idx); 321 ultag_getExtlangSize(const ULanguageTag* langtag); 324 ultag_getScript(const ULanguageTag* langtag); 327 ultag_getRegion(const ULanguageTag* langtag); 330 ultag_getVariant(const ULanguageTag* langtag, int32_t idx); 333 ultag_getVariantsSize(const ULanguageTag* langtag); 336 ultag_getExtensionKey(const ULanguageTag* langtag, int32_t idx); [all …]
|
D | ulocimp.h | 113 ulocimp_forLanguageTag(const char* langtag,
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | LocaleBuilderTest.java | 187 String langtag = loc.toLanguageTag(); in TestLocaleBuilder() local 188 if (!expected[0].equals(langtag)) { in TestLocaleBuilder() 189 errln("FAIL: Wrong language tag - " + langtag + in TestLocaleBuilder() 192 ULocale loc1 = ULocale.forLanguageTag(langtag); in TestLocaleBuilder()
|
D | ULocaleTest.java | 4138 String langtag = loc.toLanguageTag(); in TestToLanguageTag() local 4139 if (!langtag.equals(locale_to_langtag[i][1])) { in TestToLanguageTag() 4140 errln("FAIL: toLanguageTag returned language tag [" + langtag + "] for locale [" in TestToLanguageTag()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | LocaleBuilderTest.java | 190 String langtag = loc.toLanguageTag(); in TestLocaleBuilder() local 191 if (!expected[0].equals(langtag)) { in TestLocaleBuilder() 192 errln("FAIL: Wrong language tag - " + langtag + in TestLocaleBuilder() 195 ULocale loc1 = ULocale.forLanguageTag(langtag); in TestLocaleBuilder()
|
D | ULocaleTest.java | 4141 String langtag = loc.toLanguageTag(); in TestToLanguageTag() local 4142 if (!langtag.equals(locale_to_langtag[i][1])) { in TestToLanguageTag() 4143 errln("FAIL: toLanguageTag returned language tag [" + langtag + "] for locale [" in TestToLanguageTag()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
D | InternalLocaleBuilder.java | 316 public InternalLocaleBuilder setLanguageTag(LanguageTag langtag) { in setLanguageTag() argument 318 if (langtag.getExtlangs().size() > 0) { in setLanguageTag() 319 _language = langtag.getExtlangs().get(0); in setLanguageTag() 321 String language = langtag.getLanguage(); in setLanguageTag() 326 _script = langtag.getScript(); in setLanguageTag() 327 _region = langtag.getRegion(); in setLanguageTag() 329 List<String> bcpVariants = langtag.getVariants(); in setLanguageTag() 338 setExtensions(langtag.getExtensions(), langtag.getPrivateuse()); in setLanguageTag()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
D | InternalLocaleBuilder.java | 320 public InternalLocaleBuilder setLanguageTag(LanguageTag langtag) { in setLanguageTag() argument 322 if (langtag.getExtlangs().size() > 0) { in setLanguageTag() 323 _language = langtag.getExtlangs().get(0); in setLanguageTag() 325 String language = langtag.getLanguage(); in setLanguageTag() 330 _script = langtag.getScript(); in setLanguageTag() 331 _region = langtag.getRegion(); in setLanguageTag() 333 List<String> bcpVariants = langtag.getVariants(); in setLanguageTag() 342 setExtensions(langtag.getExtensions(), langtag.getPrivateuse()); in setLanguageTag()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/locale/ |
D | InternalLocaleBuilder.java | 316 public InternalLocaleBuilder setLanguageTag(LanguageTag langtag) { in setLanguageTag() argument 318 if (langtag.getExtlangs().size() > 0) { in setLanguageTag() 319 _language = langtag.getExtlangs().get(0); in setLanguageTag() 321 String language = langtag.getLanguage(); in setLanguageTag() 326 _script = langtag.getScript(); in setLanguageTag() 327 _region = langtag.getRegion(); in setLanguageTag() 329 List<String> bcpVariants = langtag.getVariants(); in setLanguageTag() 338 setExtensions(langtag.getExtensions(), langtag.getPrivateuse()); in setLanguageTag()
|
/external/icu/icu4c/source/common/unicode/ |
D | uloc.h | 1211 uloc_forLanguageTag(const char* langtag, 1240 char* langtag,
|
/external/icu/libandroidicu/include/unicode/ |
D | uloc.h | 1211 uloc_forLanguageTag(const char* langtag, 1240 char* langtag,
|
/external/cldr/tools/java/org/unicode/cldr/util/data/ |
D | langtagRegex.txt | 70 $langtag = (?: ( $language ) 82 $langtag 90%
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
D | langtagRegex.txt | 73 $langtag = (?: ( $language ) 85 $langtag 90%
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
D | langtagRegex.txt | 73 $langtag = (?: ( $language ) 85 $langtag 90%
|
/external/icu/icu4c/source/test/cintltst/ |
D | cloctst.c | 6066 char langtag[256]; in TestToLanguageTag() local 6078 langtag[0] = 0; in TestToLanguageTag() 6081 len = uloc_toLanguageTag(inloc, langtag, sizeof(langtag), FALSE, &status); in TestToLanguageTag() 6091 inloc, langtag); in TestToLanguageTag() 6092 } else if (uprv_strcmp(langtag, expected) != 0) { in TestToLanguageTag() 6094 langtag, inloc, expected); in TestToLanguageTag() 6100 langtag[0] = 0; in TestToLanguageTag() 6103 len = uloc_toLanguageTag(inloc, langtag, sizeof(langtag), TRUE, &status); in TestToLanguageTag() 6112 inloc, langtag); in TestToLanguageTag() 6113 } else if (uprv_strcmp(langtag, expected) != 0) { in TestToLanguageTag() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | localebuildertest.cpp | 282 std::string langtag = loc.toLanguageTag<std::string>(status); in TestLocaleBuilder() local 283 if (U_FAILURE(status) || langtag != testCase[i]) { in TestLocaleBuilder() 284 errln("FAIL: Wrong language tag - %s %s %s", langtag.c_str(), in TestLocaleBuilder()
|
/external/zopfli/src/zopflipng/lodepng/ |
D | lodepng.cpp | 2801 unsigned lodepng_add_itext(LodePNGInfo* info, const char* key, const char* langtag, in lodepng_add_itext() argument 2827 string_set(&info->itext_langtags[info->itext_num - 1], langtag); in lodepng_add_itext() 4447 char *key = 0, *langtag = 0, *transkey = 0; in readChunk_iTXt() local 4480 langtag = (char*)lodepng_malloc(length + 1); in readChunk_iTXt() 4481 if(!langtag) CERROR_BREAK(error, 83); /*alloc fail*/ in readChunk_iTXt() 4483 langtag[length] = 0; in readChunk_iTXt() 4484 for(i = 0; i < length; i++) langtag[i] = data[begin + i]; in readChunk_iTXt() 4520 error = lodepng_add_itext(info, key, langtag, transkey, (char*)decoded.data); in readChunk_iTXt() 4526 lodepng_free(langtag); in readChunk_iTXt() 5052 …nsigned addChunk_iTXt(ucvector* out, unsigned compressed, const char* keyword, const char* langtag, in addChunk_iTXt() argument [all …]
|
D | lodepng.h | 489 unsigned lodepng_add_itext(LodePNGInfo* info, const char* key, const char* langtag,
|
/external/cldr/specs/rfc/ |
D | draft-davis-u-langtag-ext-00.txt | 14 draft-davis-u-langtag-ext-00
|
D | draft-davis-t-langtag-ext.txt | 16 draft-davis-t-langtag-ext-07
|
/external/icu/libandroidicu/static_shim/ |
D | shim.cpp | 1793 int32_t uloc_forLanguageTag_android(const char * langtag, char * localeID, int32_t localeIDCapacity… in uloc_forLanguageTag_android() argument 1794 return uloc_forLanguageTag(langtag, localeID, localeIDCapacity, parsedLength, err); in uloc_forLanguageTag_android() 1886 int32_t uloc_toLanguageTag_android(const char * localeID, char * langtag, int32_t langtagCapacity, … in uloc_toLanguageTag_android() argument 1887 return uloc_toLanguageTag(localeID, langtag, langtagCapacity, strict, err); in uloc_toLanguageTag_android()
|