Home
last modified time | relevance | path

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

12345678910>>...22

/external/deqp/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 <<()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/
DPDBStringTableBuilder.cpp136 Error PDBStringTableBuilder::writeHeader(BinaryStreamWriter &Writer) const { in writeHeader()
142 if (auto EC = Writer.writeObject(H)) in writeHeader()
144 assert(Writer.bytesRemaining() == 0); in writeHeader()
148 Error PDBStringTableBuilder::writeStrings(BinaryStreamWriter &Writer) const { in writeStrings()
149 if (auto EC = Strings.commit(Writer)) in writeStrings()
152 assert(Writer.bytesRemaining() == 0); in writeStrings()
156 Error PDBStringTableBuilder::writeHashTable(BinaryStreamWriter &Writer) const { in writeHashTable()
159 if (auto EC = Writer.writeInteger(BucketCount)) in writeHashTable()
177 if (auto EC = Writer.writeArray(ArrayRef<ulittle32_t>(Buckets))) in writeHashTable()
180 assert(Writer.bytesRemaining() == 0); in writeHashTable()
[all …]
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMachObjectWriter.cpp29 void RecordARMScatteredRelocation(MachObjectWriter *Writer,
38 void RecordARMScatteredHalfRelocation(MachObjectWriter *Writer,
45 bool requiresExternRelocation(MachObjectWriter *Writer,
54 void recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm,
139 RecordARMScatteredHalfRelocation(MachObjectWriter *Writer, in RecordARMScatteredHalfRelocation() argument
147 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordARMScatteredHalfRelocation()
160 uint32_t Value = Writer->getSymbolAddress(*A, Layout); in RecordARMScatteredHalfRelocation()
162 uint64_t SecAddr = Writer->getSectionAddress(A->getFragment()->getParent()); in RecordARMScatteredHalfRelocation()
177 Value2 = Writer->getSymbolAddress(B->getSymbol(), Layout); in RecordARMScatteredHalfRelocation()
178 FixedValue -= Writer->getSectionAddress(SB->getFragment()->getParent()); in RecordARMScatteredHalfRelocation()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMMachObjectWriter.cpp29 void RecordARMScatteredRelocation(MachObjectWriter *Writer,
38 void RecordARMScatteredHalfRelocation(MachObjectWriter *Writer,
45 bool requiresExternRelocation(MachObjectWriter *Writer,
54 void recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm,
139 RecordARMScatteredHalfRelocation(MachObjectWriter *Writer, in RecordARMScatteredHalfRelocation() argument
147 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordARMScatteredHalfRelocation()
160 uint32_t Value = Writer->getSymbolAddress(*A, Layout); in RecordARMScatteredHalfRelocation()
162 uint64_t SecAddr = Writer->getSectionAddress(A->getFragment()->getParent()); in RecordARMScatteredHalfRelocation()
177 Value2 = Writer->getSymbolAddress(B->getSymbol(), Layout); in RecordARMScatteredHalfRelocation()
178 FixedValue -= Writer->getSectionAddress(SB->getFragment()->getParent()); in RecordARMScatteredHalfRelocation()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/MCTargetDesc/
DX86MachObjectWriter.cpp26 void RecordScatteredRelocation(MachObjectWriter *Writer,
34 void RecordTLVPRelocation(MachObjectWriter *Writer,
42 void RecordX86Relocation(MachObjectWriter *Writer,
49 void RecordX86_64Relocation(MachObjectWriter *Writer,
62 void RecordRelocation(MachObjectWriter *Writer, in RecordRelocation() argument
66 if (Writer->is64Bit()) in RecordRelocation()
67 RecordX86_64Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, in RecordRelocation()
70 RecordX86Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, in RecordRelocation()
99 void X86MachObjectWriter::RecordX86_64Relocation(MachObjectWriter *Writer, in RecordX86_64Relocation() argument
106 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordX86_64Relocation()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/MCTargetDesc/
DX86MachObjectWriter.cpp28 bool recordScatteredRelocation(MachObjectWriter *Writer,
36 void recordTLVPRelocation(MachObjectWriter *Writer,
44 void RecordX86Relocation(MachObjectWriter *Writer,
51 void RecordX86_64Relocation(MachObjectWriter *Writer, MCAssembler &Asm,
60 void recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm, in recordRelocation() argument
64 if (Writer->is64Bit()) in recordRelocation()
65 RecordX86_64Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, in recordRelocation()
68 RecordX86Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, in recordRelocation()
104 MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout, in RecordX86_64Relocation() argument
107 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordX86_64Relocation()
[all …]
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MachObjectWriter.cpp28 bool recordScatteredRelocation(MachObjectWriter *Writer,
36 void recordTLVPRelocation(MachObjectWriter *Writer,
44 void RecordX86Relocation(MachObjectWriter *Writer,
51 void RecordX86_64Relocation(MachObjectWriter *Writer, MCAssembler &Asm,
60 void recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm, in recordRelocation() argument
64 if (Writer->is64Bit()) in recordRelocation()
65 RecordX86_64Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, in recordRelocation()
68 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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
DCOFFImportDumper.cpp24 void dumpCOFFImportFile(const COFFImportFile *File, ScopedPrinter &Writer) { in dumpCOFFImportFile() argument
25 Writer.startLine() << '\n'; in dumpCOFFImportFile()
26 Writer.printString("File", File->getFileName()); in dumpCOFFImportFile()
27 Writer.printString("Format", "COFF-import-file"); in dumpCOFFImportFile()
31 case COFF::IMPORT_CODE: Writer.printString("Type", "code"); break; in dumpCOFFImportFile()
32 case COFF::IMPORT_DATA: Writer.printString("Type", "data"); break; in dumpCOFFImportFile()
33 case COFF::IMPORT_CONST: Writer.printString("Type", "const"); break; in dumpCOFFImportFile()
38 Writer.printString("Name type", "ordinal"); in dumpCOFFImportFile()
41 Writer.printString("Name type", "name"); in dumpCOFFImportFile()
44 Writer.printString("Name type", "noprefix"); in dumpCOFFImportFile()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/
DARMMachObjectWriter.cpp27 void RecordARMScatteredRelocation(MachObjectWriter *Writer,
35 void RecordARMMovwMovtRelocation(MachObjectWriter *Writer,
48 void RecordRelocation(MachObjectWriter *Writer,
122 RecordARMMovwMovtRelocation(MachObjectWriter *Writer, in RecordARMMovwMovtRelocation() argument
130 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordARMMovwMovtRelocation()
141 uint32_t Value = Writer->getSymbolAddress(A_SD, Layout); in RecordARMMovwMovtRelocation()
144 Writer->getSectionAddress(A_SD->getFragment()->getParent()); in RecordARMMovwMovtRelocation()
156 Value2 = Writer->getSymbolAddress(B_SD, Layout); in RecordARMMovwMovtRelocation()
157 FixedValue -= Writer->getSectionAddress(B_SD->getFragment()->getParent()); in RecordARMMovwMovtRelocation()
205 Writer->addRelocation(Fragment->getParent(), MRE); in RecordARMMovwMovtRelocation()
[all …]
/external/deqp/executor/tools/
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 …]
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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DCodeViewRecordIO.cpp63 return Writer->padToAlignment(Align); in padToAlignment()
83 if (auto EC = Writer->writeBytes(Bytes)) in mapByteVectorTail()
104 if (auto EC = Writer->writeInteger(TypeInd.getIndex())) in mapInteger()
162 if (auto EC = Writer->writeCString(S)) in mapStringZ()
177 if (auto EC = Writer->writeBytes(Guid.Guid)) in mapGuid()
194 if (auto EC = Writer->writeInteger<uint8_t>(0)) in mapStringZVectorZ()
212 if (auto EC = Writer->writeInteger<uint16_t>(LF_CHAR)) in writeEncodedSignedInteger()
214 if (auto EC = Writer->writeInteger<int8_t>(Value)) in writeEncodedSignedInteger()
217 if (auto EC = Writer->writeInteger<uint16_t>(LF_SHORT)) in writeEncodedSignedInteger()
219 if (auto EC = Writer->writeInteger<int16_t>(Value)) in writeEncodedSignedInteger()
[all …]
DSimpleTypeSerializer.cpp6 static void writeRecordPrefix(BinaryStreamWriter &Writer, TypeLeafKind Kind) { in writeRecordPrefix() argument
10 cantFail(Writer.writeObject(Prefix)); in writeRecordPrefix()
13 static void addPadding(BinaryStreamWriter &Writer) { in addPadding() argument
14 uint32_t Align = Writer.getOffset() % 4; in addPadding()
21 cantFail(Writer.writeInteger(Pad)); in addPadding()
32 BinaryStreamWriter Writer(ScratchBuffer, support::little); in serialize() local
33 TypeRecordMapping Mapping(Writer); in serialize()
38 writeRecordPrefix(Writer, CVT.Type); in serialize()
44 addPadding(Writer); in serialize()
49 Prefix->RecordLen = Writer.getOffset() - sizeof(uint16_t); in serialize()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMachObjectWriter.cpp27 bool recordScatteredRelocation(MachObjectWriter *Writer,
34 void RecordPPCRelocation(MachObjectWriter *Writer, const MCAssembler &Asm,
43 void recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm, in recordRelocation() argument
47 if (Writer->is64Bit()) { in recordRelocation()
50 RecordPPCRelocation(Writer, Asm, Layout, Fragment, Fixup, Target, in recordRelocation()
192 MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout, in recordScatteredRelocation() argument
198 const unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, FK); in recordScatteredRelocation()
213 uint32_t Value = Writer->getSymbolAddress(*A, Layout); in recordScatteredRelocation()
214 uint64_t SecAddr = Writer->getSectionAddress(A->getFragment()->getParent()); in recordScatteredRelocation()
226 Value2 = Writer->getSymbolAddress(*SB, Layout); in recordScatteredRelocation()
[all …]
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMachObjectWriter.cpp27 bool recordScatteredRelocation(MachObjectWriter *Writer,
34 void RecordPPCRelocation(MachObjectWriter *Writer, const MCAssembler &Asm,
43 void recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm, in recordRelocation() argument
47 if (Writer->is64Bit()) { in recordRelocation()
50 RecordPPCRelocation(Writer, Asm, Layout, Fragment, Fixup, Target, in recordRelocation()
192 MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout, in recordScatteredRelocation() argument
198 const unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, FK); in recordScatteredRelocation()
213 uint32_t Value = Writer->getSymbolAddress(*A, Layout); in recordScatteredRelocation()
214 uint64_t SecAddr = Writer->getSectionAddress(A->getFragment()->getParent()); in recordScatteredRelocation()
226 Value2 = Writer->getSymbolAddress(B->getSymbol(), Layout); in recordScatteredRelocation()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ProfileData/
DInstrProfTest.cpp40 InstrProfWriter Writer; member
43 void SetUp() { Writer.setOutputSparse(false); } in SetUp()
53 void SetUp() { Writer.setOutputSparse(true); } in SetUp()
58 void SetUp() { Writer.setOutputSparse(GetParam()); } in SetUp()
62 auto Profile = Writer.writeBuffer(); in TEST_P()
73 Writer.addRecord({"foo", 0x1234, {1, 2, 3, 4}}, Err); in TEST_P()
74 auto Profile = Writer.writeBuffer(); in TEST_P()
90 Writer.addRecord({"foo", 0x1234, {1, 2}}, Err); in TEST_P()
91 Writer.addRecord({"foo", 0x1235, {3, 4}}, Err); in TEST_P()
92 auto Profile = Writer.writeBuffer(); in TEST_P()
[all …]
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/
DCharWrapperTester.java24 import java.io.Writer;
38 public abstract Writer create(Writer delegate) throws Exception; in create()
84 public Writer create() throws Exception { in create()
113 Writer o = create(delegate); in wrapperTestFlushThrowsViaFlushSuppressed()
122 Writer o = create(delegate); in wrapperTestFlushThrowsViaCloseSuppressed()
132 Writer o = create(delegate); in wrapperTestFlushThrowsViaFlush()
148 Writer o = create(delegate); in wrapperTestFlushThrowsViaClose()
169 Writer o = create(delegate); in wrapperTestCloseThrows()
181 Writer o = create(delegate); in wrapperTestCloseThrowsSuppressed()
193 private static class ClosableStringWriter extends Writer {
[all …]
DCharSinkTester.java25 import java.io.Writer;
42 public abstract Writer create() throws Exception; in create()
96 Writer out = create(); in sinkTestNoWriting()
104 Writer out = create(); in sinkTestWriteZeroChars()
117 Writer out = create(); in sinkTestWriteCharByChar()
129 Writer out = create(); in sinkTestWriteArray()
141 Writer out = create(); in sinkTestWriteOffset()
172 Writer out = create(); in sinkTestWriteLargeArray()
181 Writer out = create(); in sinkTestWriteAfterClose()
196 Writer out = create(); in sinkTestWriteAfterCloseSuppressed()
/external/llvm/unittests/ProfileData/
DInstrProfTest.cpp45 InstrProfWriter Writer; member
48 void SetUp() { Writer.setOutputSparse(false); } in SetUp()
58 void SetUp() { Writer.setOutputSparse(true); } in SetUp()
63 void SetUp() { Writer.setOutputSparse(GetParam()); } in SetUp()
67 auto Profile = Writer.writeBuffer(); in TEST_P()
74 NoError(Writer.addRecord(std::move(Record))); in TEST_P()
75 auto Profile = Writer.writeBuffer(); in TEST_P()
93 NoError(Writer.addRecord(std::move(Record1))); in TEST_P()
94 NoError(Writer.addRecord(std::move(Record2))); in TEST_P()
95 auto Profile = Writer.writeBuffer(); in TEST_P()
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DDualWriter.java16 import java.io.Writer;
18 final public class DualWriter extends Writer {
21 private Writer a;
22 private Writer b;
24 public DualWriter(Writer a, Writer b) { in DualWriter()
29 public DualWriter(Writer a, Writer b, boolean autoFlush) { in DualWriter()
/external/v8/src/
Dgdb-jit.cc44 class Writer BASE_EMBEDDED {
46 explicit Writer(DebugObject* debug_object) in Writer() function in v8::internal::GDBJITInterface::BASE_EMBEDDED
53 ~Writer() { in ~Writer()
64 Slot(Writer* w, uintptr_t offset) : w_(w), offset_(offset) { } in Slot()
79 Writer* w_;
182 virtual void WriteBody(Writer::Slot<THeader> header, Writer* writer) { in WriteBody()
194 virtual bool WriteBodyInternal(Writer* writer) { in WriteBodyInternal()
243 virtual void PopulateHeader(Writer::Slot<Header> header) { in PopulateHeader()
319 void PopulateHeader(Writer::Slot<Header> header, ELFStringTable* strtab);
321 virtual void WriteBody(Writer::Slot<Header> header, Writer* w) { in WriteBody()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-xray/
Dxray-converter.cpp103 support::endian::Writer Writer(OS, support::endianness::little); in exportAsRAWv1() local
105 Writer.write(FH.Version); in exportAsRAWv1()
106 Writer.write(FH.Type); in exportAsRAWv1()
112 Writer.write(Bitfield); in exportAsRAWv1()
113 Writer.write(FH.CycleFrequency); in exportAsRAWv1()
117 Writer.write(Padding4B); in exportAsRAWv1()
118 Writer.write(Padding4B); in exportAsRAWv1()
119 Writer.write(Padding4B); in exportAsRAWv1()
120 Writer.write(Padding4B); in exportAsRAWv1()
125 Writer.write(R.RecordType); in exportAsRAWv1()
[all …]
/external/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

12345678910>>...22