Searched refs:new_node (Results 1 – 5 of 5) sorted by relevance
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
D | queue.c | 81 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/ |
D | queue.c | 79 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/nxp/secure_element/libese-spi/p73/lib/ |
D | phNxpEseDataMgr.cpp | 112 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/ |
D | mm_camera_muxer.c | 2052 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()
|
D | mm_camera_channel.c | 3296 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()
|