/external/cldr/tools/java/org/unicode/cldr/util/ |
D | Containment.java | 101 public static String getContainer(String territory) { in getContainer() argument 102 Set<String> containers = containedToContainerCore.get(territory); in getContainer() 104 containers = containedToContainer.get(territory); in getContainer() 108 : territory.equals("001") ? "001" : "ZZ"; in getContainer() 117 public static Set<String> getContainers(String territory) { in getContainers() argument 118 return containedToContainer.get(territory); in getContainers() 126 public static String getContinent(String territory) { in getContinent() argument 128 if (territory == null in getContinent() 129 || territory.equals("001") in getContinent() 130 || territory.equals("ZZ") in getContinent() [all …]
|
D | PathHeader.java | 318 String territory = Containment.getRegionFromZone(worldZone); 319 if (territory == null) { 320 territory = "ZZ"; 326 if (territory.equals("RU") || territory.equals("AQ")) { 327 metazoneToPageTerritory.put(metazone, territory); 329 String continent = Containment.getContinent(territory); 330 String subcontinent = Containment.getSubcontinent(territory); 1241 String territory = getSubdivisionsTerritory(source, null); 1242 String container = Containment.getContainer(territory); 1243 order = Containment.getOrder(territory); [all …]
|
D | LanguageInfo.java | 74 for (String territory : SDI.getTerritoriesWithPopulationData()) { 75 for (String language0 : SDI.getLanguagesForTerritoryWithPopulationData(territory)) { 76 … PopulationData data = SDI.getLanguageAndTerritoryPopulationData(language0, territory); 81 foo.statusToRegions.put(ostatus, territory); in foo.statusToRegions.put() argument
|
/external/cldr/tools/java/org/unicode/cldr/util/data/ |
D | localeReplacements.txt | 76 territory deprecated AN CW SX BQ 77 territory deprecated CS RS ME 78 territory deprecated CT KI 79 territory deprecated DY BJ 80 territory deprecated FQ AQ TF 81 territory deprecated HV BF 82 territory deprecated JT UM 83 territory deprecated MI UM 84 territory deprecated NH VU 85 territory deprecated NQ AQ [all …]
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | CheckEnglishCurrencyNames.java | 35 for (String territory : sc.getGoodAvailableCodes("territory")) { in main() 36 if (supplementalDataInfo.getContained(territory) != null) { in main() 37 territoriesWithoutModernCurrencies.remove(territory); in main() 40 System.out.println(territory); in main() 41 … Set<CurrencyDateInfo> currencyInfo = supplementalDataInfo.getCurrencyDateInfo(territory); in main() 54 modernCurrencyCodes2territory.put(currency, territory); in main() 55 territoriesWithoutModernCurrencies.remove(territory); in main() 57 currencyCodesWithDates.put(currency, territory); in main() 86 … for (String territory : supplementalDataInfo.getTerritoriesForPopulationData(language)) { in main() 88 territory); in main() [all …]
|
D | dataModifiers.txt | 11 …l/localeDisplayNames/territories/territory[@type="FK"][@alt="variant"] ; //ldml/localeDisplayNames… 13 …ml/localeDisplayNames/territories/territory[@type="HK"][@alt="short"] ; //ldml/localeDisplayNames/… 15 …l/localeDisplayNames/territories/territory[@type="MK"][@alt="variant"] ; //ldml/localeDisplayNames… 17 …ml/localeDisplayNames/territories/territory[@type="MO"][@alt="short"] ; //ldml/localeDisplayNames/… 19 …ml/localeDisplayNames/territories/territory[@type="PS"][@alt="short"] ; //ldml/localeDisplayNames/…
|
D | GetLanguageData.java | 48 for (String territory : territories) { in findSuspectData() 51 .getPopulationDataForTerritory(territory); in findSuspectData() 56 Set<String> languages = sdata.getLanguagesForTerritoryWithPopulationData(territory); in findSuspectData() 59 … PopulationData pop2 = sdata.getLanguageAndTerritoryPopulationData(language, territory); in findSuspectData() 67 System.out.println(territory // in findSuspectData() 68 + "\t" + english.getName("territory", territory) // in findSuspectData() 77 System.out.println("\tScaling " + territory + "\t" + scale * 100 + "%"); in findSuspectData() 82 … PopulationData pop2 = sdata.getLanguageAndTerritoryPopulationData(language, territory); in findSuspectData() 103 for (String territory : territories) { in isOfficialLanguageOfEUCountry() 104 PopulationData pop = sdata.getLanguageAndTerritoryPopulationData(language, territory); in isOfficialLanguageOfEUCountry() [all …]
|
D | ShowLanguageData.java | 27 for (String territory : data.getTerritoriesForPopulationData(language)) { in main() 28 Counter<String> langCounter = map.get(territory); in main() 30 map.put(territory, langCounter = new Counter<String>()); in main() 32 … PopulationData popData = data.getLanguageAndTerritoryPopulationData(language, territory); in main() 41 for (String territory : map.keySet()) { in main() 42 Counter<String> langCounter = map.get(territory); in main() 50 + "\t" + territory + "\t" + english.getName(CLDRFile.TERRITORY_NAME, territory) in main()
|
D | AddPopulationData.java | 419 for (String territory : sc.getGoodAvailableCodes("territory")) { 420 if (!StandardCodes.isCountry(territory)) { 423 double gdp = getGdp(territory); 424 double literacy = getLiteracy(territory); 425 double population = getPopulation(territory); 428 …myErrors.append("\n" + territory + ";" + sc.getData("territory", territory) + ";gdp-ppp;0;reason"); 431 …myErrors.append("\n" + territory + ";" + sc.getData("territory", territory) + ";literacy;0;reason"… 434 myErrors.append("\n" + territory + ";" + sc.getData("territory", territory)
|
D | ShowLanguages.java | 290 for (String territory : territories) { 291 …ulationData data = supplementalDataInfo.getLanguageAndTerritoryPopulationData(language, territory); 409 for (String territory : mainTerritories) { 410 addLanguageScriptCells2(tablePrinter2, language, script, territory); 411 remainingTerritories.remove(territory); 466 for (String territory : territories) { in addOfficialTerritory() 467 …ulationData data = supplementalDataInfo.getLanguageAndTerritoryPopulationData(language, territory); in addOfficialTerritory() 470 territoryFix.put(baseLanguage, territory); in addOfficialTerritory() 471 … System.out.println("\tAdding\t" + baseLanguage + "\t" + territory + "\t" + language); in addOfficialTerritory() 477 String territory) { in addLanguageScriptCells2() argument [all …]
|
D | LikelySubtags.java | 61 for (String territory : supplementalDataInfo.getTerritoriesWithPopulationData()) { in LikelySubtags() 62 PopulationData pop = supplementalDataInfo.getPopulationDataForTerritory(territory); in LikelySubtags() 64 sorted.add(Row.of(-population, territory)); in LikelySubtags() 67 String territory = item.get1(); in LikelySubtags() local 68 … Set<CurrencyDateInfo> targetCurrencyInfo = supplementalDataInfo.getCurrencyDateInfo(territory); in LikelySubtags() 76 currencyToLikelyTerritory.put(currency, territory); in LikelySubtags()
|
D | ScriptPopulations.java | 30 for (String territory : info.getTerritoriesWithPopulationData()) { in main() 31 for (String language : info.getLanguagesForTerritoryWithPopulationData(territory)) { in main() 32 … PopulationData languageInfo = info.getLanguageAndTerritoryPopulationData(language, territory); in main()
|
D | GenerateG2xG2.java | 69 String territory = ulocale.getCountry(); in main() local 79 targetRegionSet.add(territory); in main() 82 addPriority("G4", territory); // will normally be overridden in main() 201 String territory = it.next(); in showLocales() local 202 if (territory.charAt(0) < 'A') continue; in showLocales() 203 String locale = "haw-" + territory; in showLocales() 370 private static List<String> getCurrency(String territory) { in getCurrency() argument 396 return territory_currency.get(territory); in getCurrency()
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | GenerateLanguageData.java | 52 for (String territory : info.getTerritoriesWithPopulationData()) { in run() 53 PopulationData terrData = info.getPopulationDataForTerritory(territory); in run() 54 out.println(territory in run() 85 for (String territory : territories) { in run() 86 PopulationData terrData = info.getPopulationDataForTerritory(territory); in run() 87 String territoryName = english.getName(CLDRFile.TERRITORY_NAME, territory); in run() 89 … PopulationData data = info.getLanguageAndTerritoryPopulationData(languageCode, territory); in run() 99 counter.add(territory, literatePopulationLangRegion); in run() 110 + "\t" + territory in run()
|
/external/cldr/tools/java/org/unicode/cldr/icu/ |
D | ldml2icu_supplemental.txt | 106 //supplementalData/territoryInfo/territory[@type="(%W)"][@gdp="(%N)"][@literacyPercent="(%N)"][@pop… 107 …s=&exp($2) &exp($3,-2) &exp($4) ; base_xpath=//supplementalData/territoryInfo/territory[@type="$1"] 112 //supplementalData/territoryInfo/territory[@type="(%W)"][@gdp="(%N)"][@literacyPercent="(%N)"][@pop… 113 …s=&exp($2) &exp($3,-2) &exp($4) ; base_xpath=//supplementalData/territoryInfo/territory[@type="$1"] 117 //supplementalData/territoryInfo/territory[@type="(%W)"][@gdp="(%N)"][@literacyPercent="(%N)"][@pop… 118 …s=&exp($2) &exp($3,-2) &exp($4) ; base_xpath=//supplementalData/territoryInfo/territory[@type="$1"] 123 //supplementalData/territoryInfo/territory[@type="(%W)"][@gdp="(%N)"][@literacyPercent="(%N)"][@pop… 124 …s=&exp($2) &exp($3,-2) &exp($4) ; base_xpath=//supplementalData/territoryInfo/territory[@type="$1"] 128 //supplementalData/territoryInfo/territory[@type="(%W)"][@gdp="(%N)"][@literacyPercent="(%N)"][@pop… 129 …s=&exp($2) &exp($3,-2) &exp($4) ; base_xpath=//supplementalData/territoryInfo/territory[@type="$1"] [all …]
|
/external/e2fsprogs/intl/ |
D | explodename.c | 54 const char **territory, const char **codeset, in _nl_explode_name() argument 63 *territory = NULL; in _nl_explode_name() 86 *territory = ++cp; in _nl_explode_name() 174 if (*territory != NULL && (*territory)[0] == '\0') in _nl_explode_name()
|
D | finddomain.c | 56 const char *territory; in _nl_find_domain() local 137 mask = _nl_explode_name (locale, &language, &modifier, &territory, in _nl_find_domain() 144 strlen (dirname) + 1, mask, language, territory, in _nl_find_domain()
|
D | l10nflist.c | 172 int mask, const char *language, const char *territory, in _nl_make_l10nflist() argument 195 ? strlen (territory) + 1 : 0) in _nl_make_l10nflist() 231 cp = stpcpy (cp, territory); in _nl_make_l10nflist() 348 cnt, language, territory, codeset, in _nl_make_l10nflist() 355 cnt, language, territory, codeset, in _nl_make_l10nflist()
|
D | loadinfo.h | 104 const char *language, const char *territory, 134 const char **modifier, const char **territory,
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | CheckForCopy.java | 274 for (String territory : territoriesForPopulationData) { in generateExcludedItems() 275 …PopulationData popData = supplementalData.getLanguageAndTerritoryPopulationData(locale, territory); in generateExcludedItems() 280 … englishName = getDisplayInformation().getName(CLDRFile.TERRITORY_NAME, territory); in generateExcludedItems() 281 nativeName = nativeFile.getName(CLDRFile.TERRITORY_NAME, territory); in generateExcludedItems() 283 System.out.println('"' + territory + "\", // " + englishName); in generateExcludedItems()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestPathHeader.java | 818 for (String territory : results) { in TestTerritoryOrder() 819 String sub = Containment.getSubcontinent(territory); in TestTerritoryOrder() 820 String cont = Containment.getContinent(territory); in TestTerritoryOrder() 821 errln("Missing\t" + getNameAndOrder(territory) + "\t" in TestTerritoryOrder() 826 private Set<String> showContained(String territory, int level, in showContained() argument 828 if (!soFar.contains(territory)) { in showContained() 831 soFar.remove(territory); in showContained() 832 Set<String> contained = supplemental.getContained(territory); in showContained() 837 logln(level + "\t" + getNameAndOrder(territory) + "\t" in showContained() 846 private String getNameAndOrder(String territory) { in getNameAndOrder() argument [all …]
|
D | TestCoverageLevel.java | 171 for (String territory : SDI 175 territory); 179 languageStatus.put(base + "_" + territory, 185 territoryLiteratePopulation.add(territory, litPop); in territoryLiteratePopulation.add() argument 186 languageLiteratePopulation.add(base + "_" + territory, litPop); 202 for (String territory : SDI 206 territory); 208 double total = territoryLiteratePopulation.getCount(territory); 214 for (String territory : STANDARD_CODES.getAvailableCodes( 216 Set<CurrencyDateInfo> cdateInfo = SDI.getCurrencyDateInfo(territory);
|
D | LanguageTest.java | 57 String territory = territories.iterator().next(); 58 addMap(language2territory, language, territory, type); in addMap() argument 60 addMap(script2territory, territory, language, type); in addMap() argument 130 for (String territory : supplementalDataInfo in TestThatLanguagesHaveScript() 134 territory); in TestThatLanguagesHaveScript()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/ |
D | GlobalizationPreferencesTest.java | 457 String territory = gp.getTerritory(); in TestTerritory() local 458 if (!territory.equals("US")) { in TestTerritory() 459 errln("FAIL: Territory is " + territory + " - Expected: US"); in TestTerritory() 465 territory = gp.getTerritory(); in TestTerritory() 466 if (!territory.equals("FR")) { in TestTerritory() 467 errln("FAIL: Territory is " + territory + " - Expected: FR"); in TestTerritory() 474 territory = gp.getTerritory(); in TestTerritory() 475 if (!territory.equals("CA")) { in TestTerritory() 476 errln("FAIL: Territory is " + territory + " - Expected: CA"); in TestTerritory() 493 territory = gp.getTerritory(); in TestTerritory() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | GlobalizationPreferencesTest.java | 460 String territory = gp.getTerritory(); in TestTerritory() local 461 if (!territory.equals("US")) { in TestTerritory() 462 errln("FAIL: Territory is " + territory + " - Expected: US"); in TestTerritory() 468 territory = gp.getTerritory(); in TestTerritory() 469 if (!territory.equals("FR")) { in TestTerritory() 470 errln("FAIL: Territory is " + territory + " - Expected: FR"); in TestTerritory() 477 territory = gp.getTerritory(); in TestTerritory() 478 if (!territory.equals("CA")) { in TestTerritory() 479 errln("FAIL: Territory is " + territory + " - Expected: CA"); in TestTerritory() 496 territory = gp.getTerritory(); in TestTerritory() [all …]
|