Home
last modified time | relevance | path

Searched refs:placeholderMatcher (Results 1 – 2 of 2) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/util/
DUnitConverter.java743 Matcher placeholderMatcher = PLACEHOLDER.matcher(""); in toString() local
806 … placeholderPosition = extractUnit(placeholderMatcher, unitPattern, unitPatternOut); in toString()
811 placeholderPattern = placeholderMatcher.group(); in toString()
1030 …public static PlaceholderLocation extractUnit(Matcher placeholderMatcher, String unitPattern, Outp… in extractUnit() argument
1031 if (placeholderMatcher.reset(unitPattern).find()) { in extractUnit()
1032 if (placeholderMatcher.start() == 0) { in extractUnit()
1033 unitPatternOut.value = unitPattern.substring(placeholderMatcher.end()); in extractUnit()
1035 } else if (placeholderMatcher.end() == unitPattern.length()) { in extractUnit()
1036 unitPatternOut.value = unitPattern.substring(0, placeholderMatcher.start()); in extractUnit()
/external/cldr/tools/java/org/unicode/cldr/tool/
DChartGrammaticalForms.java235 Matcher placeholderMatcher = UnitConverter.PLACEHOLDER.matcher(""); in writeSubcharts() local
420 …placeholderPosition = UnitConverter.extractUnit(placeholderMatcher, localizedUnitPattern, unitPatt… in writeSubcharts()
423 String placeholderPattern = placeholderMatcher.group(); in writeSubcharts()