Home
last modified time | relevance | path

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

/art/runtime/mirror/
Darray-inl.h48 size_t header_size = DataOffset(1U << component_size_shift).SizeValue(); in SizeOf() local
50 return header_size + data_size; in SizeOf()
75 size_t header_size = Array::DataOffset(component_size).SizeValue(); in ComputeArraySize() local
77 size_t size = header_size + data_size; in ComputeArraySize()
87 DCHECK_NE(header_size, 0U); in ComputeArraySize()
88 DCHECK_EQ(RoundUp(header_size, component_size), header_size); in ComputeArraySize()
90 const size_t length_limit = (0U - header_size) >> component_size_shift; in ComputeArraySize()
123 SetLengthToUsableSizeVisitor(int32_t min_length, size_t header_size, in SetLengthToUsableSizeVisitor() argument
125 minimum_length_(min_length), header_size_(header_size), in SetLengthToUsableSizeVisitor()
Dstring-inl.h216 constexpr size_t header_size = sizeof(String); in Alloc() local
223 size_t size = header_size + data_size; in Alloc()
232 const size_t overflow_length = (-header_size) / block_size; // Unsigned arithmetic. in Alloc()
/art/runtime/
Dhandle_scope-inl.h62 size_t header_size = sizeof(HandleScope); in SizeOf() local
64 return header_size + data_size; in SizeOf()
69 size_t header_size = ReferencesOffset(pointer_size); in SizeOf() local
71 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
Dinvoke-custom.txt8 header_size : 112
Dbytecodes.txt8 header_size : 112
Dcheckers.txt8 header_size : 112
/art/runtime/gc/space/
Dspace_test.h117 size_t header_size = SizeOfZeroLengthByteArray(); in InstallClass() local
118 int32_t length = size - header_size; in InstallClass()
/art/runtime/jit/
Djit_code_cache.cc745 size_t header_size = RoundUp(sizeof(OatQuickMethodHeader), alignment); in CommitCodeInternal() local
746 size_t total_size = header_size + code_size; in CommitCodeInternal()
761 code_ptr = memory + header_size; in CommitCodeInternal()
1829 size_t header_size = RoundUp(sizeof(OatQuickMethodHeader), alignment); in AllocateCode() local
1831 DCHECK_ALIGNED_PARAM(reinterpret_cast<uintptr_t>(result + header_size), alignment); in AllocateCode()
/art/runtime/jdwp/
Djdwp_event.cc1310 void JdwpState::SetupChunkHeader(uint32_t type, size_t data_len, size_t header_size, in SetupChunkHeader() argument
1312 CHECK_EQ(header_size, static_cast<size_t>(kJDWPHeaderLen + 8)); in SetupChunkHeader()
1314 Set4BE(out_header, header_size + data_len); in SetupChunkHeader()
Djdwp.h253 void SetupChunkHeader(uint32_t type, size_t data_len, size_t header_size, uint8_t* out_header);
/art/runtime/gc/allocator/
Drosalloc.cc1672 size_t header_size = 0; in Initialize() local
1689 header_size = tmp_header_size; in Initialize()
1694 DCHECK_GT(header_size, 0U) << i; in Initialize()
1696 header_size += run_size % bracket_size; in Initialize()
1697 DCHECK_EQ(header_size + num_of_slots * bracket_size, run_size); in Initialize()
1699 headerSizes[i] = header_size; in Initialize()
/art/dex2oat/linker/
Dimage_writer.cc1391 const size_t header_size = LengthPrefixedArray<ArtField>::ComputeSize(0); in TryAssignBinSlot() local
1403 offset += header_size; in TryAssignBinSlot()
1420 Bin::kArtField, header_size + cur_fields->size() * sizeof(ArtField)); in TryAssignBinSlot()
1441 const size_t header_size = LengthPrefixedArray<ArtMethod>::ComputeSize(0, in TryAssignBinSlot() local
1456 image_info.IncrementBinSlotSize(bin_type, header_size); in TryAssignBinSlot()
Doat_writer.cc3027 size_t header_size = oat_header_->GetHeaderSize(); in WriteHeader() local
3028 if (!out->WriteFully(oat_header_.get(), header_size)) { in WriteHeader()
/art/dexlayout/
Ddex_ir.h533 uint32_t header_size, in Header() argument
543 header_size_(header_size), in Header()