Home
last modified time | relevance | path

Searched refs:xmlWriter (Results 1 – 25 of 44) sorted by relevance

12

/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/out/
DKeycodeMapToXml.java18 private final XmlWriter xmlWriter; field in KeycodeMapToXml
20 private KeycodeMapToXml(KeycodeMap keycodeMap, Platform platform, XmlWriter xmlWriter) { in KeycodeMapToXml() argument
23 this.xmlWriter = checkNotNull(xmlWriter); in KeycodeMapToXml()
28 XmlWriter xmlWriter = XmlWriter.newXmlWriter(writer); in writeToXml() local
29 KeycodeMapToXml keycodeMapToXml = new KeycodeMapToXml(keycodeMap, platform, xmlWriter); in writeToXml()
34 xmlWriter.startDocument("platform", "../dtd/ldmlPlatform.dtd"); in toXml()
35 xmlWriter.startElement("platform", ImmutableMap.of("id", platform)); in toXml()
36 xmlWriter.startElement("hardwareMap"); in toXml()
38xmlWriter.addElement("map", ImmutableMap.of("keycode", entry.getKey(), "iso", entry.getValue())); in toXml()
40 xmlWriter.endElement(); in toXml()
[all …]
DKeyboardToXml.java27 private final XmlWriter xmlWriter; field in KeyboardToXml
29 private KeyboardToXml(Keyboard keyboard, XmlWriter xmlWriter) { in KeyboardToXml() argument
31 this.xmlWriter = checkNotNull(xmlWriter); in KeyboardToXml()
36 XmlWriter xmlWriter = XmlWriter.newXmlWriter(writer); in writeToXml() local
37 KeyboardToXml keyboardToXml = new KeyboardToXml(keyboard, xmlWriter); in writeToXml()
42 xmlWriter.startDocument("keyboard", "../dtd/ldmlKeyboard.dtd"); in toXml()
43 xmlWriter.startElement("keyboard", ImmutableMap.of("locale", keyboard.keyboardId())); in toXml()
47 xmlWriter.endElement(); in toXml()
48 xmlWriter.endDocument(); in toXml()
58 xmlWriter.addElement("version", versionAttributes); in addMetadata()
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
DsbixGlyph.py80 def toXML(self, xmlWriter, ttFont): argument
85 xmlWriter.simpletag("glyph", name=self.glyphName)
86 xmlWriter.newline()
88 xmlWriter.begintag("glyph",
94 xmlWriter.newline()
97 xmlWriter.simpletag("ref", glyphname=self.referenceGlyphName)
99 xmlWriter.begintag("hexdata")
100 xmlWriter.newline()
101 xmlWriter.dumphex(self.imageData)
102 xmlWriter.endtag("hexdata")
[all …]
DotConverters.py206 def xmlWrite(self, xmlWriter, font, value, name, attrs): argument
218 def xmlWrite(self, xmlWriter, font, value, name, attrs): argument
219 xmlWriter.simpletag(name, attrs + [("value", self.toString(value))])
220 xmlWriter.newline()
284 def xmlWrite(self, xmlWriter, font, value, name, attrs): argument
286 xmlWriter.comment("%s=%s" % (name, value))
287 xmlWriter.newline()
327 def xmlWrite(self, xmlWriter, font, value, name, attrs): argument
328 xmlWriter.simpletag(name, attrs + [("value", value)])
333 xmlWriter.write(" ")
[all …]
DotTables.py45 def _writeFlagsToXML(self, xmlWriter): argument
48 xmlWriter.simpletag("Flags", value=",".join(flags))
49 xmlWriter.newline()
51 xmlWriter.simpletag(
54 xmlWriter.newline()
113 def toXML(self, xmlWriter, font, attrs, name): argument
114 xmlWriter.begintag(name, **attrs)
115 xmlWriter.newline()
116 xmlWriter.simpletag("NewState", value=self.NewState)
117 xmlWriter.newline()
[all …]
DsbixStrike.py96 def toXML(self, xmlWriter, ttFont): argument
97 xmlWriter.begintag("strike")
98 xmlWriter.newline()
99 xmlWriter.simpletag("ppem", value=self.ppem)
100 xmlWriter.newline()
101 xmlWriter.simpletag("resolution", value=self.resolution)
102 xmlWriter.newline()
106 self.glyphs[glyphOrder[i]].toXML(xmlWriter, ttFont)
108 xmlWriter.endtag("strike")
109 xmlWriter.newline()
DD_S_I_G_.py79 def toXML(self, xmlWriter, ttFont): argument
80 xmlWriter.comment("note that the Digital Signature will be invalid after recompilation!")
81 xmlWriter.newline()
82xmlWriter.simpletag("tableHeader", version=self.ulVersion, numSigs=self.usNumSigs, flag="0x%X" % s…
84 xmlWriter.newline()
85 sigrec.toXML(xmlWriter, ttFont)
86 xmlWriter.newline()
D_s_b_i_x.py87 def toXML(self, xmlWriter, ttFont): argument
88 xmlWriter.simpletag("version", value=self.version)
89 xmlWriter.newline()
90 xmlWriter.simpletag("flags", value=num2binary(self.flags, 16))
91 xmlWriter.newline()
93 self.strikes[i].toXML(xmlWriter, ttFont)
DotBase.py758 def toXML(self, xmlWriter, font, attrs=None, name=None): argument
764 xmlWriter.begintag(tableName, attrs)
765 xmlWriter.newline()
766 self.toXML2(xmlWriter, font)
767 xmlWriter.endtag(tableName)
768 xmlWriter.newline()
770 def toXML2(self, xmlWriter, font): argument
779 conv.xmlWrite(xmlWriter, font, item, conv.name,
785 conv.xmlWrite(xmlWriter, font, value, conv.name, [])
837 def toXML(self, xmlWriter, font, attrs=None, name=None): argument
[all …]
/external/fonttools/Lib/fontTools/cffLib/
D__init__.py195 def toXML(self, xmlWriter): argument
206 xmlWriter.simpletag("major", value=self.major)
207 xmlWriter.newline()
208 xmlWriter.simpletag("minor", value=self.minor)
209 xmlWriter.newline()
211 xmlWriter.begintag("CFFFont", name=tostr(fontName))
212 xmlWriter.newline()
214 font.toXML(xmlWriter)
215 xmlWriter.endtag("CFFFont")
216 xmlWriter.newline()
[all …]
/external/doclava/src/com/google/doclava/
DStubs.java1114 public static void writeXml(PrintStream xmlWriter, Collection<PackageInfo> pkgs, boolean strip) { in writeXml() argument
1116 Stubs.writeXml(xmlWriter, pkgs); in writeXml()
1118 Stubs.writeXml(xmlWriter, pkgs, c -> true); in writeXml()
1122 public static void writeXml(PrintStream xmlWriter, Collection<PackageInfo> pkgs, in writeXml() argument
1128 xmlWriter.println("<api>"); in writeXml()
1130 writePackageXML(xmlWriter, pkg, pkg.allClasses().values(), notStrippable); in writeXml()
1132 xmlWriter.println("</api>"); in writeXml()
1135 public static void writeXml(PrintStream xmlWriter, Collection<PackageInfo> pkgs) { in writeXml() argument
1141 writeXml(xmlWriter, pkgs, notStrippable); in writeXml()
1144 static void writePackageXML(PrintStream xmlWriter, PackageInfo pack, in writePackageXML() argument
[all …]
/external/fonttools/Doc/source/misc/
DxmlWriter.rst2 xmlWriter title
5 .. automodule:: fontTools.misc.xmlWriter
Dindex.rst36 xmlWriter
/external/skqp/tests/
DAnnotationTest.cpp96 std::unique_ptr<SkXMLWriter> xmlWriter(new SkXMLStreamWriter(&outStream)); in DEF_TEST() local
98 std::unique_ptr<SkCanvas> canvas = SkSVGCanvas::Make(bounds, xmlWriter.get()); in DEF_TEST()
115 std::unique_ptr<SkXMLWriter> xmlWriter(new SkXMLStreamWriter(&outStream)); in DEF_TEST() local
117 std::unique_ptr<SkCanvas> canvas = SkSVGCanvas::Make(bounds, xmlWriter.get()); in DEF_TEST()
/external/skqp/src/svg/
DSkSVGCanvas.cpp22 SkXMLStreamWriter xmlWriter(writer); in Make() local
23 return Make(bounds, &xmlWriter); in Make()
/external/deqp/executor/
DxeTestLogWriter.cpp500 void writeTestResult (const TestCaseResult& result, xe::xml::Writer& xmlWriter) in writeTestResult() argument
504 xmlWriter << Writer::BeginElement("TestCaseResult") in writeTestResult()
510 writeResultItem(result.resultItems.getItem(ndx), xmlWriter); in writeTestResult()
513 xmlWriter << Writer::BeginElement("Result") in writeTestResult()
518 xmlWriter << Writer::EndElement; in writeTestResult()
523 xml::Writer xmlWriter(stream); in writeTestResult() local
525 writeTestResult(result, xmlWriter); in writeTestResult()
/external/deqp/framework/platform/android/
DtcuTestLogParserJNI.cpp243 xe::xml::Writer xmlWriter(testLog); in parse() local
248 xe::writeTestResult(m_testCaseResult, xmlWriter); in parse()
262 xe::xml::Writer xmlWriter(testLog); in parse() local
267 xe::writeTestResult(m_testCaseResult, xmlWriter); in parse()
/external/fonttools/Lib/fontTools/ttLib/
DttCollection.py81 from fontTools.misc import xmlWriter
82 writer = xmlWriter.XMLWriter(fileOrPath, newlinestr=newlinestr)
/external/deqp/executor/tools/
DxeBatchResultToXml.cpp261 xe::xml::Writer xmlWriter (out); in testCaseResultComplete() local
268 xe::writeTestResult(result, xmlWriter); in testCaseResultComplete()
369 xe::xml::Writer xmlWriter (out); in batchResultToSeparateXmlFiles() local
375 writeTestCaseList(testRoot, resultMap, xmlWriter); in batchResultToSeparateXmlFiles()
/external/fonttools/Tests/ttLib/tables/
DttProgram_test.py1 from fontTools.misc.xmlWriter import XMLWriter
D_l_t_a_g_test.py2 from fontTools.misc.xmlWriter import XMLWriter
D_a_v_a_r_test.py3 from fontTools.misc.xmlWriter import XMLWriter
D_m_e_t_a_test.py3 from fontTools.misc.xmlWriter import XMLWriter
/external/fonttools/Tests/misc/
DxmlWriter_test.py5 from fontTools.misc.xmlWriter import XMLWriter
/external/fonttools/Tests/mtiLib/
Dmti_test.py1 from fontTools.misc.xmlWriter import XMLWriter

12