Lines Matching defs:ptr
170 struct use_item *ptr;
189 for (ptr = use_list.tail; ptr != NULL;
190 ptr = ptr->bptr) {
191 fseek(stdin, ptr->offset, 0);
196 (void) do_entry(ptr);
198 dequeue(ptr);
201 for (ptr = use_list.head; ptr != NULL;
202 ptr = ptr->fptr) {
203 fseek(stdin, ptr->offset, 0);
208 (void) do_entry(ptr);
210 dequeue(ptr);
224 for (ptr = use_list.head; ptr != NULL; ptr = ptr->fptr) {
225 fseek(stdin, ptr->offset, 0);
237 struct use_item *ptr;
241 for (ptr = use_list.head; ptr != NULL; ptr = ptr->fptr) {
242 fseek(stdin, ptr->offset, 0);
244 fprintf(stderr, "ptr %x off %d bptr %x fptr %x str %s",
245 ptr, ptr->offset, ptr->bptr, ptr->fptr, line);
449 * dequeue(ptr)
456 dequeue(struct use_item *ptr)
458 if (ptr->fptr == NULL)
459 use_list.tail = ptr->bptr;
461 (ptr->fptr)->bptr = ptr->bptr;
463 if (ptr->bptr == NULL)
464 use_list.head = ptr->fptr;
466 (ptr->bptr)->fptr = ptr->fptr;