• Home
  • Raw
  • Download

Lines Matching refs:node

140     camera_q_node *node =  in enqueue()  local
142 if (NULL == node) { in enqueue()
147 memset(node, 0, sizeof(camera_q_node)); in enqueue()
148 node->data = data; in enqueue()
152 cam_list_add_tail_node(&node->list, &m_head.list); in enqueue()
156 free(node); in enqueue()
177 camera_q_node *node = in enqueueWithPriority() local
179 if (NULL == node) { in enqueueWithPriority()
184 memset(node, 0, sizeof(camera_q_node)); in enqueueWithPriority()
185 node->data = data; in enqueueWithPriority()
191 m_head.list.next = &node->list; in enqueueWithPriority()
192 p_next->prev = &node->list; in enqueueWithPriority()
193 node->list.next = p_next; in enqueueWithPriority()
194 node->list.prev = &m_head.list; in enqueueWithPriority()
199 free(node); in enqueueWithPriority()
217 camera_q_node* node = NULL; in peek() local
227 node = member_of(pos, camera_q_node, list); in peek()
232 if (NULL != node) { in peek()
233 data = node->data; in peek()
252 camera_q_node* node = NULL; in dequeue() local
266 node = member_of(pos, camera_q_node, list); in dequeue()
267 cam_list_del_node(&node->list); in dequeue()
273 if (NULL != node) { in dequeue()
274 data = node->data; in dequeue()
275 free(node); in dequeue()
292 camera_q_node* node = NULL; in flush() local
302 node = member_of(pos, camera_q_node, list); in flush()
304 cam_list_del_node(&node->list); in flush()
307 if (NULL != node->data) { in flush()
309 m_dataFn(node->data, m_userData); in flush()
311 free(node->data); in flush()
313 free(node); in flush()
334 camera_q_node* node = NULL; in flushNodes() local
348 node = member_of(pos, camera_q_node, list); in flushNodes()
350 if ( match(node->data, m_userData) ) { in flushNodes()
351 cam_list_del_node(&node->list); in flushNodes()
354 if (NULL != node->data) { in flushNodes()
356 m_dataFn(node->data, m_userData); in flushNodes()
358 free(node->data); in flushNodes()
360 free(node); in flushNodes()
379 camera_q_node* node = NULL; in flushNodes() local
393 node = member_of(pos, camera_q_node, list); in flushNodes()
395 if ( match(node->data, m_userData, match_data) ) { in flushNodes()
396 cam_list_del_node(&node->list); in flushNodes()
399 if (NULL != node->data) { in flushNodes()
401 m_dataFn(node->data, m_userData); in flushNodes()
403 free(node->data); in flushNodes()
405 free(node); in flushNodes()