Home
last modified time | relevance | path

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

12

/external/cldr/tools/java/org/unicode/cldr/tool/
DPluralRulesFactory.java30 private final SupplementalDataInfo supplementalDataInfo; field in PluralRulesFactory
38 public static PluralRulesFactory getInstance(SupplementalDataInfo supplementalDataInfo) { in getInstance() argument
39 return getInstance(supplementalDataInfo, Type.NORMAL); in getInstance()
44 …public static PluralRulesFactory getInstance(SupplementalDataInfo supplementalDataInfo, Type type)… in getInstance() argument
45 …Pair<Type, String> key = new Pair<Type, String>(type, supplementalDataInfo.getDirectory().getAbsol… in getInstance()
50 prf = new PluralRulesFactoryVanilla(supplementalDataInfo); in getInstance()
66 private PluralRulesFactory(SupplementalDataInfo supplementalDataInfo) { in PluralRulesFactory() argument
67 this.supplementalDataInfo = supplementalDataInfo; in PluralRulesFactory()
71 private PluralRulesFactoryVanilla(SupplementalDataInfo supplementalDataInfo) { in PluralRulesFactoryVanilla() argument
72 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.java29 private SupplementalDataInfo supplementalDataInfo; field in LikelySubtags
46 public LikelySubtags(SupplementalDataInfo supplementalDataInfo) { in LikelySubtags() argument
47 this(supplementalDataInfo, supplementalDataInfo.getLikelySubtags()); in LikelySubtags()
55 … public LikelySubtags(SupplementalDataInfo supplementalDataInfo, Map<String, String> toMaximized) { in LikelySubtags() argument
56 this.supplementalDataInfo = supplementalDataInfo; in LikelySubtags()
61 for (String territory : supplementalDataInfo.getTerritoriesWithPopulationData()) { in LikelySubtags()
62 PopulationData pop = supplementalDataInfo.getPopulationDataForTerritory(territory); in LikelySubtags()
68 … Set<CurrencyDateInfo> targetCurrencyInfo = supplementalDataInfo.getCurrencyDateInfo(territory); in LikelySubtags()
278 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()
DShowLanguages.java111 static SupplementalDataInfo supplementalDataInfo = SupplementalDataInfo field in ShowLanguages
249 Set<String> languages = supplementalDataInfo.getBasicLanguageDataLanguages(); in printLanguageScript()
251 … Set<BasicLanguageData> basicLanguageData = supplementalDataInfo.getBasicLanguageData(language); in printLanguageScript()
282 for (String language : supplementalDataInfo.getLanguagesForTerritoriesPopulationData()) {
283 … Set<String> territories = supplementalDataInfo.getTerritoriesForPopulationData(language);
291 …PopulationData data = supplementalDataInfo.getLanguageAndTerritoryPopulationData(language, territo…
391 Set<String> languages = supplementalDataInfo.getBasicLanguageDataLanguages();
393 … Set<BasicLanguageData> basicLanguageData = supplementalDataInfo.getBasicLanguageData(language);
448 Set<String> languages = supplementalDataInfo.getLanguages(); in initTerritoryFix()
462 Set<String> territories = supplementalDataInfo.getTerritoriesForPopulationData(language); in addOfficialTerritory()
[all …]
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()
456 Set<String> bcp47CurrencyCodes = supplementalDataInfo.getBcp47Keys().getAll("cu"); in loadCLDRData()
461 scripts = supplementalDataInfo.getCLDRScriptCodes(); in loadCLDRData()
462 languages = supplementalDataInfo.getCLDRLanguageCodes(); in loadCLDRData()
589 static SupplementalDataInfo supplementalDataInfo = SupplementalDataInfo local
620 for (String territory : supplementalDataInfo in showRegionCodeInfo()
625 PopulationData popData = supplementalDataInfo in showRegionCodeInfo()
[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()
649 PluralInfo pluralInfo = supplementalDataInfo.getPlurals(locale); in writeCountPathInfo()
1098 …PathDescription pathDescription = new PathDescription(GenerateXMB.supplementalDataInfo, english, e… in EnglishInfo()
1320 …Map<String, Map<String, String>> metazoneToRegionToZone = supplementalDataInfo.getMetazoneToRegion…
1321 for (String metazone : supplementalDataInfo.getAllMetazones()) {
1335 …Set<SupplementalDataInfo.MetaZoneRange> metazoneRanges = supplementalDataInfo.getMetaZoneRanges(go…
1361 …Set<SupplementalDataInfo.MetaZoneRange> metazoneRanges = supplementalDataInfo.getMetaZoneRanges(zo… in showMetazoneInfo()
DGeneratePluralRanges.java38 public GeneratePluralRanges(SupplementalDataInfo supplementalDataInfo) { in GeneratePluralRanges() argument
39 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()
/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()
DCheckLanguageCodeConverter.java55 SupplementalDataInfo supplementalDataInfo = SupplementalDataInfo in main() local
57 Map<String, R2<List<String>, String>> languageAliases = supplementalDataInfo in main()
106 LikelySubtags likely = new LikelySubtags(supplementalDataInfo); in main()
130 Set<BasicLanguageData> data = supplementalDataInfo in main()
DTestLocale.java260 SupplementalDataInfo supplementalDataInfo = testInfo in TestConsistency() local
262 Set<String> defaultContentLocales = supplementalDataInfo in TestConsistency()
264 Map<String, String> likelySubtags = supplementalDataInfo in TestConsistency()
285 boolean parentIsRoot = "root".equals(supplementalDataInfo in TestConsistency()
DTestLocalCurrency.java40 SupplementalDataInfo supplementalDataInfo = testInfo in TestConsistency() local
60 Set<CurrencyDateInfo> targetCurrencyInfo = supplementalDataInfo in TestConsistency()
/external/cldr/tools/java/org/unicode/cldr/icu/
DLocaleMapper.java53 private SupplementalDataInfo supplementalDataInfo; field in LocaleMapper
151 SupplementalDataInfo supplementalDataInfo, boolean useAltValues, in LocaleMapper() argument
165 this.supplementalDataInfo = supplementalDataInfo; in LocaleMapper()
191 supplementalDataInfo.getLocaleAliasInfo().get("territory").keySet()) in getDeprecatedTerritories()
397 String parent = supplementalDataInfo.getExplicitParentLocale(locale); in hackAddExtras()
440 localeID = supplementalDataInfo.getLikelySubtags().get(parser.getLanguage()); in getCalendar()
448 List<String> calendars = supplementalDataInfo.getCalendars(region); in getCalendar()
DNewLdml2IcuConverter.java224 SupplementalDataInfo supplementalDataInfo = null; in processArgs() local
227 supplementalDataInfo = SupplementalDataInfo.getInstance(supplementalDir); in processArgs()
235 supplementalDataInfo, options.get("filter").doesOccur(), organization); in processArgs()
/external/cldr/tools/java/org/unicode/cldr/util/
DCoverageInfo.java68 private final SupplementalDataInfo supplementalDataInfo; field in CoverageInfo
71 this.supplementalDataInfo = coverageInfoGettable; in CoverageInfo()
95 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.java155 private SupplementalDataInfo supplementalDataInfo; field in CLDRConfig
214 if (supplementalDataInfo == null) { in getSupplementalDataInfo()
215supplementalDataInfo = SupplementalDataInfo.getInstance(CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY); in getSupplementalDataInfo()
218 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.java434 private final SupplementalDataInfo supplementalDataInfo; field in VettingViewer
458 …public VettingViewer(SupplementalDataInfo supplementalDataInfo, Factory cldrFactory, Factory cldrF… in VettingViewer() argument
470 this.supplementalDataInfo = supplementalDataInfo; in VettingViewer()
471 this.defaultContentLocales = supplementalDataInfo.getDefaultContentLocales(); in VettingViewer()
869 Level level = supplementalDataInfo.getCoverageLevel(path, sourceFile.getLocaleID()); in getFileInfo()
1239 Set<String> contents = supplementalDataInfo.getEquivalentsForLocale(localeID); in getName()
2020 SupplementalDataInfo supplementalDataInfo = SupplementalDataInfo in main() local
2058 …gViewer<Organization> tableView = new VettingViewer<Organization>(supplementalDataInfo, cldrFactor… in main()
DPathDescription.java60 public PathDescription(SupplementalDataInfo supplementalDataInfo, in PathDescription() argument
68 allMetazones = supplementalDataInfo.getAllMetazones(); in PathDescription()
/external/cldr/tools/java/org/unicode/cldr/test/
DExampleGenerator.java92 private static SupplementalDataInfo supplementalDataInfo; field in ExampleGenerator
239 if (supplementalDataInfo == null) { in ExampleGenerator()
240 supplementalDataInfo = SupplementalDataInfo.getInstance(supplementalDataDirectory); in ExampleGenerator()
245 pluralInfo = supplementalDataInfo.getPlurals(PluralType.cardinal, cldrFile.getLocaleID()); in ExampleGenerator()
551 … DayPeriodInfo dayPeriodInfo = supplementalDataInfo.getDayPeriods(aType, cldrFile.getLocaleID()); in handleDayPeriod()
958 final PluralInfo plurals = supplementalDataInfo.getPlurals(cldrFile.getLocaleID()); in formatCountValue()
1029 String currency = supplementalDataInfo.getDefaultCurrency(territory); in formatCountValue()
1196 String countryCode = supplementalDataInfo.getZone_territory(timezone); in handleTimeZoneName()
1216 boolean singleZone = !supplementalDataInfo.getMultizones().contains(countryCode); in handleTimeZoneName()
1256 … String timezone = supplementalDataInfo.getZoneForMetazoneByRegion(metazone_name, "001"); in handleTimeZoneName()
[all …]
DCasingInfo.java121 SupplementalDataInfo supplementalDataInfo = SupplementalDataInfo.getInstance(); in generateCasingInformation() local
122 Set<String> defaultContentLocales = supplementalDataInfo.getDefaultContentLocales(); in generateCasingInformation()

12