/external/cldr/tools/java/org/unicode/cldr/util/ |
D | XMLSource.java | 41 public abstract class XMLSource implements Freezable<XMLSource>, Iterable<String> { class 99 public void putAll(XMLSource otherSource, int conflict_resolution) { in putAll() 182 public void valueChanged(String xpath, XMLSource source); in valueChanged() 620 public XMLSource getUnresolving() { in getUnresolving() 627 public XMLSource cloneAsThawed() { in cloneAsThawed() 629 XMLSource result = (XMLSource) super.clone(); in cloneAsThawed() 688 public static class ResolvingSource extends XMLSource implements Listener { 689 private XMLSource currentSource; 690 private LinkedHashMap<String, XMLSource> sources; 696 public XMLSource getUnresolving() { in getUnresolving() [all …]
|
D | Factory.java | 13 import org.unicode.cldr.util.XMLSource.ResolvingSource; 132 public static XMLSource makeResolvingSource(List<XMLSource> sources) { in makeResolvingSource() 143 public final XMLSource makeSource(String localeID) { in makeSource() 155 List<XMLSource> sourceList = new ArrayList<XMLSource>(); in makeResolvingSource() 166 XMLSource source = file.dataSource; in makeResolvingSource()
|
D | SimpleXMLSource.java | 18 public class SimpleXMLSource extends XMLSource { 83 public XMLSource freeze() { in freeze() 88 public XMLSource cloneAsThawed() { in cloneAsThawed()
|
D | CLDRFile.java | 44 import org.unicode.cldr.util.XMLSource.ResolvingSource; 131 XMLSource dataSource; // TODO(jchye): make private 181 public CLDRFile(XMLSource dataSource) { in CLDRFile() 186 public CLDRFile(XMLSource dataSource, XMLSource... resolvingParents) { in CLDRFile() 187 List<XMLSource> sourceList = new ArrayList<XMLSource>(); in CLDRFile() 194 …LDRFile loadFromFile(File f, String localeName, DraftStatus minimalDraftStatus, XMLSource source) { in loadFromFile() 231 …adFromFiles(List<File> dirs, String localeName, DraftStatus minimalDraftStatus, XMLSource source) { in loadFromFiles() 290 XMLSource source) { in load() 353 result.dataSource = (XMLSource) result.dataSource.cloneAsThawed(); in cloneAsThawed() 700 if (result == XMLSource.CODE_FALLBACK_ID && dataSource.isResolving()) { in getSourceLocaleID() [all …]
|
D | SimpleFactory.java | 588 XMLSource source = new SimpleXMLSource(localeName); in makeSupplemental() 648 XMLSource source = new SimpleXMLSource(localeName); in makeFile()
|
D | Annotations.java | 271 … if (sourceLocale.equals(XMLSource.CODE_FALLBACK_ID) || sourceLocale.equals(XMLSource.ROOT_ID)) { in getStringValue()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestCheckDisplayCollisions.java | 12 import org.unicode.cldr.util.XMLSource; 20 XMLSource rootSource = new SimpleXMLSource("root"); in testInheritance() 23 XMLSource enSource = new SimpleXMLSource("en"); in testInheritance() 26 XMLSource frSource = new SimpleXMLSource("fr"); in testInheritance() 31 XMLSource frCaSource = new SimpleXMLSource("fr_CA"); in testInheritance()
|
D | TestXMLSource.java | 12 import org.unicode.cldr.util.XMLSource; 18 public static class DummyXMLSource extends XMLSource { 22 public XMLSource freeze() { in freeze() 75 XMLSource source = new DummyXMLSource(); in TestGetPathsWithValue()
|
D | TestFactory.java | 13 import org.unicode.cldr.util.XMLSource; 19 XMLSource mySource = new SimpleXMLSource("root"); 27 …org.unicode.cldr.util.XMLSource.ResolvingSource rs = makeResolvingSource(localeID, DraftStatus.unc… in addFile()
|
D | TestCheckWidths.java | 14 import org.unicode.cldr.util.XMLSource; 23 XMLSource xmlSource = new DummyXMLSource(); in TestBasic()
|
D | TestDateOrder.java | 10 import org.unicode.cldr.util.XMLSource; 21 XMLSource source = new SimpleXMLSource("xx"); in TestDateImportance()
|
D | TestAliases.java | 18 import org.unicode.cldr.util.XMLSource; 37 if (!XMLSource.Alias.stripLastElement(pair[0]).equals(pair[1])) { in testAlias()
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | CheckLogicalGroupings.java | 13 import org.unicode.cldr.util.XMLSource; 51 return !source.equals(XMLSource.ROOT_ID) && !source.equals(XMLSource.CODE_FALLBACK_ID); in isHereOrNonRoot()
|
D | TestCache.java | 9 import org.unicode.cldr.util.XMLSource; 18 public abstract class TestCache implements XMLSource.Listener {
|
D | SimpleTestCache.java | 14 import org.unicode.cldr.util.XMLSource; 42 public void valueChanged(String xpath, XMLSource source) { in valueChanged()
|
D | CheckCoverage.java | 22 import org.unicode.cldr.util.XMLSource; 77 if (!source.equals(XMLSource.CODE_FALLBACK_ID) in handleCheck()
|
D | CasingInfo.java | 30 import org.unicode.cldr.util.XMLSource; 205 XMLSource source = new SimpleXMLSource(localeID); in createCasingXml()
|
D | CheckDisplayCollisions.java | 23 import org.unicode.cldr.util.XMLSource; 632 return locale.equals(XMLSource.CODE_FALLBACK_ID); in isCodeFallback()
|
D | CheckForExemplars.java | 33 import org.unicode.cldr.util.XMLSource; 278 if (XMLSource.CODE_FALLBACK_ID.equals(sourceLocale)) { in handleCheck()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | CLDRFileTransformer.java | 18 import org.unicode.cldr.util.XMLSource; 163 XMLSource dataSource = new SimpleXMLSource(localeTransform.getOutputLocale()); in transform() 171 XMLSource outputSource = new SimpleXMLSource(localeTransform.toString()); in transform()
|
D | CLDRFilePseudolocalizer.java | 16 import org.unicode.cldr.util.XMLSource; 375 XMLSource outputSource = new SimpleXMLSource(outputLocale); in generate() 402 private void addTerritory(XMLSource outputSource, String territory) { in addTerritory()
|
D | GenerateChangeChart.java | 29 import org.unicode.cldr.util.XMLSource; 84 if (source.equals(XMLSource.CODE_FALLBACK_ID) in main() 85 || source.equals(XMLSource.ROOT_ID) in main()
|
D | FilterFactory.java | 30 import org.unicode.cldr.util.XMLSource; 177 if (!sourceLocale.equals(XMLSource.CODE_FALLBACK_ID)) { in removeRedundantPaths()
|
D | ConvertXTB.java | 35 import org.unicode.cldr.util.XMLSource; 557 XMLSource altSource = new SimpleXMLSource(locale); in writeXml()
|
D | CLDRModify.java | 62 import org.unicode.cldr.util.XMLSource; 632 … && (XMLSource.ROOT_ID.equals(localeId) || XMLSource.CODE_FALLBACK_ID.equals(localeId))) { in getRetention() 2104 …if (!sourceLocaleId.equals(XMLSource.ROOT_ID) && !sourceLocaleId.equals(XMLSource.CODE_FALLBACK_ID…
|