Home
last modified time | relevance | path

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

12

/system/extras/memory_replay/dumps/
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/extras/libpagemap/
Dpm_kernel.c85 new_pids = realloc(pids, 2 * pids_size * sizeof(pid_t)); in pm_kernel_pids()
103 new_pids = realloc(pids, pids_count * sizeof(pid_t)); in pm_kernel_pids()
Dpm_process.c279 new_maps = realloc(maps, 2 * maps_size * sizeof(pm_map_t*)); in read_maps()
320 new_maps = realloc(maps, maps_count * sizeof(pm_map_t*)); in read_maps()
/system/keymaster/
Dvalgrind.supp36 fun:realloc
/system/core/debuggerd/
Dgetevent.cpp69 new_ufds = reinterpret_cast<pollfd*>(realloc(ufds, sizeof(ufds[0]) * (nfds + 1))); in open_device()
75 new_device_names = reinterpret_cast<char**>(realloc( in open_device()
/system/core/cpio/
Dmkbootfs.c188 names = realloc(names, size * sizeof(char*)); in _archive_dir()
300 canned_config = (struct fs_config_entry*)realloc( in read_canned_config()
319 canned_config = (struct fs_config_entry*)realloc( in read_canned_config()
/system/core/adf/libadf/
Dadf.c58 adf_id_t *new_ids = realloc(ids_ret, (n + 1) * sizeof(ids_ret[0])); in adf_find_nodes()
237 adf_id_t *new_ids = realloc(ids_ret, (n + 1) * sizeof(ids_ret[0])); in adf_interfaces_for_overlay_engine()
285 adf_id_t *new_ids = realloc(ids_ret, (n + 1) * sizeof(ids_ret[0])); in adf_interfaces_filter()
474 adf_id_t *new_ids = realloc(ids_ret, (n + 1) * sizeof(ids_ret[0])); in adf_overlay_engines_for_interface()
522 adf_id_t *new_ids = realloc(ids_ret, (n + 1) * sizeof(ids_ret[0])); in adf_overlay_engines_filter()
/system/media/audio_utils/
Decho_reference.c208 er->wr_buf = realloc(er->wr_buf, er->wr_buf_size * er->rd_frame_size); in echo_reference_write()
269 er->buffer = realloc(er->buffer, er->buf_size * er->rd_frame_size); in echo_reference_write()
421 er->buffer = realloc(er->buffer, er->buf_size * er->rd_frame_size); in echo_reference_read()
459 er->buffer = realloc(er->buffer, er->buf_size * er->rd_frame_size); in echo_reference_read()
Dtinysndfile.c578 handle->temp = realloc(handle->temp, desiredBytes); in sf_writef_short()
587 handle->temp = realloc(handle->temp, desiredBytes); in sf_writef_short()
594 handle->temp = realloc(handle->temp, desiredBytes); in sf_writef_short()
618 handle->temp = realloc(handle->temp, desiredBytes); in sf_writef_float()
Dresampler.c104 rsmp->in_buf = (int16_t *)realloc(rsmp->in_buf, in resampler_resample_from_provider()
/system/core/init/
Dkeychords.cpp44 keychords = (input_keychord*) realloc(keychords, keychords_length + size); in add_service_keycodes()
/system/core/libutils/
DSharedBuffer.cpp75 buf = (SharedBuffer*)realloc(buf, sizeof(SharedBuffer) + newSize); in editResize()
/system/bt/osi/src/
Darray.c100 void *new_data = realloc(is_moving ? NULL : array->data, new_capacity * array->element_size); in grow()
/system/core/libcutils/
Dcanned_fs_config.c54 canned_data = (Path*) realloc(canned_data, canned_alloc * sizeof(Path)); in load_canned_fs_config()
Dopen_memstream.c105 char* newBuf = (char*) realloc(*stream->bufp, newSize); in ensureCapacity()
/system/extras/pagecache/
Ddumpcache.c45 g_files = realloc(g_files, 2 * g_files_size * sizeof(struct file_info*)); in get_file_info()
/system/core/toolbox/
Dgetevent.c112 bits = realloc(bits, bits_size * 2); in print_possible_events()
363 new_ufds = realloc(ufds, sizeof(ufds[0]) * (nfds + 1)); in open_device()
369 new_device_names = realloc(device_names, sizeof(device_names[0]) * (nfds + 1)); in open_device()
/system/extras/librank/
Dlibrank.c95 libraries = realloc(libraries, 2 * libraries_size * sizeof(struct library_info *)); in get_library()
137 library->mappings = realloc(library->mappings, in get_mapping()
/system/extras/memory_replay/
DAction.cpp117 void* memory = realloc(old_memory, size_); in Execute()
/system/extras/tests/sdcard/
Dstopwatch.cpp156 mData = (Measurement *)realloc(mData, mCapacity * sizeof(Measurement)); in checkCapacity()
/system/extras/memory_replay/tests/
DActionTest.cpp96 TEST(ActionTest, realloc) { in TEST() argument
/system/extras/ksmutils/
Dksminfo.c267 struct ksm_page *tmp = realloc(kp->pages, in read_pages()
303 struct vaddr *tmp = realloc(cur_page->vaddr, in read_pages()
/system/core/libsysutils/src/
DSocketClient.cpp139 result = (char *)realloc(result, current-result); in quoteArg()
/system/core/liblog/
Dpmsg_reader.c532 buf = realloc(buf, len + sizeof(char) + sizeof(char)); in __android_log_pmsg_file_read()
547 buf = realloc(buf, len + add_len + sizeof(char)); in __android_log_pmsg_file_read()
/system/media/radio/src/
Dradio_metadata.c85 metadata = realloc(metadata, new_size_int * sizeof(unsigned int)); in check_size()

12