/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | PluralRulesFactory.java | 30 private final SupplementalDataInfo supplementalDataInfo; field in PluralRulesFactory 39 public static PluralRulesFactory getInstance(SupplementalDataInfo supplementalDataInfo) { in getInstance() argument 40 return getInstance(supplementalDataInfo, Type.NORMAL); in getInstance() 45 …public static PluralRulesFactory getInstance(SupplementalDataInfo supplementalDataInfo, Type type)… in getInstance() argument 46 … Pair<Type, String> key = new Pair<>(type, supplementalDataInfo.getDirectory().getAbsolutePath()); in getInstance() 51 prf = new PluralRulesFactoryVanilla(supplementalDataInfo); in getInstance() 67 private PluralRulesFactory(SupplementalDataInfo supplementalDataInfo) { in PluralRulesFactory() argument 68 this.supplementalDataInfo = supplementalDataInfo; in PluralRulesFactory() 72 private PluralRulesFactoryVanilla(SupplementalDataInfo supplementalDataInfo) { in PluralRulesFactoryVanilla() argument 73 super(supplementalDataInfo); in PluralRulesFactoryVanilla() [all …]
|
D | ShowPlurals.java | 36 final SupplementalDataInfo supplementalDataInfo; field in ShowPlurals 39 supplementalDataInfo = CLDRConfig.getInstance().getSupplementalDataInfo(); in ShowPlurals() 42 public ShowPlurals(SupplementalDataInfo supplementalDataInfo) { in ShowPlurals() argument 43 this.supplementalDataInfo = supplementalDataInfo; in ShowPlurals() 100 PluralRulesFactory prf = PluralRulesFactory.getInstance(supplementalDataInfo); in printPluralTable() 102 Set<String> cardinalLocales = supplementalDataInfo.getPluralLocales(PluralType.cardinal); in printPluralTable() 103 Set<String> ordinalLocales = supplementalDataInfo.getPluralLocales(PluralType.ordinal); in printPluralTable() 109 for (String locale : supplementalDataInfo.getPluralLocales()) { in printPluralTable() 134 final PluralInfo plurals = supplementalDataInfo.getPlurals(pluralType, locale); in printPluralTable() 192 …rangeInfoList = new GeneratePluralRanges(supplementalDataInfo).getRangeInfo(factory.make(locale, t… in printPluralTable() [all …]
|
D | LikelySubtags.java | 30 private static SupplementalDataInfo supplementalDataInfo; field in LikelySubtags 42 this.toMaximized = supplementalDataInfo.getLikelySubtags(); in LikelySubtags() 49 if (supplementalDataInfo != null && currencyToLikelyTerritory != null) { in loadStaticVariables() 53 supplementalDataInfo = SupplementalDataInfo.getInstance(); in loadStaticVariables() 57 for (String territory : supplementalDataInfo.getTerritoriesWithPopulationData()) { in loadStaticVariables() 58 PopulationData pop = supplementalDataInfo.getPopulationDataForTerritory(territory); in loadStaticVariables() 64 … Set<CurrencyDateInfo> targetCurrencyInfo = supplementalDataInfo.getCurrencyDateInfo(territory); in loadStaticVariables() 281 Map<Type, BasicLanguageData> data = supplementalDataInfo.getBasicLanguageDataMap(code); in getLikelyScript()
|
D | CheckEnglishCurrencyNames.java | 22 static SupplementalDataInfo supplementalDataInfo = SupplementalDataInfo field in CheckEnglishCurrencyNames 36 if (supplementalDataInfo.getContained(territory) != null) { in main() 41 … Set<CurrencyDateInfo> currencyInfo = supplementalDataInfo.getCurrencyDateInfo(territory); in main() 85 for (String language : supplementalDataInfo.getLanguagesForTerritoriesPopulationData()) { in main() 86 … for (String territory : supplementalDataInfo.getTerritoriesForPopulationData(language)) { in main() 87 …PopulationData populationData = supplementalDataInfo.getLanguageAndTerritoryPopulationData(languag… in main()
|
D | ScriptPopulations.java | 16 static SupplementalDataInfo supplementalDataInfo = SupplementalDataInfo field in ScriptPopulations 18 static Map<String, String> likelySubtags = supplementalDataInfo.getLikelySubtags(); 24 SupplementalDataInfo info = supplementalDataInfo; in main()
|
D | GenerateEnums.java | 318 for (String value : supplementalDataInfo.getNumericTerritoryMapping().keySet()) { in loadCLDRData() 322 …threeDigits.format(supplementalDataInfo.getNumericTerritoryMapping().getAll(value).iterator().next… in loadCLDRData() 324 for (String value : supplementalDataInfo.getAlpha3TerritoryMapping().keySet()) { in loadCLDRData() 327 …enum_alpha3.put(value, supplementalDataInfo.getAlpha3TerritoryMapping().getAll(value).iterator().n… in loadCLDRData() 455 Set<String> bcp47CurrencyCodes = supplementalDataInfo.getBcp47Keys().getAll("cu"); in loadCLDRData() 460 scripts = supplementalDataInfo.getCLDRScriptCodes(); in loadCLDRData() 461 languages = supplementalDataInfo.getCLDRLanguageCodes(); in loadCLDRData() 586 static SupplementalDataInfo supplementalDataInfo = SupplementalDataInfo local 617 for (String territory : supplementalDataInfo in showRegionCodeInfo() 622 PopulationData popData = supplementalDataInfo in showRegionCodeInfo() [all …]
|
D | ShowLanguages.java | 116 static SupplementalDataInfo supplementalDataInfo = SupplementalDataInfo field in ShowLanguages 265 Set<String> languages = supplementalDataInfo.getBasicLanguageDataLanguages(); in printLanguageScript() 267 … Set<BasicLanguageData> basicLanguageData = supplementalDataInfo.getBasicLanguageData(language); in printLanguageScript() 298 for (String language : supplementalDataInfo.getLanguagesForTerritoriesPopulationData()) { 299 … Set<String> territories = supplementalDataInfo.getTerritoriesForPopulationData(language); 307 …PopulationData data = supplementalDataInfo.getLanguageAndTerritoryPopulationData(language, territo… 406 Set<String> languages = supplementalDataInfo.getBasicLanguageDataLanguages(); 408 … Set<BasicLanguageData> basicLanguageData = supplementalDataInfo.getBasicLanguageData(language); 463 Set<String> languages = supplementalDataInfo.getLanguages(); in initTerritoryFix() 477 Set<String> territories = supplementalDataInfo.getTerritoriesForPopulationData(language); in addOfficialTerritory() [all …]
|
D | GenerateXMB.java | 118 static final SupplementalDataInfo supplementalDataInfo = SupplementalDataInfo.getInstance(); field in GenerateXMB 218 final PluralInfo plurals = supplementalDataInfo.getPlurals(file, false); in main() 384 Set<String> defaultContents = supplementalDataInfo.getDefaultContentLocales(); in showDefaultContents() 648 PluralInfo pluralInfo = supplementalDataInfo.getPlurals(locale); in writeCountPathInfo() 1099 …PathDescription pathDescription = new PathDescription(GenerateXMB.supplementalDataInfo, english, e… in EnglishInfo() 1321 …Map<String, Map<String, String>> metazoneToRegionToZone = supplementalDataInfo.getMetazoneToRegion… 1322 for (String metazone : supplementalDataInfo.getAllMetazones()) { 1336 …Set<SupplementalDataInfo.MetaZoneRange> metazoneRanges = supplementalDataInfo.getMetaZoneRanges(go… 1363 …Set<SupplementalDataInfo.MetaZoneRange> metazoneRanges = supplementalDataInfo.getMetaZoneRanges(zo… in showMetazoneInfo()
|
D | GeneratePluralRanges.java | 43 public GeneratePluralRanges(SupplementalDataInfo supplementalDataInfo) { in GeneratePluralRanges() argument 44 SUPPLEMENTAL = supplementalDataInfo; in GeneratePluralRanges()
|
D | ConvertXTB.java | 573 SupplementalDataInfo supplementalDataInfo = SupplementalDataInfo.getInstance(); in getDescription() local 574 pathDescription = new PathDescription(supplementalDataInfo, englishFile, null, null, in getDescription()
|
D | GenerateG2xG2.java | 105 SupplementalDataInfo supplementalDataInfo = SupplementalDataInfo.getInstance(); in main() local 106 Set<String> mainTimeZones = supplementalDataInfo.getCanonicalTimeZones(); in main()
|
D | CountItems.java | 455 …ic Map<String, String> getCountryToContinent(SupplementalDataInfo supplementalDataInfo, CLDRFile e… in getCountryToContinent() argument 460 final Set<String> subcontinents = supplementalDataInfo.getContained(continent); in getCountryToContinent() 464 final Set<String> countries = supplementalDataInfo.getContained(subcontinent); in getCountryToContinent()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | LanguageTest.java | 30 final SupplementalDataInfo supplementalDataInfo = testInfo field in LanguageTest 32 final Map<String, String> likelyMap = supplementalDataInfo 42 for (String language : supplementalDataInfo 44 for (BasicLanguageData basic : supplementalDataInfo 65 for (String language : supplementalDataInfo 107 for (String language : supplementalDataInfo in TestThatLanguagesHaveScript() 130 for (String territory : supplementalDataInfo in TestThatLanguagesHaveScript() 132 PopulationData data = supplementalDataInfo in TestThatLanguagesHaveScript()
|
D | TestLocalCurrency.java | 43 SupplementalDataInfo supplementalDataInfo = testInfo in TestConsistency() local 63 Set<CurrencyDateInfo> targetCurrencyInfo = supplementalDataInfo in TestConsistency()
|
D | CheckLanguageCodeConverter.java | 55 SupplementalDataInfo supplementalDataInfo = SupplementalDataInfo in main() local 57 Map<String, R2<List<String>, String>> languageAliases = supplementalDataInfo in main() 130 Set<BasicLanguageData> data = supplementalDataInfo in main()
|
D | TestLocale.java | 282 SupplementalDataInfo supplementalDataInfo = SUPPLEMENTAL_DATA_INFO; in TestConsistency() local 283 Set<String> defaultContentLocales = supplementalDataInfo in TestConsistency() 285 Map<String, String> likelySubtags = supplementalDataInfo in TestConsistency() 306 boolean parentIsRoot = "root".equals(supplementalDataInfo in TestConsistency()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | CoverageInfo.java | 70 private final SupplementalDataInfo supplementalDataInfo; field in CoverageInfo 73 this.supplementalDataInfo = coverageInfoGettable; in CoverageInfo() 97 return CoverageLevel2.getInstance(supplementalDataInfo, location); in getCoverageLevel()
|
D | WikipediaOfficialLanguages.java | 225 SupplementalDataInfo supplementalDataInfo = testInfo.getSupplementalDataInfo(); in main() local 233 …Set<String> cldrLanguagesRaw = supplementalDataInfo.getLanguagesForTerritoryWithPopulationData(reg… in main() 237 … PopulationData sInfo = supplementalDataInfo.getLanguageAndTerritoryPopulationData(s, region); in main() 246 …PopulationData sInfo = supplementalDataInfo.getLanguageAndTerritoryPopulationData(info.language, r… in main() 264 … PopulationData sInfo = supplementalDataInfo.getLanguageAndTerritoryPopulationData(r2, region); in main()
|
D | CLDRConfig.java | 156 private SupplementalDataInfo supplementalDataInfo; field in CLDRConfig 217 if (supplementalDataInfo == null) { in getSupplementalDataInfo() 218 … supplementalDataInfo = SupplementalDataInfo.getInstance(CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY); in getSupplementalDataInfo() 221 return supplementalDataInfo; in getSupplementalDataInfo()
|
D | PluralSnapshot.java | 79 SupplementalDataInfo supplementalDataInfo = SupplementalDataInfo.getInstance(); in SnapshotInfo() local 81 for (String locale : supplementalDataInfo.getPluralLocales(pluralType)) { in SnapshotInfo() 82 PluralInfo plurals = supplementalDataInfo.getPlurals(pluralType, locale); in SnapshotInfo()
|
D | VettingViewer.java | 415 private final SupplementalDataInfo supplementalDataInfo; field in VettingViewer 430 public VettingViewer(SupplementalDataInfo supplementalDataInfo, Factory cldrFactory, in VettingViewer() argument 440 this.supplementalDataInfo = supplementalDataInfo; in VettingViewer() 441 this.defaultContentLocales = supplementalDataInfo.getDefaultContentLocales(); in VettingViewer() 623 Level level = supplementalDataInfo.getCoverageLevel(path, sourceFile.getLocaleID()); in getFileInfo() 1002 Set<String> contents = supplementalDataInfo.getEquivalentsForLocale(localeID); in getName() 1616 SupplementalDataInfo supplementalDataInfo = SupplementalDataInfo in main() local 1657 … VettingViewer<Organization> tableView = new VettingViewer<>(supplementalDataInfo, cldrFactory, in main()
|
D | PathDescription.java | 59 public PathDescription(SupplementalDataInfo supplementalDataInfo, in PathDescription() argument 67 allMetazones = supplementalDataInfo.getAllMetazones(); in PathDescription()
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | ExampleGenerator.java | 93 private static SupplementalDataInfo supplementalDataInfo; field in ExampleGenerator 271 if (supplementalDataInfo == null) { in ExampleGenerator() 272 supplementalDataInfo = SupplementalDataInfo.getInstance(supplementalDataDirectory); in ExampleGenerator() 277 pluralInfo = supplementalDataInfo.getPlurals(PluralType.cardinal, cldrFile.getLocaleID()); in ExampleGenerator() 572 … DayPeriodInfo dayPeriodInfo = supplementalDataInfo.getDayPeriods(aType, cldrFile.getLocaleID()); in handleDayPeriod() 613 UnitConverter uc = supplementalDataInfo.getUnitConverter(); in handleFormatUnit() 1161 …final PluralInfo plurals = supplementalDataInfo.getPlurals(PluralType.cardinal, cldrFile.getLocale… in formatCountValue() 1228 String currency = supplementalDataInfo.getDefaultCurrency(territory); in formatCountValue() 1399 String countryCode = supplementalDataInfo.getZone_territory(timezone); in handleTimeZoneName() 1419 boolean singleZone = !supplementalDataInfo.getMultizones().contains(countryCode); in handleTimeZoneName() [all …]
|
D | CasingInfo.java | 121 SupplementalDataInfo supplementalDataInfo = SupplementalDataInfo.getInstance(); in generateCasingInformation() local 122 Set<String> defaultContentLocales = supplementalDataInfo.getDefaultContentLocales(); in generateCasingInformation()
|
D | ConsoleCheckCLDR.java | 469 supplementalDataInfo = SupplementalDataInfo.getInstance(CLDRPaths.SUPPLEMENTAL_DIRECTORY); in main() 478 if (supplementalDataInfo.getDefaultContentLocales().contains(localeID)) { in main() 1511 pathDescription = new PathDescription(supplementalDataInfo, english, null, null, in getIdString() 1604 private static SupplementalDataInfo supplementalDataInfo; field in ConsoleCheckCLDR
|