/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/ |
D | PivotData.java | 19 import org.unicode.cldr.util.LocaleIDParser; 36 Set<LocaleIDParser.Level> conditions = null; in main() 39 conditions = EnumSet.of(LocaleIDParser.Level.Language, in main() 40 LocaleIDParser.Level.Script, in main() 41 LocaleIDParser.Level.Region); in main() 44 conditions = EnumSet.of(LocaleIDParser.Level.Language, in main() 45 LocaleIDParser.Level.Region); in main() 48 conditions = EnumSet.of(LocaleIDParser.Level.Language, in main() 49 LocaleIDParser.Level.Script); in main() 62 …private void pivotGroup(Factory cldrFactory, Set<LocaleIDParser.Level> conditions) throws IOExcept… in pivotGroup() [all …]
|
D | RemoveEmptyCLDR.java | 13 import org.unicode.cldr.util.LocaleIDParser; 79 String parent = LocaleIDParser.getParent(name); in addNameAndParents()
|
D | GenerateAliases.java | 17 import org.unicode.cldr.util.LocaleIDParser; 108 String parent = LocaleIDParser.getSimpleParent(partial); in addToLikely() 132 String parent = LocaleIDParser.getSimpleParent(targetID); in getDefaultContents()
|
D | DiffWithParent.java | 15 import org.unicode.cldr.util.LocaleIDParser; 37 String parentLocale = LocaleIDParser.getParent(locale); in main()
|
D | ShowChildren.java | 15 import org.unicode.cldr.util.LocaleIDParser; 104 locale = LocaleIDParser.getParent(locale); in getParentWithoutRegion()
|
D | CompareData.java | 12 import org.unicode.cldr.util.LocaleIDParser; 102 … String langScript = new LocaleIDParser().set(file.getLocaleID()).getLanguageScript(); in main()
|
D | ChartAnnotations.java | 25 import org.unicode.cldr.util.LocaleIDParser; 202 … AnnotationSet parentAnnotations = Annotations.getDataSet(LocaleIDParser.getParent(locale)); in writeSubcharts() 212 … AnnotationSet subParentAnnotations = Annotations.getDataSet(LocaleIDParser.getParent(locale)); in writeSubcharts()
|
D | SubdivisionNames.java | 18 import org.unicode.cldr.util.LocaleIDParser; 48 String parent = LocaleIDParser.getParent(locale); in SubdivisionNames()
|
D | ConvertLanguageData.java | 41 import org.unicode.cldr.util.LocaleIDParser; 42 import org.unicode.cldr.util.LocaleIDParser.Level; 143 String parent = LocaleIDParser.getParent(locale); in main() 245 String parent = LocaleIDParser.getParent(oldDefault); in getReplacement() 248 if (parent.equals(LocaleIDParser.getParent(replacement))) { in getReplacement() 1360 LocaleIDParser lidp = new LocaleIDParser(); in showDefaults() 1375 String newguy = LocaleIDParser.getParent(locale); in showDefaults() 1408 Set<LocaleIDParser.Level> levels = lidp.getLevels(); in showDefaults() 1410 if (levels.contains(LocaleIDParser.Level.Variants) // no variants in showDefaults() 1411 || !(levels.contains(LocaleIDParser.Level.Script) in showDefaults() [all …]
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/ |
D | LocaleIDParser.java | 22 public class LocaleIDParser { class 44 LocaleIDParser lparser = new LocaleIDParser(); in getLanguageScript() 82 public LocaleIDParser set(String localeID) { in set() 212 public LocaleIDParser setLanguage(String language) { in setLanguage() 217 public LocaleIDParser setRegion(String region) { in setRegion() 222 public LocaleIDParser setScript(String script) { in setScript() 227 public LocaleIDParser setVariants(String[] variants) { in setVariants()
|
D | LocalesTxtReader.java | 47 LocaleIDParser parser = new LocaleIDParser(); in read()
|
D | CldrXmlWriter.java | 99 LocaleIDParser lip = new LocaleIDParser(); in initializeIdentity()
|
D | Factory.java | 140 currentLocaleID = LocaleIDParser.getParent(currentLocaleID, ignoreExplicitParentLocale); in makeWithFallback() 181 curLocale = LocaleIDParser.getParent(curLocale, ignoreExplicitParentLocale); in makeResolvingSource()
|
D | CLDRLocale.java | 242 private LocaleIDParser parts = null; 288 parts = new LocaleIDParser(); in CLDRLocale() 291 … parentId = LocaleIDParser.getParent(str); // Note, this does now handle explicit parentLocales in CLDRLocale()
|
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/util/ |
D | TestLocaleIDParser.java | 23 final String newLoc = LocaleIDParser.getParent(loc); in TestNormalFallback() 44 final String newLoc = LocaleIDParser.getParent(loc, true); in TestCollationFallback()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | ULocale.java | 37 import android.icu.impl.LocaleIDParser; 111 return new LocaleIDParser(tmpLocaleID).getName(); 845 return new LocaleIDParser(localeID).getLanguage(); in getLanguage() 864 return new LocaleIDParser(localeID).getScript(); in getScript() 885 return new LocaleIDParser(localeID).getCountry(); in getCountry() 941 return new LocaleIDParser(localeID).getVariant(); in getVariant() 1007 return new LocaleIDParser(localeID).getBaseName(); in getBaseName() 1129 return new LocaleIDParser(localeID).getKeywords(); in getKeywords() 1149 return new LocaleIDParser(localeID).getKeywordValue(keywordName); in getKeywordValue() 1648 LocaleIDParser parser = new LocaleIDParser(localeID, true); in canonicalize() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | ULocale.java | 36 import com.ibm.icu.impl.LocaleIDParser; 124 return new LocaleIDParser(tmpLocaleID).getName(); 913 return new LocaleIDParser(localeID).getLanguage(); in getLanguage() 934 return new LocaleIDParser(localeID).getScript(); in getScript() 957 return new LocaleIDParser(localeID).getCountry(); in getCountry() 1015 return new LocaleIDParser(localeID).getVariant(); in getVariant() 1085 return new LocaleIDParser(localeID).getBaseName(); in getBaseName() 1212 return new LocaleIDParser(localeID).getKeywords(); in getKeywords() 1234 return new LocaleIDParser(localeID).getKeywordValue(keywordName); in getKeywordValue() 1734 LocaleIDParser parser = new LocaleIDParser(localeID, true); in canonicalize() [all …]
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/ |
D | FlexibleDateTime.java | 27 import org.unicode.cldr.util.LocaleIDParser; 83 LocaleIDParser lip = new LocaleIDParser(); 148 LocaleIDParser lip = new LocaleIDParser();
|
D | CasingInfo.java | 25 import org.unicode.cldr.util.LocaleIDParser; 87 String parentID = LocaleIDParser.getSimpleParent(localeID); in getLocaleCasing() 129 LocaleIDParser parser = new LocaleIDParser(); in generateCasingInformation()
|
D | CheckLogicalGroupings.java | 11 import org.unicode.cldr.util.LocaleIDParser; 47 String parent = LocaleIDParser.getParent(cldrFileToCheck.getLocaleID()); in setCldrFileToCheck()
|
D | CheckAttributeValues.java | 28 import org.unicode.cldr.util.LocaleIDParser; 243 LocaleIDParser localeIDParser = new LocaleIDParser(); 540 LocaleIDParser lip = new LocaleIDParser();
|
D | EmojiSubdivisionNames.java | 20 import org.unicode.cldr.util.LocaleIDParser; 90 String parentLocaleId = LocaleIDParser.getParent(localeID); in load()
|
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/ |
D | TestCldrResolver.java | 19 import org.unicode.cldr.util.LocaleIDParser; 180 String parent = LocaleIDParser.getSimpleParent(locale); in loadToolDataFromResolver()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | LocaleIDParser.java | 23 public final class LocaleIDParser { class 59 public LocaleIDParser(String localeID) { in LocaleIDParser() method in LocaleIDParser 63 public LocaleIDParser(String localeID, boolean canonicalize) { in LocaleIDParser() method in LocaleIDParser
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | LocaleIDParser.java | 25 public final class LocaleIDParser { class 61 public LocaleIDParser(String localeID) { in LocaleIDParser() method in LocaleIDParser 65 public LocaleIDParser(String localeID, boolean canonicalize) { in LocaleIDParser() method in LocaleIDParser
|