/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/ |
D | LocaleValidityChecker.java | 163 for (String subtag : SEPARATOR.split(extensionString)) { in isValidU() 164 if (subtag.length() == 2 in isValidU() 165 && (tBuffer == null || subtag.charAt(1) <= '9')) { in isValidU() 174 key = KeyTypeData.toBcpKey(subtag); in isValidU() 176 return where.set(datatype, subtag); in isValidU() 188 tBuffer.append(subtag); in isValidU() 194 return where.set(datatype, key+"-"+subtag); in isValidU() 200 prefix.append(subtag); in isValidU() 202 prefix.append('-').append(subtag); in isValidU() 203 subtag = prefix.toString(); in isValidU() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
D | LocaleValidityChecker.java | 158 for (String subtag : SEPARATOR.split(extensionString)) { in isValidU() 159 if (subtag.length() == 2 in isValidU() 160 && (tBuffer == null || subtag.charAt(1) <= '9')) { in isValidU() 169 key = KeyTypeData.toBcpKey(subtag); in isValidU() 171 return where.set(datatype, subtag); in isValidU() 183 tBuffer.append(subtag); in isValidU() 189 return where.set(datatype, key+"-"+subtag); in isValidU() 195 prefix.append(subtag); in isValidU() 197 prefix.append('-').append(subtag); in isValidU() 198 subtag = prefix.toString(); in isValidU() [all …]
|
/third_party/elfutils/tests/ |
D | run-unit-info.sh | 51 0 cu dietag: 11, subtag: 11, version 4, unit_type 4 52 0 subdietag: 11, subtag: 0, version 4, unit_type 5 53 1 cu dietag: 11, subtag: 11, version 4, unit_type 4 54 1 subdietag: 11, subtag: 0, version 4, unit_type 5 57 0 re dietag: 11, subtag: 11, version 4, unit_type 4 58 0 subdietag: 11, subtag: 0, version 4, unit_type 5 59 1 re dietag: 11, subtag: 11, version 4, unit_type 4 60 1 subdietag: 11, subtag: 0, version 4, unit_type 5 64 0 cu dietag: 4a, subtag: 11, version 5, unit_type 4 65 0 subdietag: 11, subtag: 0, version 5, unit_type 5 [all …]
|
D | unit-info.c | 36 int subtag; member 70 int subtag = dwarf_tag (&subdie); in main() local 73 unit_info[u].subtag = subtag; in main() 79 u, dietag, subtag, version, unit_type); in main() 92 subtag = dwarf_tag (&subdie); in main() 100 if (unit_info[u].subtag != subtag) in main() 134 subtag = dwarf_tag (&subdie); in main() 138 u, dietag, subtag, version, unit_type); in main() 141 if (unit_info[u].subtag != dietag) in main() 209 int subtag = dwarf_tag (&subdie); in main() local [all …]
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | gen-tag-table.py | 536 subtag = None 551 subtag = line.split (' ')[1] 553 self.grandfathered.add (subtag.lower ()) 558 if subtag in self.names: 559 self.names[subtag] += '\n' + description 561 self.names[subtag] = description 571 self.scopes[subtag] = scope 573 self.scopes[subtag] = ' (retired code)' + self.scopes.get (subtag, '') 579 self._add_macrolanguage (subtag, language) 587 self._add_macrolanguage (macrolanguage, subtag) [all …]
|
D | update-unicode-tables.make | 20 hb-ot-tag-table.hh: gen-tag-table.py languagetags language-subtag-registry 40 language-subtag-registry: 41 curl -O https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry 49 languagetags language-subtag-registry ucd.nounihan.grouped.zip Scripts.txt
|
D | hb-ot-tag.cc | 192 const char *subtag) in subtag_matches() argument 195 const char *s = strstr (lang_str, subtag); in subtag_matches() 198 if (!ISALNUM (s[strlen (subtag)])) in subtag_matches() 200 lang_str = s + strlen (subtag); in subtag_matches()
|
/third_party/harfbuzz/src/ |
D | gen-tag-table.py | 536 subtag = None 551 subtag = line.split (' ')[1] 553 self.grandfathered.add (subtag.lower ()) 558 if subtag in self.names: 559 self.names[subtag] += '\n' + description 561 self.names[subtag] = description 571 self.scopes[subtag] = scope 573 self.scopes[subtag] = ' (retired code)' + self.scopes.get (subtag, '') 579 self._add_macrolanguage (subtag, language) 587 self._add_macrolanguage (macrolanguage, subtag) [all …]
|
D | update-unicode-tables.make | 20 hb-ot-tag-table.hh: gen-tag-table.py languagetags language-subtag-registry 46 language-subtag-registry: 47 curl -O https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry 57 languagetags language-subtag-registry ucd.nounihan.grouped.zip Scripts.txt
|
D | hb-ot-tag.cc | 192 const char *subtag) in subtag_matches() argument 195 const char *s = strstr (lang_str, subtag); in subtag_matches() 198 if (!ISALNUM (s[strlen (subtag)])) in subtag_matches() 200 lang_str = s + strlen (subtag); in subtag_matches()
|
/third_party/flutter/skia/third_party/externals/harfbuzz/src/ |
D | gen-tag-table.py | 546 subtag = None 561 subtag = line.split (' ')[1] 563 self.grandfathered.add (subtag.lower ()) 568 if subtag in self.names: 569 self.names[subtag] += '\n' + description 571 self.names[subtag] = description 581 self.scopes[subtag] = scope 583 self.scopes[subtag] = ' (retired code)' + self.scopes.get (subtag, '') 589 self._add_macrolanguage (subtag, language) 597 self._add_macrolanguage (macrolanguage, subtag) [all …]
|
D | hb-ot-tag.cc | 179 const char *subtag) in subtag_matches() argument 182 const char *s = strstr (lang_str, subtag); in subtag_matches() 185 if (!ISALNUM (s[strlen (subtag)])) in subtag_matches() 187 lang_str = s + strlen (subtag); in subtag_matches()
|
/third_party/flutter/engine/flutter/tools/ |
D | gen_locale.dart | 18 const String registry = 'https://www.iana.org/assignments/language-subtag-registry/language-subtag-… 57 final String subtag = section['Subtag'].single; 63 … outputs[type].add('\'$subtag\': \'$preferredValue\', // ${descriptions.join(", ")}; $comment'); 66 print('// Mappings generated for language subtag registry as of $fileDate.');
|
/third_party/libexif/libexif/canon/ |
D | mnote-canon-entry.c | 69 unsigned int subtag; member 446 for (j = 0; table[j].name && ((table[j].subtag < t) || in canon_search_table_value() 447 ((table[j].subtag == t) && table[j].value <= vs)); j++) { in canon_search_table_value() 448 if ((table[j].subtag == t) && (table[j].value == vs)) { in canon_search_table_value() 452 if ((table[j].subtag == t) && (table[j].value == vs) && table[j].name) { in canon_search_table_value() 468 for (j = 0; table[j].name && (table[j].subtag <= t); j++) { in canon_search_table_bitfield() 469 if (table[j].subtag == t) { in canon_search_table_bitfield() 473 if ((table[j].subtag == t) && table[j].name) { in canon_search_table_bitfield() 480 for (i = j; table[i].name && (table[i].subtag == t); i++) { in canon_search_table_bitfield() 487 for (i = j; table[i].name && (table[i].subtag == t); i++) { in canon_search_table_bitfield()
|
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/ |
D | window.dart | 143 /// Registry](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry). 146 /// subtag that was replaced by the subtag `he`. 154 /// primary language subtag, the second is the region (also 155 /// referred to as 'country') subtag. 164 /// The primary language subtag must not be null. The region subtag is 165 /// optional. When there is no region/country subtag, the parameter should 168 /// The subtag values are _case sensitive_ and must be one of the valid 172 /// primary language subtag must be at least two and at most eight lowercase 173 /// letters, but not four letters. The region region subtag must be two 196 /// The subtag values are _case sensitive_ and must be valid subtags according [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | rulebasedcollator.cpp | 1514 void appendSubtag(CharString &s, char letter, const char *subtag, int32_t length, in appendSubtag() argument 1522 s.append(uprv_toupper(subtag[i]), errorCode); in appendSubtag() 1565 char subtag[ULOC_KEYWORD_AND_VALUES_CAPACITY]; in internalGetShortDefinitionString() local 1585 …length = uloc_getKeywordValue(resultLocale, "collation", subtag, UPRV_LENGTHOF(subtag), &errorCode… in internalGetShortDefinitionString() 1586 appendSubtag(result, 'K', subtag, length, errorCode); in internalGetShortDefinitionString() 1587 length = uloc_getLanguage(resultLocale, subtag, UPRV_LENGTHOF(subtag), &errorCode); in internalGetShortDefinitionString() 1588 appendSubtag(result, 'L', subtag, length, errorCode); in internalGetShortDefinitionString() 1592 length = uloc_getCountry(resultLocale, subtag, UPRV_LENGTHOF(subtag), &errorCode); in internalGetShortDefinitionString() 1593 appendSubtag(result, 'R', subtag, length, errorCode); in internalGetShortDefinitionString() 1597 length = uloc_getVariant(resultLocale, subtag, UPRV_LENGTHOF(subtag), &errorCode); in internalGetShortDefinitionString() [all …]
|
/third_party/icu/icu4c/source/i18n/ |
D | rulebasedcollator.cpp | 1514 void appendSubtag(CharString &s, char letter, const char *subtag, int32_t length, in appendSubtag() argument 1522 s.append(uprv_toupper(subtag[i]), errorCode); in appendSubtag() 1561 char subtag[ULOC_KEYWORD_AND_VALUES_CAPACITY]; in internalGetShortDefinitionString() local 1581 …length = uloc_getKeywordValue(resultLocale, "collation", subtag, UPRV_LENGTHOF(subtag), &errorCode… in internalGetShortDefinitionString() 1582 appendSubtag(result, 'K', subtag, length, errorCode); in internalGetShortDefinitionString() 1583 length = uloc_getLanguage(resultLocale, subtag, UPRV_LENGTHOF(subtag), &errorCode); in internalGetShortDefinitionString() 1587 appendSubtag(result, 'L', subtag, length, errorCode); in internalGetShortDefinitionString() 1592 length = uloc_getCountry(resultLocale, subtag, UPRV_LENGTHOF(subtag), &errorCode); in internalGetShortDefinitionString() 1593 appendSubtag(result, 'R', subtag, length, errorCode); in internalGetShortDefinitionString() 1597 length = uloc_getVariant(resultLocale, subtag, UPRV_LENGTHOF(subtag), &errorCode); in internalGetShortDefinitionString() [all …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | rulebasedcollator.cpp | 1514 void appendSubtag(CharString &s, char letter, const char *subtag, int32_t length, in appendSubtag() argument 1522 s.append(uprv_toupper(subtag[i]), errorCode); in appendSubtag() 1561 char subtag[ULOC_KEYWORD_AND_VALUES_CAPACITY]; in internalGetShortDefinitionString() local 1581 …length = uloc_getKeywordValue(resultLocale, "collation", subtag, UPRV_LENGTHOF(subtag), &errorCode… in internalGetShortDefinitionString() 1582 appendSubtag(result, 'K', subtag, length, errorCode); in internalGetShortDefinitionString() 1583 length = uloc_getLanguage(resultLocale, subtag, UPRV_LENGTHOF(subtag), &errorCode); in internalGetShortDefinitionString() 1587 appendSubtag(result, 'L', subtag, length, errorCode); in internalGetShortDefinitionString() 1592 length = uloc_getCountry(resultLocale, subtag, UPRV_LENGTHOF(subtag), &errorCode); in internalGetShortDefinitionString() 1593 appendSubtag(result, 'R', subtag, length, errorCode); in internalGetShortDefinitionString() 1597 length = uloc_getVariant(resultLocale, subtag, UPRV_LENGTHOF(subtag), &errorCode); in internalGetShortDefinitionString() [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | rulebasedcollator.cpp | 1514 void appendSubtag(CharString &s, char letter, const char *subtag, int32_t length, in appendSubtag() argument 1522 s.append(uprv_toupper(subtag[i]), errorCode); in appendSubtag() 1561 char subtag[ULOC_KEYWORD_AND_VALUES_CAPACITY]; in internalGetShortDefinitionString() local 1581 …length = uloc_getKeywordValue(resultLocale, "collation", subtag, UPRV_LENGTHOF(subtag), &errorCode… in internalGetShortDefinitionString() 1582 appendSubtag(result, 'K', subtag, length, errorCode); in internalGetShortDefinitionString() 1583 length = uloc_getLanguage(resultLocale, subtag, UPRV_LENGTHOF(subtag), &errorCode); in internalGetShortDefinitionString() 1587 appendSubtag(result, 'L', subtag, length, errorCode); in internalGetShortDefinitionString() 1592 length = uloc_getCountry(resultLocale, subtag, UPRV_LENGTHOF(subtag), &errorCode); in internalGetShortDefinitionString() 1593 appendSubtag(result, 'R', subtag, length, errorCode); in internalGetShortDefinitionString() 1597 length = uloc_getVariant(resultLocale, subtag, UPRV_LENGTHOF(subtag), &errorCode); in internalGetShortDefinitionString() [all …]
|
/third_party/icu/icu4c/source/tools/genrb/ |
D | parse.cpp | 821 char subtag[1024]; in addCollation() local 857 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1); in addCollation() 865 member = parseResource(state, subtag, NULL, status); in addCollation() 876 else if (uprv_strcmp(subtag, "Version") == 0 && member->isString()) in addCollation() 893 else if(uprv_strcmp(subtag, "%%CollationBin")==0) in addCollation() 897 else if (uprv_strcmp(subtag, "Sequence") == 0 && member->isString()) in addCollation() 1050 char subtag[1024], typeKeyword[1024]; in parseCollationElements() local 1092 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1); in parseCollationElements() 1100 if (uprv_strcmp(subtag, "default") == 0) in parseCollationElements() 1102 member = parseResource(state, subtag, NULL, status); in parseCollationElements() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/tools/genrb/ |
D | parse.cpp | 821 char subtag[1024]; in addCollation() local 857 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1); in addCollation() 865 member = parseResource(state, subtag, NULL, status); in addCollation() 876 else if (uprv_strcmp(subtag, "Version") == 0 && member->isString()) in addCollation() 893 else if(uprv_strcmp(subtag, "%%CollationBin")==0) in addCollation() 897 else if (uprv_strcmp(subtag, "Sequence") == 0 && member->isString()) in addCollation() 1050 char subtag[1024], typeKeyword[1024]; in parseCollationElements() local 1092 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1); in parseCollationElements() 1100 if (uprv_strcmp(subtag, "default") == 0) in parseCollationElements() 1102 member = parseResource(state, subtag, NULL, status); in parseCollationElements() [all …]
|
/third_party/node/deps/icu-small/source/tools/genrb/ |
D | parse.cpp | 821 char subtag[1024]; in addCollation() local 857 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1); in addCollation() 865 member = parseResource(state, subtag, NULL, status); in addCollation() 876 else if (uprv_strcmp(subtag, "Version") == 0 && member->isString()) in addCollation() 893 else if(uprv_strcmp(subtag, "%%CollationBin")==0) in addCollation() 897 else if (uprv_strcmp(subtag, "Sequence") == 0 && member->isString()) in addCollation() 1050 char subtag[1024], typeKeyword[1024]; in parseCollationElements() local 1092 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1); in parseCollationElements() 1100 if (uprv_strcmp(subtag, "default") == 0) in parseCollationElements() 1102 member = parseResource(state, subtag, NULL, status); in parseCollationElements() [all …]
|
/third_party/skia/third_party/externals/icu/source/tools/genrb/ |
D | parse.cpp | 821 char subtag[1024]; in addCollation() local 857 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1); in addCollation() 865 member = parseResource(state, subtag, NULL, status); in addCollation() 876 else if (uprv_strcmp(subtag, "Version") == 0 && member->isString()) in addCollation() 893 else if(uprv_strcmp(subtag, "%%CollationBin")==0) in addCollation() 897 else if (uprv_strcmp(subtag, "Sequence") == 0 && member->isString()) in addCollation() 1050 char subtag[1024], typeKeyword[1024]; in parseCollationElements() local 1092 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1); in parseCollationElements() 1100 if (uprv_strcmp(subtag, "default") == 0) in parseCollationElements() 1102 member = parseResource(state, subtag, NULL, status); in parseCollationElements() [all …]
|
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/ |
D | DistanceTable.java | 442 for (String subtag : subtagPairs) { in fromSubtags() 443 keyPairs.add(fixAny(subtag)); in fromSubtags() 450 private static String fixAny(String subtag) { in fixAny() argument 451 return subtag.equals("*") ? ANY : subtag; in fixAny()
|
/third_party/flutter/engine/flutter/lib/ui/ |
D | window.dart | 236 /// Registry](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry). 239 /// subtag that was replaced by the subtag `he`. 247 /// primary language subtag, the second is the region (also 248 /// referred to as 'country') subtag. 257 /// The primary language subtag must not be null. The region subtag is 258 /// optional. When there is no region/country subtag, the parameter should 261 /// The subtag values are _case sensitive_ and must be one of the valid 265 /// primary language subtag must be at least two and at most eight lowercase 266 /// letters, but not four letters. The region region subtag must be two 289 /// The subtag values are _case sensitive_ and must be valid subtags according [all …]
|