/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestLdml2ICU.java | 19 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()
|
D | TestCoverageLevel.java | 34 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/ |
D | RegexLookup.java | 20 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 …]
|
D | ValuePathStatus.java | 32 …static final RegexLookup<ValuePathStatus.MissingOK> missingOk = new RegexLookup<ValuePathStatus.Mi… 33 .setPatternTransform(RegexLookup.RegexFinderTransformPath)
|
D | PatternPlaceholders.java | 9 import org.unicode.cldr.util.RegexLookup.Merger; 116 private RegexLookup<PlaceholderData> patternPlaceholders; 126 SINGLETON.patternPlaceholders = RegexLookup.of(new MapTransform()) in getInstance()
|
D | PathDescription.java | 39 …private static RegexLookup<String> pathHandling = new RegexLookup<String>().loadFromFile(PathDescr…
|
D | PathHeader.java | 24 import org.unicode.cldr.util.RegexLookup.Finder; 541 static final RegexLookup<RawData> lookup = RegexLookup 544 RegexLookup.RegexFinderTransformPath) 1763 input = RegexLookup.replace(input, args.value);
|
D | CldrUtility.java | 47 import org.unicode.cldr.util.RegexLookup.Finder; 1475 …public static <T> void logRegexLookup(TestFmwk testFramework, RegexLookup<T> lookup, String toLook… in logRegexLookup()
|
D | SupplementalDataInfo.java | 2426 private RegexLookup<Level> coverageLookup = null; 2428 public synchronized RegexLookup<Level> getCoverageLookup() { 2430 … RegexLookup<Level> lookup = new RegexLookup<Level>(RegexLookup.LookupType.STAR_PATTERN_LOOKUP);
|
/external/cldr/tools/java/org/unicode/cldr/icu/ |
D | RegexManager.java | 22 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 …]
|
D | LocaleMapper.java | 26 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()
|
D | SupplementalMapper.java | 23 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/ |
D | CoverageLevel2.java | 15 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;
|
D | OutdatedPaths.java | 22 import org.unicode.cldr.util.RegexLookup; 208 static RegexLookup<Boolean> SKIP_PATHS = new RegexLookup<Boolean>()
|
D | CheckForCopy.java | 16 import org.unicode.cldr.util.RegexLookup; 36 static RegexLookup<Boolean> skip = new RegexLookup<Boolean>()
|
D | CheckWidths.java | 13 import org.unicode.cldr.util.RegexLookup; 188 static RegexLookup<Limit[]> lookup = new RegexLookup<Limit[]>() 189 .setPatternTransform(RegexLookup.RegexFinderTransformPath)
|
D | CheckConsistentCasing.java | 22 import org.unicode.cldr.util.RegexLookup; 179 static final RegexLookup<Category> pathToBucket = new RegexLookup<Category>()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | FilterFactory.java | 27 import org.unicode.cldr.util.RegexLookup; 332 private RegexLookup<String> xpathLookup = new RegexLookup<String>(); 347 String newPath = RegexLookup.replace(newValue, arguments.value); in modifyFile()
|
D | ShowLocaleCoverage.java | 59 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>()
|
D | GenerateXMB.java | 47 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()
|
D | CLDRModify.java | 54 import org.unicode.cldr.util.RegexLookup; 1052 RegexLookup<Integer> paths = RegexLookup.<Integer> of() 1053 .setPatternTransform(RegexLookup.RegexFinderTransformPath2)
|