Searched refs:malloc (Results 151 - 175 of 448) sorted by relevance

1234567891011>>

/hardware/bsp/intel/peripheral/libmraa/src/spi/
H A Dspi.c331 uint8_t* recv = malloc(sizeof(uint8_t) * length);
343 uint16_t* recv = malloc(sizeof(uint16_t) * length);
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
H A Dmm_qcamera_reprocess.c67 pme->jpeg_buf.buf.buffer = (uint8_t *)malloc(m_frame->frame_len);
303 src_buf = ( mm_camera_super_buf_t * ) malloc(sizeof(mm_camera_super_buf_t));
H A Dmm_qcamera_snapshot.c90 (mm_camera_super_buf_t *)malloc(sizeof(mm_camera_super_buf_t));
234 pme->metadata = malloc(sizeof(metadata_buffer_t));
236 LOGE(" malloc failed");
410 pme->jpeg_buf.buf.buffer = (uint8_t *)malloc(m_frame->frame_len);
H A Dmm_qcamera_socket.c248 p->recv_buf = malloc(p->next_recv_len);
310 tsctrl->proto = malloc(sizeof(tuneserver_protocol_t));
312 LOGE(" malloc returns NULL with error %s\n", strerror(errno));
377 tsctrl->pr_proto = malloc(sizeof(prserver_protocol_t));
379 LOGE(" malloc returns NULL with error %s\n",
/hardware/qcom/wlan/qcwcn/wifi_hal/
H A Dgscan_event_handler.cpp662 malloc (resultsBufSize);
846 mPasspointAnqp = (u8 *) malloc (mPasspointAnqpLen);
1116 result = (wifi_scan_result *) malloc (resultsBufSize);
1393 malloc (resultsBufSize);
1496 malloc (resultsBufSize);
1610 malloc (sizeof(wifi_significant_change_result *) *
1656 (wifi_significant_change_result *) malloc (resultsBufSize);
1815 malloc (resultsBufSize);
H A Dwifi_hal.cpp379 hal_info *info = (hal_info *)malloc(sizeof(hal_info));
439 info->event_cb = (cb_info *)malloc(sizeof(cb_info) * DEFAULT_EVENT_CB_SIZE);
448 info->cmd = (cmd_info *)malloc(sizeof(cmd_info) * DEFAULT_CMD_SIZE);
535 info->pkt_stats = (struct pkt_stats_s *)malloc(sizeof(struct pkt_stats_s));
537 ALOGE("%s: malloc Failed for size: %zu",
547 (wifi_ring_buffer_entry *)malloc(info->rx_buf_size_allocated);
549 ALOGE("%s: malloc Failed for size: %d",
957 info->interfaces = (interface_info **)malloc(sizeof(interface_info *) * n);
969 = (interface_info *)malloc(sizeof(interface_info));
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/inc/
H A DOMX_G722Dec_Utils.h153 _pStruct_ = (_sName_*)malloc(sizeof(_sName_)); \
167 _ptr_ = (_name_ *)malloc(_size_); \
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/inc/
H A DOMX_G726Dec_Utils.h171 _pStruct_ = (_sName_*)malloc(sizeof(_sName_)); \
185 _ptr_ = (_name_ *)malloc(_size_); \
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
H A DOMXFD.cpp315 faceResult = ( camera_frame_metadata_t * ) malloc(sizeof(camera_frame_metadata_t));
324 faces = ( camera_face_t * ) malloc(sizeof(camera_face_t)*faceData->ulFaceCount);
/hardware/qcom/camera/QCamera2/HAL3/
H A DQCamera3Stream.cpp546 (mm_camera_super_buf_t *)malloc(sizeof(mm_camera_super_buf_t));
805 regFlags = (uint8_t *)malloc(sizeof(uint8_t) * mNumBufs);
818 mBufDefs = (mm_camera_buf_def_t *)malloc(mNumBufs * sizeof(mm_camera_buf_def_t));
1225 regFlags = (uint8_t *)malloc(sizeof(uint8_t) * mNumBatchBufs);
1240 malloc(mNumBatchBufs * sizeof(mm_camera_buf_def_t));
1489 frame = (mm_camera_super_buf_t *)malloc(sizeof(mm_camera_super_buf_t));
1491 LOGE("malloc failed. Buffers will be dropped");
H A DQCamera3PostProc.cpp568 qcamera_hal3_pp_buffer_t *pp_buffer = (qcamera_hal3_pp_buffer_t *)malloc(
623 (qcamera_hal3_jpeg_data_t *)malloc(sizeof(qcamera_hal3_jpeg_data_t));
723 (qcamera_hal3_jpeg_data_t *)malloc(sizeof(qcamera_hal3_jpeg_data_t));
1599 (mm_jpeg_debug_exif_params_t *) malloc (sizeof(mm_jpeg_debug_exif_params_t));
1808 (qcamera_hal3_pp_data_t *)malloc(sizeof(qcamera_hal3_pp_data_t));
1859 (qcamera_hal3_pp_data_t *)malloc(sizeof(qcamera_hal3_pp_data_t));
2728 uint8_t *values = (uint8_t *)malloc(count);
2745 str = (char *)malloc(count + 1);
2761 (uint16_t *)malloc(count * sizeof(uint16_t));
2780 (uint32_t *)malloc(coun
[all...]
/hardware/ti/omap4-aah/security/tf_daemon/
H A Ddelegation_client.c499 checkAccess = malloc(strlen(directoryName)+1/* \ */ +1 /* a */ + 1 /* 0 */);
739 pMessages = (DELEGATION_RPMB_MESSAGE*)malloc(nNbMsg * sizeof(DELEGATION_RPMB_MESSAGE));
817 pMessages = (DELEGATION_RPMB_MESSAGE*)malloc(nNbMsg * sizeof(DELEGATION_RPMB_MESSAGE));
1313 g_pExchangeBuffer = (DELEGATION_EXCHANGE_BUFFER*)malloc(nExchangeBufferSize);
1412 baseDir = malloc(strlen(argv[0])+1); /* Zero-terminated string */
1425 g_pPartitionNames[i] = malloc(strlen(baseDir) + 1 /* separator */ + sizeof("Store_X.tf"));
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/tests/
H A DVPPTest.c968 pCompPrivateStruct = malloc (sizeof (OMX_PARAM_PORTDEFINITIONTYPE));
1168 pInBuffer = malloc(pCompPrivateStruct->nBufferSize +256);
1228 pRGBBuffer = malloc(pCompPrivateStruct->nBufferSize + 256);
1269 pYUVBuffer = malloc(pCompPrivateStruct->nBufferSize +256);
1393 OMX_CONFIG_COLORKEYTYPE *color = malloc(sizeof(OMX_CONFIG_COLORKEYTYPE));
2132 OMX_CONFIG_CONTRASTTYPE *pConfigNewContrast = malloc(sizeof(OMX_CONFIG_CONTRASTTYPE));
2183 OMX_CONFIG_RECTTYPE *pConfigNewCropWindow = malloc (sizeof(OMX_CONFIG_RECTTYPE));
2213 pConfigNewMirror = malloc(sizeof(OMX_CONFIG_MIRRORTYPE));
2245 OMX_CONFIG_ROTATIONTYPE *pConfigNewRotation = malloc(sizeof(OMX_CONFIG_ROTATIONTYPE));
2313 pConfigNewDither = malloc(sizeo
[all...]
/hardware/qcom/audio/legacy/alsa_sound/
H A DAudioUsbALSA.cpp120 read_buf = (char *)malloc(BUFFSIZE);
178 ratesStr = (char *)malloc(size + 1) ;
179 ratesStrForVal = (char *)malloc(size + 1) ;
843 u_int8_t *proxybuf = ( u_int8_t *) malloc(PROXY_PERIOD_SIZE);
844 u_int8_t *usbbuf = ( u_int8_t *) malloc(USB_PERIOD_SIZE);
/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/
H A Dperf_rt.c66 perf->cip.pRT = malloc(sizeof(PERF_RT_Private));
78 me->dRate = malloc(sizeof(PERF_RTdata_rate) * me->maxDRate);
88 me->dSTS = malloc(sizeof(PERF_RTdata_sts));
112 me->dUptime = malloc(sizeof(PERF_RTdata_uptime));
184 fOutFile = (char *) malloc (strlen(config->rt_file) + 32);
/hardware/qcom/camera/QCamera2/HAL/
H A DQCamera2HWICallbacks.cpp103 (qcamera_sm_internal_evt_payload_t *)malloc(
125 (qcamera_sm_internal_evt_payload_t *)malloc(
147 (mm_camera_super_buf_t *)malloc(sizeof(mm_camera_super_buf_t));
211 (qcamera_sm_internal_evt_payload_t *)malloc(sizeof(qcamera_sm_internal_evt_payload_t));
403 (mm_camera_super_buf_t *)malloc(sizeof(mm_camera_super_buf_t));
653 (mm_camera_super_buf_t *)malloc(sizeof(mm_camera_super_buf_t));
1651 mm_camera_super_buf_t* frame = (mm_camera_super_buf_t *)malloc(sizeof(mm_camera_super_buf_t));
1782 mm_camera_super_buf_t* frame = (mm_camera_super_buf_t *)malloc(sizeof(mm_camera_super_buf_t));
2059 malloc(sizeof(qcamera_sm_internal_evt_payload_t));
2084 malloc(sizeo
[all...]
H A DQCameraStream.cpp1065 (mm_camera_super_buf_t *)malloc(sizeof(mm_camera_super_buf_t));
1328 regFlags = (uint8_t *)malloc(sizeof(uint8_t) * mNumBufs);
1341 mBufDefs = (mm_camera_buf_def_t *)malloc(mNumBufs * sizeof(mm_camera_buf_def_t));
1547 mRegFlags = (uint8_t *)malloc(sizeof(uint8_t) * mNumBufs);
1561 mBufDefs = (mm_camera_buf_def_t *)malloc(bufDefsSize);
1800 regFlags = (uint8_t *)malloc(sizeof(uint8_t) * mNumBufs);
1817 mBufDefs = (mm_camera_buf_def_t *)malloc(mNumBufs * sizeof(mm_camera_buf_def_t));
1834 malloc(mNumPlaneBufs * (sizeof(mm_camera_buf_def_t)));
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/
H A Dobj_int_extract.c652 sectionlist = malloc(nsections * sizeof(sectionlist));
673 sectionlist[i] = malloc(strlen(sectionname) + 1);
820 file_buf = malloc(file_size);
823 perror("malloc");
/hardware/intel/img/psb_video/src/
H A Dtng_yuv_processor.c38 #include <malloc.h>
67 ctx = (context_yuv_processor_p) malloc(sizeof(struct context_yuv_processor_s));
75 dec_ctx = (context_DEC_p) malloc(sizeof(struct context_DEC_s));
/hardware/libhardware/modules/vehicle/
H A Dvehicle.c25 #include <malloc.h>
137 vehicle_str->data = (uint8_t*) malloc(len);
294 char *ascii_out = (char *) malloc ((data->value.str_value.len + 1) * sizeof (char));
/hardware/qcom/audio/msm8909/hal/audio_extn/
H A Dusb.c258 if ((rates_str = (char *)malloc(size + 1)) == NULL) {
265 if ((rates_str_for_val = (char *)malloc(size + 1)) == NULL) {
284 rates_supported = (int *)malloc(sizeof(int) * size);
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/
H A Domx_vdec_test.cpp1633 OMX_U8** vidCompNames = (OMX_U8**)malloc((sizeof(OMX_U8*))*total);
1640 vidCompNames[i] = (OMX_U8*)malloc(sizeof(OMX_U8)*OMX_MAX_STRINGNAME_SIZE);
2272 malloc(sizeof(OMX_BUFFERHEADERTYPE)*bufCntMin);
2295 malloc(sizeof(OMX_BUFFERHEADERTYPE)* bufCntMin);
2304 pvirt = (OMX_U8*) malloc (bufSize);
2327 malloc(sizeof(OMX_BUFFERHEADERTYPE)* bufCntMin);
2334 malloc(sizeof(struct temp_egl *)* bufCntMin);
2344 malloc(sizeof(struct temp_egl));
2388 malloc(sizeof(OMX_BUFFERHEADERTYPE)* bufCntMin);
2394 malloc(sizeo
[all...]
/hardware/intel/common/libmix/videoencoder/
H A DPVSoftMPEG4Encoder.cpp189 (uint8_t *) malloc((mVideoWidth * mVideoHeight * 3 ) >> 1);
196 (uint8_t *) malloc((mVideoWidth * mVideoHeight * 3 ) >> 1);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/
H A Dvpx_mem.c71 # define VPX_MALLOC_L malloc
130 /* save the actual malloc address */
162 malloc() for the specified size. If size is zero (0) and ptr is
184 /* save the actual malloc address */
238 /* save the actual malloc address */
326 /* save the actual malloc address */
481 (unsigned char *)malloc(g_mm_memory_size + HMM_ADDR_ALIGN_UNIT);
555 /* Error. Try to malloc and then copy data. */
/hardware/intel/common/utils/ISV/profile/
H A Disv_profile.cpp157 str = (char*)malloc(lenth+1);
159 ALOGE("%s: failed to malloc buffer", __func__);
320 pBuf = malloc(mBufSize);
322 ALOGE("@%s, line:%d, failed to malloc buffer", __func__, __LINE__);

Completed in 964 milliseconds

1234567891011>>