/external/cldr/tools/java/org/unicode/cldr/util/ |
D | WikipediaOfficialLanguages.java | 20 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus; 33 final OfficialStatus status; 36 public Info(String language, OfficialStatus status, String comments) { in Info() 163 private static OfficialStatus guessStatus(String line) { in guessStatus() 165 return OfficialStatus.official_minority; in guessStatus() 167 return OfficialStatus.official_regional; in guessStatus() 169 return OfficialStatus.recognized; in guessStatus() 171 return OfficialStatus.de_facto_official; in guessStatus() 173 return OfficialStatus.official; in guessStatus() 175 return OfficialStatus.official; in guessStatus() [all …]
|
D | LanguageInfo.java | 11 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus; 26 …private Relation<OfficialStatus, String> statusToRegions = Relation.of(new EnumMap<OfficialStatus,… 33 public Relation<OfficialStatus, String> getStatusToRegions() { in getStatusToRegions() 79 OfficialStatus ostatus = data.getOfficialStatus(); 80 if (ostatus != OfficialStatus.unknown) {
|
D | SupplementalDataInfo.java | 112 public enum OfficialStatus { enum in SupplementalDataInfo 118 private OfficialStatus(String shortName, int weight) { in OfficialStatus() method in SupplementalDataInfo.OfficialStatus 132 return compareTo(OfficialStatus.de_facto_official) >= 0; in isMajor() 136 return compareTo(OfficialStatus.official_regional) >= 0; in isOfficial() 152 private OfficialStatus officialStatus = OfficialStatus.unknown; 254 public OfficialStatus getOfficialStatus() { in getOfficialStatus() 258 public PopulationData setOfficialStatus(OfficialStatus officialStatus) { in setOfficialStatus() 1789 OfficialStatus officialStatus = OfficialStatus.unknown; 1791 … if (officialStatusString != null) officialStatus = OfficialStatus.valueOf(officialStatusString);
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | ScriptPopulations.java | 12 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus; 28 Map<String, OfficialStatus> bestStatus = new HashMap<String, OfficialStatus>(); in main() 33 OfficialStatus officialStatus = languageInfo.getOfficialStatus(); in main() 48 OfficialStatus oldStatus = bestStatus.get(lang); in main() 58 OfficialStatus officialStatus = bestStatus.get(lang); in main()
|
D | GetLanguageData.java | 11 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus; 35 Pair<OfficialStatus, String> status = isOfficialLanguageOfEUCountry(language); in run() 98 private Pair<OfficialStatus, String> isOfficialLanguageOfEUCountry(String language) { in isOfficialLanguageOfEUCountry() 99 OfficialStatus bestStatus = OfficialStatus.unknown; in isOfficialLanguageOfEUCountry() 105 OfficialStatus status = pop.getOfficialStatus(); in isOfficialLanguageOfEUCountry()
|
D | ShowLanguageData.java | 11 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus; 33 OfficialStatus status = popData.getOfficialStatus(); in main()
|
D | FindPreferredHours.java | 21 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus; 319 OfficialStatus status = data.getOfficialStatus(); in isOfficial() 320 if (status == OfficialStatus.official || status == OfficialStatus.de_facto_official) { in isOfficial()
|
D | GenerateMaximalLocales.java | 43 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus; 460 OfficialStatus os; 464 public RowData(OfficialStatus os, String name, Long pop) { in RowData() 470 public OfficialStatus getStatus() { in getStatus() 524 …OfficialStatus minimalStatus = OfficialStatus.official_regional; // OfficialStatus.de_facto_offici… in printDefaultLanguagesAndScripts() 554 OfficialStatus status = popData.getOfficialStatus(); in printDefaultLanguagesAndScripts() 570 … add(languageToReason, language, container, OfficialStatus.unknown, literatePopulation); in printDefaultLanguagesAndScripts() 579 add(languageToReason, language, "001", OfficialStatus.unknown, totalPop); in printDefaultLanguagesAndScripts() 584 add(languageToReason, "und", "001", OfficialStatus.unknown, 0); in printDefaultLanguagesAndScripts() 661 OfficialStatus best = OfficialStatus.unknown; in getLanguageName() [all …]
|
D | CheckEnglishCurrencyNames.java | 16 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus; 89 OfficialStatus status = populationData.getOfficialStatus(); in main()
|
D | ShowLanguages.java | 61 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus; 280 …static final Map<String, OfficialStatus> languageToBestStatus = new HashMap<String, OfficialStatus… 292 OfficialStatus status = data.getOfficialStatus(); 293 OfficialStatus old; 309 OfficialStatus status = languageToBestStatus.get(language); 468 OfficialStatus status = data.getOfficialStatus(); in addOfficialTerritory() 1650 if (x == null || x.getOfficialStatus() == OfficialStatus.unknown) return ""; in getOfficialStatus() 1657 if (x == null || x.getOfficialStatus() == OfficialStatus.unknown) return ""; in getRawOfficialStatus()
|
D | ConvertLanguageData.java | 49 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus; 589 private final OfficialStatus officialStatus; 605 officialStatus = OfficialStatus.unknown; in RowData() 636 officialStatus = OfficialStatus.valueOf(officialStatusString); in RowData() 1138 Set<OfficialStatus> statusFound = new TreeSet<OfficialStatus>(); in getExcelData() 1250 … + "\t" + (row.officialStatus == OfficialStatus.unknown ? "" : row.officialStatus) in getExcelData()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestInheritance.java | 36 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus; 84 … ChainedMap.M4<String, OfficialStatus, String, Boolean> languageToOfficialChildren = ChainedMap in TestLocalesHaveOfficial() 86 new TreeMap<OfficialStatus, Object>(), in TestLocalesHaveOfficial() 101 OfficialStatus status = data.getOfficialStatus(); in TestLocalesHaveOfficial() 102 if (data.getOfficialStatus() != OfficialStatus.unknown) { in TestLocalesHaveOfficial() 130 OfficialStatus.unknown, locale, Boolean.TRUE); in TestLocalesHaveOfficial() 139 M3<OfficialStatus, String, Boolean> officalStatusToChildren = languageToOfficialChildren in TestLocalesHaveOfficial() 141 for (Entry<OfficialStatus, Map<String, Boolean>> entry : officalStatusToChildren) { in TestLocalesHaveOfficial() 142 OfficialStatus status = entry.getKey(); in TestLocalesHaveOfficial() 143 if (status != OfficialStatus.official in TestLocalesHaveOfficial() [all …]
|
D | TestCoverageLevel.java | 39 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus; 176 OfficialStatus officialStatus = pop.getOfficialStatus(); 177 if (officialStatus.compareTo(OfficialStatus.de_facto_official) >= 0) {
|
D | TestSupplementalInfo.java | 58 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus; 894 OfficialStatus.de_facto_official) < 0) { in TestTimeData()
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | GenerateLanguageData.java | 19 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus; 93 OfficialStatus status = data.getOfficialStatus(); in run() 94 if (status.compareTo(OfficialStatus.official_minority) >= 0) { in run()
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | CheckForCopy.java | 18 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus; 276 final OfficialStatus officialStatus = popData.getOfficialStatus(); in generateExcludedItems() 277 if (officialStatus == OfficialStatus.unknown) { in generateExcludedItems()
|
/external/cldr/tools/java/org/unicode/cldr/util/data/ |
D | country_language_population_raw.txt | 1 * CName CCode CPopulation CLiteracy CGdp OfficialStatus Language LCode LPopulation WritingPop Refer…
|