Home
last modified time | relevance | path

Searched refs:OutputStream (Results 1 – 25 of 40) sorted by relevance

12

/art/dex2oat/linker/
Delf_writer.h34 class OutputStream; variable
69 virtual OutputStream* StartRoData() = 0;
70 virtual void EndRoData(OutputStream* rodata) = 0;
71 virtual OutputStream* StartText() = 0;
72 virtual void EndText(OutputStream* text) = 0;
73 virtual OutputStream* StartDataBimgRelRo() = 0;
74 virtual void EndDataBimgRelRo(OutputStream* data_bimg_rel_ro) = 0;
83 virtual OutputStream* GetStream() = 0;
Doat_writer.h47 class OutputStream; variable
170 OutputStream* oat_rodata,
181 bool WriteRodata(OutputStream* out);
183 bool WriteCode(OutputStream* out);
185 bool WriteDataBimgRelRo(OutputStream* out);
187 bool CheckOatSize(OutputStream* out, size_t file_offset, size_t relative_offset);
189 bool WriteHeader(OutputStream* out);
315 size_t WriteClassOffsets(OutputStream* out, size_t file_offset, size_t relative_offset);
316 size_t WriteClasses(OutputStream* out, size_t file_offset, size_t relative_offset);
317 size_t WriteMaps(OutputStream* out, size_t file_offset, size_t relative_offset);
[all …]
Delf_writer_quick.cc101 OutputStream* StartRoData() override;
102 void EndRoData(OutputStream* rodata) override;
103 OutputStream* StartText() override;
104 void EndText(OutputStream* text) override;
105 OutputStream* StartDataBimgRelRo() override;
106 void EndDataBimgRelRo(OutputStream* data_bimg_rel_ro) override;
112 OutputStream* GetStream() override;
202 OutputStream* ElfWriterQuick<ElfTypes>::StartRoData() { in StartRoData()
209 void ElfWriterQuick<ElfTypes>::EndRoData(OutputStream* rodata) { in EndRoData()
215 OutputStream* ElfWriterQuick<ElfTypes>::StartText() { in StartText()
[all …]
Drelative_patcher.h31 class OutputStream; variable
125 virtual uint32_t WriteThunks(OutputStream* out, uint32_t offset) = 0;
160 bool WriteCodeAlignment(OutputStream* out, uint32_t aligned_code_delta);
161 bool WriteThunk(OutputStream* out, const ArrayRef<const uint8_t>& thunk);
162 bool WriteMiscThunk(OutputStream* out, const ArrayRef<const uint8_t>& thunk);
Drelative_patcher.cc56 uint32_t WriteThunks(OutputStream* out ATTRIBUTE_UNUSED, uint32_t offset) override { in Create()
126 bool RelativePatcher::WriteCodeAlignment(OutputStream* out, uint32_t aligned_code_delta) { in WriteCodeAlignment()
138 bool RelativePatcher::WriteThunk(OutputStream* out, const ArrayRef<const uint8_t>& thunk) { in WriteThunk()
146 bool RelativePatcher::WriteMiscThunk(OutputStream* out, const ArrayRef<const uint8_t>& thunk) { in WriteMiscThunk()
Doat_writer.cc111 class OatWriter::ChecksumUpdatingOutputStream : public OutputStream {
113 ChecksumUpdatingOutputStream(OutputStream* out, OatWriter* writer) in ChecksumUpdatingOutputStream()
114 : OutputStream(out->GetLocation()), out_(out), writer_(writer) { } in ChecksumUpdatingOutputStream()
136 OutputStream* const out_;
231 bool Write(OatWriter* oat_writer, OutputStream* out, const size_t file_offset) const;
258 bool Write(OatWriter* oat_writer, OutputStream* out) const;
320 bool Write(OatWriter* oat_writer, OutputStream* out) const;
321 bool WriteClassOffsets(OatWriter* oat_writer, OutputStream* out);
714 OutputStream* oat_rodata, in StartRoData()
1668 OutputStream* out, in WriteCodeMethodVisitor()
[all …]
/art/libelffile/stream/
Doutput_stream.h34 class OutputStream {
36 explicit OutputStream(const std::string& location) : location_(location) {} in OutputStream() function
38 virtual ~OutputStream() {} in ~OutputStream()
59 DISALLOW_COPY_AND_ASSIGN(OutputStream);
Derror_delaying_output_stream.h29 class ErrorDelayingOutputStream final : public OutputStream {
31 explicit ErrorDelayingOutputStream(OutputStream* output) in ErrorDelayingOutputStream()
32 : OutputStream(output->GetLocation()), in ErrorDelayingOutputStream()
96 OutputStream* output_;
Dbuffered_output_stream.h28 class BufferedOutputStream final : public OutputStream {
30 explicit BufferedOutputStream(std::unique_ptr<OutputStream> out);
45 std::unique_ptr<OutputStream> const out_;
Dbuffered_output_stream.cc23 BufferedOutputStream::BufferedOutputStream(std::unique_ptr<OutputStream> out) in BufferedOutputStream()
24 : OutputStream(out->GetLocation()), // Before out is moved to out_. in BufferedOutputStream()
Dfile_output_stream.cc26 FileOutputStream::FileOutputStream(File* file) : OutputStream(file->GetPath()), file_(file) {} in FileOutputStream()
Dfile_output_stream.h26 class FileOutputStream final : public OutputStream {
Dvector_output_stream.cc24 : OutputStream(location), offset_(vector->size()), vector_(vector) {} in VectorOutputStream()
Dvector_output_stream.h28 class VectorOutputStream final : public OutputStream {
/art/tools/ahat/src/test/com/android/ahat/
DTestHandler.java20 import java.io.OutputStream;
27 private static class NullOutputStream extends OutputStream {
DPerformanceTest.java22 import java.io.OutputStream;
30 private static class NullOutputStream extends OutputStream {
/art/compiler/linker/
Doutput_stream_test.cc36 void SetOutputStream(OutputStream& output_stream) { in SetOutputStream()
64 OutputStream* output_stream_;
104 struct CheckingOutputStream : OutputStream { in TEST_F()
106 : OutputStream("fake-location"), in TEST_F()
/art/tools/ahat/src/main/com/android/ahat/
DStaticHandler.java23 import java.io.OutputStream;
50 OutputStream os = exchange.getResponseBody(); in handle()
DBitmapHandler.java25 import java.io.OutputStream;
50 OutputStream os = exchange.getResponseBody(); in handle()
/art/test/151-OpenFileLimit/src/
DMain.java30 List<OutputStream> streams = new ArrayList<OutputStream>(); in main()
/art/test/1948-obsolete-const-method-handle/util-src/src/art/constmethodhandle/
DTestGenerator.java70 byte[] initClass, byte[] transClass, byte[] transDex, OutputStream out) throws IOException { in generateTestCode()
105 OutputStream tempClassStream = new FileOutputStream(tempInput); in getFinalDexBytes()
142 OutputStream output) throws IOException { in generateInvoker()
/art/dex2oat/linker/x86/
Drelative_patcher_x86_base.h31 uint32_t WriteThunks(OutputStream* out, uint32_t offset) override;
Drelative_patcher_x86_base.cc35 uint32_t X86BaseRelativePatcher::WriteThunks(OutputStream* out ATTRIBUTE_UNUSED, uint32_t offset) { in WriteThunks()
/art/test/2034-spaces-in-SimpleName/src_gen/
DSpacesInSimpleName.java69 OutputStream out = new FileOutputStream("Main.class"); in main()
/art/test/121-modifiers/src-java/
DAsm.java98 OutputStream out = new FileOutputStream(clazz + ".out"); in modify()

12