Home
last modified time | relevance | path

Searched refs:xmlWriter (Results 1 – 25 of 46) 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.py82 def toXML(self, xmlWriter, ttFont): argument
87 xmlWriter.simpletag("glyph", name=self.glyphName)
88 xmlWriter.newline()
90 xmlWriter.begintag("glyph",
96 xmlWriter.newline()
99 xmlWriter.simpletag("ref", glyphname=self.referenceGlyphName)
101 xmlWriter.begintag("hexdata")
102 xmlWriter.newline()
103 xmlWriter.dumphex(self.imageData)
104 xmlWriter.endtag("hexdata")
[all …]
DotConverters.py178 def xmlWrite(self, xmlWriter, font, value, name, attrs): argument
184 def xmlWrite(self, xmlWriter, font, value, name, attrs): argument
185 xmlWriter.simpletag(name, attrs + [("value", value)])
186 xmlWriter.newline()
209 def xmlWrite(self, xmlWriter, font, value, name, attrs): argument
210 xmlWriter.simpletag(name, attrs + [("value", "0x%08X" % value)])
211 xmlWriter.newline()
249 def xmlWrite(self, xmlWriter, font, value, name, attrs): argument
251 xmlWriter.comment("%s=%s" % (name, value))
252 xmlWriter.newline()
[all …]
DotTables.py38 def _writeFlagsToXML(self, xmlWriter): argument
41 xmlWriter.simpletag("Flags", value=",".join(flags))
42 xmlWriter.newline()
44 xmlWriter.simpletag(
47 xmlWriter.newline()
106 def toXML(self, xmlWriter, font, attrs, name): argument
107 xmlWriter.begintag(name, **attrs)
108 xmlWriter.newline()
109 xmlWriter.simpletag("NewState", value=self.NewState)
110 xmlWriter.newline()
[all …]
DsbixStrike.py98 def toXML(self, xmlWriter, ttFont): argument
99 xmlWriter.begintag("strike")
100 xmlWriter.newline()
101 xmlWriter.simpletag("ppem", value=self.ppem)
102 xmlWriter.newline()
103 xmlWriter.simpletag("resolution", value=self.resolution)
104 xmlWriter.newline()
108 self.glyphs[glyphOrder[i]].toXML(xmlWriter, ttFont)
110 xmlWriter.endtag("strike")
111 xmlWriter.newline()
DD_S_I_G_.py80 def toXML(self, xmlWriter, ttFont): argument
81 xmlWriter.comment("note that the Digital Signature will be invalid after recompilation!")
82 xmlWriter.newline()
83xmlWriter.simpletag("tableHeader", version=self.ulVersion, numSigs=self.usNumSigs, flag="0x%X" % s…
85 xmlWriter.newline()
86 sigrec.toXML(xmlWriter, ttFont)
87 xmlWriter.newline()
D_s_b_i_x.py90 def toXML(self, xmlWriter, ttFont): argument
91 xmlWriter.simpletag("version", value=self.version)
92 xmlWriter.newline()
93 xmlWriter.simpletag("flags", value=num2binary(self.flags, 16))
94 xmlWriter.newline()
96 self.strikes[i].toXML(xmlWriter, ttFont)
DotBase.py723 def toXML(self, xmlWriter, font, attrs=None, name=None): argument
729 xmlWriter.begintag(tableName, attrs)
730 xmlWriter.newline()
731 self.toXML2(xmlWriter, font)
732 xmlWriter.endtag(tableName)
733 xmlWriter.newline()
735 def toXML2(self, xmlWriter, font): argument
744 conv.xmlWrite(xmlWriter, font, item, conv.name,
750 conv.xmlWrite(xmlWriter, font, value, conv.name, [])
802 def toXML(self, xmlWriter, font, attrs=None, name=None): argument
[all …]
/external/fonttools/Lib/fontTools/cffLib/
D__init__.py147 def toXML(self, xmlWriter): argument
148 xmlWriter.simpletag("major", value=self.major)
149 xmlWriter.newline()
150 xmlWriter.simpletag("minor", value=self.minor)
151 xmlWriter.newline()
153 xmlWriter.begintag("CFFFont", name=tostr(fontName))
154 xmlWriter.newline()
156 font.toXML(xmlWriter)
157 xmlWriter.endtag("CFFFont")
158 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/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/fonttools/Doc/source/misc/
DxmlWriter.rst2 xmlWriter title
5 .. automodule:: fontTools.misc.xmlWriter
Dindex.rst22 xmlWriter
/external/skqp/src/svg/
DSkSVGCanvas.cpp22 SkXMLStreamWriter xmlWriter(writer); in Make() local
23 return Make(bounds, &xmlWriter); in Make()
/external/deqp/executor/
DxeTestLogWriter.cpp493 void writeTestResult (const TestCaseResult& result, xe::xml::Writer& xmlWriter) in writeTestResult() argument
497 xmlWriter << Writer::BeginElement("TestCaseResult") in writeTestResult()
503 writeResultItem(result.resultItems.getItem(ndx), xmlWriter); in writeTestResult()
506 xmlWriter << Writer::BeginElement("Result") in writeTestResult()
511 xmlWriter << Writer::EndElement; in writeTestResult()
516 xml::Writer xmlWriter(stream); in writeTestResult() local
518 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.py72 from fontTools.misc import xmlWriter
73 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.py3 from fontTools.misc.xmlWriter import XMLWriter
D_l_t_a_g_test.py4 from fontTools.misc.xmlWriter import XMLWriter
D_a_v_a_r_test.py5 from fontTools.misc.xmlWriter import XMLWriter
D_m_e_t_a_test.py5 from fontTools.misc.xmlWriter import XMLWriter
/external/fonttools/Tests/misc/
DxmlWriter_test.py5 from fontTools.misc.xmlWriter import XMLWriter
/external/fonttools/Lib/fontTools/misc/
DpsCharStrings.py1067 def toXML(self, xmlWriter): argument
1070 xmlWriter.dumphex(self.bytecode)
1089 xmlWriter.write(line)
1090 xmlWriter.newline()
1100 xmlWriter.write(line)

12