Home
last modified time | relevance | path

Searched refs:method_header (Results 1 – 5 of 5) sorted by relevance

/art/runtime/
Doat_file-inl.h34 const OatQuickMethodHeader* method_header = GetOatQuickMethodHeader(); in GetOatQuickMethodHeaderOffset() local
35 if (method_header == nullptr) { in GetOatQuickMethodHeaderOffset()
38 return reinterpret_cast<const byte*>(method_header) - begin_; in GetOatQuickMethodHeaderOffset()
50 const OatQuickMethodHeader* method_header = GetOatQuickMethodHeader(); in GetQuickCodeSizeOffset() local
51 if (method_header == nullptr) { in GetQuickCodeSizeOffset()
54 return reinterpret_cast<const byte*>(&method_header->code_size_) - begin_; in GetQuickCodeSizeOffset()
99 const OatQuickMethodHeader* method_header = GetOatQuickMethodHeader(); in GetGcMapOffsetOffset() local
100 if (method_header == nullptr) { in GetGcMapOffsetOffset()
103 return reinterpret_cast<const byte*>(&method_header->gc_map_offset_) - begin_; in GetGcMapOffsetOffset()
112 const OatQuickMethodHeader* method_header = GetOatQuickMethodHeader(); in GetMappingTableOffsetOffset() local
[all …]
Dexception_test.cc80 OatQuickMethodHeader method_header(mapping_table_offset, vmap_table_offset, gc_map_offset, in SetUp() local
82 fake_header_code_and_maps_.resize(sizeof(method_header)); in SetUp()
83 memcpy(&fake_header_code_and_maps_[0], &method_header, sizeof(method_header)); in SetUp()
/art/compiler/
Doat_writer.cc377 OatQuickMethodHeader* method_header = &oat_class->method_headers_[method_offsets_index_]; in VisitMethod() local
378 uint32_t mapping_table_offset = method_header->mapping_table_offset_; in VisitMethod()
379 uint32_t vmap_table_offset = method_header->vmap_table_offset_; in VisitMethod()
380 uint32_t gc_map_offset = method_header->gc_map_offset_; in VisitMethod()
399 *method_header = OatQuickMethodHeader(mapping_table_offset, vmap_table_offset, in VisitMethod()
405 writer_->oat_header_->UpdateChecksum(method_header, sizeof(*method_header)); in VisitMethod()
406 offset_ += sizeof(*method_header); // Method header is prepended before code. in VisitMethod()
615 const OatQuickMethodHeader& method_header = in VisitMethod() local
617 if (!out->WriteFully(&method_header, sizeof(method_header))) { in VisitMethod()
621 writer_->size_method_header_ += sizeof(method_header); in VisitMethod()
[all …]
Dcommon_compiler_test.cc179 OatQuickMethodHeader method_header(mapping_table_offset, vmap_table_offset, gc_map_offset, in MakeExecutable() local
186 size_t size = sizeof(method_header) + code_size + vmap_table.size() + mapping_table.size() + in MakeExecutable()
191 chunk->resize(sizeof(method_header)); in MakeExecutable()
192 memcpy(&(*chunk)[0], &method_header, sizeof(method_header)); in MakeExecutable()
/art/oatdump/
Doatdump.cc521 const OatQuickMethodHeader* method_header = oat_method.GetOatQuickMethodHeader(); in DumpOatMethod() local
524 *indent1_os << StringPrintf("%p ", method_header); in DumpOatMethod()