Lines Matching refs:tmp
140 list_element* tmp = p_list->p_head;
143 p_list->p_head->next = tmp;
145 if( tmp != NULL )
147 tmp->prev = p_list->p_head;
183 list_element* tmp = p_list->p_tail;
186 p_list->p_tail = tmp->prev;
198 *data_obj = tmp->data_ptr;
201 free(tmp);
243 list_element* tmp = p_list->p_head->next;
254 p_list->p_head = tmp;
285 list_element* tmp = p_list->p_head;
291 while (NULL != tmp) {
292 if ((*equal)(data_0, tmp->data_ptr)) {
294 *data_p = tmp->data_ptr;
298 if (NULL == tmp->prev) {
299 p_list->p_head = tmp->next;
301 tmp->prev->next = tmp->next;
304 if (NULL == tmp->next) {
305 p_list->p_tail = tmp->prev;
307 tmp->next->prev = tmp->prev;
310 tmp->prev = tmp->next = NULL;
314 if (NULL == data_p && NULL != tmp->dealloc_func) {
315 tmp->dealloc_func(tmp->data_ptr);
317 free(tmp);
320 tmp = NULL;
322 tmp = tmp->next;