Home
last modified time | relevance | path

Searched refs:PathHeader (Results 1 – 25 of 48) sorted by relevance

12

/external/cldr/tools/java/org/unicode/cldr/tool/
DFindWidths.java12 import org.unicode.cldr.util.PathHeader;
13 import org.unicode.cldr.util.PathHeader.Factory;
14 import org.unicode.cldr.util.PathHeader.PageId;
15 import org.unicode.cldr.util.PathHeader.SectionId;
47 Factory phf = PathHeader.getFactory(english); in main()
48 Map<PathHeader, Integer> englishWidths = new HashMap<PathHeader, Integer>(); in main()
49 Map<PathHeader, Data> maxWidths = new TreeMap<PathHeader, Data>(); in main()
53 PathHeader ph = phf.fromPath(path); in main()
72 PathHeader ph = phf.fromPath(path); in main()
101 for (Entry<PathHeader, Data> entry : maxWidths.entrySet()) { in main()
[all …]
DChartDelta.java38 import org.unicode.cldr.util.PathHeader;
39 import org.unicode.cldr.util.PathHeader.PageId;
122 static PathHeader.Factory phf = PathHeader.getFactory(ENGLISH);
159 static class PathHeaderSegment extends R3<PathHeader, Integer, String> {
160 public PathHeaderSegment(PathHeader b, int elementIndex, String attribute) { in PathHeaderSegment()
256 Counter<PathHeader> counts = new Counter<>(); in writeLdml()
308 …Relation<PathHeader, String> diffAll = Relation.of(new TreeMap<PathHeader, Set<String>>(), TreeSet… in writeLdml()
368 PathHeader ph = getPathHeader(path); in writeLdml()
447 private PathHeader getPathHeader(String path) { in getPathHeader()
449 PathHeader ph = phf.fromPath(path); in getPathHeader()
[all …]
DDiffCldr.java23 import org.unicode.cldr.util.PathHeader;
68 PathHeader.Factory phf = PathHeader.getFactory(CONFIG.getEnglish()); in main()
72 …M3<PathHeader, String, String> data = ChainedMap.of(new TreeMap<PathHeader, Object>(), new TreeMap… in main()
74 Counter<PathHeader> pathHeaderCounter = new Counter<>(); in main()
122 PathHeader ph = phf.fromPath(pathForValue); in main()
133 final PathHeader ph = phf.fromPath(extraPath); in main()
160 for (PathHeader ph : data.keySet()) { in main()
193 …private static int addValue(M3<PathHeader, String, String> data, String locale, PathHeader ph, Str… in addValue() argument
194 int total, Counter<String> localeCounter, Counter<PathHeader> pathHeaderCounter) { in addValue()
DGetChanges.java20 import org.unicode.cldr.util.PathHeader;
66 PathHeader.Factory phf = PathHeader.getFactory(english); in main()
78 Multimap<String,PathHeader> missing = TreeMultimap.create(); in main()
112 Map<PathHeader, Data> results = new TreeMap<PathHeader, Data>(); in main()
122 PathHeader ph = null; in main()
159 for (Entry<PathHeader, Data> entry : results.entrySet()) { in main()
160 PathHeader ph = entry.getKey(); in main()
173 for ( Entry<String, PathHeader> entry : missing.entries()) { in main()
DShowPathHeaderDescriptions.java14 import org.unicode.cldr.util.PathHeader;
15 import org.unicode.cldr.util.PathHeader.PageId;
16 import org.unicode.cldr.util.PathHeader.SectionId;
33 PathHeader.Factory phf = PathHeader.getFactory(english); in main()
40 Set<PathHeader> pathHeaders = new TreeSet<>(); in main()
47 PathHeader pathHeader = phf.fromPath(path); in main()
57 for (PathHeader pathHeader : pathHeaders) { in main()
75 PathHeader.Factory phf = PathHeader.getFactory(english); in showDescriptions()
95 PathHeader pathHeader = phf.fromPath(path); in showDescriptions()
DShowStarredCoverage.java35 import org.unicode.cldr.util.PathHeader;
36 import org.unicode.cldr.util.PathHeader.Factory;
37 import org.unicode.cldr.util.PathHeader.PageId;
38 import org.unicode.cldr.util.PathHeader.SectionId;
39 import org.unicode.cldr.util.PathHeader.SurveyToolStatus;
83 static final Factory phf = PathHeader.getFactory(config.getEnglish());
102 M3<Level, PathHeader, Boolean> levelToPathHeaders = ChainedMap.of( in main()
104 new TreeMap<PathHeader, Object>(), in main()
120 for (Entry<Level, Map<PathHeader, Boolean>> levelAndPathHeader : levelToPathHeaders) { in main()
122 Map<PathHeader, Boolean> pathHeaders2 = levelAndPathHeader.getValue(); in main()
[all …]
DSearchCLDR.java19 import org.unicode.cldr.util.PathHeader;
20 import org.unicode.cldr.util.PathHeader.BaseUrl;
84 private static PathHeader.Factory PATH_HEADER_FACTORY = null;
114 PATH_HEADER_FACTORY = PathHeader.getFactory(CLDRConfig.getInstance().getEnglish()); in main()
125 PathHeader.Factory pathHeaderFactory = PathHeader.getFactory(english); in main()
156 Set<PathHeader> sorted = new TreeSet<PathHeader>(); in main()
163 for (PathHeader pathHeader : sorted) { in main()
231 PathHeader pathHeader = PATH_HEADER_FACTORY.fromPath(path); in showLine()
DGenerateChangeChart.java25 import org.unicode.cldr.util.PathHeader;
26 import org.unicode.cldr.util.PathHeader.PageId;
27 import org.unicode.cldr.util.PathHeader.SectionId;
48 PathHeader.Factory phf = PathHeader.getFactory(ENGLISH); in main()
50 Set<R5<PathHeader, CLDRLocale, String, String, String>> data = new TreeSet<>(); in main()
94 PathHeader ph = phf.fromPath(path); in main()
98 …final R5<PathHeader, CLDRLocale, String, String, String> key = Row.of(ph, cloc, oldValue, newValue… in main()
115 for (R5<PathHeader, CLDRLocale, String, String, String> entry : data) { in main()
116 final PathHeader pathHeader = entry.get0(); in main()
201 void add(final PathHeader pathHeader, CLDRLocale locale, in add()
[all …]
DShowRegionalVariants.java28 import org.unicode.cldr.util.PathHeader;
29 import org.unicode.cldr.util.PathHeader.SectionId;
116 PathHeader.Factory phf = PathHeader.getFactory(ENGLISH); in main()
123 M4<PathHeader, String, CLDRLocale, Boolean> pathToValuesToLocales = ChainedMap.of( in main()
124 new TreeMap<PathHeader, Object>(), in main()
168 PathHeader pheader = phf.fromPath(path); in main()
213 for (PathHeader ph : pathToValuesToLocales.keySet()) { in main()
DGenerateSidewaysView.java40 import org.unicode.cldr.util.PathHeader;
41 import org.unicode.cldr.util.PathHeader.PageId;
42 import org.unicode.cldr.util.PathHeader.SurveyToolStatus;
146 …private static Map<PathHeader, Map<String, Set<String>>> path_value_locales = new TreeMap<PathHead…
176 pathHeaderFactory = PathHeader.getFactory(english); in main()
214 for (PathHeader path : path_value_locales.keySet()) { in main()
329 PathHeader cleanPath = fixPath(pathName, null); in showExemplars()
646 PathHeader cleanPath = fixPath(path, postFix); in loadInformation()
687 static PathHeader.Factory pathHeaderFactory;
693 private static PathHeader fixPath(String path, String[] localePrefix) { in fixPath()
[all …]
DShowData.java36 import org.unicode.cldr.util.PathHeader;
37 import org.unicode.cldr.util.PathHeader.SectionId;
80 …static PathHeader.Factory prettyPathMaker = PathHeader.getFactory(CLDRConfig.getInstance().getEngl…
127 Set<PathHeader> prettySet = new TreeSet<PathHeader>(); in main()
135 …Map<PathHeader, Relation<String, String>> pathHeaderToValuesToLocale = new TreeMap<PathHeader, Rel… in main()
222 PathHeader prettyString = prettyPathMaker.fromPath(path); in main()
263 PathHeader oldParts = null; in main()
268 for (PathHeader prettyPath : prettySet) { in main()
383 … for (Entry<PathHeader, Relation<String, String>> entry : pathHeaderToValuesToLocale.entrySet()) { in main()
384 PathHeader ph = entry.getKey(); in main()
DSearchXml.java18 import org.unicode.cldr.util.PathHeader;
19 import org.unicode.cldr.util.PathHeader.BaseUrl;
65 private static PathHeader.Factory PATH_HEADER_FACTORY = null;
119 PATH_HEADER_FACTORY = PathHeader.getFactory(ToolConfig.getToolInstance().getEnglish()); in main()
422 PathHeader pathHeader = PATH_HEADER_FACTORY.fromPath(path); in checkFiles()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestPathHeader.java38 import org.unicode.cldr.util.PathHeader;
39 import org.unicode.cldr.util.PathHeader.PageId;
40 import org.unicode.cldr.util.PathHeader.SectionId;
41 import org.unicode.cldr.util.PathHeader.SurveyToolStatus;
80 static PathHeader.Factory pathHeaderFactory = PathHeader
89 PathHeader ph1 = pathHeaderFactory.fromPath(path1); in tempTestAnnotation()
92 PathHeader ph2 = pathHeaderFactory.fromPath(path2); in tempTestAnnotation()
95 PathHeader ph3 = pathHeaderFactory.fromPath(path2); in tempTestAnnotation()
144 PathHeader.Factory pathHeaderFactory2 = PathHeader.getFactory(english); in TestCompleteness()
147 Multimap<PathHeader.PageId, PathHeader.SectionId> pageUniqueness = TreeMultimap.create(); in TestCompleteness()
[all …]
DTestOutdatedPaths.java10 import org.unicode.cldr.util.PathHeader;
44 PathHeader.Factory pathHeaders = PathHeader.getFactory(testInfo.getEnglish()); in TestShow()
50 private void checkShow(PathHeader.Factory pathHeaders, String locale) { in checkShow()
53 Map<PathHeader, String> sorted = new TreeMap<PathHeader, String>(); in checkShow()
60 for (Entry<PathHeader, String> entry : sorted.entrySet()) { in checkShow()
61 PathHeader p = entry.getKey(); in checkShow()
DTestPaths.java30 import org.unicode.cldr.util.PathHeader;
31 import org.unicode.cldr.util.PathHeader.Factory;
32 import org.unicode.cldr.util.PathHeader.PageId;
33 import org.unicode.cldr.util.PathHeader.SectionId;
58 Factory phf = PathHeader.getFactory(testInfo.getEnglish()); in VerifyEnglishVsRoot()
60 Set<PathHeader> suspiciousPaths = new TreeSet<PathHeader>(); in VerifyEnglishVsRoot()
61 Set<PathHeader> errorPaths = new TreeSet<PathHeader>(); in VerifyEnglishVsRoot()
71 PathHeader ph = phf.fromPath(path); in VerifyEnglishVsRoot()
91 private String getPaths(Set<PathHeader> altPaths) { in getPaths()
93 for (PathHeader path : altPaths) { in getPaths()
[all …]
DTestCheckCLDR.java30 import org.unicode.cldr.util.PathHeader;
120 PathHeader.Factory pathHeaderFactory = PathHeader.getFactory(english); in TestPlaceholders()
121 Set<PathHeader> sorted = new TreeSet<PathHeader>(); in TestPlaceholders()
128 for (PathHeader pathHeader : sorted) { in TestPlaceholders()
254 PathHeader.Factory pathHeaderFactory = PathHeader.getFactory(english); in checkLocale()
255 Set<PathHeader> sorted = new TreeSet<PathHeader>(); in checkLocale()
257 final PathHeader pathHeader = pathHeaderFactory.fromPath(path); in checkLocale()
267 for (PathHeader pathHeader : sorted) { in checkLocale()
DTestCoverage.java19 import org.unicode.cldr.util.PathHeader;
66 PathHeader.Factory phf = PathHeader.getFactory(testInfo.getEnglish()); in TestSelected()
74 PathHeader ph = phf.fromPath(path); in TestSelected()
/external/cldr/tools/java/org/unicode/cldr/test/
DOutdatedPaths.java21 import org.unicode.cldr.util.PathHeader;
71 Map<Long, PathHeader> id2header = new HashMap<Long, PathHeader>(); in OutdatedPaths()
123 public Map<Long, PathHeader> getIdToPath(Factory factory) { in getIdToPath()
124 Map<Long, PathHeader> result = new HashMap<Long, PathHeader>(); in getIdToPath()
126 PathHeader.Factory pathHeaders = PathHeader.getFactory(english); in getIdToPath()
129 PathHeader pathHeader = pathHeaders.fromPath(s); in getIdToPath()
DFactoryCheckCLDR.java8 import org.unicode.cldr.util.PathHeader;
18 private PathHeader.Factory pathHeaderFactory;
31 public synchronized PathHeader.Factory getPathHeaderFactory() { in getPathHeaderFactory()
33 …pathHeaderFactory = PathHeader.getFactory(getEnglishFile() != null ? getEnglishFile() : getFactory… in getPathHeaderFactory()
DCheckLogicalGroupings.java12 import org.unicode.cldr.util.PathHeader;
118 …EnumMap<DraftStatus, PathHeader> draftStatuses = new EnumMap<DraftStatus, PathHeader>(DraftStatus.… in handleCheck()
138 PathHeader old = draftStatuses.get(draftStatus); in handleCheck()
/external/cldr/tools/java/org/unicode/cldr/util/
DCLDRURLS.java118 public final String forXpathHexId(String locale, PathHeader.PageId page, String hexid) { in forXpathHexId()
128 public final String forXpathHexId(CLDRLocale locale, PathHeader.PageId page, String hexid) { in forXpathHexId()
139 public final String forPage(String locale, PathHeader.PageId page) { in forPage()
143 public final String forPage(CLDRLocale locale, PathHeader.PageId page) { in forPage()
156 …public final String forSpecial(Special special, CLDRLocale locale, PathHeader.PageId page, String … in forSpecial()
227 public final String forPathHeader(String locale, PathHeader pathHeader) { in forPathHeader()
237 public final String forPathHeader(CLDRLocale locale, PathHeader pathHeader) { in forPathHeader()
DPathHeader.java42 public class PathHeader implements Comparable<PathHeader> { class
356 private PathHeader(SectionId sectionId, PageId pageId, String header,
443 public int compareTo(PathHeader other) {
488 public int compareHeader(PathHeader other) {
499 public int compareCode(PathHeader other) {
525 PathHeader other;
527 other = (PathHeader) obj;
540 public static class Factory implements Transform<String, PathHeader> {
546 PathHeader.class,
558 static final Map<String, PathHeader> cache = new HashMap<String, PathHeader>();
[all …]
DVettingViewer.java37 import org.unicode.cldr.util.PathHeader.PageId;
38 import org.unicode.cldr.util.PathHeader.SectionId;
216 static private PathHeader.Factory pathTransform;
466 pathTransform = PathHeader.getFactory(englishFile); in VettingViewer()
484 public final PathHeader codeOutput;
488 public WritingInfo(PathHeader pretty, EnumSet<Choice> problems, CharSequence htmlMessage) { in WritingInfo()
853 PathHeader pretty = pathTransform.fromPath(path); in getFileInfo()
854 if (pretty.getSurveyToolStatus() == PathHeader.SurveyToolStatus.HIDE) { in getFileInfo()
1904 public static void getStatus(CLDRFile file, PathHeader.Factory pathHeaderFactory, in getStatus()
1924 PathHeader.Factory pathHeaderFactory, Counter<Level> foundCounter, in getStatus()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/header/ims/
DPath.java37 import gov.nist.javax.sip.header.ims.PathHeader;
45 implements PathHeader, SIPHeaderNamesIms , ExtensionHeader{
/external/nist-sip/java/gov/nist/javax/sip/header/
DHeaderFactoryExt.java23 import gov.nist.javax.sip.header.ims.PathHeader;
172 public PathHeader createPathHeader(Address address); in createPathHeader()

12