Home
last modified time | relevance | path

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

12345678910>>...12

/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()
145 Writer.AddDeclRef(typeParam, Record); in AddObjCTypeParamList()
147 Writer.AddSourceLocation(typeParams->getLAngleLoc(), Record); in AddObjCTypeParamList()
148 Writer.AddSourceLocation(typeParams->getRAngleLoc(), Record); in AddObjCTypeParamList()
156 Writer.AddCXXCtorInitializersRef( in AddFunctionDefinition()
159 Writer.AddStmt(FD->getBody()); in AddFunctionDefinition()
170 Firsts[Writer.Chain->getOwningModuleFile(R)] = R; in AddFirstDeclFromEachModule()
175 Writer.AddDeclRef(F.second, Record); in AddFirstDeclFromEachModule()
[all …]
DASTWriter.cpp86 ASTWriter &Writer; member in __anon039845d30111::ASTTypeWriter
95 ASTTypeWriter(ASTWriter &Writer, ASTWriter::RecordDataImpl &Record) in ASTTypeWriter() argument
96 : Writer(Writer), Record(Record), Code(TYPE_EXT_QUAL) { } in ASTTypeWriter()
113 Writer.AddTypeRef(T->getElementType(), Record); in VisitComplexType()
118 Writer.AddTypeRef(T->getPointeeType(), Record); in VisitPointerType()
123 Writer.AddTypeRef(T->getOriginalType(), Record); in VisitDecayedType()
128 Writer.AddTypeRef(T->getOriginalType(), Record); in VisitAdjustedType()
129 Writer.AddTypeRef(T->getAdjustedType(), Record); in VisitAdjustedType()
134 Writer.AddTypeRef(T->getPointeeType(), Record); in VisitBlockPointerType()
139 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/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/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()
98 MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout, in RecordX86_64Relocation() argument
101 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,
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/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()
54 Writer.addRecord(std::move(Record)); in TEST_F()
55 auto Profile = Writer.writeBuffer(); in TEST_F()
73 Writer.addRecord(std::move(Record1)); in TEST_F()
74 Writer.addRecord(std::move(Record2)); in TEST_F()
75 auto Profile = Writer.writeBuffer(); in TEST_F()
100 Writer.addRecord(std::move(Record1)); in TEST_F()
101 Writer.addRecord(std::move(Record2)); in TEST_F()
102 auto Profile = Writer.writeBuffer(); in TEST_F()
[all …]
/external/v8/src/
Dgdb-jit.cc40 class Writer BASE_EMBEDDED {
42 explicit Writer(DebugObject* debug_object) in Writer() function in v8::internal::GDBJITInterface::BASE_EMBEDDED
49 ~Writer() { in ~Writer()
60 Slot(Writer* w, uintptr_t offset) : w_(w), offset_(offset) { } in Slot()
75 Writer* w_;
178 virtual void WriteBody(Writer::Slot<THeader> header, Writer* writer) { in WriteBody()
190 virtual bool WriteBodyInternal(Writer* writer) { in WriteBodyInternal()
239 virtual void PopulateHeader(Writer::Slot<Header> header) { in PopulateHeader()
317 void PopulateHeader(Writer::Slot<Header> header, ELFStringTable* strtab);
319 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() argument
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.cpp36 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()
232 Writer->addRelocation(A_Base, Fragment->getParent(), MRE); in recordRelocation()
277 Value += (!A->getFragment() ? 0 : Writer->getSymbolAddress(*A, Layout)) - in recordRelocation()
278 (!A_Base || !A_Base->getFragment() ? 0 : Writer->getSymbolAddress( in recordRelocation()
280 Value -= (!B->getFragment() ? 0 : Writer->getSymbolAddress(*B, Layout)) - in recordRelocation()
281 (!B_Base || !B_Base->getFragment() ? 0 : Writer->getSymbolAddress( in recordRelocation()
289 Writer->addRelocation(A_Base, Fragment->getParent(), MRE); in recordRelocation()
316 Res, Layout, Writer->getSectionAddressMap())) { in recordRelocation()
[all …]
/external/guava/guava/src/com/google/common/io/
DCharSink.java24 import java.io.Writer;
64 public abstract Writer openStream() throws IOException; in openStream()
78 public Writer openBufferedStream() throws IOException { in openBufferedStream()
79 Writer writer = openStream(); in openBufferedStream()
95 Writer out = closer.register(openStream()); in write()
129 Writer out = closer.register(openBufferedStream()); in writeLines()
153 Writer out = closer.register(openStream()); in writeFrom()
DCharStreams.java28 import java.io.Writer;
183 public static Writer nullWriter() { in nullWriter()
187 private static final class NullWriter extends Writer {
216 public Writer append(CharSequence csq) { in append()
222 public Writer append(CharSequence csq, int start, int end) { in append()
228 public Writer append(char c) { in append()
256 public static Writer asWriter(Appendable target) { in asWriter()
257 if (target instanceof Writer) { in asWriter()
258 return (Writer) target; in asWriter()
/external/llvm/tools/dsymutil/
DMachOUtils.cpp227 const object::MachOObjectFile &Obj, MCObjectWriter &Writer, in transferSegmentAndSections() argument
255 Writer.writeBytes( in transferSegmentAndSections()
262 Writer.writeBytes(StringRef(reinterpret_cast<char *>(&Sect), sizeof(Sect))); in transferSegmentAndSections()
269 MCAsmLayout &Layout, MachObjectWriter &Writer) { in createDwarfSegment() argument
270 Writer.writeSegmentLoadCommand("__DWARF", NumSections, VMAddr, in createDwarfSegment()
285 Writer.writeSection(Layout, *Sec, VMAddr, FileOffset, 0, 0, 0); in createDwarfSegment()
323 auto &Writer = static_cast<MachObjectWriter &>(MCAsm.getWriter()); in generateDsymCompanion() local
343 bool Is64Bit = Writer.is64Bit(); in generateDsymCompanion()
425 Writer.writeHeader(MachO::MH_DSYM, NumLoadCommands, LoadCommandSize, false); in generateDsymCompanion()
430 Writer.write32(UUIDCmd.cmd); in generateDsymCompanion()
[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);
/external/compiler-rt/lib/profile/
DInstrProfilingWriter.c13 COMPILER_RT_VISIBILITY int llvmWriteProfData(WriterCallback Writer, in llvmWriteProfData() argument
24 return llvmWriteProfDataImpl(Writer, WriterCtx, DataBegin, DataEnd, in llvmWriteProfData()
30 WriterCallback Writer, void *WriterCtx, in llvmWriteProfDataImpl() argument
62 if (Writer(IOVec, sizeof(IOVec) / sizeof(*IOVec), &WriterCtx)) in llvmWriteProfDataImpl()
66 if (Writer(IOVec2, sizeof(IOVec2) / sizeof(*IOVec2), &WriterCtx)) in llvmWriteProfDataImpl()
/external/smali/util/src/main/java/org/jf/util/
DIndentingWriter.java32 import java.io.Writer;
34 public class IndentingWriter extends Writer {
35 protected final Writer writer;
41 public IndentingWriter(Writer writer) { in IndentingWriter()
136 public Writer append(CharSequence charSequence) throws IOException { in append()
142 public Writer append(CharSequence charSequence, int start, int len) throws IOException { in append()
148 public Writer append(char c) throws IOException { in append()

12345678910>>...12