Home
last modified time | relevance | path

Searched refs:new_buf (Results 1 – 3 of 3) sorted by relevance

/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ducode_download.c64 unsigned char *new_buf; in dload_ucode_part() local
84 new_buf = (unsigned char *)malloc(size2alloc); in dload_ucode_part()
85 memset(new_buf, 0, size2alloc); in dload_ucode_part()
86 ucode_ptr = (struct wl_ucode_info *)((uint8 *)new_buf+ucode_offset); in dload_ucode_part()
94 memset(new_buf+ucode_offset+chunk_offset, 0, size2alloc-ucode_offset-chunk_offset); in dload_ucode_part()
99 err = dload_generic_data(wl, DL_TYPE_UCODE, new_buf, size2alloc); in dload_ucode_part()
107 free(new_buf); in dload_ucode_part()
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_channel.c2843 mm_channel_queue_node_t *new_buf = NULL; in mm_channel_superbuf_comp_and_enqueue() local
2846 new_buf = (mm_channel_queue_node_t*)malloc(sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue()
2848 if (NULL != new_buf && NULL != new_node) { in mm_channel_superbuf_comp_and_enqueue()
2849 memset(new_buf, 0, sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue()
2851 new_node->data = (void *)new_buf; in mm_channel_superbuf_comp_and_enqueue()
2852 new_buf->num_of_bufs = queue->num_streams; in mm_channel_superbuf_comp_and_enqueue()
2853 new_buf->super_buf[buf_s_idx] = *buf_info; in mm_channel_superbuf_comp_and_enqueue()
2854 new_buf->frame_idx = buf_info->frame_idx; in mm_channel_superbuf_comp_and_enqueue()
2857 new_buf->expected = TRUE; in mm_channel_superbuf_comp_and_enqueue()
2870 new_buf->matched = 1; in mm_channel_superbuf_comp_and_enqueue()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dvpxdec.c196 uint8_t *new_buf = realloc(*buffer, 2 * frame_size); in raw_read_frame() local
197 if (new_buf) { in raw_read_frame()
198 *buffer = new_buf; in raw_read_frame()