Lines Matching defs:names
120 /* A set of possible names for the NAME man page section */
296 * any of the names in the StringList.
299 no_page_exists(char *dir, StringList *names, char *suffix)
304 for (i = 0; i < names->sl_cur; i++) {
305 snprintf(path, sizeof path, "%s/%s.%s.gz", dir, names->sl_str[i], suffix);
667 * Collects a list of comma-separated names from the text.
670 collect_names(StringList *names, char *text)
679 sl_add(names, arg);
699 StringList *names;
790 names = sl_init();
791 collect_names(names, line);
793 if (!sl_find(names, page->name) && no_page_exists(section_dir, names, page->suffix)) {
800 for (i = 0; i < names->sl_cur; i++)
801 add_whatis_name(names->sl_str[i], page->suffix);
802 sl_free(names, 0);