Searched refs:header_size (Results 1 – 20 of 20) sorted by relevance
/art/runtime/mirror/ |
D | array-alloc-inl.h | 40 size_t header_size = Array::DataOffset(component_size).SizeValue(); in ComputeArraySize() local 42 size_t size = header_size + data_size; in ComputeArraySize() 52 DCHECK_NE(header_size, 0U); in ComputeArraySize() 53 DCHECK_EQ(RoundUp(header_size, component_size), header_size); in ComputeArraySize() 55 const size_t length_limit = (0U - header_size) >> component_size_shift; in ComputeArraySize() 88 SetLengthToUsableSizeVisitor(int32_t min_length, size_t header_size, in SetLengthToUsableSizeVisitor() argument 90 minimum_length_(min_length), header_size_(header_size), in SetLengthToUsableSizeVisitor()
|
D | string-alloc-inl.h | 163 constexpr size_t header_size = sizeof(String); in Alloc() local 170 size_t size = header_size + data_size; in Alloc() 180 const size_t overflow_length = (-header_size) / block_size; // Unsigned arithmetic. in Alloc()
|
D | array-inl.h | 48 size_t header_size = DataOffset(1U << component_size_shift).SizeValue(); in SizeOf() local 50 return header_size + data_size; in SizeOf()
|
/art/compiler/ |
D | exception_test.cc | 87 const size_t header_size = sizeof(OatQuickMethodHeader); in SetUp() local 90 fake_header_code_and_maps_.resize(stack_maps_size + header_size + code_size + code_alignment); in SetUp() 93 AlignUp(&fake_header_code_and_maps_[stack_maps_size + header_size], code_alignment); in SetUp() 98 memcpy(code_ptr - header_size, &method_header, header_size); in SetUp()
|
/art/runtime/jit/ |
D | jit_memory_region.cc | 361 size_t header_size = OatQuickMethodHeader::InstructionAlignedSize(); in CommitCode() local 362 size_t total_size = header_size + code.size(); in CommitCode() 367 DCHECK_GT(total_size, header_size); in CommitCode() 372 DCHECK_ALIGNED_PARAM(reinterpret_cast<uintptr_t>(w_memory + header_size), alignment); in CommitCode() 373 const uint8_t* result = x_memory + header_size; in CommitCode() 376 std::copy(code.begin(), code.end(), w_memory + header_size); in CommitCode() 380 OatQuickMethodHeader::FromCodePointer(w_memory + header_size); in CommitCode()
|
/art/runtime/ |
D | handle_scope-inl.h | 65 size_t header_size = sizeof(HandleScope); in SizeOf() local 67 return header_size + data_size; in SizeOf() 72 size_t header_size = ReferencesOffset(pointer_size); in SizeOf() local 74 return header_size + data_size; in SizeOf()
|
/art/test/dexdump/ |
D | staticfields.txt | 8 header_size : 112
|
D | invoke-polymorphic.txt | 8 header_size : 112
|
D | values.txt | 8 header_size : 112
|
D | const-method-handle.txt | 8 header_size : 112
|
D | all.txt | 8 header_size : 112
|
D | bytecodes.txt | 8 header_size : 112
|
D | invoke-custom.txt | 8 header_size : 112
|
D | checkers.txt | 8 header_size : 112
|
/art/runtime/gc/space/ |
D | space_test.h | 116 size_t header_size = SizeOfZeroLengthByteArray(); in InstallClass() local 117 int32_t length = size - header_size; in InstallClass()
|
/art/dexlayout/ |
D | dex_ir.h | 357 uint32_t header_size, in Header() argument 369 header_size, in Header() 381 uint32_t header_size, in Header() argument 406 header_size, in Header() 532 uint32_t header_size, in ConstructorHelper() argument 540 header_size_ = header_size; in ConstructorHelper()
|
/art/runtime/gc/allocator/ |
D | rosalloc.cc | 1673 size_t header_size = 0; in Initialize() local 1690 header_size = tmp_header_size; in Initialize() 1695 DCHECK_GT(header_size, 0U) << i; in Initialize() 1697 header_size += run_size % bracket_size; in Initialize() 1698 DCHECK_EQ(header_size + num_of_slots * bracket_size, run_size); in Initialize() 1700 headerSizes[i] = header_size; in Initialize()
|
/art/libdexfile/dex/ |
D | dex_file_verifier.cc | 1865 uint32_t header_size = num_header_elems * elem_size; in CheckIntraHiddenapiClassData() local 1876 if (item->size_ < header_size) { in CheckIntraHiddenapiClassData() 1878 "Hiddenapi class data too short to store header (%u < %u)", item->size_, header_size); in CheckIntraHiddenapiClassData() 1883 ptr_ += header_size; in CheckIntraHiddenapiClassData()
|
/art/dex2oat/linker/ |
D | image_writer.cc | 1601 const size_t header_size = LengthPrefixedArray<ArtField>::ComputeSize(0); in RecordNativeRelocations() local 1613 offset += header_size; in RecordNativeRelocations() 1630 Bin::kArtField, header_size + cur_fields->size() * sizeof(ArtField)); in RecordNativeRelocations() 1651 const size_t header_size = LengthPrefixedArray<ArtMethod>::ComputeSize(0, in RecordNativeRelocations() local 1666 image_info.IncrementBinSlotSize(bin_type, header_size); in RecordNativeRelocations()
|
D | oat_writer.cc | 2854 size_t header_size = oat_header_->GetHeaderSize(); in WriteHeader() local 2855 if (!out->WriteFully(oat_header_.get(), header_size)) { in WriteHeader()
|