Lines Matching refs:head
46 node* head; variable
52 Map() : head( NULL ), tail ( NULL ),tmp(head),size_of_list(0) {} in Map()
53 bool empty() const { return ( !head || !tail ); } in empty()
66 while(head) in ~Map()
68 node* temp(head); in ~Map()
69 head=head->next; in ~Map()
79 tmp = head; in find()
94 tmp = head; in find_ele()
109 tmp = head; in begin()
120 tmp = head; in show()
132 tmp = head; in size()
150 head = tail; in insert()
151 tmp=head; in insert()
153 tmp = head; in insert()
161 tmp = head; in erase()
167 if((head == tail) && (head->data == d)) in erase()
170 tempnode = head; in erase()
171 head = tail = NULL; in erase()
175 if((tmp ==head) && (tmp->data ==d)) in erase()
181 head = tmp; in erase()
217 tmp = head; in eraseall()
218 while(head) in eraseall()
220 tempnode = head; in eraseall()
222 head = head->next; in eraseall()
225 tail = head = NULL; in eraseall()