Home
last modified time | relevance | path

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

12

/system/extras/memory_replay/traces/
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
/system/keymaster/
Dvalgrind.supp36 fun:realloc
/system/unwinding/libunwindstack/
DMemoryBuffer.h38 void* new_raw = realloc(raw_, size); in Resize()
/system/chre/std_overrides/
Dstdlib_wrapper.cc62 void *realloc(void * /*ptr*/, size_t /*newSize*/) { in realloc() function
/system/nvram/messages/
Dblob.cpp67 uint8_t* tmp_data = static_cast<uint8_t*>(realloc(data_, size)); in Resize()
/system/chre/chpp/platform/linux/
Dmemory.c83 realloc(oldHeader, newSize + sizeof(struct ChppAllocHeader)); in chppRealloc()
/system/libhwbinder/
DBufferedTextOutput.cpp58 void* b = realloc(buffer, newSize); in append()
72 void* b = realloc(buffer, 256); in restart()
DParcel.cpp684 binder_size_t* objects = (binder_size_t*)realloc(mObjects, newSize*sizeof(binder_size_t)); in writeObject()
1761 return (uint8_t*)realloc(data, newCapacity); in reallocZeroFree()
1924 (binder_size_t*)realloc(mObjects, objectsSize*sizeof(binder_size_t)); in continueWrite()
/system/core/mkbootfs/
Dmkbootfs.c170 names = realloc(names, size * sizeof(char*)); in _archive_dir()
272 canned_config = (struct fs_config_entry*)realloc( in read_canned_config()
292 canned_config = (struct fs_config_entry*)realloc( in read_canned_config()
/system/chre/build/arch/
Dhexagon.mk75 TARGET_SO_LDFLAGS += --wrap=realloc
/system/media/audio_utils/
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()
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()
Dresampler.c105 rsmp->in_buf = (int16_t *)realloc(rsmp->in_buf, in resampler_resample_from_provider()
/system/core/libutils/
DSharedBuffer.cpp78 buf = (SharedBuffer*)realloc(buf, sizeof(SharedBuffer) + newSize); in editResize()
/system/extras/memory_replay/
DAlloc.cpp74 void* memory = realloc(old_memory, entry.size); in ReallocExecute()
DTraceBenchmark.cpp209 ptr = realloc(nullptr, entry.size); in RunTrace()
211 ptr = realloc(ptrs[entry.u.old_ptr - 1], entry.size); in RunTrace()
/system/core/toolbox/
Dgetevent.c113 bits = realloc(bits, bits_size * 2); in print_possible_events()
362 new_ufds = realloc(ufds, sizeof(ufds[0]) * (nfds + 1)); in open_device()
368 new_device_names = realloc(device_names, sizeof(device_names[0]) * (nfds + 1)); in open_device()
/system/extras/pagecache/
Ddumpcache.c46 g_files = realloc(g_files, 2 * g_files_size * sizeof(struct file_info*)); in get_file_info()
/system/core/libsysutils/src/
DSocketClient.cpp159 result = (char *)realloc(result, current-result); in quoteArg()
/system/extras/ioshark/
Dcompile_ioshark_subr.c179 filename_cache = realloc(filename_cache, newsize); in filename_cache_lookup()
/system/nvram/client/
Dnvram_client.c270 realloc(controls_list, sizeof(nvram_control_t) * list_size); in HandleCreateSpace()
/system/media/radio/src/
Dradio_metadata.c90 metadata = realloc(metadata, new_size_int * sizeof(uint32_t)); in check_size()
/system/logging/liblog/
Dpmsg_reader.cpp155 void* result = realloc(ptr, new_size); in realloc_or_free()
/system/media/audio_route/
Daudio_route.c216 new_mixer_path = realloc(ar->mixer_path, ar->mixer_path_size * in path_create()
260 new_path_setting = realloc(path->setting, in alloc_path_setting()
/system/chre/build/sys_support/qcom/
Dchre.scons94 env.Append(SHLINKFLAGS = '-G0 --wrap=malloc --wrap=calloc --wrap=free --wrap=realloc --wrap=memalig…

12