Searched refs:old_size (Results 1 – 6 of 6) sorted by relevance
/art/runtime/ |
D | linear_alloc-inl.h | 51 size_t old_size, in Realloc() argument 61 old_size += sizeof(TrackingHeader); in Realloc() 62 DCHECK_EQ(header->GetSize(), old_size); in Realloc() 65 DCHECK_EQ(old_size, 0u); in Realloc() 68 void* ret = allocator_.Realloc(ptr, old_size, new_size); in Realloc() 73 return allocator_.Realloc(ptr, old_size, new_size); in Realloc()
|
D | linear_alloc.h | 80 void* Realloc(Thread* self, void* ptr, size_t old_size, size_t new_size, LinearAllocKind kind)
|
D | class_linker.cc | 7287 const size_t old_size = LengthPrefixedArray<ArtMethod>::ComputeSize(old_methods->size(), in ClobberOldMethods() local 7290 memset(old_methods, 0xFEu, old_size); in ClobberOldMethods() 7888 const size_t old_size = LengthPrefixedArray<ArtMethod>::ComputeSize(old_method_count, in ReallocMethods() local 7894 const size_t old_methods_ptr_size = (old_methods != nullptr) ? old_size : 0; in ReallocMethods()
|
/art/compiler/utils/ |
D | assembler.cc | 76 size_t old_size = Size(); in ExtendCapacity() local 87 cursor_ = contents_ + old_size; in ExtendCapacity() 92 CHECK_EQ(Size(), old_size); in ExtendCapacity()
|
/art/runtime/hprof/ |
D | hprof.cc | 424 size_t old_size = full_data_.size(); in HandleFlush() local 425 full_data_.resize(old_size + length); in HandleFlush() 426 memcpy(full_data_.data() + old_size, buf, length); in HandleFlush()
|
/art/compiler/optimizing/ |
D | nodes.h | 8771 size_t old_size = blocks->size(); 8772 size_t new_size = old_size + number_of_new_blocks; 8774 std::copy_backward(blocks->begin() + after + 1u, blocks->begin() + old_size, blocks->end());
|