Home
last modified time | relevance | path

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

1234567891011

/external/clang/lib/Serialization/
DASTWriterStmt.cpp33 ASTWriter &Writer; member in clang::ASTStmtWriter
40 ASTStmtWriter(ASTWriter &Writer, ASTWriter::RecordData &Record) in ASTStmtWriter() argument
41 : Writer(Writer), Record(Record) { } in ASTStmtWriter()
54 Writer.AddSourceLocation(Args.getTemplateKeywordLoc(), Record); in AddTemplateKWAndArgsInfo()
55 Writer.AddSourceLocation(Args.LAngleLoc, Record); in AddTemplateKWAndArgsInfo()
56 Writer.AddSourceLocation(Args.RAngleLoc, Record); in AddTemplateKWAndArgsInfo()
58 Writer.AddTemplateArgumentLoc(Args.getTemplateArgs()[i], Record); in AddTemplateKWAndArgsInfo()
66 Writer.AddSourceLocation(S->getSemiLoc(), Record); in VisitNullStmt()
75 Writer.AddStmt(CS); in VisitCompoundStmt()
76 Writer.AddSourceLocation(S->getLBracLoc(), Record); in VisitCompoundStmt()
[all …]
DASTWriterDecl.cpp36 ASTWriter &Writer; member in clang::ASTDeclWriter
45 ASTDeclWriter(ASTWriter &Writer, ASTContext &Context, RecordData &Record) in ASTDeclWriter() argument
46 : Writer(Writer), Context(Context), Record(Record) { in ASTDeclWriter()
139 Writer.AddCXXCtorInitializersRef( in AddFunctionDefinition()
142 Writer.AddStmt(FD->getBody()); in AddFunctionDefinition()
168 if (Writer.Chain != Writer.Context->getExternalSource() && in AddTemplateSpecializations()
186 Writer.AddDeclRef(D, Record); in AddTemplateSpecializations()
191 Writer.AddDeclRef(D, Record); in AddTemplateSpecializations()
206 Writer.AddTypeSourceInfo(DD->getTypeSourceInfo(), Record); in Visit()
220 Writer.AddDeclRef(cast_or_null<Decl>(D->getDeclContext()), Record); in VisitDecl()
[all …]
DASTWriter.cpp81 ASTWriter &Writer; member in __anon84a3a1ce0111::ASTTypeWriter
90 ASTTypeWriter(ASTWriter &Writer, ASTWriter::RecordDataImpl &Record) in ASTTypeWriter() argument
91 : Writer(Writer), Record(Record), Code(TYPE_EXT_QUAL) { } in ASTTypeWriter()
108 Writer.AddTypeRef(T->getElementType(), Record); in VisitComplexType()
113 Writer.AddTypeRef(T->getPointeeType(), Record); in VisitPointerType()
118 Writer.AddTypeRef(T->getOriginalType(), Record); in VisitDecayedType()
123 Writer.AddTypeRef(T->getOriginalType(), Record); in VisitAdjustedType()
124 Writer.AddTypeRef(T->getAdjustedType(), Record); in VisitAdjustedType()
129 Writer.AddTypeRef(T->getPointeeType(), Record); in VisitBlockPointerType()
134 Writer.AddTypeRef(T->getPointeeTypeAsWritten(), Record); in VisitLValueReferenceType()
[all …]
/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/marisa-trie/v0_1_5/lib/marisa_alpha/
Dwriter.cc14 Writer::Writer() in Writer() function in marisa_alpha::Writer
17 Writer::Writer(std::FILE *file) in Writer() function in marisa_alpha::Writer
20 Writer::Writer(int fd) in Writer() function in marisa_alpha::Writer
23 Writer::Writer(std::ostream *stream) in Writer() function in marisa_alpha::Writer
26 Writer::~Writer() { in ~Writer()
32 void Writer::open(const char *filename, bool trunc_flag, in open()
64 void Writer::clear() { in clear()
65 Writer().swap(this); in clear()
68 void Writer::swap(Writer *rhs) { in swap()
76 void Writer::write_data(const void *data, std::size_t size) { in write_data()
Dwriter.h11 class Writer {
13 Writer();
14 explicit Writer(std::FILE *file);
15 explicit Writer(int fd);
16 explicit Writer(std::ostream *stream);
17 ~Writer();
43 void swap(Writer *rhs);
54 Writer(const Writer &);
55 Writer &operator=(const Writer &);
/external/marisa-trie/lib/marisa/
Dwriter.cc14 Writer::Writer() in Writer() function in marisa::Writer
17 Writer::Writer(std::FILE *file) in Writer() function in marisa::Writer
20 Writer::Writer(int fd) in Writer() function in marisa::Writer
23 Writer::Writer(std::ostream *stream) in Writer() function in marisa::Writer
26 Writer::~Writer() { in ~Writer()
32 void Writer::open(const char *filename, bool trunc_flag, in open()
64 void Writer::clear() { in clear()
65 Writer().swap(this); in clear()
68 void Writer::swap(Writer *rhs) { in swap()
76 void Writer::write_data(const void *data, std::size_t size) { in write_data()
Dwriter.h11 class Writer {
13 Writer();
14 explicit Writer(std::FILE *file);
15 explicit Writer(int fd);
16 explicit Writer(std::ostream *stream);
17 ~Writer();
42 void swap(Writer *rhs);
53 Writer(const Writer &);
54 Writer &operator=(const Writer &);
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMachObjectWriter.cpp29 void RecordARMScatteredRelocation(MachObjectWriter *Writer,
38 void RecordARMScatteredHalfRelocation(MachObjectWriter *Writer,
45 bool requiresExternRelocation(MachObjectWriter *Writer,
57 void RecordRelocation(MachObjectWriter *Writer, MCAssembler &Asm,
142 RecordARMScatteredHalfRelocation(MachObjectWriter *Writer, in RecordARMScatteredHalfRelocation() argument
150 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordARMScatteredHalfRelocation()
162 uint32_t Value = Writer->getSymbolAddress(A_SD, Layout); in RecordARMScatteredHalfRelocation()
165 Writer->getSectionAddress(A_SD->getFragment()->getParent()); in RecordARMScatteredHalfRelocation()
178 Value2 = Writer->getSymbolAddress(B_SD, Layout); in RecordARMScatteredHalfRelocation()
179 FixedValue -= Writer->getSectionAddress(B_SD->getFragment()->getParent()); in RecordARMScatteredHalfRelocation()
[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,
62 void RecordRelocation(MachObjectWriter *Writer, MCAssembler &Asm, 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()
100 MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout, in RecordX86_64Relocation() argument
103 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordX86_64Relocation()
[all …]
/external/deqp/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 …]
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMachObjectWriter.cpp27 bool RecordScatteredRelocation(MachObjectWriter *Writer,
34 void RecordPPCRelocation(MachObjectWriter *Writer, const MCAssembler &Asm,
44 void RecordRelocation(MachObjectWriter *Writer, MCAssembler &Asm, in RecordRelocation() argument
48 if (Writer->is64Bit()) { in RecordRelocation()
51 RecordPPCRelocation(Writer, Asm, Layout, Fragment, Fixup, Target, in RecordRelocation()
193 MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout, in RecordScatteredRelocation() argument
199 const unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, FK); in RecordScatteredRelocation()
215 uint32_t Value = Writer->getSymbolAddress(A_SD, Layout); in RecordScatteredRelocation()
217 Writer->getSectionAddress(A_SD->getFragment()->getParent()); in RecordScatteredRelocation()
229 Value2 = Writer->getSymbolAddress(B_SD, Layout); in RecordScatteredRelocation()
[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.cpp36 InstrProfWriter Writer; member
47 auto Profile = Writer.writeBuffer(); in TEST_F()
53 Writer.addFunctionCounts("foo", 0x1234, {1, 2, 3, 4}); in TEST_F()
54 auto Profile = Writer.writeBuffer(); in TEST_F()
70 Writer.addFunctionCounts("foo", 0x1234, {1, 2}); in TEST_F()
71 auto Profile = Writer.writeBuffer(); in TEST_F()
89 Writer.addFunctionCounts("foo", 0x1234, {1ULL << 31, 2}); in TEST_F()
90 Writer.addFunctionCounts("bar", 0, {1ULL << 63}); in TEST_F()
91 Writer.addFunctionCounts("baz", 0x5678, {0, 0, 0, 0}); in TEST_F()
92 auto Profile = Writer.writeBuffer(); in TEST_F()
/external/guava/guava/src/com/google/common/io/
DCharSink.java24 import java.io.Writer;
49 public abstract class CharSink implements OutputSupplier<Writer> {
64 public abstract Writer openStream() throws IOException; in openStream()
77 public final Writer getOutput() throws IOException { in getOutput()
93 public Writer openBufferedStream() throws IOException { in openBufferedStream()
94 Writer writer = openStream(); in openBufferedStream()
110 Writer out = closer.register(openStream()); in write()
144 Writer out = closer.register(openBufferedStream()); in writeLines()
168 Writer out = closer.register(openStream()); in writeFrom()
/external/v8/src/
Dgdb-jit.cc38 class Writer BASE_EMBEDDED {
40 explicit Writer(DebugObject* debug_object) in Writer() function in v8::internal::BASE_EMBEDDED
47 ~Writer() { in ~Writer()
58 Slot(Writer* w, uintptr_t offset) : w_(w), offset_(offset) { } in Slot()
73 Writer* w_;
176 virtual void WriteBody(Writer::Slot<THeader> header, Writer* writer) { in WriteBody()
188 virtual bool WriteBodyInternal(Writer* writer) { in WriteBodyInternal()
237 virtual void PopulateHeader(Writer::Slot<Header> header) { in PopulateHeader()
315 void PopulateHeader(Writer::Slot<Header> header, ELFStringTable* strtab);
317 virtual void WriteBody(Writer::Slot<Header> header, Writer* w) { in WriteBody()
[all …]
/external/llvm/include/llvm/Support/
DEndianStream.h26 template <endianness endian> struct Writer { struct
28 Writer(raw_ostream &OS) : OS(OS) {} in Writer() function
37 inline void Writer<little>::write<float>(float Val) { argument
43 inline void Writer<little>::write<double>(double Val) {
49 inline void Writer<big>::write<float>(float Val) {
55 inline void Writer<big>::write<double>(double Val) {
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MachObjectWriter.cpp37 void RecordRelocation(MachObjectWriter *Writer, MCAssembler &Asm,
145 MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout, in RecordRelocation() argument
148 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordRelocation()
233 Writer->addRelocation(A_Base, Fragment->getParent(), MRE); in RecordRelocation()
269 : Writer->getSymbolAddress(&A_SD, Layout)) - in RecordRelocation()
272 : Writer->getSymbolAddress(A_Base, Layout)); in RecordRelocation()
274 : Writer->getSymbolAddress(&B_SD, Layout)) - in RecordRelocation()
277 : Writer->getSymbolAddress(B_Base, Layout)); in RecordRelocation()
284 Writer->addRelocation(A_Base, Fragment->getParent(), MRE); in RecordRelocation()
312 Res, Layout, Writer->getSectionAddressMap())) { in RecordRelocation()
[all …]
/external/llvm/unittests/Support/
DEndianStreamTest.cpp24 endian::Writer<little> LE(OS); in TEST()
39 endian::Writer<big> BE(OS); in TEST()
55 endian::Writer<little> LE(OS); in TEST()
70 endian::Writer<big> BE(OS); in TEST()
85 endian::Writer<little> LE(OS); in TEST()
104 endian::Writer<big> BE(OS); in TEST()
123 endian::Writer<little> LE(OS); in TEST()
142 endian::Writer<big> BE(OS); in TEST()
/external/dexmaker/src/dx/java/com/android/dx/util/
DTwoColumnOutput.java23 import java.io.Writer;
32 private final Writer out;
88 public TwoColumnOutput(Writer out, int leftWidth, int rightWidth, in TwoColumnOutput()
136 public Writer getLeft() { in getLeft()
145 public Writer getRight() { in getRight()
233 Writer out) in appendNewlineIfNecessary()
248 private static void writeSpaces(Writer out, int amt) throws IOException { in writeSpaces()
/external/zlib/src/contrib/ada/
Dzlib-streams.adb28 Close (Stream.Writer);
82 Init_Filter (Stream.Writer, Back_Compressed);
109 Flush (Stream.Writer, Buffer, Last, Mode);
123 return Is_Open (Stream.Reader) or else Is_Open (Stream.Writer);
204 Write (Stream.Writer, Item, No_Flush);
213 return Total_In (Stream.Writer);
222 return Total_Out (Stream.Writer);

1234567891011