Searched refs:old_size (Results 1 – 8 of 8) sorted by relevance
/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/ |
D | linear_alloc.cc | 26 void* LinearAlloc::Realloc(Thread* self, void* ptr, size_t old_size, size_t new_size) { in Realloc() argument 28 return allocator_.Realloc(ptr, old_size, new_size); in Realloc()
|
D | linear_alloc.h | 35 void* Realloc(Thread* self, void* ptr, size_t old_size, size_t new_size) REQUIRES(!lock_);
|
D | class_linker.cc | 6838 const size_t old_size = LengthPrefixedArray<ArtMethod>::ComputeSize(old_methods->size(), in ClobberOldMethods() local 6841 memset(old_methods, 0xFEu, old_size); in ClobberOldMethods() 7018 const size_t old_size = LengthPrefixedArray<ArtMethod>::ComputeSize(old_method_count, in ReallocMethods() local 7024 const size_t old_methods_ptr_size = (old_methods != nullptr) ? old_size : 0; in ReallocMethods()
|
/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/utils/mips64/ |
D | assembler_mips64.cc | 2738 uint32_t old_size = GetOldSize(); in PromoteIfNeeded() local 2740 CHECK_GT(new_size, old_size); in PromoteIfNeeded() 2741 return new_size - old_size; in PromoteIfNeeded() 2750 uint32_t old_size = GetOldSize(); in PromoteIfNeeded() local 2752 CHECK_GT(new_size, old_size); in PromoteIfNeeded() 2753 return new_size - old_size; in PromoteIfNeeded() 3067 uint32_t old_size = buffer_.Size(); in PromoteBranches() local 3068 buffer_.Resize(old_size + size_delta); in PromoteBranches() 3070 uint32_t end = old_size; in PromoteBranches()
|
/art/compiler/utils/mips/ |
D | assembler_mips.cc | 3422 uint32_t old_size = GetOldSize(); in PromoteIfNeeded() local 3424 CHECK_GT(new_size, old_size); in PromoteIfNeeded() 3425 return new_size - old_size; in PromoteIfNeeded() 3434 uint32_t old_size = GetOldSize(); in PromoteIfNeeded() local 3436 CHECK_GT(new_size, old_size); in PromoteIfNeeded() 3437 return new_size - old_size; in PromoteIfNeeded() 3905 uint32_t old_size = buffer_.Size(); in PromoteBranches() local 3906 buffer_.Resize(old_size + size_delta); in PromoteBranches() 3908 uint32_t end = old_size; in PromoteBranches()
|
/art/compiler/optimizing/ |
D | nodes.h | 7605 size_t old_size = blocks->size(); in FOR_EACH_CONCRETE_INSTRUCTION() local 7606 size_t new_size = old_size + number_of_new_blocks; in FOR_EACH_CONCRETE_INSTRUCTION() 7608 std::copy_backward(blocks->begin() + after + 1u, blocks->begin() + old_size, blocks->end()); in FOR_EACH_CONCRETE_INSTRUCTION()
|