/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 | 199 constexpr size_t header_size = sizeof(String); in Alloc() local 206 size_t size = header_size + data_size; in Alloc() 216 const size_t overflow_length = (-header_size) / block_size; // Unsigned arithmetic. in Alloc()
|
D | array-inl.h | 53 size_t header_size = DataOffset(1U << component_size_shift).SizeValue(); in SizeOf() local 55 return header_size + data_size; in SizeOf()
|
/art/compiler/ |
D | exception_test.cc | 97 const size_t header_size = sizeof(OatQuickMethodHeader); in SetUp() local 100 fake_header_code_and_maps_size_ = stack_maps_size + header_size + code_size + code_alignment; in SetUp() 110 AlignUp(&fake_header_code_and_maps_[stack_maps_size + header_size], code_alignment); in SetUp() 115 memcpy(code_ptr - header_size, &method_header, header_size); in SetUp()
|
/art/runtime/jit/ |
D | jit_memory_region.cc | 363 size_t header_size = OatQuickMethodHeader::InstructionAlignedSize(); in CommitCode() local 364 size_t total_size = header_size + code.size(); in CommitCode() 369 DCHECK_GT(total_size, header_size); in CommitCode() 374 DCHECK_ALIGNED_PARAM(reinterpret_cast<uintptr_t>(w_memory + header_size), alignment); in CommitCode() 375 const uint8_t* result = x_memory + header_size; in CommitCode() 378 std::copy(code.begin(), code.end(), w_memory + header_size); in CommitCode() 382 OatQuickMethodHeader::FromCodePointer(w_memory + header_size); in CommitCode()
|
/art/test/2246-trace-v2/ |
D | dump_trace.cc | 151 int header_size = is_dual_clock ? 24 : 20; in ProcessTraceEntries() local 152 if (!file->ReadFully(header, header_size)) { in ProcessTraceEntries()
|
/art/test/dexdump/ |
D | staticfields.txt | 8 header_size : 112
|
D | quoting.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 | all-dex-files.txt | 8 header_size : 112 649 header_size : 112 8543 header_size : 112 8825 header_size : 112 14691 header_size : 112 14801 header_size : 112 14915 header_size : 112 15041 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/libdexfile/dex/ |
D | dex_file_verifier.cc | 634 size_t header_size = (dex_version_ >= 41) ? sizeof(DexFile::HeaderV41) : sizeof(DexFile::Header); in CheckHeader() local 635 if (file_size < header_size) { in CheckHeader() 636 ErrorStringPrintf("Bad file size (%zu, expected at least %zu)", file_size, header_size); in CheckHeader() 643 CHECK_GE(size, header_size); // Implied by the two checks above. in CheckHeader() 646 if (header_->header_size_ != header_size) { in CheckHeader() 647 ErrorStringPrintf("Bad header size: %ud expected %zud", header_->header_size_, header_size); in CheckHeader() 2024 uint32_t header_size = num_header_elems * elem_size; in CheckIntraHiddenapiClassData() local 2035 if (item->size_ < header_size) { in CheckIntraHiddenapiClassData() 2037 "Hiddenapi class data too short to store header (%u < %u)", item->size_, header_size); in CheckIntraHiddenapiClassData() 2569 uint32_t header_size = num_header_elems * elem_size; in CheckInterHiddenapiClassData() local [all …]
|
/art/runtime/ |
D | trace.cc | 1438 size_t header_size; in RecordMethodInfoV1() local 1450 header_size = kMethodNameHeaderSize; in RecordMethodInfoV1() 1453 if (!trace_file_->WriteFully(method_header, header_size) || in RecordMethodInfoV1() 1740 uint32_t header_size = (clock_source_ == TraceClockSource::kDual) ? kEntryHeaderSizeDualClockV2 : in FlushEntriesFormatV2() local 1770 current_buffer_ptr += header_size; in FlushEntriesFormatV2() 1791 uint8_t* total_size_loc = init_buffer_ptr + header_size - 2; in FlushEntriesFormatV2() 1792 Append2LE(total_size_loc, current_buffer_ptr - (init_buffer_ptr + header_size)); in FlushEntriesFormatV2()
|
/art/runtime/gc/allocator/ |
D | rosalloc.cc | 1667 size_t header_size = 0; in Initialize() local 1684 header_size = tmp_header_size; in Initialize() 1689 DCHECK_GT(header_size, 0U) << i; in Initialize() 1691 header_size += run_size % bracket_size; in Initialize() 1692 DCHECK_EQ(header_size + num_of_slots * bracket_size, run_size); in Initialize() 1694 headerSizes[i] = header_size; in Initialize()
|
/art/dex2oat/linker/ |
D | oat_writer.cc | 2744 size_t header_size = oat_header_->GetHeaderSize(); in WriteHeader() local 2745 if (!out->WriteFully(oat_header_.get(), header_size)) { in WriteHeader()
|
D | image_writer.cc | 1457 const size_t header_size = LengthPrefixedArray<ArtMethod>::ComputeSize(0, in RecordNativeRelocations() local 1473 image_info.IncrementBinSlotSize(bin_type, header_size); in RecordNativeRelocations()
|