Searched refs:subtag (Results 1 – 4 of 4) sorted by relevance
/external/chromium/third_party/icu/source/tools/genrb/ |
D | parse.c | 632 char subtag[1024]; in addCollation() local 666 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1); in addCollation() 674 member = parseResource(subtag, NULL, status); in addCollation() 682 if (uprv_strcmp(subtag, "Version") == 0) in addCollation() 698 else if (uprv_strcmp(subtag, "Override") == 0) in addCollation() 709 else if(uprv_strcmp(subtag, "%%CollationBin")==0) in addCollation() 713 else if (uprv_strcmp(subtag, "Sequence") == 0) in addCollation() 815 char subtag[1024], typeKeyword[1024]; in parseCollationElements() local 857 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1); in parseCollationElements() 865 if (uprv_strcmp(subtag, "default") == 0) in parseCollationElements() [all …]
|
/external/icu4c/tools/genrb/ |
D | parse.c | 632 char subtag[1024]; in addCollation() local 666 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1); in addCollation() 674 member = parseResource(subtag, NULL, status); in addCollation() 682 if (uprv_strcmp(subtag, "Version") == 0) in addCollation() 698 else if (uprv_strcmp(subtag, "Override") == 0) in addCollation() 709 else if(uprv_strcmp(subtag, "%%CollationBin")==0) in addCollation() 713 else if (uprv_strcmp(subtag, "Sequence") == 0) in addCollation() 818 char subtag[1024], typeKeyword[1024]; in parseCollationElements() local 860 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1); in parseCollationElements() 868 if (uprv_strcmp(subtag, "default") == 0) in parseCollationElements() [all …]
|
/external/chromium/third_party/icu/source/common/ |
D | uloc_tag.c | 2147 const char *subtag, *p; in uloc_forLanguageTag() local 2158 subtag = ultag_getExtlangSize(lt) > 0 ? ultag_getExtlang(lt, 0) : ultag_getLanguage(lt); in uloc_forLanguageTag() 2159 if (uprv_strcmp(subtag, LANG_UND) != 0) { in uloc_forLanguageTag() 2160 len = uprv_strlen(subtag); in uloc_forLanguageTag() 2163 uprv_memcpy(localeID, subtag, uprv_min(len, localeIDCapacity - reslen)); in uloc_forLanguageTag() 2170 subtag = ultag_getScript(lt); in uloc_forLanguageTag() 2171 len = uprv_strlen(subtag); in uloc_forLanguageTag() 2179 p = subtag; in uloc_forLanguageTag() 2182 if (p == subtag) { in uloc_forLanguageTag() 2194 subtag = ultag_getRegion(lt); in uloc_forLanguageTag() [all …]
|
/external/icu4c/common/ |
D | uloc_tag.c | 2182 const char *subtag, *p; in uloc_forLanguageTag() local 2193 subtag = ultag_getExtlangSize(lt) > 0 ? ultag_getExtlang(lt, 0) : ultag_getLanguage(lt); in uloc_forLanguageTag() 2194 if (uprv_compareInvCharsAsAscii(subtag, LANG_UND) != 0) { in uloc_forLanguageTag() 2195 len = (int32_t)uprv_strlen(subtag); in uloc_forLanguageTag() 2198 uprv_memcpy(localeID, subtag, uprv_min(len, localeIDCapacity - reslen)); in uloc_forLanguageTag() 2205 subtag = ultag_getScript(lt); in uloc_forLanguageTag() 2206 len = (int32_t)uprv_strlen(subtag); in uloc_forLanguageTag() 2214 p = subtag; in uloc_forLanguageTag() 2217 if (p == subtag) { in uloc_forLanguageTag() 2229 subtag = ultag_getRegion(lt); in uloc_forLanguageTag() [all …]
|