Home
last modified time | relevance | path

Searched refs:subtag (Results 1 – 9 of 9) sorted by relevance

/external/libexif/libexif/canon/
Dmnote-canon-entry.c71 unsigned int subtag; member
448 for (j = 0; table[j].name && ((table[j].subtag < t) || in canon_search_table_value()
449 ((table[j].subtag == t) && table[j].value <= vs)); j++) { in canon_search_table_value()
450 if ((table[j].subtag == t) && (table[j].value == vs)) { in canon_search_table_value()
454 if ((table[j].subtag == t) && (table[j].value == vs) && table[j].name) { in canon_search_table_value()
470 for (j = 0; table[j].name && (table[j].subtag <= t); j++) { in canon_search_table_bitfield()
471 if (table[j].subtag == t) { in canon_search_table_bitfield()
475 if ((table[j].subtag == t) && table[j].name) { in canon_search_table_bitfield()
482 for (i = j; table[i].name && (table[i].subtag == t); i++) { in canon_search_table_bitfield()
489 for (i = j; table[i].name && (table[i].subtag == t); i++) { in canon_search_table_bitfield()
Dmnote-canon-tag.c52 unsigned int subtag; member
147 if (table_sub[i].subtag == s) in mnote_canon_tag_get_name_sub()
177 if (table_sub[i].subtag == s) in mnote_canon_tag_get_title_sub()
/external/icu/icu4c/source/i18n/
Drulebasedcollator.cpp1512 void appendSubtag(CharString &s, char letter, const char *subtag, int32_t length, in appendSubtag() argument
1520 s.append(uprv_toupper(subtag[i]), errorCode); in appendSubtag()
1563 char subtag[ULOC_KEYWORD_AND_VALUES_CAPACITY]; in internalGetShortDefinitionString() local
1583 …length = uloc_getKeywordValue(resultLocale, "collation", subtag, UPRV_LENGTHOF(subtag), &errorCode… in internalGetShortDefinitionString()
1584 appendSubtag(result, 'K', subtag, length, errorCode); in internalGetShortDefinitionString()
1585 length = uloc_getLanguage(resultLocale, subtag, UPRV_LENGTHOF(subtag), &errorCode); in internalGetShortDefinitionString()
1586 appendSubtag(result, 'L', subtag, length, errorCode); in internalGetShortDefinitionString()
1590 length = uloc_getCountry(resultLocale, subtag, UPRV_LENGTHOF(subtag), &errorCode); in internalGetShortDefinitionString()
1591 appendSubtag(result, 'R', subtag, length, errorCode); in internalGetShortDefinitionString()
1595 length = uloc_getVariant(resultLocale, subtag, UPRV_LENGTHOF(subtag), &errorCode); in internalGetShortDefinitionString()
[all …]
/external/icu/icu4c/source/tools/genrb/
Dparse.cpp879 char subtag[1024]; in addCollation() local
915 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1); in addCollation()
923 member = parseResource(state, subtag, NULL, status); in addCollation()
934 else if (uprv_strcmp(subtag, "Version") == 0) in addCollation()
950 else if(uprv_strcmp(subtag, "%%CollationBin")==0) in addCollation()
954 else if (uprv_strcmp(subtag, "Sequence") == 0) in addCollation()
1106 char subtag[1024], typeKeyword[1024]; in parseCollationElements() local
1148 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1); in parseCollationElements()
1156 if (uprv_strcmp(subtag, "default") == 0) in parseCollationElements()
1158 member = parseResource(state, subtag, NULL, status); in parseCollationElements()
[all …]
/external/icu/icu4c/source/common/
Duloc_tag.c2397 const char *subtag, *p; in uloc_forLanguageTag() local
2408 subtag = ultag_getExtlangSize(lt) > 0 ? ultag_getExtlang(lt, 0) : ultag_getLanguage(lt); in uloc_forLanguageTag()
2409 if (uprv_compareInvCharsAsAscii(subtag, LANG_UND) != 0) { in uloc_forLanguageTag()
2410 len = (int32_t)uprv_strlen(subtag); in uloc_forLanguageTag()
2413 uprv_memcpy(localeID, subtag, uprv_min(len, localeIDCapacity - reslen)); in uloc_forLanguageTag()
2420 subtag = ultag_getScript(lt); in uloc_forLanguageTag()
2421 len = (int32_t)uprv_strlen(subtag); in uloc_forLanguageTag()
2429 p = subtag; in uloc_forLanguageTag()
2432 if (p == subtag) { in uloc_forLanguageTag()
2444 subtag = ultag_getRegion(lt); in uloc_forLanguageTag()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DUnicodeLocaleExtension.java109 String subtag = idx < 0 ? s.substring(startIdx) : s.substring(startIdx, idx); in isType()
110 if (!isTypeSubtag(subtag)) { in isType()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DULocale.java3240 String subtag = tag.getLanguage(); in toLanguageTag() local
3241 if (subtag.length() > 0) { in toLanguageTag()
3242 buf.append(LanguageTag.canonicalizeLanguage(subtag)); in toLanguageTag()
3245 subtag = tag.getScript(); in toLanguageTag()
3246 if (subtag.length() > 0) { in toLanguageTag()
3248 buf.append(LanguageTag.canonicalizeScript(subtag)); in toLanguageTag()
3251 subtag = tag.getRegion(); in toLanguageTag()
3252 if (subtag.length() > 0) { in toLanguageTag()
3254 buf.append(LanguageTag.canonicalizeRegion(subtag)); in toLanguageTag()
3269 subtag = tag.getPrivateuse(); in toLanguageTag()
[all …]
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DlangtagRegex.txt43 # http://www.iana.org/assignments/language-subtag-registry
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...