Home
last modified time | relevance | path

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

12

/hardware/google/gfxstream/guest/mesa/src/util/
Dreallocarray.h51 return realloc(optr, size * nmemb); in reallocarray()
Dos_file.c160 char *newbuf = realloc(buf, 2 * len); in os_read_file()
181 char *newbuf = realloc(buf, len); in os_read_file()
Dos_memory_stdc.h46 realloc(_old_ptr, _new_size + 0*(_old_size))
Du_dynarray.h109 data = realloc(buf->data, capacity); in util_dynarray_ensure_cap()
177 buf->data = realloc(buf->data, buf->size); in util_dynarray_trim()
Dblob.c67 new_data = realloc(blob->data, to_allocate); in grow_to_fit()
136 *buffer = realloc(*buffer, *size); in blob_finish_get_buffer()
Du_idalloc.c43 buf->data = realloc(buf->data, new_num_elements * sizeof(*buf->data)); in util_idalloc_resize()
Du_cpu_detect.c596 … L3_affinity_masks = realloc(L3_affinity_masks, sizeof(util_affinity_mask) * num_L3_caches); in get_cpu_topology()
/hardware/google/gfxstream/guest/mesa/src/vulkan/util/
Dvk_alloc.c37 return realloc(pOriginal, size); in vk_default_realloc()
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/
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()
Dgscan_event_handler.cpp1299 realloc (mHotlistApFoundResults, resultsBufSize); in handleEvent()
1402 realloc (mHotlistApLostResults, resultsBufSize); in handleEvent()
1513 realloc (mSignificantChangeResults, in handleEvent()
1720 realloc (mPnoNetworkFoundResults, resultsBufSize); in handleEvent()
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
Dradio_mode.cpp239realloc(mode_info.iface_info, (num_of_iface + 1) * sizeof(wifi_iface_info)); in handleEvent()
253 realloc(mwifi_iface_mac_info, (num_of_mac + 1) * (sizeof(wifi_mac_info))); in handleEvent()
Dgscan_event_handler.cpp1299 realloc (mHotlistApFoundResults, resultsBufSize); in handleEvent()
1402 realloc (mHotlistApLostResults, resultsBufSize); in handleEvent()
1513 realloc (mSignificantChangeResults, in handleEvent()
1720 realloc (mPnoNetworkFoundResults, resultsBufSize); in handleEvent()
Dwifihal_vendor.cpp398 pkt_stats = (cmdData *)realloc(pkt_stats,sizeof(cmdData) * (nbuff + 1)); in GetPktInfo()
Difaceeventhandler.cpp755 temp = (radar_history_result *) realloc( in wifiParseRadarHistory()
/hardware/google/gfxstream/guest/OpenglSystemCommon/
DQemuPipeStream.cpp82 unsigned char *p = (unsigned char *)realloc(m_buf, allocSize); in allocBuffer()
DVirtioGpuPipeStream.cpp120 unsigned char *p = (unsigned char *)realloc(m_buf, allocSize); in allocBuffer()
/hardware/google/gfxstream/guest/vulkan_enc/
DCommandBufferStagingStream.cpp46 return {.deviceMemory = VK_NULL_HANDLE, .ptr = realloc(mem.ptr, size)}; in CommandBufferStagingStream()
/hardware/google/gfxstream/guest/android-emu/aemu/base/
Daddress_space.h87 void* res = realloc(ptr, size); in address_space_realloc()
/hardware/google/apf/
Dapf_run.c376 program = realloc(program, ram_len); in main()
/hardware/google/gfxstream/host/apigen-codec-common/X11/
DXlibint.h342 # define Xrealloc(ptr, size) realloc((ptr), ((size) == 0 ? 1 : (size)))
348 # define Xrealloc(ptr, size) realloc((ptr), (size))
/hardware/google/aemu/base/include/aemu/base/
Daddress_space.h81 void* res = realloc(ptr, size); in address_space_realloc()
/hardware/google/gfxstream/guest/GoldfishAddressSpace/
DAddressSpaceStream.cpp118 m_tmpBuf = (unsigned char*)realloc(m_tmpBuf, m_tmpBufSize); in allocBuffer()
/hardware/google/graphics/common/libhwc2.1/libresource/
DExynosMPP.cpp1110 bool realloc = (mPrevAssignedDisplayType != assignedDisplayType) || in needDstBufRealloc() local
1120 MPP_LOGD(eDebugMPP|eDebugBuf, "realloc: %d--------", realloc); in needDstBufRealloc()
1121 return realloc; in needDstBufRealloc()
1698 bool realloc = false; in doPostProcessing() local
1708 if ((realloc = needDstBufRealloc(dst, mCurrentDstBuf)) == true) { in doPostProcessing()
1739 if ((realloc == false) && canUsePrevFrame()) { in doPostProcessing()
/hardware/google/gfxstream/host/vulkan/
DVkReconstruction.cpp185 unsigned char* p = (unsigned char*)realloc(m_buf, allocSize); in allocBuffer()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c655 p_test = realloc(p_test, (in_file_cnt + 1) * sizeof(*p_test)); in mm_jpeg_test_get_input()

12