Searched refs:subtag (Results 1 – 9 of 9) sorted by relevance
71 unsigned int subtag; member448 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()
52 unsigned int subtag; member147 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()
1512 void appendSubtag(CharString &s, char letter, const char *subtag, int32_t length, in appendSubtag() argument1520 s.append(uprv_toupper(subtag[i]), errorCode); in appendSubtag()1563 char subtag[ULOC_KEYWORD_AND_VALUES_CAPACITY]; in internalGetShortDefinitionString() local1583 …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 …]
879 char subtag[1024]; in addCollation() local915 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() local1148 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 …]
2397 const char *subtag, *p; in uloc_forLanguageTag() local2408 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 …]
109 String subtag = idx < 0 ? s.substring(startIdx) : s.substring(startIdx, idx); in isType()110 if (!isTypeSubtag(subtag)) { in isType()
3240 String subtag = tag.getLanguage(); in toLanguageTag() local3241 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 …]
43 # http://www.iana.org/assignments/language-subtag-registry
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...