Home
last modified time | relevance | path

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

/frameworks/native/libs/vr/libpdx/private/pdx/
Dutility.h86 size_t old_size = size_; in grow_by() local
87 resize(old_size + size_delta); in grow_by()
88 return data_ + old_size; in grow_by()
/frameworks/native/vulkan/libvulkan/
Ddriver.cpp704 size_t old_size = ptr ? malloc_usable_size(ptr) : 0; in DefaultReallocate() local
705 if (size <= old_size) in DefaultReallocate()
712 memcpy(new_ptr, ptr, std::min(old_size, size)); in DefaultReallocate()
/frameworks/native/vulkan/nulldrv/
Dnull_driver.cpp219 size_t old_size = ptr ? malloc_usable_size(ptr) : 0; in DefaultReallocate() local
220 if (size <= old_size) in DefaultReallocate()
227 memcpy(new_ptr, ptr, std::min(old_size, size)); in DefaultReallocate()