Home | History | Annotate | Download | only in util

Lines Matching refs:node

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