Lines Matching refs:lsup
313 lsu_t *lsup; in print_atype() local
329 lsup = lsu_lookup(atp->extra.ty); in print_atype()
330 if (lsup != NULL && lsup->name[0] != '.') { in print_atype()
331 info("%s %s", basetypes[basetype], lsup->name); in print_atype()
417 lsu_t *lsup; in lsu_add() local
419 lsup = malloc(sizeof (lsu_t)); in lsu_add()
420 if (lsup == NULL) in lsu_add()
423 lsup->atype = *atp; in lsu_add()
424 lsup->next = lsu_table[i]; in lsu_add()
425 lsup->name = strdup(name); in lsu_add()
426 if (lsup->name == NULL) { in lsu_add()
427 free(lsup); in lsu_add()
431 lsu_table[i] = lsup; in lsu_add()
442 lsu_t *lsup; in lsu_lookup() local
444 for (lsup = lsu_table[i]; lsup != NULL; lsup = lsup->next) { in lsu_lookup()
445 if (lsup->atype.extra.ty == ty) in lsu_lookup()
446 return (lsup); in lsu_lookup()
503 lsu_t *lsup, *lsup_next; in lsu_empty() local
507 for (lsup = lsu_table[i]; lsup != NULL; lsup = lsup_next) { in lsu_empty()
508 lsup_next = lsup->next; in lsu_empty()
509 free(lsup); in lsu_empty()