Lines Matching refs:np1
221 struct node *np1; in print_tree() local
224 LIST_FOREACH(np1, &np->children, siblings) in print_tree()
225 print_tree(np1, n + 2); in print_tree()
231 struct node *np1, *np2; in sort_node() local
234 LIST_FOREACH(np1, &np->children, siblings) in sort_node()
235 sort_node(np1); in sort_node()
237 np1 = LIST_FIRST(&np->children); in sort_node()
240 if (np1 == NULL) in sort_node()
242 np2 = LIST_NEXT(np1, siblings); in sort_node()
245 if (strcmp(sbuf_data(np1->key), sbuf_data(np2->key)) > 0) { in sort_node()
247 LIST_INSERT_BEFORE(np1, np2, siblings); in sort_node()
251 np1 = np2; in sort_node()