Home
last modified time | relevance | path

Searched refs:output_stream_ (Results 1 – 2 of 2) sorted by relevance

/art/compiler/linker/
Doutput_stream_test.cc31 off_t actual = output_stream_->Seek(0, kSeekCurrent); in CheckOffset()
36 output_stream_ = &output_stream; in SetOutputStream()
40 EXPECT_EQ(3, output_stream_->Seek(3, kSeekCurrent)); in GenerateTestOutput()
42 EXPECT_EQ(2, output_stream_->Seek(2, kSeekSet)); in GenerateTestOutput()
45 EXPECT_TRUE(output_stream_->WriteFully(buf, 2)); in GenerateTestOutput()
47 EXPECT_EQ(6, output_stream_->Seek(2, kSeekEnd)); in GenerateTestOutput()
49 EXPECT_TRUE(output_stream_->WriteFully(buf, 4)); in GenerateTestOutput()
51 EXPECT_TRUE(output_stream_->WriteFully(buf, 6)); in GenerateTestOutput()
52 EXPECT_TRUE(output_stream_->Flush()); in GenerateTestOutput()
63 OutputStream* output_stream_; member in art::OutputStreamTest
/art/compiler/
Delf_writer_quick.cc124 std::unique_ptr<BufferedOutputStream> output_stream_; member in art::FINAL
163 output_stream_(MakeUnique<BufferedOutputStream>(MakeUnique<FileOutputStream>(elf_file))), in ElfWriterQuick()
164 builder_(new ElfBuilder<ElfTypes>(instruction_set, features, output_stream_.get())) {} in ElfWriterQuick()