/aosp12/system/extras/memory_replay/traces/ |
H A D | README | 20 realloc - Allocate memory using the realloc function. 41 <tid>:realloc <new_ptr> <old_ptr> <size> 42 Allocation made by realloc(<old_ptr>, <size>). <old_ptr> can be 0x0 43 to indicate a realloc with a nullptr. <new_ptr> is the value returned 44 by realloc. 48 300: realloc 0x96b90920 0x93605280 150
|
/aosp12/bionic/tests/ |
H A D | malloc_test.cpp | 205 ptr = (char *)realloc(ptr, 200); in TEST() 221 ptr = (char *)realloc(ptr, 100); in TEST() 244 ptr = (char*)realloc(ptr, 50); in TEST() 251 ptr = (char*)realloc(ptr, 150); in TEST() 259 ptr = (char*)realloc(ptr, 425); in TEST() 311 ptr = (char*)realloc(ptr, 50); in TEST() 318 ptr = (char*)realloc(ptr, 150); in TEST() 326 ptr = (char*)realloc(ptr, 425); in TEST() 574 void* p = realloc(nullptr, 0); in TEST() 583 void* p2 = realloc(p, 0); in TEST() [all …]
|
H A D | bionic_allocator_test.cpp | 92 uint32_t* reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 1024)); in TEST() 103 reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 62)); in TEST() 107 reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 4000)); in TEST() 119 reallocated_ptr = reinterpret_cast<uint32_t*>(allocator.realloc(array, 64000)); in TEST() 127 ASSERT_EQ(nullptr, allocator.realloc(reallocated_ptr, 0)); in TEST()
|
/aosp12/bionic/linker/ |
H A D | linker_memory.cpp | 79 void* realloc(void* p, size_t byte_count) { in realloc() function 80 return get_allocator().realloc(p, byte_count); in realloc() 89 return get_allocator().realloc(p, byte_count); in reallocarray()
|
/aosp12/bionic/libc/bionic/ |
H A D | malloc_common.cpp | 183 extern "C" __attribute__((__noinline__)) void* realloc(void* old_mem, size_t bytes) { in realloc() function 187 return MaybeTagPointer(dispatch_table->realloc(old_mem, bytes)); in realloc() 189 void* result = Malloc(realloc)(old_mem, bytes); in realloc() 204 return realloc(old_mem, new_size); in reallocarray() 354 Malloc(realloc),
|
/aosp12/bionic/benchmarks/ |
H A D | malloc_sql_benchmark.cpp | 78 ptrs[entries[i].idx] = realloc(nullptr, entries[i].size); in BenchmarkMalloc() 80 ptrs[entries[i].idx] = realloc(ptrs[entries[i].arg2 - 1], entries[i].size); in BenchmarkMalloc()
|
/aosp12/system/core/mkbootfs/ |
H A D | mkbootfs.c | 191 names = realloc(names, size * sizeof(char*)); in _archive_dir() 303 canned_config = (struct fs_config_entry*)realloc( in read_canned_config() 323 canned_config = (struct fs_config_entry*)realloc( in read_canned_config()
|
/aosp12/hardware/qcom/wlan/qcwcn/wifi_hal/ |
H A D | radio_mode.cpp | 187 … realloc(mode_info.iface_info, (num_of_iface + 1) * sizeof(wifi_iface_info)); in handleEvent() 199 realloc(mwifi_iface_mac_info, (num_of_mac + 1) * (sizeof(wifi_mac_info))); in handleEvent()
|
/aosp12/system/chre/std_overrides/ |
H A D | stdlib_wrapper.cc | 58 void *realloc(void * /*ptr*/, size_t /*newSize*/) { in realloc() function
|
/aosp12/frameworks/native/libs/binder/ |
H A D | BufferedTextOutput.cpp | 55 void* b = realloc(buffer, newSize); in append() 69 void* b = realloc(buffer, 256); in restart()
|
/aosp12/bionic/libc/malloc_hooks/ |
H A D | malloc_hooks.cpp | 86 return g_dispatch->realloc(pointer, bytes); in default_realloc_hook() 153 return g_dispatch->realloc(pointer, bytes); in hooks_realloc()
|
/aosp12/system/libhwbinder/ |
H A D | BufferedTextOutput.cpp | 58 void* b = realloc(buffer, newSize); in append() 72 void* b = realloc(buffer, 256); in restart()
|
/aosp12/system/media/audio_utils/ |
H A D | echo_reference.c | 209 void *new_buf = realloc(er->wr_buf, er->wr_buf_size * er->rd_frame_size); in echo_reference_write() 276 void *new_buf = realloc(er->buffer, er->buf_size * er->rd_frame_size); in echo_reference_write() 431 void *new_buf = realloc(er->buffer, er->buf_size * er->rd_frame_size); in echo_reference_read() 474 void *new_buf = realloc(er->buffer, er->buf_size * er->rd_frame_size); in echo_reference_read()
|
H A D | tinysndfile.c | 572 handle->temp = realloc(handle->temp, desiredBytes); in sf_writef_short() 581 handle->temp = realloc(handle->temp, desiredBytes); in sf_writef_short() 588 handle->temp = realloc(handle->temp, desiredBytes); in sf_writef_short() 612 handle->temp = realloc(handle->temp, desiredBytes); in sf_writef_float()
|
/aosp12/system/keymaster/ |
H A D | valgrind.supp | 36 fun:realloc
|
/aosp12/libnativehelper/ |
H A D | ExpandableString.c | 35 char* data = (char*) realloc(s->data, requiredSize); in ExpandableStringAppend()
|
/aosp12/system/unwinding/libunwindstack/ |
H A D | MemoryBuffer.h | 39 void* new_raw = realloc(raw_, size); in Resize()
|
/aosp12/bionic/libc/upstream-netbsd/lib/libc/stdlib/ |
H A D | reallocarr.c | 85 nptr = realloc(optr, number * size); in __weak_alias()
|
/aosp12/bionic/libc/private/ |
H A D | bionic_malloc_dispatch.h | 69 MallocRealloc realloc; member
|
H A D | bionic_allocator.h | 111 void* realloc(void* ptr, size_t size);
|
/aosp12/system/nvram/messages/ |
H A D | blob.cpp | 67 uint8_t* tmp_data = static_cast<uint8_t*>(realloc(data_, size)); in Resize()
|
/aosp12/bionic/libc/malloc_debug/ |
H A D | README.md | 19 * `realloc` 32 NOTE: There is a small behavioral change beginning in P for realloc. 33 Before, a realloc from one size to a smaller size would not update the 34 backtrace related to the allocation. Starting in P, every single realloc 170 filled with the value 0xeb. When doing a realloc to a larger size, the bytes 328 new\_pointer = realloc(old\_pointer, size) 330 **THREAD\_ID**: realloc new\_pointer old\_pointer size 334 186: realloc 0xb609f080 0xb603e9a0 12 380 free/malloc\_usable\_size/realloc calls are passed valid pointers. 393 malloc\_usable\_size, realloc. [all …]
|
/aosp12/system/chre/chpp/platform/linux/ |
H A D | memory.c | 83 realloc(oldHeader, newSize + sizeof(struct ChppAllocHeader)); in chppRealloc()
|
/aosp12/system/chre/build/arch/ |
H A D | hexagon.mk | 66 TARGET_SO_LDFLAGS += --wrap=realloc
|
/aosp12/bionic/libc/include/ |
H A D | malloc.h | 61 void* realloc(void* __ptr, size_t __byte_count) __BIONIC_ALLOC_SIZE(2) __wur;
|