Searched refs:old_size (Results 1 – 8 of 8) sorted by relevance
/frameworks/libs/binary_translation/guest_os_primitives/ |
D | guest_map_shadow.cc | 158 size_t old_size, in RemapExecutable() argument 163 old_start + old_size, in RemapExecutable() 169 GuestAddr old_end_page = AlignUpGuestPageSize(old_start + old_size); in RemapExecutable() 177 CopyExecutable(old_start, old_size, old_end_page, new_end_page - old_end_page); in RemapExecutable() 183 CHECK((old_start + old_size) <= new_start || (new_start + new_size) <= old_start); in RemapExecutable() 185 CopyExecutable(old_start, old_size < new_size ? old_size : new_size, new_start, new_size); in RemapExecutable() 186 ClearExecutable(old_start, old_size); in RemapExecutable()
|
/frameworks/libs/binary_translation/kernel_api/ |
D | sys_mman_emulation.cc | 102 void* MremapForGuest(void* old_addr, size_t old_size, size_t new_size, int flags, void* new_addr) { in MremapForGuest() argument 110 if (new_size <= old_size) { in MremapForGuest() 117 if (shadow->GetExecutable(ToGuestAddr(old_addr), old_size) == kBitMixed) { in MremapForGuest() 123 void* result = mremap(old_addr, old_size, new_size, flags, new_addr); in MremapForGuest() 126 shadow->RemapExecutable(ToGuestAddr(old_addr), old_size, ToGuestAddr(result), new_size); in MremapForGuest()
|
/frameworks/libs/binary_translation/assembler/ |
D | machine_code.cc | 37 size_t old_size = code_.size(); in Grow() local 38 code_.resize(old_size + count); in Grow() 39 return old_size; in Grow()
|
/frameworks/libs/binary_translation/kernel_api/include/berberis/kernel_api/ |
D | sys_mman_emulation.h | 30 void* MremapForGuest(void* old_addr, size_t old_size, size_t new_size, int flags, void* new_addr);
|
/frameworks/libs/binary_translation/guest_os_primitives/include/berberis/guest_os_primitives/ |
D | guest_map_shadow.h | 52 void RemapExecutable(GuestAddr old_start, size_t old_size, GuestAddr new_start, size_t new_size);
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
D | utility.h | 86 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/ |
D | driver.cpp | 848 size_t old_size = ptr ? malloc_usable_size(ptr) : 0; in DefaultReallocate() local 849 if (size <= old_size) in DefaultReallocate() 856 memcpy(new_ptr, ptr, std::min(old_size, size)); in DefaultReallocate()
|
/frameworks/native/vulkan/nulldrv/ |
D | null_driver.cpp | 220 size_t old_size = ptr ? malloc_usable_size(ptr) : 0; in DefaultReallocate() local 221 if (size <= old_size) in DefaultReallocate() 228 memcpy(new_ptr, ptr, std::min(old_size, size)); in DefaultReallocate()
|