Lines Matching defs:np
2494 struct name_entry *np;
2535 np = malloc(sizeof(*np));
2536 if (np == NULL) {
2540 if (asprintf(&np->n_name, "%s/%s", dir, buf) < 0) {
2541 free(np);
2545 SLIST_INSERT_HEAD(nl, np, n_entry);
2727 struct name_entry *np;
2736 np = SLIST_FIRST(nl);
2738 if (insert_font(np->n_name, FONT_AUTO) == false)
2739 printf("failed to add font: %s\n", np->n_name);
2740 free(np->n_name);
2741 free(np);