Home
last modified time | relevance | path

Searched refs:RegexLookup (Results 1 – 21 of 21) sorted by relevance

/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestLdml2ICU.java19 import org.unicode.cldr.util.RegexLookup;
20 import org.unicode.cldr.util.RegexLookup.RegexFinder;
67 static final RegexLookup<Pair<ExclusionType, String>> exclusions = RegexLookup
69 .setPatternTransform(RegexLookup.RegexFinderTransformPath)
139 private static RegexLookup<Object> loadRegexes(String filename) { in loadRegexes()
140 final RegexLookup<Object> lookup = RegexLookup.of() in loadRegexes()
184 RegexLookup<Object> lookup = loadRegexes("ldml2icu_supplemental.txt"); in checkSupplementalRegexes()
201 private <T> void checkPath(RegexLookup<T> lookup, String xpath, String value) { in checkPath()
240 RegexLookup<Object> lookup = loadRegexes("ldml2icu_locale.txt"); in checkLocaleRegexes()
DTestCoverageLevel.java34 import org.unicode.cldr.util.RegexLookup;
35 import org.unicode.cldr.util.RegexLookup.Finder;
293 RegexLookup<Level> exceptions = RegexLookup.of(null,
/external/cldr/tools/java/org/unicode/cldr/util/
DRegexLookup.java20 import org.unicode.cldr.util.RegexLookup.Finder;
21 import org.unicode.cldr.util.RegexLookup.Finder.Info;
32 public class RegexLookup<T> implements Iterable<Map.Entry<Finder, T>> { class
70 public RegexLookup(LookupType type) { in RegexLookup() method in RegexLookup
87 public RegexLookup() { in RegexLookup() method in RegexLookup
756 if (_lookupType == RegexLookup.LookupType.STAR_PATTERN_LOOKUP) { in get()
775 } else if (_lookupType == RegexLookup.LookupType.OPTIMIZED_DIRECTORY_PATTERN_LOOKUP) { in get()
839 if (_lookupType == RegexLookup.LookupType.STAR_PATTERN_LOOKUP) { in getAll()
860 } else if (_lookupType == RegexLookup.LookupType.OPTIMIZED_DIRECTORY_PATTERN_LOOKUP) { in getAll()
948 public static <T, U> RegexLookup<T> of(Transform<String, Finder> patternTransform, in of()
[all …]
DValuePathStatus.java32 …static final RegexLookup<ValuePathStatus.MissingOK> missingOk = new RegexLookup<ValuePathStatus.Mi…
33 .setPatternTransform(RegexLookup.RegexFinderTransformPath)
DPatternPlaceholders.java9 import org.unicode.cldr.util.RegexLookup.Merger;
116 private RegexLookup<PlaceholderData> patternPlaceholders;
126 SINGLETON.patternPlaceholders = RegexLookup.of(new MapTransform()) in getInstance()
DPathDescription.java39 …private static RegexLookup<String> pathHandling = new RegexLookup<String>().loadFromFile(PathDescr…
DPathHeader.java24 import org.unicode.cldr.util.RegexLookup.Finder;
541 static final RegexLookup<RawData> lookup = RegexLookup
544 RegexLookup.RegexFinderTransformPath)
1763 input = RegexLookup.replace(input, args.value);
DCldrUtility.java47 import org.unicode.cldr.util.RegexLookup.Finder;
1475 …public static <T> void logRegexLookup(TestFmwk testFramework, RegexLookup<T> lookup, String toLook… in logRegexLookup()
DSupplementalDataInfo.java2426 private RegexLookup<Level> coverageLookup = null;
2428 public synchronized RegexLookup<Level> getCoverageLookup() {
2430RegexLookup<Level> lookup = new RegexLookup<Level>(RegexLookup.LookupType.STAR_PATTERN_LOOKUP);
/external/cldr/tools/java/org/unicode/cldr/icu/
DRegexManager.java22 import org.unicode.cldr.util.RegexLookup;
23 import org.unicode.cldr.util.RegexLookup.Finder;
24 import org.unicode.cldr.util.RegexLookup.Merger;
25 import org.unicode.cldr.util.RegexLookup.RegexFinder;
245 return RegexLookup.replace(value, arguments); in processString()
408 RegexLookup<FallbackInfo> fallbackConverter;
409 RegexLookup<RegexResult> xpathConverter;
490 RegexLookup<FallbackInfo> getFallbackConverter() { in getFallbackConverter()
500 RegexLookup<RegexResult> getPathConverter() { in getPathConverter()
507 RegexLookup<RegexResult> getPathConverter(CLDRFile cldrFile) { in getPathConverter()
[all …]
DLocaleMapper.java26 import org.unicode.cldr.util.RegexLookup;
27 import org.unicode.cldr.util.RegexLookup.Finder;
208 RegexLookup<RegexResult> pathConverter = manager.getPathConverter(resolvedCldr); in fillFromCldr()
316 private RegexResult matchXPath(RegexLookup<RegexResult> lookup, in matchXPath()
352 Set<String> validRbPaths, RegexLookup<RegexResult> pathConverter, in addMatchesForPath()
DSupplementalMapper.java23 import org.unicode.cldr.util.RegexLookup;
24 import org.unicode.cldr.util.RegexLookup.Finder;
309 RegexLookup<RegexResult> pathConverter = regexMapper.getPathConverter(); in loadValues()
/external/cldr/tools/java/org/unicode/cldr/test/
DCoverageLevel2.java15 import org.unicode.cldr.util.RegexLookup;
16 import org.unicode.cldr.util.RegexLookup.Finder;
17 import org.unicode.cldr.util.RegexLookup.RegexFinder;
36 private RegexLookup<Level> lookup = null;
DOutdatedPaths.java22 import org.unicode.cldr.util.RegexLookup;
208 static RegexLookup<Boolean> SKIP_PATHS = new RegexLookup<Boolean>()
DCheckForCopy.java16 import org.unicode.cldr.util.RegexLookup;
36 static RegexLookup<Boolean> skip = new RegexLookup<Boolean>()
DCheckWidths.java13 import org.unicode.cldr.util.RegexLookup;
188 static RegexLookup<Limit[]> lookup = new RegexLookup<Limit[]>()
189 .setPatternTransform(RegexLookup.RegexFinderTransformPath)
DCheckConsistentCasing.java22 import org.unicode.cldr.util.RegexLookup;
179 static final RegexLookup<Category> pathToBucket = new RegexLookup<Category>()
/external/cldr/tools/java/org/unicode/cldr/tool/
DFilterFactory.java27 import org.unicode.cldr.util.RegexLookup;
332 private RegexLookup<String> xpathLookup = new RegexLookup<String>();
347 String newPath = RegexLookup.replace(newValue, arguments.value); in modifyFile()
DShowLocaleCoverage.java59 import org.unicode.cldr.util.RegexLookup;
60 import org.unicode.cldr.util.RegexLookup.LookupType;
99 …static final RegexLookup<Boolean> HACK = RegexLookup.<Boolean> of(LookupType.STANDARD, RegexLookup
137 static final RegexLookup<Boolean> SUPPRESS_PATHS_CAN_BE_EMPTY = new RegexLookup<Boolean>()
DGenerateXMB.java47 import org.unicode.cldr.util.RegexLookup;
48 import org.unicode.cldr.util.RegexLookup.Finder;
121 …static RegexLookup<String> pathFindRemover = new RegexLookup<String>().loadFromFile(GenerateXMB.cl…
1088 RegexLookup<Boolean> coverageAllow = new RegexLookup<Boolean>() in EnglishInfo()
DCLDRModify.java54 import org.unicode.cldr.util.RegexLookup;
1052 RegexLookup<Integer> paths = RegexLookup.<Integer> of()
1053 .setPatternTransform(RegexLookup.RegexFinderTransformPath2)