/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/mapper/ |
H A D | BreakIteratorMapper.java | 6 import static org.unicode.cldr.api.AttributeKey.keyOf; 53 private static final AttributeKey SEGMENTATION_TYPE = keyOf("segmentation", "type"); 54 private static final AttributeKey DICTIONARY_DEP = keyOf("icu:dictionary", "icu:dependency"); 55 private static final AttributeKey DICTIONARY_TYPE = keyOf("icu:dictionary", "type"); 56 private static final AttributeKey LSTMDATA_DEP = keyOf("icu:lstmdata", "icu:dependency"); 57 private static final AttributeKey LSTMDATA_TYPE = keyOf("icu:lstmdata", "type"); 135 return keyOf(elementName, "alt") in getBoundaryType() 141 return keyOf(value.getPath().getName(), "icu:dependency").optionalValueFrom(value); in getBoundaryDependency()
|
H A D | RbnfMapper.java | 6 import static org.unicode.cldr.api.AttributeKey.keyOf; 29 private static final AttributeKey GROUPING_TYPE = keyOf("rulesetGrouping", "type"); 30 private static final AttributeKey RULESET_TYPE = keyOf("ruleset", "type"); 31 private static final AttributeKey RULESET_ACCESS = keyOf("ruleset", "access"); 32 private static final AttributeKey RBNF_VALUE = keyOf("rbnfrule", "value"); 33 private static final AttributeKey RBNF_RADIX = keyOf("rbnfrule", "radix");
|
H A D | Bcp47Mapper.java | 7 import static org.unicode.cldr.api.AttributeKey.keyOf; 43 private static final AttributeKey KEY_NAME = keyOf("key", "name"); 44 private static final AttributeKey KEY_ALIAS = keyOf("key", "alias"); 45 private static final AttributeKey KEY_VALUE_TYPE = keyOf("key", "valueType"); 47 private static final AttributeKey TYPE_NAME = keyOf("type", "name"); 48 private static final AttributeKey TYPE_ALIASES = keyOf("type", "alias"); 49 private static final AttributeKey PREFERRED_TYPE_NAME = keyOf("type", "preferred"); 54 private static final AttributeKey KEY_DEPRECATED = keyOf("key", "deprecated"); 55 private static final AttributeKey TYPE_DEPRECATED = keyOf("type", "deprecated");
|
H A D | PluralRangesMapper.java | 5 import static org.unicode.cldr.api.AttributeKey.keyOf; 41 private static final AttributeKey RANGES_LOCALES = keyOf("pluralRanges", "locales"); 42 private static final AttributeKey RANGE_START = keyOf("pluralRange", "start"); 43 private static final AttributeKey RANGE_END = keyOf("pluralRange", "end"); 44 private static final AttributeKey RANGE_RESULT = keyOf("pluralRange", "result");
|
H A D | TransformsMapper.java | 9 import static org.unicode.cldr.api.AttributeKey.keyOf; 54 private static final AttributeKey TRANSFORM_SOURCE = keyOf("transform", "source"); 55 private static final AttributeKey TRANSFORM_TARGET = keyOf("transform", "target"); 56 private static final AttributeKey TRANSFORM_DIRECTION = keyOf("transform", "direction"); 57 private static final AttributeKey TRANSFORM_VARIANT = keyOf("transform", "variant"); 58 private static final AttributeKey TRANSFORM_VISIBILITY = keyOf("transform", "visibility"); 59 private static final AttributeKey TRANSFORM_ALIAS = keyOf("transform", "alias"); 60 private static final AttributeKey TRANSFORM_BACKALIAS = keyOf("transform", "backwardAlias");
|
H A D | CollationMapper.java | 7 import static org.unicode.cldr.api.AttributeKey.keyOf; 47 private static final AttributeKey COLLATION_TYPE = keyOf("collation", "type"); 48 private static final AttributeKey COLLATION_RULE_ALT = keyOf("cr", "alt"); 50 private static final AttributeKey SPECIAL_RULES = keyOf("icu:UCARules", "icu:uca_rules"); 51 private static final AttributeKey SPECIAL_DEP = keyOf("icu:depends", "icu:dependency");
|
H A D | DayPeriodsMapper.java | 5 import static org.unicode.cldr.api.AttributeKey.keyOf; 39 private static final AttributeKey RULESET_TYPE = keyOf("dayPeriodRuleSet", "type"); 40 private static final AttributeKey RULES_LOCALES = keyOf("dayPeriodRules", "locales"); 41 private static final AttributeKey RULE_TYPE = keyOf("dayPeriodRule", "type");
|
H A D | PluralsMapper.java | 6 import static org.unicode.cldr.api.AttributeKey.keyOf; 38 private static final AttributeKey PLURALS_TYPE = keyOf("plurals", "type"); 39 private static final AttributeKey RULES_LOCALES = keyOf("pluralRules", "locales"); 40 private static final AttributeKey RULE_COUNT = keyOf("pluralRule", "count");
|
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ |
H A D | SupplementalData.java | 11 import static org.unicode.cldr.api.AttributeKey.keyOf; 65 private static final AttributeKey PARENT = keyOf("parentLocale", "parent"); 66 private static final AttributeKey LOCALES = keyOf("parentLocale", "locales"); 71 keyOf("calendarPreference", "territories"); 73 keyOf("calendarPreference", "ordering"); 77 private static final AttributeKey SUBTAG_FROM = keyOf("likelySubtag", "from"); 78 private static final AttributeKey SUBTAG_TO = keyOf("likelySubtag", "to"); 94 final AttributeKey typeKey = AttributeKey.keyOf(elementName, "type"); 95 final AttributeKey replacementKey = AttributeKey.keyOf(elementName, "replacement");
|
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/ |
H A D | LocaleDistanceMapper.java | 68 private static final AttributeKey VARIABLE_ID = AttributeKey.keyOf("matchVariable", "id"); 69 private static final AttributeKey VARIABLE_VALUE = AttributeKey.keyOf("matchVariable", "value"); 78 AttributeKey.keyOf("languageMatch", "desired"); 80 AttributeKey.keyOf("languageMatch", "supported"); 82 AttributeKey.keyOf("languageMatch", "distance"); 85 AttributeKey.keyOf("languageMatch", "oneway"); 96 AttributeKey.keyOf("paradigmLocales", "locales");
|
H A D | LikelySubtagsBuilder.java | 43 private static final AttributeKey SUBTAG_FROM = AttributeKey.keyOf("likelySubtag", "from"); 44 private static final AttributeKey SUBTAG_TO = AttributeKey.keyOf("likelySubtag", "to"); 90 this.typeKey = AttributeKey.keyOf(elementName, "type"); in AliasType() 91 this.reasonKey = AttributeKey.keyOf(elementName, "reason"); in AliasType() 92 this.replacementKey = AttributeKey.keyOf(elementName, "replacement"); in AliasType()
|
H A D | TerritoryContainment.java | 34 private static final AttributeKey TYPE = AttributeKey.keyOf("group", "type"); 35 private static final AttributeKey CONTAINS = AttributeKey.keyOf("group", "contains");
|
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/generator/ |
H A D | ResourceFallbackCodeGenerator.java | 44 String from = value.get(AttributeKey.keyOf("likelySubtag", "from")); in handleLikelySubtag() 45 String to = value.get(AttributeKey.keyOf("likelySubtag", "to")); in handleLikelySubtag() 74 String parent = value.get(AttributeKey.keyOf("parentLocale", "parent")); in handleParentLocale() 75 String childrenStr = value.get(AttributeKey.keyOf("parentLocale", "locales")); in handleParentLocale()
|
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/ |
H A D | CldrDataProcessorTest.java | 25 private static final AttributeKey TERRITORY_TYPE = AttributeKey.keyOf("territory", "type"); 26 private static final AttributeKey CURRENCY_TYPE = AttributeKey.keyOf("currency", "type");
|
/third_party/typescript/tests/baselines/reference/ |
H A D | genericFunctionInference1.js | 124 export function keyOf<a>(value: { key: a; }): a { 136 toKeys(data, keyOf); // Error 311 export function keyOf(value) {
315 toKeys(data, keyOf); // Error
|