Home
last modified time | relevance | path

Searched refs:realloc (Results 1 – 25 of 134) sorted by relevance

123456

/aosp12/system/extras/memory_replay/traces/
H A DREADME20 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 Dmalloc_test.cpp205 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 Dbionic_allocator_test.cpp92 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 Dlinker_memory.cpp79 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 Dmalloc_common.cpp183 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 Dmalloc_sql_benchmark.cpp78 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 Dmkbootfs.c191 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 Dradio_mode.cpp187realloc(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 Dstdlib_wrapper.cc58 void *realloc(void * /*ptr*/, size_t /*newSize*/) { in realloc() function
/aosp12/frameworks/native/libs/binder/
H A DBufferedTextOutput.cpp55 void* b = realloc(buffer, newSize); in append()
69 void* b = realloc(buffer, 256); in restart()
/aosp12/bionic/libc/malloc_hooks/
H A Dmalloc_hooks.cpp86 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 DBufferedTextOutput.cpp58 void* b = realloc(buffer, newSize); in append()
72 void* b = realloc(buffer, 256); in restart()
/aosp12/system/media/audio_utils/
H A Decho_reference.c209 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 Dtinysndfile.c572 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 Dvalgrind.supp36 fun:realloc
/aosp12/libnativehelper/
H A DExpandableString.c35 char* data = (char*) realloc(s->data, requiredSize); in ExpandableStringAppend()
/aosp12/system/unwinding/libunwindstack/
H A DMemoryBuffer.h39 void* new_raw = realloc(raw_, size); in Resize()
/aosp12/bionic/libc/upstream-netbsd/lib/libc/stdlib/
H A Dreallocarr.c85 nptr = realloc(optr, number * size); in __weak_alias()
/aosp12/bionic/libc/private/
H A Dbionic_malloc_dispatch.h69 MallocRealloc realloc; member
H A Dbionic_allocator.h111 void* realloc(void* ptr, size_t size);
/aosp12/system/nvram/messages/
H A Dblob.cpp67 uint8_t* tmp_data = static_cast<uint8_t*>(realloc(data_, size)); in Resize()
/aosp12/bionic/libc/malloc_debug/
H A DREADME.md19 * `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 Dmemory.c83 realloc(oldHeader, newSize + sizeof(struct ChppAllocHeader)); in chppRealloc()
/aosp12/system/chre/build/arch/
H A Dhexagon.mk66 TARGET_SO_LDFLAGS += --wrap=realloc
/aosp12/bionic/libc/include/
H A Dmalloc.h61 void* realloc(void* __ptr, size_t __byte_count) __BIONIC_ALLOC_SIZE(2) __wur;

123456