Home
last modified time | relevance | path

Searched refs:Writer (Results 1 – 25 of 307) sorted by relevance

12345678910>>...13

/third_party/vk-gl-cts/executor/
DxeTestLogWriter.cpp236 static void writeResultItem (const ri::Item& item, xml::Writer& dst) in writeResultItem()
238 using xml::Writer; in writeResultItem()
247 …dst << Writer::BeginElement("Text") << static_cast<const ri::Text&>(item).text << Writer::EndEleme… in writeResultItem()
253 dst << Writer::BeginElement("Number") in writeResultItem()
254 << Writer::Attribute("Name", number.name) in writeResultItem()
255 << Writer::Attribute("Description", number.description) in writeResultItem()
256 << Writer::Attribute("Unit", number.unit) in writeResultItem()
257 << Writer::Attribute("Tag", number.tag) in writeResultItem()
259 << Writer::EndElement; in writeResultItem()
266 dst << Writer::BeginElement("Image") in writeResultItem()
[all …]
DxeXMLWriter.hpp51 class Writer class
71 Writer (std::ostream& dst);
72 ~Writer (void);
74 Writer& operator<< (const BeginElement& begin);
75 Writer& operator<< (const Attribute& attribute);
76 Writer& operator<< (const EndElementType& end);
79 Writer& operator<< (const T& value); //!< Write data.
82 Writer (const Writer& other);
83 Writer& operator= (const Writer& other);
102 Writer& Writer::operator<< (const T& value) in operator <<()
DxeXMLWriter.cpp33 const Writer::EndElementType Writer::EndElement = Writer::EndElementType();
127 Writer::Writer (std::ostream& dst) in Writer() function in xe::xml::Writer
135 Writer::~Writer (void) in ~Writer()
139 Writer& Writer::operator<< (const BeginElement& begin) in operator <<()
159 Writer& Writer::operator<< (const Attribute& attribute) in operator <<()
169 Writer& Writer::operator<< (const EndElementType&) in operator <<()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DPDBStringTableBuilder.cpp153 Error PDBStringTableBuilder::writeHeader(BinaryStreamWriter &Writer) const { in writeHeader()
159 if (auto EC = Writer.writeObject(H)) in writeHeader()
161 assert(Writer.bytesRemaining() == 0); in writeHeader()
165 Error PDBStringTableBuilder::writeStrings(BinaryStreamWriter &Writer) const { in writeStrings()
166 if (auto EC = Strings.commit(Writer)) in writeStrings()
169 assert(Writer.bytesRemaining() == 0); in writeStrings()
173 Error PDBStringTableBuilder::writeHashTable(BinaryStreamWriter &Writer) const { in writeHashTable()
176 if (auto EC = Writer.writeInteger(BucketCount)) in writeHashTable()
194 if (auto EC = Writer.writeArray(ArrayRef<ulittle32_t>(Buckets))) in writeHashTable()
197 assert(Writer.bytesRemaining() == 0); in writeHashTable()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMMachObjectWriter.cpp30 void RecordARMScatteredRelocation(MachObjectWriter *Writer,
39 void RecordARMScatteredHalfRelocation(MachObjectWriter *Writer,
46 bool requiresExternRelocation(MachObjectWriter *Writer,
55 void recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm,
140 RecordARMScatteredHalfRelocation(MachObjectWriter *Writer, in RecordARMScatteredHalfRelocation() argument
157 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordARMScatteredHalfRelocation()
170 uint32_t Value = Writer->getSymbolAddress(*A, Layout); in RecordARMScatteredHalfRelocation()
172 uint64_t SecAddr = Writer->getSectionAddress(A->getFragment()->getParent()); in RecordARMScatteredHalfRelocation()
187 Value2 = Writer->getSymbolAddress(B->getSymbol(), Layout); in RecordARMScatteredHalfRelocation()
188 FixedValue -= Writer->getSectionAddress(SB->getFragment()->getParent()); in RecordARMScatteredHalfRelocation()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86MachObjectWriter.cpp27 bool recordScatteredRelocation(MachObjectWriter *Writer,
35 void recordTLVPRelocation(MachObjectWriter *Writer,
43 void RecordX86Relocation(MachObjectWriter *Writer,
50 void RecordX86_64Relocation(MachObjectWriter *Writer, MCAssembler &Asm,
59 void recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm, in recordRelocation() argument
63 if (Writer->is64Bit()) in recordRelocation()
64 RecordX86_64Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, in recordRelocation()
67 RecordX86Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, in recordRelocation()
103 MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout, in RecordX86_64Relocation() argument
106 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordX86_64Relocation()
[all …]
/third_party/vk-gl-cts/executor/tools/
DxeBatchResultToJUnit.cpp86 ResultToJUnitHandler (xe::xml::Writer& writer) in ResultToJUnitHandler()
106 using xe::xml::Writer; in testCaseResultComplete()
118 m_writer << Writer::BeginElement("testcase") in testCaseResultComplete()
119 << Writer::Attribute("name", caseName) in testCaseResultComplete()
120 << Writer::Attribute("classname", groupName); in testCaseResultComplete()
123 m_writer << Writer::BeginElement("failure") in testCaseResultComplete()
124 << Writer::Attribute("type", xe::getTestStatusCodeName(result.statusCode)) in testCaseResultComplete()
126 << Writer::EndElement; in testCaseResultComplete()
128 m_writer << Writer::EndElement; in testCaseResultComplete()
132 xe::xml::Writer& m_writer;
[all …]
DxeBatchResultToXml.cpp144 ResultToSingleXmlLogHandler (xe::xml::Writer& writer, BatchResultTotals& totals) in ResultToSingleXmlLogHandler()
178 xe::xml::Writer& m_writer;
183 static void writeTotals (xe::xml::Writer& writer, const BatchResultTotals& totals) in writeTotals()
185 using xe::xml::Writer; in writeTotals()
189 writer << Writer::BeginElement("ResultTotals"); in writeTotals()
193 …writer << Writer::Attribute(xe::getTestStatusCodeName((xe::TestStatusCode)code), de::toString(tota… in writeTotals()
197 writer << Writer::Attribute("All", de::toString(totalCases).c_str()) in writeTotals()
198 << Writer::EndElement; in writeTotals()
204 xe::xml::Writer writer (out); in batchResultToSingleXmlFile()
214 writer << xe::xml::Writer::BeginElement("BatchResult") in batchResultToSingleXmlFile()
[all …]
/third_party/protobuf/js/experimental/runtime/kernel/
Dwriter_test.js15 const Writer = goog.require('protobuf.binary.Writer'); constant
55 const writer = new Writer();
60 const writer = new Writer();
78 const writer = new Writer();
85 const writer = new Writer();
100 const writer = new Writer();
116 const writer = new Writer();
131 const writer = new Writer();
138 const writer = new Writer();
147 const writer = new Writer();
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMachObjectWriter.cpp26 bool recordScatteredRelocation(MachObjectWriter *Writer,
33 void RecordPPCRelocation(MachObjectWriter *Writer, const MCAssembler &Asm,
42 void recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm, in recordRelocation() argument
46 if (Writer->is64Bit()) { in recordRelocation()
49 RecordPPCRelocation(Writer, Asm, Layout, Fragment, Fixup, Target, in recordRelocation()
191 MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout, in recordScatteredRelocation() argument
197 const unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, FK); in recordScatteredRelocation()
212 uint32_t Value = Writer->getSymbolAddress(*A, Layout); in recordScatteredRelocation()
213 uint64_t SecAddr = Writer->getSectionAddress(A->getFragment()->getParent()); in recordScatteredRelocation()
225 Value2 = Writer->getSymbolAddress(*SB, Layout); in recordScatteredRelocation()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DSimpleTypeSerializer.cpp6 static void addPadding(BinaryStreamWriter &Writer) { in addPadding() argument
7 uint32_t Align = Writer.getOffset() % 4; in addPadding()
14 cantFail(Writer.writeInteger(Pad)); in addPadding()
25 BinaryStreamWriter Writer(ScratchBuffer, support::little); in serialize() local
26 TypeRecordMapping Mapping(Writer); in serialize()
30 cantFail(Writer.writeObject(DummyPrefix)); in serialize()
39 addPadding(Writer); in serialize()
43 Prefix->RecordLen = Writer.getOffset() - sizeof(uint16_t); in serialize()
45 return {ScratchBuffer.data(), Writer.getOffset()}; in serialize()
DCodeViewRecordIO.cpp82 return Writer->padToAlignment(Align); in padToAlignment()
107 if (auto EC = Writer->writeBytes(Bytes)) in mapByteVectorTail()
137 if (auto EC = Writer->writeInteger(TypeInd.getIndex())) in mapInteger()
213 if (auto EC = Writer->writeCString(S)) in mapStringZ()
238 if (auto EC = Writer->writeBytes(Guid.Guid)) in mapGuid()
327 if (auto EC = Writer->writeInteger<uint16_t>(LF_CHAR)) in writeEncodedSignedInteger()
329 if (auto EC = Writer->writeInteger<int8_t>(Value)) in writeEncodedSignedInteger()
332 if (auto EC = Writer->writeInteger<uint16_t>(LF_SHORT)) in writeEncodedSignedInteger()
334 if (auto EC = Writer->writeInteger<int16_t>(Value)) in writeEncodedSignedInteger()
337 if (auto EC = Writer->writeInteger<uint16_t>(LF_LONG)) in writeEncodedSignedInteger()
[all …]
/third_party/node/deps/npm/node_modules/asn1/lib/ber/
Dwriter.js43 function Writer(options) { class
56 Object.defineProperty(Writer.prototype, 'buffer', {
65 Writer.prototype.writeByte = function (b) {
74 Writer.prototype.writeInt = function (i, tag) {
103 Writer.prototype.writeNull = function () {
109 Writer.prototype.writeEnumeration = function (i, tag) {
119 Writer.prototype.writeBoolean = function (b, tag) {
132 Writer.prototype.writeString = function (s, tag) {
149 Writer.prototype.writeBuffer = function (buf, tag) {
163 Writer.prototype.writeStringArray = function (strings) {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DMsgPackWriter.h40 class Writer {
50 Writer(raw_ostream &OS, bool Compatible = false);
52 Writer(const Writer &) = delete;
53 Writer &operator=(const Writer &) = delete;
123 support::endian::Writer EW;
/third_party/flutter/skia/third_party/externals/wuffs/lib/raczlib/
Dwriter.go154 type Writer struct { struct
158 Writer io.Writer member
247 racWriter rac.Writer argument
248 zlibWriter *zlib.Writer argument
254 func (w *Writer) initialize() error { argument
258 if w.racWriter.Writer != nil {
262 if w.Writer == nil {
278 w.racWriter.Writer = w.Writer
288 func (w *Writer) compress(dBytes0 []byte, dBytes1 []byte) ([]byte, error) { argument
311 func (w *Writer) Write(p []byte) (int, error) { argument
[all …]
/third_party/skia/third_party/externals/brotli/go/cbrotli/
Dwriter.go63 type Writer struct { struct
64 dst io.Writer argument
76 func NewWriter(dst io.Writer, options WriterOptions) *Writer { argument
84 return &Writer{
90 func (w *Writer) writeChunk(p []byte, op C.BrotliEncoderOperation) (n int, err error) { argument
129 func (w *Writer) Flush() error { argument
135 func (w *Writer) Close() error { argument
146 func (w *Writer) Write(p []byte) (n int, err error) { argument
/third_party/node/benchmark/net/
Dnet-c2s-cork.js34 const writer = new Writer();
65 function Writer() { class
70 Writer.prototype.write = function(chunk, encoding, cb) {
82 Writer.prototype.on = function() {};
83 Writer.prototype.once = function() {};
84 Writer.prototype.emit = function() {};
85 Writer.prototype.prependListener = function() {};
Dnet-wrap-js-stream-passthrough.js40 const writer = new Writer();
56 function Writer() { class
61 Writer.prototype.write = function(chunk, encoding, cb) {
73 Writer.prototype.on = function() {};
74 Writer.prototype.once = function() {};
75 Writer.prototype.emit = function() {};
76 Writer.prototype.prependListener = function() {};
Dnet-c2s.js37 const writer = new Writer();
61 function Writer() { class
66 Writer.prototype.write = function(chunk, encoding, cb) {
78 Writer.prototype.on = function() {};
79 Writer.prototype.once = function() {};
80 Writer.prototype.emit = function() {};
81 Writer.prototype.prependListener = function() {};
Dnet-pipe.js37 const writer = new Writer();
64 function Writer() { class
69 Writer.prototype.write = function(chunk, encoding, cb) {
81 Writer.prototype.on = function() {};
82 Writer.prototype.once = function() {};
83 Writer.prototype.emit = function() {};
84 Writer.prototype.prependListener = function() {};
/third_party/flutter/skia/third_party/externals/wuffs/lib/rac/
Dwriter.go55 type Writer struct { struct
59 Writer io.Writer member
166 func (w *Writer) checkParameters() error { argument
167 if w.Writer == nil {
185 func (w *Writer) initialize() error { argument
224 func (w *Writer) write(data []byte) error { argument
225 ioWriter := w.Writer
251 func (w *Writer) writePadding(ioWriter io.Writer, lenData uint64) error { argument
268 func (w *Writer) padToPageSize(ioWriter io.Writer, offset uint64) error { argument
303 func (w *Writer) roundUpToCPageBoundary(x uint64) uint64 { argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/
DMsgPackWriter.cpp20 Writer::Writer(raw_ostream &OS, bool Compatible) in Writer() function in Writer
23 void Writer::writeNil() { EW.write(FirstByte::Nil); } in writeNil()
25 void Writer::write(bool b) { EW.write(b ? FirstByte::True : FirstByte::False); } in write()
27 void Writer::write(int64_t i) { in write()
60 void Writer::write(uint64_t u) { in write()
88 void Writer::write(double d) { in write()
101 void Writer::write(StringRef s) { in write()
121 void Writer::write(MemoryBufferRef Buffer) { in write()
141 void Writer::writeArraySize(uint32_t Size) { in writeArraySize()
157 void Writer::writeMapSize(uint32_t Size) { in writeMapSize()
[all …]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DSchemaUtil.java70 public static void writeDouble(int fieldNumber, double value, Writer writer) throws IOException { in writeDouble()
76 public static void writeFloat(int fieldNumber, float value, Writer writer) throws IOException { in writeFloat()
82 public static void writeInt64(int fieldNumber, long value, Writer writer) throws IOException { in writeInt64()
88 public static void writeUInt64(int fieldNumber, long value, Writer writer) throws IOException { in writeUInt64()
94 public static void writeSInt64(int fieldNumber, long value, Writer writer) throws IOException { in writeSInt64()
100 public static void writeFixed64(int fieldNumber, long value, Writer writer) throws IOException { in writeFixed64()
106 public static void writeSFixed64(int fieldNumber, long value, Writer writer) throws IOException { in writeSFixed64()
112 public static void writeInt32(int fieldNumber, int value, Writer writer) throws IOException { in writeInt32()
118 public static void writeUInt32(int fieldNumber, int value, Writer writer) throws IOException { in writeUInt32()
124 public static void writeSInt32(int fieldNumber, int value, Writer writer) throws IOException { in writeSInt32()
[all …]
/third_party/gn/src/gn/
Dxml_element_writer.h43 template <class Writer>
47 const Writer& attribute_value_writer,
60 template <class Writer>
64 const Writer& attribute_value_writer);
92 template <class Writer>
96 const Writer& attribute_value_writer, in XmlElementWriter()
109 template <class Writer>
113 const Writer& attribute_value_writer) { in SubElement()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DSampleProfWriter.cpp335 support::endian::Writer Writer(*OutputStream, support::little); in writeFuncOffsetTable() local
336 Writer.write(FuncOffsetTableStart); in writeFuncOffsetTable()
409 support::endian::Writer Writer(*OutputStream, support::little); in allocSecHdrTable() local
411 Writer.write(static_cast<uint64_t>(SectionHdrLayout.size())); in allocSecHdrTable()
414 Writer.write(static_cast<uint64_t>(-1)); in allocSecHdrTable()
415 Writer.write(static_cast<uint64_t>(-1)); in allocSecHdrTable()
416 Writer.write(static_cast<uint64_t>(-1)); in allocSecHdrTable()
417 Writer.write(static_cast<uint64_t>(-1)); in allocSecHdrTable()
428 support::endian::Writer Writer(*OutputStream, support::little); in writeSecHdrTable() local
444 Writer.write(static_cast<uint64_t>(SecHdrTable[idx].Type)); in writeSecHdrTable()
[all …]

12345678910>>...13