Home
last modified time | relevance | path

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

/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_channel.c2521 mm_channel_queue_node_t *new_buf = NULL; in mm_channel_superbuf_comp_and_enqueue() local
2524 new_buf = (mm_channel_queue_node_t*)malloc(sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue()
2526 if (NULL != new_buf && NULL != new_node) { in mm_channel_superbuf_comp_and_enqueue()
2527 memset(new_buf, 0, sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue()
2529 new_node->data = (void *)new_buf; in mm_channel_superbuf_comp_and_enqueue()
2530 new_buf->num_of_bufs = queue->num_streams; in mm_channel_superbuf_comp_and_enqueue()
2531 new_buf->super_buf[buf_s_idx] = *buf_info; in mm_channel_superbuf_comp_and_enqueue()
2532 new_buf->frame_idx = buf_info->frame_idx; in mm_channel_superbuf_comp_and_enqueue()
2535 new_buf->expected = TRUE; in mm_channel_superbuf_comp_and_enqueue()
2548 new_buf->matched = 1; in mm_channel_superbuf_comp_and_enqueue()
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_channel.c2521 mm_channel_queue_node_t *new_buf = NULL; in mm_channel_superbuf_comp_and_enqueue() local
2524 new_buf = (mm_channel_queue_node_t*)malloc(sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue()
2526 if (NULL != new_buf && NULL != new_node) { in mm_channel_superbuf_comp_and_enqueue()
2527 memset(new_buf, 0, sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue()
2529 new_node->data = (void *)new_buf; in mm_channel_superbuf_comp_and_enqueue()
2530 new_buf->num_of_bufs = queue->num_streams; in mm_channel_superbuf_comp_and_enqueue()
2531 new_buf->super_buf[buf_s_idx] = *buf_info; in mm_channel_superbuf_comp_and_enqueue()
2532 new_buf->frame_idx = buf_info->frame_idx; in mm_channel_superbuf_comp_and_enqueue()
2535 new_buf->expected = TRUE; in mm_channel_superbuf_comp_and_enqueue()
2548 new_buf->matched = 1; in mm_channel_superbuf_comp_and_enqueue()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
Dbytesio.c64 char *new_buf = NULL; in resize_buffer() local
92 new_buf = (char *)PyMem_Realloc(self->buf, alloc * sizeof(char)); in resize_buffer()
93 if (new_buf == NULL) { in resize_buffer()
98 self->buf = new_buf; in resize_buffer()
Dstringio.c59 Py_UNICODE *new_buf = NULL; in resize_buffer() local
89 new_buf = (Py_UNICODE *)PyMem_Realloc(self->buf, in resize_buffer()
91 if (new_buf == NULL) { in resize_buffer()
96 self->buf = new_buf; in resize_buffer()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
Dbytesio.c64 char *new_buf = NULL; in resize_buffer() local
92 new_buf = (char *)PyMem_Realloc(self->buf, alloc * sizeof(char)); in resize_buffer()
93 if (new_buf == NULL) { in resize_buffer()
98 self->buf = new_buf; in resize_buffer()
Dstringio.c59 Py_UNICODE *new_buf = NULL; in resize_buffer() local
89 new_buf = (Py_UNICODE *)PyMem_Realloc(self->buf, in resize_buffer()
91 if (new_buf == NULL) { in resize_buffer()
96 self->buf = new_buf; in resize_buffer()
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_channel.c2949 mm_channel_queue_node_t *new_buf = NULL; in mm_channel_superbuf_comp_and_enqueue() local
2952 new_buf = (mm_channel_queue_node_t*)malloc(sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue()
2954 if (NULL != new_buf && NULL != new_node) { in mm_channel_superbuf_comp_and_enqueue()
2955 memset(new_buf, 0, sizeof(mm_channel_queue_node_t)); in mm_channel_superbuf_comp_and_enqueue()
2957 new_node->data = (void *)new_buf; in mm_channel_superbuf_comp_and_enqueue()
2958 new_buf->num_of_bufs = queue->num_streams; in mm_channel_superbuf_comp_and_enqueue()
2959 new_buf->super_buf[buf_s_idx] = *buf_info; in mm_channel_superbuf_comp_and_enqueue()
2960 new_buf->frame_idx = buf_info->frame_idx; in mm_channel_superbuf_comp_and_enqueue()
2964 new_buf->expected_frame = TRUE; in mm_channel_superbuf_comp_and_enqueue()
2977 new_buf->matched = 1; in mm_channel_superbuf_comp_and_enqueue()
[all …]