Lines Matching refs:leaf
108 char *leaf = strrchr(path, '/'); in leaf_of() local
109 if (leaf != 0) in leaf_of()
110 leaf++; in leaf_of()
112 leaf = path; in leaf_of()
113 return leaf; in leaf_of()
315 char *leaf = leaf_of(input); in show_both_lists() local
317 return show_list(leaf, d_list, keep) || show_list(leaf, f_list, keep); in show_both_lists()
479 char *leaf; in fill_lists() local
491 if ((leaf = strrchr(path, '/')) != 0) { in fill_lists()
492 *++leaf = 0; in fill_lists()
495 leaf = path + strlen(path); in fill_lists()
505 memcpy(leaf, de->d_name, len); in fill_lists()
506 leaf[len] = '\0'; in fill_lists()
509 add_to_list(d_list, leaf); in fill_lists()
511 add_to_list(f_list, leaf); in fill_lists()