Lines Matching refs:head
45 node* head; variable
51 Map() : head( NULL ), tail ( NULL ),tmp(head),size_of_list(0) {} in Map()
53 return ( !head || !tail ); in empty()
68 while (head) { in ~Map()
69 node* temp(head); in ~Map()
70 head=head->next; in ~Map()
80 tmp = head; in find()
96 tmp = head; in find_ele()
112 tmp = head; in begin()
124 tmp = head; in show()
136 tmp = head; in size()
155 head = tail; in insert()
156 tmp=head; in insert()
159 tmp = head; in insert()
167 tmp = head; in erase()
172 if ((head == tail) && (head->data == d)) { in erase()
174 tempnode = head; in erase()
175 head = tail = NULL; in erase()
180 if ((tmp ==head) && (tmp->data ==d)) { in erase()
185 head = tmp; in erase()
224 tmp = head; in eraseall()
226 while (head) { in eraseall()
227 tempnode = head; in eraseall()
229 head = head->next; in eraseall()
233 tail = head = NULL; in eraseall()