/external/cldr/tools/java/org/unicode/cldr/api/ |
D | AttributeKey.java | 47 public final class AttributeKey { class 50 private static final ImmutableTable<String, String, AttributeKey> KNOWN_KEYS = 54 .filter(AttributeKey::isKnownAttribute) 55 .map(a -> new AttributeKey(e.getName(), a.getName()))) 58 AttributeKey::getElementName, AttributeKey::getAttributeName, identity())); 74 /* @Nullable */ String get(AttributeKey k); in get() 90 public static AttributeKey keyOf(String elementName, String attributeName) { in keyOf() 105 return new AttributeKey(elementName, attributeName); in keyOf() 111 private AttributeKey(String elementName, String attributeName) { in AttributeKey() method in AttributeKey 232 if (!(obj instanceof AttributeKey)) { in equals() [all …]
|
D | CldrValue.java | 10 import org.unicode.cldr.api.AttributeKey.AttributeSupplier; 57 LinkedHashMap<AttributeKey, String> valueAttributes = new LinkedHashMap<>(); in parseValue() 100 … static CldrValue create(String value, Map<AttributeKey, String> valueAttributes, CldrPath path) { in create() argument 105 private final ImmutableMap<AttributeKey, String> attributes; 110 private CldrValue(String value, Map<AttributeKey, String> attributes, CldrPath path) { in CldrValue() argument 124 private static ImmutableMap<AttributeKey, String> checkAttributeMap( in checkAttributeMap() argument 125 Map<AttributeKey, String> attributes) { in checkAttributeMap() 155 /* @Nullable */ public String get(AttributeKey key) { in get() 180 public ImmutableMap<AttributeKey, String> getValueAttributes() { in getValueAttributes()
|
D | CldrPath.java | 19 import org.unicode.cldr.api.AttributeKey.AttributeSupplier; 275 /* @Nullable */ public String get(AttributeKey key) { in get() 462 StringBuilder out, ImmutableMap<AttributeKey, String> valueAttributes) { in appendToString() argument 475 .map(AttributeKey::getAttributeName) in appendToString() 497 ImmutableMap<AttributeKey, String> valueAttributes) { in appendResortedValueAttributesTo() argument 506 value = valueAttributes.get(AttributeKey.keyOf(elementName, attrName)); in appendResortedValueAttributesTo() 516 ImmutableMap<AttributeKey, String> valueAttributes) { in appendValueAttributesTo() argument 518 String value = valueAttributes.get(AttributeKey.keyOf(elementName, attrName)); in appendValueAttributesTo()
|
D | CldrPaths.java | 278 BiConsumer<AttributeKey, String> valueAttributeCollector) { in processXPath() argument 381 BiConsumer<AttributeKey, String> collectValueAttribute) { in processPathAttributes() argument 400 BiConsumer<AttributeKey, String> collectValueAttribute, in processAttributes() argument 404 … collectValueAttribute.accept(AttributeKey.keyOf(elementName, e.getKey()), e.getValue()); in processAttributes()
|
D | PathMatcher.java | 10 import static org.unicode.cldr.api.AttributeKey.keyOf; 235 private final ImmutableMap<AttributeKey, String> attributes; 248 for (Map.Entry<AttributeKey, String> e : attributes.entrySet()) { in match()
|
D | CldrFileDataSource.java | 71 Map<AttributeKey, String> attributes = new LinkedHashMap<>(); in get() 102 Map<AttributeKey, String> valueAttributes = new LinkedHashMap<>(); in read()
|
D | CldrDataType.java | 181 boolean isValueAttribute(AttributeKey key) { 190 boolean isOptionalAttribute(AttributeKey key) {
|
D | XmlDataSource.java | 208 private final Map<AttributeKey, String> valueAttributes = new LinkedHashMap<>(); 326 BiConsumer<AttributeKey, String> valueAttributeCollector) { in extendPath() argument
|
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/mapper/ |
D | Bcp47Mapper.java | 7 import static org.unicode.cldr.api.AttributeKey.keyOf; 18 import org.unicode.cldr.api.AttributeKey; 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"); [all …]
|
D | RbnfMapper.java | 6 import static org.unicode.cldr.api.AttributeKey.keyOf; 11 import org.unicode.cldr.api.AttributeKey; 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");
|
D | PluralRangesMapper.java | 5 import static org.unicode.cldr.api.AttributeKey.keyOf; 9 import org.unicode.cldr.api.AttributeKey; 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");
|
D | TransformsMapper.java | 9 import static org.unicode.cldr.api.AttributeKey.keyOf; 21 import org.unicode.cldr.api.AttributeKey; 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"); 205 private static String getExpectedOptionalAttribute(CldrValue value, AttributeKey key) { in getExpectedOptionalAttribute()
|
D | CollationMapper.java | 7 import static org.unicode.cldr.api.AttributeKey.keyOf; 12 import org.unicode.cldr.api.AttributeKey; 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"); 128 AttributeKey key; in maybeAddSpecial()
|
D | DayPeriodsMapper.java | 5 import static org.unicode.cldr.api.AttributeKey.keyOf; 9 import org.unicode.cldr.api.AttributeKey; 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");
|
D | BreakIteratorMapper.java | 6 import static org.unicode.cldr.api.AttributeKey.keyOf; 10 import org.unicode.cldr.api.AttributeKey; 49 private static final AttributeKey SEGMENTATION_TYPE = keyOf("segmentation", "type"); 50 private static final AttributeKey DICTIONARY_DEP = keyOf("icu:dictionary", "icu:dependency"); 51 private static final AttributeKey DICTIONARY_TYPE = keyOf("icu:dictionary", "type");
|
D | PluralsMapper.java | 6 import static org.unicode.cldr.api.AttributeKey.keyOf; 13 import org.unicode.cldr.api.AttributeKey; 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");
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/api/ |
D | CldrValueTest.java | 25 ImmutableMap<AttributeKey, String> expected = ImmutableMap.of( in TestValueAttributes() 26 AttributeKey.keyOf("info", "digits"), "2", in TestValueAttributes() 27 AttributeKey.keyOf("info", "rounding"), "0", in TestValueAttributes() 28 AttributeKey.keyOf("info", "cashDigits"), "0", in TestValueAttributes() 29 AttributeKey.keyOf("info", "cashRounding"), "0"); in TestValueAttributes() 46 AttributeKey key = AttributeKey.keyOf("type", "deprecated"); in TestRetainExplicitNonDefault()
|
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/ |
D | LocaleDistanceMapper.java | 25 import org.unicode.cldr.api.AttributeKey; 68 private static final AttributeKey VARIABLE_ID = AttributeKey.keyOf("matchVariable", "id"); 69 private static final AttributeKey VARIABLE_VALUE = AttributeKey.keyOf("matchVariable", "value"); 77 private static final AttributeKey MATCH_DESIRED = 78 AttributeKey.keyOf("languageMatch", "desired"); 79 private static final AttributeKey MATCH_SUPPORTED = 80 AttributeKey.keyOf("languageMatch", "supported"); 81 private static final AttributeKey MATCH_DISTANCE = 82 AttributeKey.keyOf("languageMatch", "distance"); 84 private static final AttributeKey MATCH_ONEWAY = [all …]
|
D | LikelySubtagsBuilder.java | 12 import org.unicode.cldr.api.AttributeKey; 43 private static final AttributeKey SUBTAG_FROM = AttributeKey.keyOf("likelySubtag", "from"); 44 private static final AttributeKey SUBTAG_TO = AttributeKey.keyOf("likelySubtag", "to"); 84 private final AttributeKey typeKey; 85 private final AttributeKey reasonKey; 86 private final AttributeKey replacementKey; 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()
|
D | TerritoryContainment.java | 12 import org.unicode.cldr.api.AttributeKey; 34 private static final AttributeKey TYPE = AttributeKey.keyOf("group", "type"); 35 private static final AttributeKey CONTAINS = AttributeKey.keyOf("group", "contains");
|
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/ |
D | CldrDataProcessorTest.java | 15 import org.unicode.cldr.api.AttributeKey; 25 private static final AttributeKey TERRITORY_TYPE = AttributeKey.keyOf("territory", "type"); 26 private static final AttributeKey CURRENCY_TYPE = AttributeKey.keyOf("currency", "type");
|
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ |
D | SupplementalData.java | 11 import static org.unicode.cldr.api.AttributeKey.keyOf; 26 import org.unicode.cldr.api.AttributeKey; 65 private static final AttributeKey PARENT = keyOf("parentLocale", "parent"); 66 private static final AttributeKey LOCALES = keyOf("parentLocale", "locales"); 70 private static final AttributeKey CALENDER_TERRITORIES = 72 private static final AttributeKey CALENDER_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");
|