Searched refs:offsets (Results 1 - 9 of 9) sorted by relevance
/art/libdexfile/dex/ |
H A D | compact_offset_table_test.cc | 27 std::vector<uint32_t> offsets = { local 34 for (uint32_t& offset : offsets) { 43 CompactOffsetTable::Build(offsets, /*out*/ &data, /*out*/ &min_offset, /*out*/ &table_offset); 47 const size_t before_size = offsets.size() * sizeof(offsets.front()); 58 for (size_t i = 0; i < offsets.size(); ++i) { 59 EXPECT_EQ(offsets[i], accessor.GetOffset(i)); 64 std::sort(offsets.begin(), offsets.end()); 66 CompactOffsetTable::Build(offsets, [all...] |
H A D | compact_offset_table.cc | 63 void CompactOffsetTable::Build(const std::vector<uint32_t>& offsets, argument 67 CompactOffsetTable::Build(offsets, out_data, &out_offsets[0], &out_offsets[1]); 68 // Write the offsets at the start of the debug info. 74 void CompactOffsetTable::Build(const std::vector<uint32_t>& offsets, argument 82 for (const uint32_t offset : offsets) { 87 // Write the leb blocks and store the important offsets (each kElementsPerIndex elements). 93 while (block_start < offsets.size()) { 98 const size_t block_size = std::min(offsets.size() - block_start, kElementsPerIndex); 103 if (offsets[block_start + i] != 0u) { 111 // Write offsets relativ [all...] |
H A D | compact_offset_table.h | 40 // Read the minimum and table offsets from the data pointer. 55 static void Build(const std::vector<uint32_t>& offsets, std::vector<uint8_t>* out_data); 57 // Returned offsets are all relative to out_min_offset. 58 static void Build(const std::vector<uint32_t>& offsets,
|
H A D | dex_file_verifier.cc | 399 // Check that all offsets are inside the file. 2541 const uint32_t* offsets = set->entries_; local 2546 if (*offsets != 0 && !CheckOffsetToTypeMap(*offsets, DexFile::kDexTypeAnnotationItem)) { 2552 reinterpret_cast<const DexFile::AnnotationItem*>(begin_ + *offsets); 2562 offsets++; 2565 ptr_ = reinterpret_cast<const uint8_t*>(offsets); 2937 // Assume that the data is OK at this point. Type id offsets have been checked at this point. 2951 // Assume that the data is OK at this point. Field id offsets have been checked at this point. 2968 // Assume that the data is OK at this point. Method id offsets hav [all...] |
/art/tools/runtime_memusage/ |
H A D | symbol_trace_info.py | 42 offsets = data_lists["offsets"] 60 # Assumes that offsets is already sorted and constrains offset to be 62 max_offset = min(offsets[1], dex_size_list[dex_file_ind]) 64 if (dex_offset >= offsets[0] and dex_offset < max_offset and 148 parser.add_argument("--offsets", action="store", nargs=2, 150 dest="offsets", 154 " offsets if provided. Can provide 'inf'" 162 " time offsets if provided. Can provide 'inf'" 198 data_lists["offsets"] [all...] |
/art/runtime/ |
H A D | class_linker_test.cc | 356 // Confirm that all instances field offsets are packed together at the start. 396 // The reference instance offsets have a bit set for each reference offset. 468 std::vector<CheckOffset> offsets; member in struct:art::CheckOffsets 496 if (offsets.size() != num_fields) { 500 << " C++=" << offsets.size(); 504 for (size_t i = 0; i < offsets.size(); i++) { 507 if (field_name != offsets[i].java_name) { 512 for (size_t i = 0; i < offsets.size(); i++) { 513 CheckOffset& offset = offsets[i]; 516 if (field_name != offsets[ [all...] |
/art/dex2oat/linker/ |
H A D | oat_writer.cc | 328 // Class and BSS offsets set in PrepareLayout. 850 // Look for patches with .bss references and prepare maps with placeholders for their offsets. 919 // If there are any classes, the class offsets allocation aligns the offset. 1162 // once we know the offsets. 1223 // Given a method order, reserve the offsets for each CompiledMethod in the OAT file. 1293 << " offsets " << relative_patcher_->GetOffset(method_ref) 1330 // Update offsets. (Checksum is updated when writing.) 1373 OatMethodOffsets* offsets = &oat_class->method_offsets_[method_offsets_index_]; 1374 offsets->code_offset_ = quick_code_offset; 1592 OatMethodOffsets offsets( 2645 std::vector<uint32_t>* const offsets = member in class:OatWriter::WriteQuickeningInfoMethodVisitor::std 2709 const std::vector<uint32_t>* const offsets = &it->second; member in class:OatWriter::WriteQuickeningInfoOffsetsMethodVisitor::std [all...] |
/art/runtime/arch/mips/ |
H A D | quick_entrypoints_mips.S | 1789 # Store the class pointer in the header. This also overwrites the first pointer. The offsets are 2905 # No explicit null check for variable indices or large constant indices/offsets 2952 # Entry points for offsets/indices not fitting into int16_t and for variable indices. 2975 # Entry points for offsets/indices fitting into int16_t.
|
/art/runtime/arch/mips64/ |
H A D | quick_entrypoints_mips64.S | 1713 # Store the class pointer in the header. This also overwrites the first pointer. The offsets are 2698 # No explicit null check for variable indices or large constant indices/offsets 2733 # Entry points for offsets/indices not fitting into int16_t and for variable indices. 2755 # Entry points for offsets/indices fitting into int16_t.
|
Completed in 1167 milliseconds