Searched refs:new_ptr (Results 1 – 10 of 10) sorted by relevance
/aosp12/bionic/libc/bionic/ |
H A D | malloc_limit.cpp | 197 void* new_ptr; in LimitRealloc() local 209 new_ptr = dispatch_table->realloc(old_mem, bytes); in LimitRealloc() 211 new_ptr = Malloc(realloc)(old_mem, bytes); in LimitRealloc() 214 if (__predict_false(new_ptr == nullptr)) { in LimitRealloc() 220 size_t new_usable_size = LimitUsableSize(new_ptr); in LimitRealloc() 227 return new_ptr; in LimitRealloc()
|
H A D | gwp_asan_wrappers.cpp | 149 void* new_ptr = gwp_asan_malloc(bytes); in gwp_asan_realloc() local 150 if (new_ptr) memcpy(new_ptr, old_mem, (bytes < old_size) ? bytes : old_size); in gwp_asan_realloc() 152 return new_ptr; in gwp_asan_realloc()
|
/aosp12/art/runtime/mirror/ |
H A D | object_reference-inl.h | 40 bool HeapReference<MirrorType>::CasWeakRelaxed(MirrorType* expected_ptr, MirrorType* new_ptr) { in CasWeakRelaxed() argument 42 Compression::Compress(new_ptr)); in CasWeakRelaxed()
|
H A D | array-inl.h | 287 void* new_ptr = visitor(ptr); in Fixup() local 288 if (ptr != new_ptr) { in Fixup() 291 /*kUnchecked=*/ true>(i, new_ptr, pointer_size); in Fixup()
|
H A D | object_reference.h | 205 bool CasWeakRelaxed(MirrorType* old_ptr, MirrorType* new_ptr)
|
/aosp12/system/extras/memory_replay/traces/ |
H A D | README | 41 <tid>:realloc <new_ptr> <old_ptr> <size> 43 to indicate a realloc with a nullptr. <new_ptr> is the value returned
|
/aosp12/art/libartbase/base/ |
H A D | arena_allocator.h | 329 auto* new_ptr = Alloc(new_size, kind); // Note: Alloc will take care of aligning new_size. 330 memcpy(new_ptr, ptr, ptr_size); 332 return new_ptr;
|
H A D | variant_map_test.cc | 94 auto* new_ptr = fm.Get(FruitMap::Label); in TEST() local 96 EXPECT_EQ(std::string("foobar"), *new_ptr); in TEST()
|
/aosp12/frameworks/native/vulkan/libvulkan/ |
H A D | driver.cpp | 781 void* new_ptr = nullptr; in DefaultReallocate() local 782 if (posix_memalign(&new_ptr, std::max(alignment, sizeof(void*)), size) != 0) in DefaultReallocate() 785 memcpy(new_ptr, ptr, std::min(old_size, size)); in DefaultReallocate() 788 return new_ptr; in DefaultReallocate()
|
/aosp12/frameworks/native/vulkan/nulldrv/ |
H A D | null_driver.cpp | 223 void* new_ptr = nullptr; in DefaultReallocate() local 224 if (posix_memalign(&new_ptr, std::max(alignment, sizeof(void*)), size) != 0) in DefaultReallocate() 227 memcpy(new_ptr, ptr, std::min(old_size, size)); in DefaultReallocate() 230 return new_ptr; in DefaultReallocate()
|