Home
last modified time | relevance | path

Searched refs:new_node (Results 1 – 6 of 6) sorted by relevance

/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Dqueue.c81 Node *new_node = (Node *) malloc(sizeof(Node)); in push() local
83 if (new_node == NULL) in push()
86 new_node->element = element; in push()
87 new_node->next = NULL; in push()
91 q->head = new_node; in push()
95 q->tail->next = new_node; in push()
98 q->tail = new_node; in push()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Dqueue.c79 Node *new_node = (Node *) malloc(sizeof(Node)); in push() local
81 if (new_node == NULL) in push()
84 new_node->element = element; in push()
85 new_node->next = NULL; in push()
88 q->head = new_node; in push()
90 q->tail->next = new_node; in push()
93 q->tail = new_node; in push()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dwarnings.c42 struct WarningListNode *new_node = malloc(sizeof(*new_node)); in add_warning() local
43 if (new_node == NULL) { in add_warning()
47 new_node->warning_string = warning_string; in add_warning()
48 new_node->next_warning = NULL; in add_warning()
53 *node = new_node; in add_warning()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/memory_manager/include/
Dcavl_impl.h721 L_SC AVL_HANDLE L_(subst)(L_(avl) *l_tree, AVL_HANDLE new_node) { in L_()
732 cmp = AVL_COMPARE_NODE_NODE(new_node, h); in L_()
745 AVL_SET_LESS(new_node, AVL_GET_LESS(h, 0)) in L_()
746 AVL_SET_GREATER(new_node, AVL_GET_GREATER(h, 0)) in L_()
747 AVL_SET_BALANCE_FACTOR(new_node, AVL_GET_BALANCE_FACTOR(h)) in L_()
751 l_tree->root = new_node; in L_()
755 AVL_SET_LESS(parent, new_node) in L_()
757 AVL_SET_GREATER(parent, new_node) in L_()
Dcavl_if.h106 L_SC AVL_HANDLE L_(subst)(L_(avl) *tree, AVL_HANDLE new_node);
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_channel.c2844 cam_node_t* new_node = NULL; in mm_channel_superbuf_comp_and_enqueue() local
2847 new_node = (cam_node_t*)malloc(sizeof(cam_node_t)); in mm_channel_superbuf_comp_and_enqueue()
2848 if (NULL != new_buf && NULL != new_node) { in mm_channel_superbuf_comp_and_enqueue()
2850 memset(new_node, 0, sizeof(cam_node_t)); in mm_channel_superbuf_comp_and_enqueue()
2851 new_node->data = (void *)new_buf; in mm_channel_superbuf_comp_and_enqueue()
2863 cam_list_insert_before_node(&new_node->list, insert_before_buf); in mm_channel_superbuf_comp_and_enqueue()
2865 cam_list_add_tail_node(&new_node->list, &queue->que.head.list); in mm_channel_superbuf_comp_and_enqueue()
2885 if (NULL != new_node) { in mm_channel_superbuf_comp_and_enqueue()
2886 free(new_node); in mm_channel_superbuf_comp_and_enqueue()