Home
last modified time | relevance | path

Searched refs:malloc (Results 1 – 25 of 253) sorted by relevance

1234567891011

/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/src/src/
Dwmalloc.c134 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 = malloc_unit(i); in wmalloc()
158 if (malloc != HI_NULL) { in wmalloc()
159 return malloc; in wmalloc()
/device/soc/esp/esp32/components/bt/common/osi/include/osi/
Dallocator.h70 p = malloc((size)); \
94 p = malloc((size)); \
129 #define osi_malloc(size) malloc((size))
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/port/
Dmem_port.c56 return (void *)malloc(size); in os_malloc()
61 void *ptr = malloc(size); in os_zalloc()
/device/soc/rockchip/common/sdk_linux/tools/usb/ffs-aio-example/simple/device_app/
Daio_simple.c308 ep_path = malloc(strlen(argv[1]) + sizeof(int) + 1); 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/
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(param->size); in GetParamRateControl()
[all …]
/device/soc/rockchip/rk3588/hardware/codec/src/
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(param->size); in GetParamRateControl()
[all …]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
Doal_mm.h73 return malloc(ul_size); in oal_memalloc()
92 return malloc(ul_size); in oal_vmalloc()
/device/soc/rockchip/common/sdk_linux/tools/usb/ffs-aio-example/multibuff/device_app/
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()
/device/soc/goodix/gr551x/adapter/hals/utils/file/src/
Dhal_file.c109 file_path = (char *)malloc(path_len); in HalFileOpen()
184 file_path = (char *)malloc(path_len); in HalFileDelete()
216 file_path = (char *)malloc(path_len); in HalFileStat()
/device/soc/chipsea/hals/utils/file/src/
Dhal_file.c110 file_path = (char *)malloc(path_len); in HalFileOpen()
187 file_path = (char *)malloc(path_len); in HalFileDelete()
219 file_path = (char *)malloc(path_len); in HalFileStat()
/device/soc/hpmicro/hpm6700/hals/utils/file/src/
Dhal_file.c108 file_path = (char *)malloc(path_len); in HalFileOpen()
183 file_path = (char *)malloc(path_len); in HalFileDelete()
215 file_path = (char *)malloc(path_len); in HalFileStat()
/device/soc/beken/bk7235/hals/utils/file/src/
Dhal_file.c169 buffer = malloc(len * 2 + 1 + 1); in file_save()
242 info->content = malloc(MAX_FILE_TIMER_LENGTH); in HalFileOpen()
244 info->content = malloc(MAX_FILE_LENGTH); in HalFileOpen()
249 info->file_name = malloc(strlen(path) + 1); in HalFileOpen()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/ive/sample/
Dsample_ive_queue.c30 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/esp/esp32/components/esp_wifi/src/
Dphy_init.c209 s_phy_digital_regs_mem = (uint32_t *)malloc(SOC_PHY_DIG_REGS_MEM_SIZE); in phy_digital_regs_store()
339 uint8_t* init_data_store = (uint8_t*) malloc(init_data_store_length); in esp_phy_get_init_data()
574 esp_phy_init_data_t* init_data = (esp_phy_init_data_t*) malloc(sizeof(esp_phy_init_data_t)); in esp_phy_load_cal_and_init()
695 …phy_control_info_data_t* init_data_control_info = (phy_control_info_data_t*) malloc(sizeof(phy_con… in phy_get_multiple_init_data()
722 …uint8_t* init_data_multiple = (uint8_t*) malloc(sizeof(esp_phy_init_data_t) * init_data_control_in… in phy_get_multiple_init_data()
777 uint8_t* init_data_store = (uint8_t*) malloc(init_data_store_length); in esp_phy_update_init_data()
/device/board/isoftstone/yangfan/kernel/hdf/drivers/camera/pipeline_core/src/node/
Drk_codec_node.cpp280 void* temp_src = malloc(temp_src_size); in Yuv422ToRGBA8888()
286 void* temp_dst = malloc(temp_dst_size); in Yuv422ToRGBA8888()
323 void* temp_src = malloc(temp_src_size); in Yuv422ToJpeg()
329 void* temp_dst = malloc(temp_dst_size); in Yuv422ToJpeg()
/device/qemu/arm_mps2_an386/liteos_m/board/driver/flash/
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/board/hisilicon/hispark_phoenix/peripherals/bluetooth/rtkbt/code/rtkcmd/
Drtkcmd.c106 p_buf = (Rtk_Socket_Data *)malloc(sizeof(Rtk_Socket_Data) + sizeof(char) * ParamLen); in Rtkbt_Sendcmd()
173 recvbuf = (unsigned char *)malloc(sizeof(char) * event_len); in Rtkbt_Getevent()
/device/board/hisilicon/hispark_phoenix/peripherals/bluetooth/rtkbt/code/libbt-vendor/src/
Dbt_skbuff.c111 Rtb = malloc(sizeof(RTK_BUFFER)); in RtbAllocate()
116 Rtb->Head = malloc(BufferLen); in RtbAllocate()
241 RtbQueue = malloc(sizeof(RTB_QUEUE_HEAD)); in RtbQueueInit()
Drtk_heartbeat.c225 p_buf = (Rtk_Service_Data *)malloc(sizeof(Rtk_Service_Data)); in heartbeat_timed_out()
257 p_buf = (Rtk_Service_Data *)malloc(sizeof(Rtk_Service_Data)); in rtkbt_heartbeat_beginTimer_func()
Dhardware.c159 if (!(*fw_buf = malloc(buf_size))) in rtk_get_bt_firmware()
224 entry = (struct rtk_epatch_entry *)malloc(sizeof(*entry)); in rtk_get_patch_entry()
/device/board/unionman/unionpi_tiger/hardware/bt/src/
Dbt_skbuff.c109 Rtb = malloc(sizeof(RTK_BUFFER)); in RtbAllocate()
113 Rtb->Head = malloc(BufferLen); in RtbAllocate()
221 RtbQueue = malloc(sizeof(RTB_QUEUE_HEAD)); in RtbQueueInit()
Dhardware.c127 if (!(*fw_buf = malloc(buf_size))) { in rtk_get_bt_firmware()
190 entry = (struct rtk_epatch_entry *)malloc(sizeof(*entry)); in rtk_get_patch_entry()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/
Dmalloc.h36 void *malloc (size_t);
/device/soc/esp/esp32/components/pthread/
Dpthread_local_storage.c60 key_entry_t *new_key = malloc(sizeof(key_entry_t)); in pthread_key_create()
248 entry = malloc(sizeof(value_entry_t)); in pthread_setspecific()
/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/posix/src/
Dfile.c86 char *tmpBuf = (char *)malloc(tmpLen); in GetCanonicalPath()
159 char *canonicalPath = (char *)malloc(pathLen); in open()

1234567891011