Home
last modified time | relevance | path

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

/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/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/st/secure_element/ese-spi-driver/utils-lib/
DDataMgmt.cc122 TpduRecvBuff_List_t* new_node; in DataMgmt_GetDataFromList() local
128 new_node = head; in DataMgmt_GetDataFromList()
129 while (new_node != NULL) { in DataMgmt_GetDataFromList()
130 if (new_node->tData.len > ATP.ifsc) { in DataMgmt_GetDataFromList()
133 memcpy((pbuff + offset), new_node->tData.data, new_node->tData.len); in DataMgmt_GetDataFromList()
134 offset += new_node->tData.len; in DataMgmt_GetDataFromList()
135 new_node = new_node->pNext; in DataMgmt_GetDataFromList()
/hardware/nxp/secure_element/libese-spi/p73/lib/
DphNxpEseDataMgr.cpp112 phNxpEse_sCoreRecvBuff_List_t* new_node; in phNxpEse_GetDataFromList() local
119 new_node = head; in phNxpEse_GetDataFromList()
120 while (new_node != NULL) { in phNxpEse_GetDataFromList()
121 phNxpEse_memcpy((pbuff + offset), new_node->tData.sbuffer, in phNxpEse_GetDataFromList()
122 new_node->tData.wLen); in phNxpEse_GetDataFromList()
123 offset += new_node->tData.wLen; in phNxpEse_GetDataFromList()
124 new_node = new_node->pNext; in phNxpEse_GetDataFromList()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_muxer.c2052 cam_node_t* new_node = NULL; in mm_camera_muxer_do_frame_sync() local
2068 free(new_node); in mm_camera_muxer_do_frame_sync()
2074 new_node = (cam_node_t *)malloc(sizeof(cam_node_t)); in mm_camera_muxer_do_frame_sync()
2075 if (new_node != NULL) { in mm_camera_muxer_do_frame_sync()
2076 memset(new_node, 0, sizeof(cam_node_t)); in mm_camera_muxer_do_frame_sync()
2077 new_node->data = (void *)new_buf; in mm_camera_muxer_do_frame_sync()
2079 cam_list_insert_before_node(&new_node->list, insert_before_buf); in mm_camera_muxer_do_frame_sync()
2081 cam_list_add_tail_node(&new_node->list, &queue->que.head.list); in mm_camera_muxer_do_frame_sync()
Dmm_camera_channel.c3296 cam_node_t* new_node = NULL; in mm_channel_superbuf_comp_and_enqueue() local
3299 new_node = (cam_node_t*)malloc(sizeof(cam_node_t)); in mm_channel_superbuf_comp_and_enqueue()
3300 if (NULL != new_buf && NULL != new_node) { in mm_channel_superbuf_comp_and_enqueue()
3302 memset(new_node, 0, sizeof(cam_node_t)); in mm_channel_superbuf_comp_and_enqueue()
3303 new_node->data = (void *)new_buf; in mm_channel_superbuf_comp_and_enqueue()
3316 cam_list_insert_before_node(&new_node->list, insert_before_buf); in mm_channel_superbuf_comp_and_enqueue()
3318 cam_list_add_tail_node(&new_node->list, &queue->que.head.list); in mm_channel_superbuf_comp_and_enqueue()
3345 if (NULL != new_node) { in mm_channel_superbuf_comp_and_enqueue()
3346 free(new_node); in mm_channel_superbuf_comp_and_enqueue()