Home
last modified time | relevance | path

Searched refs:offsets (Results 1 – 11 of 11) sorted by relevance

/art/libdexfile/dex/
Dcompact_offset_table_test.cc27 std::vector<uint32_t> offsets = { in TEST() local
34 for (uint32_t& offset : offsets) { in TEST()
43 CompactOffsetTable::Build(offsets, /*out*/ &data, /*out*/ &min_offset, /*out*/ &table_offset); in TEST()
47 const size_t before_size = offsets.size() * sizeof(offsets.front()); in TEST()
58 for (size_t i = 0; i < offsets.size(); ++i) { in TEST()
59 EXPECT_EQ(offsets[i], accessor.GetOffset(i)); in TEST()
64 std::sort(offsets.begin(), offsets.end()); in TEST()
66 CompactOffsetTable::Build(offsets, in TEST()
81 CompactOffsetTable::Build(offsets, /*out*/ &data2); in TEST()
83 for (size_t i = 0; i < offsets.size(); ++i) { in TEST()
[all …]
Dcompact_offset_table.cc63 void CompactOffsetTable::Build(const std::vector<uint32_t>& offsets, in Build() argument
67 CompactOffsetTable::Build(offsets, out_data, &out_offsets[0], &out_offsets[1]); in Build()
74 void CompactOffsetTable::Build(const std::vector<uint32_t>& offsets, in Build() argument
82 for (const uint32_t offset : offsets) { in Build()
93 while (block_start < offsets.size()) { in Build()
98 const size_t block_size = std::min(offsets.size() - block_start, kElementsPerIndex); in Build()
103 if (offsets[block_start + i] != 0u) { in Build()
114 const uint32_t offset = offsets[block_start + i]; in Build()
Dcompact_offset_table.h55 static void Build(const std::vector<uint32_t>& offsets, std::vector<uint8_t>* out_data);
58 static void Build(const std::vector<uint32_t>& offsets,
Ddex_file_verifier.cc2948 const uint32_t* offsets = set->entries_; in CheckInterAnnotationSetItem() local
2953 if (*offsets != 0 && !CheckOffsetToTypeMap(*offsets, DexFile::kDexTypeAnnotationItem)) { in CheckInterAnnotationSetItem()
2959 reinterpret_cast<const dex::AnnotationItem*>(begin_ + *offsets); in CheckInterAnnotationSetItem()
2969 offsets++; in CheckInterAnnotationSetItem()
2972 ptr_ = reinterpret_cast<const uint8_t*>(offsets); in CheckInterAnnotationSetItem()
/art/tools/runtime_memusage/
DREADME76 Filters out all Dex File offsets outside the
77 range between provided offsets. 'inf' can be
86 Filters out all time offsets outside the
87 range between provided offsets. 'inf' can be
Dsymbol_trace_info.py42 offsets = data_lists["offsets"]
62 max_offset = min(offsets[1], dex_size_list[dex_file_ind])
64 if (dex_offset >= offsets[0] and dex_offset < max_offset and
198 data_lists["offsets"] = parsed_argv.offsets
/art/runtime/
Dclass_linker_test.cc475 std::vector<CheckOffset> offsets; member
504 if (offsets.size() != num_fields) { in Check()
508 << " C++=" << offsets.size(); in Check()
512 for (size_t i = 0; i < offsets.size(); i++) { in Check()
515 if (field_name != offsets[i].java_name) { in Check()
520 for (size_t i = 0; i < offsets.size(); i++) { in Check()
521 CheckOffset& offset = offsets[i]; in Check()
524 if (field_name != offsets[i].java_name) { in Check()
534 for (size_t i = 0; i < offsets.size(); i++) { in Check()
535 CheckOffset& offset = offsets[i]; in Check()
[all …]
DAndroid.bp213 "offsets.cc",
/art/tools/jvmti-agents/breakpoint-logger/
DREADME.md21 dexdump and are uint16\_t-offsets from the start of the method. On other
/art/runtime/interpreter/mterp/
DREADME.txt46 values, structure sizes, and struct member offsets. The format is fairly
/art/dex2oat/linker/
Doat_writer.cc1395 OatMethodOffsets* offsets = &oat_class->method_offsets_[method_offsets_index_]; in VisitMethod() local
1396 offsets->code_offset_ = quick_code_offset; in VisitMethod()
1574 OatMethodOffsets offsets(0u); in VisitMethod() local
1577 offsets = oat_class->method_offsets_[method_offsets_index_]; in VisitMethod()
1605 reinterpret_cast<void*>(offsets.code_offset_), pointer_size_); in VisitMethod()
2432 std::vector<uint32_t>* const offsets = in VisitDexMethods() local
2458 offsets->push_back(offset); in VisitDexMethods()
2496 const std::vector<uint32_t>* const offsets = &it->second; in VisitDexMethods() local
2503 CompactOffsetTable::Build(*offsets, &table_data); in VisitDexMethods()