Home
last modified time | relevance | path

Searched refs:valueAlias (Results 1 – 9 of 9) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/util/props/
DICUPropertyFactory.java156 private String getFixedValueAlias(String valueAlias, int valueEnum, int nameChoice) { in getFixedValueAlias() argument
170 if (valueAlias != null && !valueAlias.equals("<integer>")) { in getFixedValueAlias()
171 valueEnum = fixedGetPropertyValueEnum(propEnum, valueAlias); in getFixedValueAlias()
196 private static int fixedGetPropertyValueEnum(int propEnum, String valueAlias) { in fixedGetPropertyValueEnum() argument
201 return UCharacter.getPropertyValueEnum(propEnum, valueAlias); in fixedGetPropertyValueEnum()
203 return Integer.parseInt(valueAlias); in fixedGetPropertyValueEnum()
312 public List _getValueAliases(String valueAlias, List result) { in _getValueAliases() argument
316 addUnique(valueAlias, result); in _getValueAliases()
320 addUnique(cccHack.get(valueAlias), result); // add number in _getValueAliases()
324 addUnique(valueAlias, result); in _getValueAliases()
[all …]
DUnicodeProperty.java221 public List<String> getValueAliases(String valueAlias, List<String> result) { in getValueAliases() argument
224 result = _getValueAliases(valueAlias, result); in getValueAliases()
225 if (!result.contains(valueAlias)) { // FIX && type < NUMERIC in getValueAliases()
226 result = _getValueAliases(valueAlias, result); // for debugging in getValueAliases()
228 + " doesn't contain " + valueAlias + ": " in getValueAliases()
246 protected abstract List<String> _getValueAliases(String valueAlias, List<String> result); in _getValueAliases() argument
255 public final List<String> getValueAliases(String valueAlias) { in getValueAliases() argument
256 return getValueAliases(valueAlias, null); in getValueAliases()
1027 public List _getValueAliases(String valueAlias, List result) { in _getValueAliases() argument
1044 valueAlias = (String) backmap.get(valueAlias); in _getValueAliases()
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/
DUnicodeSetFormat.java207 … String valueAlias = UCharacter.getPropertyValueName(property, i, UProperty.NameChoice.SHORT); in reduceByProperty() local
208 if (valueAlias == null) { in reduceByProperty()
209valueAlias = UCharacter.getPropertyValueName(property, i, UProperty.NameChoice.LONG); in reduceByProperty()
211 if (valueAlias == null) continue; in reduceByProperty()
214 valueChars.applyPropertyAlias(propertyAlias, valueAlias); in reduceByProperty()
217 result.add("[:" + propertyAlias + '=' + valueAlias + ":]"); in reduceByProperty()
222 System.out.println("Broadening to block: " + valueAlias); in reduceByProperty()
223 result.add("[:" + propertyAlias + '=' + valueAlias + ":]"); in reduceByProperty()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestBagFormatter.java66 String valueAlias = (String) it2.next(); in generatePropertyAliases() local
67 … System.out.println("\t" + bf.join(valueAlias + "\t" + up.getValueAliases(valueAlias))); in generatePropertyAliases()
DTestUnicodeProperty.java98 protected List _getValueAliases(String valueAlias, List result) { in _getValueAliases() argument
99 return icuProperty.getValueAliases(valueAlias, result); in _getValueAliases()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUnicodeSet.java3418 public UnicodeSet applyPropertyAlias(String propertyAlias, String valueAlias) { in applyPropertyAlias() argument
3419 return applyPropertyAlias(propertyAlias, valueAlias, null); in applyPropertyAlias()
3433 String valueAlias, SymbolTable symbols) { in applyPropertyAlias() argument
3441 && ((XSymbolTable)symbols).applyPropertyAlias(propertyAlias, valueAlias, this)) { in applyPropertyAlias()
3446 if (XSYMBOL_TABLE.applyPropertyAlias(propertyAlias, valueAlias, this)) { in applyPropertyAlias()
3451 if (valueAlias.length() > 0) { in applyPropertyAlias()
3463 v = UCharacter.getPropertyValueEnum(p, valueAlias); in applyPropertyAlias()
3469 v = Integer.parseInt(PatternProps.trimWhiteSpace(valueAlias)); in applyPropertyAlias()
3482 double value = Double.parseDouble(PatternProps.trimWhiteSpace(valueAlias)); in applyPropertyAlias()
3492 String buf = mungeCharName(valueAlias); in applyPropertyAlias()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeSet.java3495 public UnicodeSet applyPropertyAlias(String propertyAlias, String valueAlias) { in applyPropertyAlias() argument
3496 return applyPropertyAlias(propertyAlias, valueAlias, null); in applyPropertyAlias()
3511 String valueAlias, SymbolTable symbols) { in applyPropertyAlias() argument
3519 && ((XSymbolTable)symbols).applyPropertyAlias(propertyAlias, valueAlias, this)) { in applyPropertyAlias()
3524 if (XSYMBOL_TABLE.applyPropertyAlias(propertyAlias, valueAlias, this)) { in applyPropertyAlias()
3529 if (valueAlias.length() > 0) { in applyPropertyAlias()
3541 v = UCharacter.getPropertyValueEnum(p, valueAlias); in applyPropertyAlias()
3547 v = Integer.parseInt(PatternProps.trimWhiteSpace(valueAlias)); in applyPropertyAlias()
3560 double value = Double.parseDouble(PatternProps.trimWhiteSpace(valueAlias)); in applyPropertyAlias()
3570 String buf = mungeCharName(valueAlias); in applyPropertyAlias()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DUCharacter.java5076 public static int getPropertyValueEnum(int property, CharSequence valueAlias) { in getPropertyValueEnum() argument
5077 int propEnum = UPropertyAliases.INSTANCE.getPropertyValueEnum(property, valueAlias); in getPropertyValueEnum()
5079 throw new IllegalIcuArgumentException("Invalid name: " + valueAlias); in getPropertyValueEnum()
5093 public static int getPropertyValueEnumNoThrow(int property, CharSequence valueAlias) { in getPropertyValueEnumNoThrow() argument
5094 return UPropertyAliases.INSTANCE.getPropertyValueEnumNoThrow(property, valueAlias); in getPropertyValueEnumNoThrow()
/external/icu/android_icu4j/src/main/java/android/icu/lang/
DUCharacter.java4476 public static int getPropertyValueEnum(int property, CharSequence valueAlias) { in getPropertyValueEnum() argument
4477 int propEnum = UPropertyAliases.INSTANCE.getPropertyValueEnum(property, valueAlias); in getPropertyValueEnum()
4479 throw new IllegalIcuArgumentException("Invalid name: " + valueAlias); in getPropertyValueEnum()
4494 public static int getPropertyValueEnumNoThrow(int property, CharSequence valueAlias) { in getPropertyValueEnumNoThrow() argument
4495 return UPropertyAliases.INSTANCE.getPropertyValueEnumNoThrow(property, valueAlias); in getPropertyValueEnumNoThrow()