Home
last modified time | relevance | path

Searched refs:malloc (Results 1 - 25 of 102) sorted by relevance

12345

/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/src/src/
H A Dwmalloc.c110 tde_info("eUnitSize %d, malloc units:%d, first malloc unit:%d...\n", block->n_unit_size, block->n_free, in malloc_unit()
134 hi_void *malloc = HI_NULL; in wmalloc() local
141 malloc = malloc_unit(i); in wmalloc()
142 if (malloc != HI_NULL) { in wmalloc()
143 return malloc; in wmalloc()
149 malloc = malloc_unit(i); in wmalloc()
150 if (malloc != HI_NULL) { in wmalloc()
151 return malloc; in wmalloc()
157 malloc in wmalloc()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/ive/sample/
H A Dsample_ive_queue.c15 #include <malloc.h>
30 pstQueueHead = (SAMPLE_IVE_QUEUE_S *)malloc(sizeof(SAMPLE_IVE_QUEUE_S)); in SAMPLE_IVE_QueueCreate()
117 pstQueueNode = (SAMPLE_IVE_NODE_S *)malloc(sizeof(SAMPLE_IVE_NODE_S)); in SAMPLE_IVE_QueueAddNode()
/device/soc/rockchip/common/sdk_linux/tools/usb/ffs-aio-example/multibuff/device_app/
H A Daio_multibuff.c284 iobuf->buf = malloc(n * sizeof(*iobuf->buf)); in init_bufs()
285 iobuf->iocb = malloc(n * sizeof(*iobuf->iocb)); in init_bufs()
290 iobuf->buf[i] = malloc(len * sizeof(**iobuf->buf)); in init_bufs()
291 iobuf->iocb[i] = malloc(sizeof(**iobuf->iocb)); in init_bufs()
329 ep_path = malloc(strlen(argv[1]) + 0x4 + 1); in main()
331 perror("malloc"); in main()
/device/soc/rockchip/common/sdk_linux/tools/usb/ffs-aio-example/simple/device_app/
H A Daio_simple.c308 ep_path = malloc(strlen(argv[1]) + sizeof(int) + 1); in main()
310 perror("malloc"); in main()
354 buf_in = malloc(BUF_LEN); in main()
355 buf_out = malloc(BUF_LEN); in main()
356 iocb_in = malloc(sizeof(*iocb_in)); in main()
357 iocb_out = malloc(sizeof(*iocb_out)); in main()
/device/soc/rockchip/rk3568/hardware/codec/src/
H A Dhdi_mpp_config.c896 param->val = malloc(param->size); in GetParamInputBufferCount()
917 param->val = malloc(param->size); in GetParamOutputBufferCount()
939 param->val = malloc(param->size); in GetParamBufferSize()
971 param->val = malloc(param->size); in GetParamWidth()
985 param->val = malloc(param->size); in GetParamHeight()
999 param->val = malloc(param->size); in GetParamDecOutputPixelFmt()
1021 param->val = malloc(param->size); in GetParamEncInputPixleFmt()
1047 param->val = malloc(param->size); in GetParamStride()
1061 param->val = malloc(param->size); in GetParamFps()
1075 param->val = malloc(para in GetParamRateControl()
[all...]
/device/soc/rockchip/rk3588/hardware/codec/src/
H A Dhdi_mpp_config.c896 param->val = malloc(param->size); in GetParamInputBufferCount()
917 param->val = malloc(param->size); in GetParamOutputBufferCount()
939 param->val = malloc(param->size); in GetParamBufferSize()
971 param->val = malloc(param->size); in GetParamWidth()
985 param->val = malloc(param->size); in GetParamHeight()
999 param->val = malloc(param->size); in GetParamDecOutputPixelFmt()
1021 param->val = malloc(param->size); in GetParamEncInputPixleFmt()
1047 param->val = malloc(param->size); in GetParamStride()
1061 param->val = malloc(param->size); in GetParamFps()
1075 param->val = malloc(para in GetParamRateControl()
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_mm.h73 return malloc(ul_size); in oal_memalloc()
92 return malloc(ul_size); in oal_vmalloc()
H A Dplat_firmware.h106 #define OS_VMALLOC_GFP(size) malloc(size)
/device/qemu/arm_mps2_an386/liteos_m/board/driver/flash/
H A Dram_virt_flash.c57 partitionMem = (UINTPTR)malloc(g_halPartitions[FLASH_PARTITION_DATA0].partitionLength); in getPartitionInfo()
64 partitionMem = (UINTPTR)malloc(g_halPartitions[FLASH_PARTITION_DATA1].partitionLength); in getPartitionInfo()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/
H A Dstdlib.h14 #include <malloc.h>
328 void *malloc (size_t);
585 *@see malloc | free
H A Dmalloc.h2 * @defgroup malloc Malloc
18 * @ingroup malloc
21 * The malloc() function shall allocate unused space for an object whose size in bytes is specified by byte_count
22 * and whose value is unspecified. If byte_count is 0, then malloc() returns NULL.
29 * @retval #void* Upon successful completion with byte_count not equal to 0, malloc() shall return a pointer to the allocated space.
33 * <ul><li>malloc.h</li></ul>
36 void *malloc (size_t);
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/paho.mqtt.c/include/mqtt/
H A DHeap.h31 * redefines malloc to use "mymalloc" so that heap allocation can be tracked
35 #define malloc(x) mymalloc(__FILE__, __LINE__, x) macro
/device/qemu/riscv32_virt/liteos_m/board/libc/
H A Dutils.c105 return malloc(size); in OhosMalloc()
/device/qemu/arm_virt/liteos_a/board/extcmd/
H A Dreset_shell.c47 pstFuncNode = (Hook_Func_Node*)malloc(sizeof(Hook_Func_Node)); in osReHookFuncAdd()
/device/soc/rockchip/rk3568/hardware/omx_il/osal/
H A DRockchip_OSAL_Memory.c41 omx_dbg_f(OMX_DBG_MALLOC, "tag: %s, caller: %s(%d), malloc count: %d", in Rockchip_OSAL_Malloc_With_Caller()
46 OMX_PTR omx_ptr = (OMX_PTR)malloc(size); in Rockchip_OSAL_Malloc_With_Caller()
/device/qemu/hardware/display/
H A Ddisplay_layer.c212 buffer->data.virAddr = malloc(priv->fbSize); in GetLayerBuffer()
214 HDF_LOGE("%s: malloc failure", __func__); in GetLayerBuffer()
230 LayerFuncs *lFuncs = (LayerFuncs *)malloc(sizeof(LayerFuncs)); in LayerInitialize()
/device/qemu/riscv32_virt/liteos_m/board/hardware/display/
H A Ddisplay_gralloc.c146 void *pBase = malloc(bufferHdl->size); in AllocMem()
184 GrallocFuncs *gFuncs = (GrallocFuncs *)malloc(sizeof(GrallocFuncs)); in GrallocInitialize()
H A Ddisplay_layer.c224 buffer->data.virAddr = malloc(priv->fbSize); in GetLayerBuffer()
226 HDF_LOGE("%s: malloc failure", __func__); in GetLayerBuffer()
243 LayerFuncs *lFuncs = (LayerFuncs *)malloc(sizeof(LayerFuncs)); in LayerInitialize()
/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/posix/src/
H A Dfile.c86 char *tmpBuf = (char *)malloc(tmpLen); in GetCanonicalPath()
159 char *canonicalPath = (char *)malloc(pathLen); in open()
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/src/
H A Dwifi_sta.c142 hi_wifi_ap_info *pst_results = malloc(sizeof(hi_wifi_ap_info) * WIFI_SCAN_AP_LIMIT); in hi_wifi_start_sta()
/device/soc/rockchip/rk3566/hardware/display/src/display_gralloc/
H A Ddisplay_gralloc.c75 GrallocFuncs *grallocFuncs = (GrallocFuncs *)malloc(sizeof(GrallocFuncs)); in GrallocInitialize()
/device/soc/rockchip/rk3568/hardware/display/src/display_gralloc/
H A Ddisplay_gralloc.c75 GrallocFuncs *grallocFuncs = (GrallocFuncs *)malloc(sizeof(GrallocFuncs)); in GrallocInitialize()
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/
H A Drk_list.cpp55 rk_list_node *node = (rk_list_node*)malloc(sizeof(rk_list_node) + size); in create_list()
255 head = (rk_list_node*)malloc(sizeof(rk_list_node)); in rk_list()
/device/soc/hisilicon/common/hal/display/source/display_gralloc/src/
H A Ddisplay_gralloc.cpp68 GrallocFuncs *grallocFuncs = (GrallocFuncs *)malloc(sizeof(GrallocFuncs)); in GrallocInitialize()
69 DISPLAY_CHK_RETURN((grallocFuncs == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("malloc failed")); in GrallocInitialize()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/histreaming_server/src/
H A Dhistreaming_client_server.c217 doorbell = (LinkService*)malloc(sizeof(LinkService)); in main()

Completed in 31 milliseconds

12345