Home
last modified time | relevance | path

Searched refs:writer_ (Results 1 – 3 of 3) sorted by relevance

/art/dex2oat/linker/
Dcode_info_table_deduper.cc39 size_t start_bit_offset = writer_.NumberOfWrittenBits(); in Dedupe()
77 writer_.WriteBytesAligned(code_info_data, BitsToBytesRoundUp(read_region.size_in_bits())); in Dedupe()
88 const_cast<uint8_t*>(writer_.data()), table_bit_start, table_bit_size); in Dedupe()
104 writer_.Truncate(start_bit_offset); in Dedupe()
110 writer_.WriteInterleavedVarints(header); in Dedupe()
114 size_t current_bit_offset = writer_.NumberOfWrittenBits(); in Dedupe()
119 writer_.WriteVarint(current_bit_offset - deduped_offset); in Dedupe()
122 writer_.WriteRegion(read_region.Subregion(bit_table_bit_starts[i], table_bit_size)); in Dedupe()
131 writer_.ByteAlign(); in Dedupe()
136 CodeInfo new_code_info(writer_.data() + start_bit_offset / kBitsPerByte); in Dedupe()
Doat_writer.cc142 : OutputStream(out->GetLocation()), out_(out), writer_(writer) { } in ChecksumUpdatingOutputStream()
147 uint32_t old_checksum = writer_->oat_checksum_; in WriteFully()
148 writer_->oat_checksum_ = adler32(old_checksum, bytes, byte_count); in WriteFully()
165 OatWriter* const writer_; member in art::linker::OatWriter::ChecksumUpdatingOutputStream
660 : writer_(writer), in DexMethodVisitor()
690 OatWriter* const writer_; member in art::linker::OatWriter::DexMethodVisitor
709 if (kIsDebugBuild && writer_->MayHaveCompiledMethods()) { in StartClass()
711 CHECK_LT(oat_class_index_, writer_->oat_classes_.size()); in StartClass()
739 CompiledMethod* compiled_method = writer_->compiler_driver_->GetCompiledMethod( in VisitMethod()
744 writer_->boot_image_rel_ro_entries_.Overwrite(patch.BootImageOffset(), in VisitMethod()
[all …]
Dcode_info_table_deduper.h31 : writer_(output), in CodeInfoTableDeduper()
96 BitMemoryWriter<std::vector<uint8_t>> writer_; variable