Searched defs:header (Results 1 - 25 of 37) sorted by relevance

12

/art/dexlayout/
H A Ddex_writer.h31 DexWriter(dex_ir::Header* header, MemMap* mem_map) : header_(header), mem_map_(mem_map) { } argument
33 static void Output(dex_ir::Header* header, MemMap* mem_map);
H A Ddex_ir_builder.cc31 Header* header = new Header(disk_header.magic_, local
41 Collections& collections = header->GetCollections();
42 // Walk the rest of the header fields.
80 return header;
H A Ddexlayout.h75 header = nullptr)
76 : options_(options), info_(info), out_file_(out_file), header_(header) { }
82 void SetHeader(dex_ir::Header* header) { header_ = header; } argument
H A Ddex_visualize.cc47 explicit Dumper(dex_ir::Header* header) argument
50 dex_ir::GetSortedDexFileSections(header, dex_ir::SortDirection::kSortDescending)) { }
247 void VisualizeDexLayout(dex_ir::Header* header, argument
251 std::unique_ptr<Dumper> dumper(new Dumper(header));
257 const uint32_t class_defs_size = header->GetCollections().ClassDefsSize();
259 dex_ir::ClassDef* class_def = header->GetCollections().GetClassDef(class_index);
306 static uint32_t FindNextByteAfterSection(dex_ir::Header* header, argument
315 return header->FileSize();
321 void ShowDexSectionStatistics(dex_ir::Header* header, size_t dex_file_index) { argument
325 header
[all...]
H A Ddex_writer.cc682 void DexWriter::Output(dex_ir::Header* header, MemMap* mem_map) { argument
683 DexWriter dex_writer(header, mem_map);
/art/test/566-polymorphic-inlining/
H A Dpolymorphic_inline.cc35 OatQuickMethodHeader* header = nullptr; local
40 header = OatQuickMethodHeader::FromEntryPoint(pc);
50 CodeInfo info = header->GetOptimizedCodeInfo();
/art/test/570-checker-osr/
H A Dosr.cc42 const OatQuickMethodHeader* header = local
44 if (header != nullptr && header == GetCurrentOatQuickMethodHeader()) {
/art/compiler/debug/
H A Delf_debug_writer.cc176 std::vector<MethodDebugInfo> MakeTrampolineInfos(const OatHeader& header) { argument
178 { "interpreterToInterpreterBridge", header.GetInterpreterToInterpreterBridgeOffset() },
179 { "interpreterToCompiledCodeBridge", header.GetInterpreterToCompiledCodeBridgeOffset() },
180 { "jniDlsymLookup", header.GetJniDlsymLookupOffset() },
181 { "quickGenericJniTrampoline", header.GetQuickGenericJniTrampolineOffset() },
182 { "quickImtConflictTrampoline", header.GetQuickImtConflictTrampolineOffset() },
183 { "quickResolutionTrampoline", header.GetQuickResolutionTrampolineOffset() },
184 { "quickToInterpreterBridge", header.GetQuickToInterpreterBridgeOffset() },
191 info.isa = header.GetInstructionSet();
193 info.code_address = it.second - header
[all...]
/art/compiler/optimizing/
H A Dloop_optimization_test.cc64 HBasicBlock* header = new (&allocator_) HBasicBlock(graph_); local
66 graph_->AddBlock(header);
69 position->ReplaceSuccessor(successor, header);
70 header->AddSuccessor(body);
71 header->AddSuccessor(successor);
72 header->AddInstruction(new (&allocator_) HIf(parameter_));
73 body->AddSuccessor(header);
75 return header;
H A Dregister_allocator.cc268 // If `to` is in a loop, find the outermost loop header which does not contain `from`.
270 HBasicBlock* header = it.Current()->GetHeader(); local
271 if (block_from->GetLifetimeStart() >= header->GetLifetimeStart()) {
274 block_to = header;
H A Dloop_optimization.cc365 HBasicBlock* header = node->loop_info->GetHeader(); local
367 // Scan the phis in the header to find opportunities to simplify an induction
372 for (HInstructionIterator it(header->GetPhis()); !it.Done(); it.Advance()) {
428 HBasicBlock* header = node->loop_info->GetHeader(); local
430 // Ensure loop header logic is finite.
436 // Ensure there is only a single loop-body (besides the header).
439 if (it.Current() != header) {
447 if (header->GetSuccessors().size() != 2) {
450 HBasicBlock* exit = (header->GetSuccessors()[0] == body)
451 ? header
578 HBasicBlock* header = node->loop_info->GetHeader(); local
[all...]
/art/runtime/utils/
H A Ddex_cache_arrays_layout-inl.h32 const DexFile::Header& header,
37 RoundUp(types_offset_ + TypesSize(header.type_ids_size_), MethodsAlignment())),
39 RoundUp(methods_offset_ + MethodsSize(header.method_ids_size_), StringsAlignment())),
41 RoundUp(strings_offset_ + StringsSize(header.string_ids_size_), FieldsAlignment())),
43 RoundUp(fields_offset_ + FieldsSize(header.field_ids_size_), MethodTypesAlignment())),
45 RoundUp(method_types_offset_ + MethodTypesSize(header.proto_ids_size_),
31 DexCacheArraysLayout(PointerSize pointer_size, const DexFile::Header& header, uint32_t num_call_sites) argument
/art/tools/dexfuzz/src/dexfuzz/rawdex/
H A DOffset.java62 * and it's not pointing at the header, then this is set.
66 public Offset(boolean header) { argument
67 pointsAtHeader = header;
119 * Example: if there are no fields referred to in a DEX file, then header.field_ids_off
121 * at the header (only the header MapItem should do this) with a flag. Therefore, this
H A DRawDexFile.java28 public HeaderItem header; field in class:RawDexFile
32 // Can be allocated after reading the header.
59 // Read header.
60 (header = new HeaderItem()).read(file);
63 stringIds = new ArrayList<StringIdItem>(header.stringIdsSize);
64 typeIds = new ArrayList<TypeIdItem>(header.typeIdsSize);
65 protoIds = new ArrayList<ProtoIdItem>(header.protoIdsSize);
66 fieldIds = new ArrayList<FieldIdItem>(header.fieldIdsSize);
67 methodIds = new ArrayList<MethodIdItem>(header.methodIdsSize);
68 classDefs = new ArrayList<ClassDefItem>(header
[all...]
/art/compiler/jit/
H A Djit_logger.cc118 uint32_t size_; // Total size of header
122 uint64_t time_stamp_; // Timestamp when the header is generated
236 PerfJitHeader header; local
238 std::memset(&header, 0, sizeof(header));
239 header.magic_ = PerfJitHeader::kMagic;
240 header.version_ = PerfJitHeader::kVersion;
241 header.size_ = sizeof(header);
242 header
[all...]
/art/runtime/gc/space/
H A Dbump_pointer_space.cc148 BlockHeader* header = reinterpret_cast<BlockHeader*>(storage); local
149 header->size_ = bytes; // Write out the block header.
162 // If we have 0 blocks then we need to update the main header since we have bump pointer style
191 BlockHeader* header = reinterpret_cast<BlockHeader*>(pos); local
192 size_t block_size = header->size_;
193 pos += sizeof(BlockHeader); // Skip the header so that we know where the objects
198 // assume its the end. TODO: Have a thread update the header when it flushes the block?
/art/runtime/
H A Doat_quick_method_header.h46 uintptr_t header = code - OFFSETOF_MEMBER(OatQuickMethodHeader, code_); local
48 IsAlignedParam(header, GetInstructionSetAlignment(kRuntimeISA)))
49 << std::hex << code << " " << std::hex << header; local
50 return reinterpret_cast<OatQuickMethodHeader*>(header);
190 // The offset in bytes from the start of the vmap table to the end of the header.
192 // The offset in bytes from the start of the method info to the end of the header.
200 // code with the method header has should_deoptimize flag.
H A Ddex_file_test.cc276 const DexFile::Header& header = dex_file->GetHeader(); local
277 EXPECT_EQ(*kExpectedDexFileMagic, *header.magic_);
278 EXPECT_EQ(0x00d87910U, header.checksum_);
279 EXPECT_EQ(*kExpectedSha1, *header.signature_);
280 EXPECT_EQ(904U, header.file_size_);
281 EXPECT_EQ(112U, header.header_size_);
282 EXPECT_EQ(0U, header.link_size_);
283 EXPECT_EQ(0U, header.link_off_);
284 EXPECT_EQ(15U, header.string_ids_size_);
285 EXPECT_EQ(112U, header
320 const DexFile::Header& header = raw->GetHeader(); local
[all...]
H A Dintern_table.cc181 const ImageHeader* const header = &image_space->GetImageHeader(); local
183 const ImageSection& section = header->GetImageSection(ImageHeader::kSectionInternedStrings);
H A Ddex_file_verifier_test.cc45 DexFile::Header* header = reinterpret_cast<DexFile::Header*>(dex_file); local
46 uint32_t expected_size = header->file_size_;
51 header->checksum_ = adler_checksum;
1345 DexFile::Header* header = const_cast<DexFile::Header*>(
1350 off_ptr = &header->map_off_;
1353 off_ptr = &header->string_ids_off_;
1356 off_ptr = &header->type_ids_off_;
1359 off_ptr = &header->proto_ids_off_;
1362 off_ptr = &header->field_ids_off_;
1365 off_ptr = &header
1655 DexFile::Header* header = reinterpret_cast<DexFile::Header*>( local
[all...]
H A Dart_method.cc584 const OatQuickMethodHeader* header = oat_method.GetOatQuickMethodHeader(); local
585 // OatMethod without a header: no quickening table.
586 if (header == nullptr) {
595 return oat_file->DexBegin() + header->GetVmapTableOffset();
616 // The generic JNI does not have any method header.
622 // The proxy entry point does not have any method header.
H A Dstack.cc707 const auto& header = image_space->GetImageHeader(); local
708 const ImageSection& methods = header.GetMethodsSection();
709 const ImageSection& runtime_methods = header.GetRuntimeMethodsSection();
/art/compiler/utils/
H A Dtest_dex_file_builder.h89 DexFile::Header* header = reinterpret_cast<DexFile::Header*>(&header_data.data); local
90 std::copy_n(DexFile::kDexMagic, 4u, header->magic_);
91 std::copy_n(DexFile::kDexMagicVersions[0], 4u, header->magic_ + 4u);
92 header->header_size_ = sizeof(DexFile::Header);
93 header->endian_tag_ = DexFile::kDexEndianConstant;
94 header->link_size_ = 0u; // Unused.
95 header->link_off_ = 0u; // Unused.
96 header->map_off_ = 0u; // Unused. TODO: This is wrong. Dex files created by this builder
109 header->string_ids_size_ = strings_.size();
110 header
[all...]
/art/tools/dmtracedump/
H A Dcreatetesttrace.cc20 #include "profile.h" // from VM header
34 * Values from the header of the data file.
47 DataHeader header = {0x574f4c53, VERSION, sizeof(DataHeader), 0LL}; variable
345 header.version = versionNumber;
346 write4LE(dataFp, header.magic);
347 write2LE(dataFp, header.version);
348 write2LE(dataFp, header.offsetToData);
/art/runtime/jdwp/
H A Djdwp_event.cc770 * the header.
779 * Write the header into the buffer and send the packet off to the debugger.
1308 * Setup the header for a chunk of DDM data.
1313 /* form the header (JDWP plus DDMS) */
1331 uint8_t header[kJDWPHeaderLen + 8] = { 0 }; local
1339 * "Wrap" the contents of the iovec with a JDWP/DDMS header. We do
1340 * this by creating a new copy of the vector with space for the header.
1349 SetupChunkHeader(type, dataLen, sizeof(header), header);
1351 wrapiov[0].iov_base = header;
[all...]

Completed in 466 milliseconds

12