Home
last modified time | relevance | path

Searched refs:old_size (Results 1 – 7 of 7) sorted by relevance

/art/runtime/
Dlinear_alloc-inl.h63 size_t old_size, in Realloc() argument
73 old_size += sizeof(TrackingHeader); in Realloc()
74 DCHECK_EQ(header->GetSize(), old_size); in Realloc()
77 DCHECK_EQ(old_size, 0u); in Realloc()
80 void* ret = allocator_.Realloc(ptr, old_size, new_size); in Realloc()
85 return allocator_.Realloc(ptr, old_size, new_size); in Realloc()
Dlinear_alloc.h85 void* Realloc(Thread* self, void* ptr, size_t old_size, size_t new_size, LinearAllocKind kind)
Dclass_linker.cc7486 const size_t old_size = LengthPrefixedArray<ArtMethod>::ComputeSize(old_methods->size(), in ClobberOldMethods() local
7489 memset(old_methods, 0xFEu, old_size); in ClobberOldMethods()
8087 const size_t old_size = LengthPrefixedArray<ArtMethod>::ComputeSize(old_method_count, in ReallocMethods() local
8093 const size_t old_methods_ptr_size = (old_methods != nullptr) ? old_size : 0; in ReallocMethods()
/art/compiler/utils/
Dassembler.cc79 size_t old_size = Size(); in ExtendCapacity() local
90 cursor_ = contents_ + old_size; in ExtendCapacity()
95 CHECK_EQ(Size(), old_size); in ExtendCapacity()
/art/runtime/hprof/
Dhprof.cc419 size_t old_size = full_data_.size(); in HandleFlush() local
420 full_data_.resize(old_size + length); in HandleFlush()
421 memcpy(full_data_.data() + old_size, buf, length); in HandleFlush()
/art/compiler/optimizing/
Dnodes.h8772 size_t old_size = blocks->size();
8773 size_t new_size = old_size + number_of_new_blocks;
8775 std::copy_backward(blocks->begin() + after + 1u, blocks->begin() + old_size, blocks->end());
/art/compiler/utils/riscv64/
Dassembler_riscv64.cc7420 uint32_t old_size = buffer_.Size(); in PromoteBranches() local
7421 buffer_.Resize(old_size + size_delta); in PromoteBranches()
7423 uint32_t end = old_size; in PromoteBranches()