Lines Matching defs:ptr
433 bas_type *ptr;
435 if ((ptr = malloc(sizeof (bas_type))) == NULL) {
440 ptr->name = type;
441 ptr->length = len;
442 ptr->next = NULL;
444 typ_list_t = ptr;
445 typ_list_h = ptr;
447 typ_list_t->next = ptr;
448 typ_list_t = ptr;
456 bas_type *ptr;
458 ptr = typ_list_h;
459 while (ptr != NULL) {
460 if (strcmp(ptr->name, type) == 0)
461 return (ptr);
462 ptr = ptr->next;