• Home
  • Raw
  • Download

Lines Matching refs:NULL

60    if( list_data == NULL )  in linked_list_init()
68 if( tmp_list == NULL ) in linked_list_init()
74 tmp_list->p_head = NULL; in linked_list_init()
75 tmp_list->p_tail = NULL; in linked_list_init()
89 if( list_data == NULL ) in linked_list_destroy()
100 *list_data = NULL; in linked_list_destroy()
113 if( list_data == NULL ) in linked_list_add()
119 if( data_obj == NULL ) in linked_list_add()
127 if( elem == NULL ) in linked_list_add()
135 elem->next = NULL; in linked_list_add()
136 elem->prev = NULL; in linked_list_add()
145 if( tmp != NULL ) in linked_list_add()
165 if( list_data == NULL ) in linked_list_remove()
171 if( data_obj == NULL ) in linked_list_remove()
178 if( p_list->p_tail == NULL ) in linked_list_remove()
188 if( p_list->p_tail != NULL ) in linked_list_remove()
190 p_list->p_tail->next = NULL; in linked_list_remove()
213 if( list_data == NULL ) in linked_list_empty()
221 return p_list->p_head == NULL ? 1 : 0; in linked_list_empty()
232 if( list_data == NULL ) in linked_list_flush()
241 while( p_list->p_head != NULL ) in linked_list_flush()
246 if( p_list->p_head->dealloc_func != NULL ) in linked_list_flush()
257 p_list->p_tail = NULL; in linked_list_flush()
272 if( list_data == NULL || NULL == equal ) in linked_list_search()
280 if( p_list->p_tail == NULL ) in linked_list_search()
287 if (NULL != data_p) { in linked_list_search()
288 *data_p = NULL; in linked_list_search()
291 while (NULL != tmp) { in linked_list_search()
293 if (NULL != data_p) { in linked_list_search()
298 if (NULL == tmp->prev) { in linked_list_search()
304 if (NULL == tmp->next) { in linked_list_search()
310 tmp->prev = tmp->next = NULL; in linked_list_search()
314 if (NULL == data_p && NULL != tmp->dealloc_func) { in linked_list_search()
320 tmp = NULL; in linked_list_search()