Home
last modified time | relevance | path

Searched refs:supplementalDataInfo (Results 1 – 25 of 28) sorted by relevance

12

/external/cldr/tools/java/org/unicode/cldr/tool/
DPluralRulesFactory.java30 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 …]
DShowPlurals.java36 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 …]
DLikelySubtags.java30 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()
DCheckEnglishCurrencyNames.java22 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()
DScriptPopulations.java16 static SupplementalDataInfo supplementalDataInfo = SupplementalDataInfo field in ScriptPopulations
18 static Map<String, String> likelySubtags = supplementalDataInfo.getLikelySubtags();
24 SupplementalDataInfo info = supplementalDataInfo; in main()
DGenerateEnums.java318 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 …]
DShowLanguages.java116 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 …]
DGenerateXMB.java118 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()
DGeneratePluralRanges.java43 public GeneratePluralRanges(SupplementalDataInfo supplementalDataInfo) { in GeneratePluralRanges() argument
44 SUPPLEMENTAL = supplementalDataInfo; in GeneratePluralRanges()
DConvertXTB.java573 SupplementalDataInfo supplementalDataInfo = SupplementalDataInfo.getInstance(); in getDescription() local
574 pathDescription = new PathDescription(supplementalDataInfo, englishFile, null, null, in getDescription()
DGenerateG2xG2.java105 SupplementalDataInfo supplementalDataInfo = SupplementalDataInfo.getInstance(); in main() local
106 Set<String> mainTimeZones = supplementalDataInfo.getCanonicalTimeZones(); in main()
DCountItems.java455 …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/
DLanguageTest.java30 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()
DTestLocalCurrency.java43 SupplementalDataInfo supplementalDataInfo = testInfo in TestConsistency() local
63 Set<CurrencyDateInfo> targetCurrencyInfo = supplementalDataInfo in TestConsistency()
DCheckLanguageCodeConverter.java55 SupplementalDataInfo supplementalDataInfo = SupplementalDataInfo in main() local
57 Map<String, R2<List<String>, String>> languageAliases = supplementalDataInfo in main()
130 Set<BasicLanguageData> data = supplementalDataInfo in main()
DTestLocale.java282 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/
DCoverageInfo.java70 private final SupplementalDataInfo supplementalDataInfo; field in CoverageInfo
73 this.supplementalDataInfo = coverageInfoGettable; in CoverageInfo()
97 return CoverageLevel2.getInstance(supplementalDataInfo, location); in getCoverageLevel()
DWikipediaOfficialLanguages.java225 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()
DCLDRConfig.java156 private SupplementalDataInfo supplementalDataInfo; field in CLDRConfig
217 if (supplementalDataInfo == null) { in getSupplementalDataInfo()
218supplementalDataInfo = SupplementalDataInfo.getInstance(CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY); in getSupplementalDataInfo()
221 return supplementalDataInfo; in getSupplementalDataInfo()
DPluralSnapshot.java79 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()
DVettingViewer.java415 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()
DPathDescription.java59 public PathDescription(SupplementalDataInfo supplementalDataInfo, in PathDescription() argument
67 allMetazones = supplementalDataInfo.getAllMetazones(); in PathDescription()
/external/cldr/tools/java/org/unicode/cldr/test/
DExampleGenerator.java93 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 …]
DCasingInfo.java121 SupplementalDataInfo supplementalDataInfo = SupplementalDataInfo.getInstance(); in generateCasingInformation() local
122 Set<String> defaultContentLocales = supplementalDataInfo.getDefaultContentLocales(); in generateCasingInformation()
DConsoleCheckCLDR.java469 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

12