Home
last modified time | relevance | path

Searched refs:directionInfo (Results 1 – 4 of 4) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/util/
DCLDRTransforms.java351 private void addDisplayNameToId(Map<String, String> ids2, ParsedTransformID directionInfo) { in addDisplayNameToId() argument
352 displayNameToId.put(directionInfo.getDisplayId(), directionInfo.toString()); in addDisplayNameToId()
356 ParsedTransformID directionInfo = new ParsedTransformID(); in registerTransliteratorsFromXML() local
360 ruleString = getIcuRulesFromXmlFile(dir, cldrFileName2, directionInfo); in registerTransliteratorsFromXML()
368 String id = directionInfo.getId(); in registerTransliteratorsFromXML()
369 addDisplayNameToId(displayNameToId, directionInfo); in registerTransliteratorsFromXML()
371 …if (directionInfo.getDirection() == Direction.both || directionInfo.getDirection() == Direction.fo… in registerTransliteratorsFromXML()
373 for (String alias : directionInfo.getAliases()) { in registerTransliteratorsFromXML()
380 …if (directionInfo.getDirection() == Direction.both || directionInfo.getDirection() == Direction.ba… in registerTransliteratorsFromXML()
382 for (String alias : directionInfo.getBackwardAliases()) { in registerTransliteratorsFromXML()
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestBcp47Transforms.java62 ParsedTransformID directionInfo = new ParsedTransformID(); in TestNames() local
64 directionInfo); in TestNames()
65 if (directionInfo.getVisibility() == Visibility.internal) in TestNames()
67 String source = directionInfo.source; in TestNames()
68 String target = directionInfo.target; in TestNames()
69 String variant = directionInfo.variant; in TestNames()
77 old2newName.put(directionInfo.toString(), standard); in TestNames()
79 if (directionInfo.getDirection() == Direction.both) { in TestNames()
82 old2newName.put(directionInfo.toString(), standard); in TestNames()
226 ParsedTransformID directionInfo) { in getIcuRulesFromXmlFile() argument
[all …]
/external/cldr/tools/java/org/unicode/cldr/tool/
DFixTransformNames.java275 ParsedTransformID directionInfo = new ParsedTransformID(); in getCldrIds() local
277 … Set<String> store = directionInfo.getVisibility() == Visibility.external ? result : internal; in getCldrIds()
278 if (directionInfo.getDirection() != Direction.backward) { in getCldrIds()
279 store.add(directionInfo.getId()); in getCldrIds()
281 if (directionInfo.getDirection() != Direction.forward) { in getCldrIds()
282 store.add(directionInfo.getBackwardId()); in getCldrIds()
DCLDRFileTransformer.java132 ParsedTransformID directionInfo = new ParsedTransformID(); in loadTransliterator() local
133 …sforms.getIcuRulesFromXmlFile(transformDir, localeTransform.getTransformFilename(), directionInfo); in loadTransliterator()
134 transliterator = Transliterator.createFromRules(directionInfo.getId(), in loadTransliterator()