Home
last modified time | relevance | path

Searched refs:getLocaleID (Results 1 – 25 of 104) sorted by relevance

12345

/external/cldr/tools/java/org/unicode/cldr/util/
DICUServiceBuilder.java171 String key = cldrFile.getLocaleID() + "," + calendar + "," + dateIndex + "," + timeIndex; in getDateFormat()
184 … String key = cldrFile.getLocaleID() + "," + calendar + ",," + pattern + ",,," + numbersOverride; in getDateFormat()
198 … ULocale curLocaleWithCalendar = new ULocale(cldrFile.getLocaleID() + "@calendar=" + calendar); in getFullFormat()
229 … ULocale curLocaleWithNumbers = new ULocale(cldrFile.getLocaleID() + "@numbers=" + fields[1]); in getFullFormat()
246 String key = cldrFile.getLocaleID() + "," + calendar; in _getDateFormatSymbols()
255 … ULocale curLocaleWithCalendar = new ULocale(cldrFile.getLocaleID() + "@calendar=" + calendar); in _getDateFormatSymbols()
410 … throw new IllegalArgumentException("locale: " + cldrFile.getLocaleID() + "\tpath: " + key in getDateTimePattern()
446 …new RuntimeException("Internal Error: ICUServiceBuilder.getArray():" + cldrFile.getLocaleID() + " " in getArray()
576 …NumberFormat result = (NumberFormat) cacheNumberFormats.get(cldrFile.getLocaleID() + "@numbers=" +…
578 ULocale ulocale = new ULocale(cldrFile.getLocaleID() + "@numbers=" + ns);
[all …]
DXMLSource.java69 public String getLocaleID() { in getLocaleID() method in XMLSource
490 return getLocaleID(); in getSourceLocaleID()
697 return sources.get(getLocaleID()); in getUnresolving()
716 + CldrUtility.LINE_SEPARATOR + "\t*locale: " + currentSource.getLocaleID()); in getValueAtDPath()
950 return new AliasLocation(xpath, source.getLocaleID()); in getPathLocation()
1182 … if (sourceList == null || !sourceList.get(sourceList.size() - 1).getLocaleID().equals("root")) { in ResolvingSource()
1188 sources.put(source.getLocaleID(), source); in ResolvingSource()
1198 public String getLocaleID() { in getLocaleID() method in XMLSource.ResolvingSource
1199 return currentSource.getLocaleID(); in getLocaleID()
DCLDRFile.java147 + " locale=" + dataSource.getLocaleID() in toString()
155 + " locale=" + dataSource.getLocaleID() in toString()
457 lip.set(dataSource.getLocaleID()); in write()
627 localeWhereFound.value = getLocaleID(); in getConstructedBaileyValue()
812 … Log.logln(getLocaleID() + "\tDenied attempt to replace non-draft" + CldrUtility.LINE_SEPARATOR in putAll()
818 Log.logln(getLocaleID() + "\tVETTED: [" + newFullPath + ",\t" + newValue + "]"); in putAll()
1120 public String getLocaleID() { in getLocaleID() method in CLDRFile
1121 return dataSource.getLocaleID(); in getLocaleID()
1782 System.out.println("\tERROR in " + target.getLocaleID()
2243 if (getLocaleID().equals("en")) {
[all …]
DLogicalGrouping.java92 … DayPeriodInfo dpi = supplementalData.getDayPeriods(dayPeriodContext, cldrFile.getLocaleID()); in getPaths()
184 cldrFile.getLocaleID()); in getPluralInfo()
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckChildren.java44 tempSet.put(immediateChildren[i].getLocaleID(), otherValue); in handleCheck()
46 tempSet.put(immediateChildren[i].getLocaleID(), value); in handleCheck()
64 … if (cldrFileToCheck.getLocaleID().equals("root")) return this; // Root's children can override. in setCldrFileToCheck()
76 CLDRLocale myLocale = CLDRLocale.getInstance(cldrFileToCheck.getLocaleID()); in setCldrFileToCheck()
DCheckAttributeValues.java86 if (!getCldrFileToCheck().getLocaleID().equals(locale)) { in handleCheck()
253 … pluralInfo = supplementalData.getPlurals(PluralType.cardinal, cldrFileToCheck.getLocaleID()); in setCldrFileToCheck()
255 isEnglish = "en".equals(localeIDParser.set(cldrFileToCheck.getLocaleID()).getLanguage()); in setCldrFileToCheck()
263 if (!localeMatcher.matches(cldrFileToCheck.getLocaleID())) { in setCldrFileToCheck()
267 new Object[] { cldrFileToCheck.getLocaleID() })); in setCldrFileToCheck()
DCheckForCopy.java158 … if (!getCldrFileToCheck().getLocaleID().equals(loc) || !path.equals(status.pathWhereFound)) { in handleCheck()
232 final String localeID = cldrFileToCheck.getLocaleID(); in setCldrFileToCheck()
DCheckCurrencies.java33 …drFileToCheck().getSourceLocaleID(path, null).equals(getCldrFileToCheck().getLocaleID())) { // skip in handleCheck()
DCheckMetazones.java25 …drFileToCheck().getSourceLocaleID(path, null).equals(getCldrFileToCheck().getLocaleID())) { // skip in handleCheck()
DFactoryCheckCLDR.java45 resolvedCldrFileToCheck = factory.make(getCldrFileToCheck().getLocaleID(), true); in getResolvedCldrFileToCheck()
DCheckQuotes.java34 if (this.getCldrFileToCheck().getLocaleID().equals("en")) { in handleCheck()
DCheckForExemplars.java175 if (cldrFile.getLocaleID().equals("root")) { in setCldrFileToCheck()
181 String locale = cldrFile.getLocaleID(); in setCldrFileToCheck()
290 … errorOption = errorDefaultOption & sourceLocale.equals(getResolvedCldrFileToCheck().getLocaleID()) in handleCheck()
507 … PluralRules rules = PluralRules.forLocale(new ULocale(getCldrFileToCheck().getLocaleID())); in checkAndReplacePlaceholders()
/external/icu/icu4c/source/common/
Dlocbased.cpp19 const char* id = getLocaleID(type, status); in getLocale()
23 const char* LocaleBased::getLocaleID(ULocDataLocaleType type, UErrorCode& status) const { in getLocaleID() function in LocaleBased
Dlocbased.h70 const char* getLocaleID(ULocDataLocaleType type, UErrorCode& status) const;
/external/icu/icu4c/source/test/intltest/
Daliastst.cpp72 const char* l1 = c1->getLocaleID(ULOC_VALID_LOCALE, status); in TestCalendar()
73 const char* l2 = c2->getLocaleID(ULOC_VALID_LOCALE, status); in TestCalendar()
105 const char* l1 = df1->getLocaleID(ULOC_VALID_LOCALE, status); in TestDateFormat()
106 const char* l2 = df2->getLocaleID(ULOC_VALID_LOCALE, status); in TestDateFormat()
/external/cldr/tools/java/org/unicode/cldr/tool/
DFilterFactory.java120 modifier = modifier.filterLocale(rawFile.getLocaleID()); in filterAltValues()
136 .getLocaleCoverageLevel(organization, rawFile.getLocaleID()) in filterCoverage()
141 int level = covInfo.getCoverageValue(xpath, rawFile.getLocaleID()); in filterCoverage()
153 if (organization == null || rawFile.getLocaleID().equals("root")) return; in removeRedundantPaths()
155 String parent = LocaleIDParser.getParent(rawFile.getLocaleID()); in removeRedundantPaths()
DGeneratePluralList.java223 rules = PluralRules.forLocale(new ULocale(file.getLocaleID())); in getForms()
224 System.out.println(file.getLocaleID()); in getForms()
226 out.print(file.getLocaleID() + '\t' + plural + '\t' + in getForms()
243 System.out.println(file.getLocaleID() + " has no example for " + plural + " " + unit); in printUnit()
DPivotData.java223 … throw new IllegalArgumentException("Mismatched casing: " + toAddFrom.getLocaleID() + ", " in addPathsAndValuesFrom()
224 + toModify.getLocaleID()); in addPathsAndValuesFrom()
256 String id = newFile.getLocaleID(); in writeFile()
DCompareData.java102 … String langScript = new LocaleIDParser().set(file.getLocaleID()).getLanguageScript(); in main()
103 …System.out.println(langScript + "\t" + file.getLocaleID() + "\t" + sameItems + "\t" + newItems + "… in main()
DCLDRModify.java730 localeID = k.getLocaleID(); in setFile()
865 public String getLocaleID() { in getLocaleID() method in CLDRModify.CLDRFilter
1066 CLDRFile resolved = factory.make(cldrFileToFilter.getLocaleID(), true);
1154 resolved = factory.make(cldrFileToFilter.getLocaleID(), true);
1181 resolved = factory.make(cldrFileToFilter.getLocaleID(), true);
1354 String localeID = cldrFileToFilter.getLocaleID();
1488 String locale = cldrFileToFilter.getLocaleID();
1521 … System.out.println("Illegal UnicodeSet: " + cldrFileToFilter.getLocaleID() + "\t" + value);
1977 String locale = cldrFileToFilter.getLocaleID();
2074 String localeID = cldrFileToFilter.getLocaleID();
[all …]
/external/icu/icu4c/source/i18n/
Dformat.cpp204 Format::getLocaleID(ULocDataLocaleType type, UErrorCode& status) const { in getLocaleID() function in Format
206 return locBased.getLocaleID(type, status); in getLocaleID()
/external/cldr/tools/java/org/unicode/cldr/tool/resolver/
DCldrResolver.java230 String locale = file.getLocaleID(); in resolveLocaleInternal()
292 "Adding UNDEFINED values based on ancestor: " + ancestor.getLocaleID(), 3); in resolveLocaleInternal()
331 … PrintWriter pw = new PrintWriter(new File(directory, cldrFile.getLocaleID() + ".xml"), "UTF-8"); in printToFile()
DResolverUtils.java41 String locale = file.getLocaleID(); in getAllPaths()
/external/icu/icu4c/source/i18n/unicode/
Dformat.h260 const char* getLocaleID(ULocDataLocaleType type, UErrorCode &status) const;
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestFactory.java25 final String localeID = testFile.getLocaleID(); in addFile()

12345