Home
last modified time | relevance | path

Searched refs:header_size (Results 1 – 20 of 20) sorted by relevance

/art/runtime/mirror/
Darray-alloc-inl.h40 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()
Dstring-alloc-inl.h163 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()
Darray-inl.h49 size_t header_size = DataOffset(1U << component_size_shift).SizeValue(); in SizeOf() local
51 return header_size + data_size; in SizeOf()
/art/compiler/
Dexception_test.cc87 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/
Djit_memory_region.cc361 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/
Dhandle_scope-inl.h65 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/
Dstaticfields.txt8 header_size : 112
Dinvoke-polymorphic.txt8 header_size : 112
Dvalues.txt8 header_size : 112
Dconst-method-handle.txt8 header_size : 112
Dall.txt8 header_size : 112
Dbytecodes.txt8 header_size : 112
Dinvoke-custom.txt8 header_size : 112
Dcheckers.txt8 header_size : 112
/art/runtime/gc/space/
Dspace_test.h116 size_t header_size = SizeOfZeroLengthByteArray(); in InstallClass() local
117 int32_t length = size - header_size; in InstallClass()
/art/dexlayout/
Ddex_ir.h357 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/
Drosalloc.cc1673 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/
Ddex_file_verifier.cc1861 uint32_t header_size = num_header_elems * elem_size; in CheckIntraHiddenapiClassData() local
1872 if (item->size_ < header_size) { in CheckIntraHiddenapiClassData()
1874 "Hiddenapi class data too short to store header (%u < %u)", item->size_, header_size); in CheckIntraHiddenapiClassData()
1879 ptr_ += header_size; in CheckIntraHiddenapiClassData()
/art/dex2oat/linker/
Dimage_writer.cc1601 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()
Doat_writer.cc2797 size_t header_size = oat_header_->GetHeaderSize(); in WriteHeader() local
2798 if (!out->WriteFully(oat_header_.get(), header_size)) { in WriteHeader()