Lines Matching refs:fnp
79 static struct fn_list *glob_debrace(struct fn *fnp);
81 static boolean_t glob_magic(struct fn *fnp);
85 glob_debrace(struct fn *fnp) in glob_debrace() argument
89 char *sp = fn_s(fnp); in glob_debrace()
137 glob_magic(struct fn *fnp) in glob_magic() argument
139 char *s = fn_s(fnp); in glob_magic()
157 glob_glob(struct fn *fnp) in glob_glob() argument
159 struct fn_list *tmplist = glob_debrace(fnp); in glob_glob()
202 struct fn *fnp; in glob_glob_list() local
205 while ((fnp = fn_list_next(fnlp)) != NULL) in glob_glob_list()
206 fn_list_addfn_list(ret, glob_glob(fnp)); in glob_glob_list()
216 glob_reglob(struct fn *fnp) in glob_reglob() argument
221 char *mys = STRDUP(fn_s(fnp)); in glob_reglob()
328 struct fn *fnp; in glob_reglob_list() local
331 while ((fnp = fn_list_next(fnlp)) != NULL) in glob_reglob_list()
332 fn_list_addfn_list(ret, glob_reglob(fnp)); in glob_reglob_list()
340 glob_to_reglob(struct fn *fnp) in glob_to_reglob() argument
345 fn_rewind(fnp); in glob_to_reglob()
346 while ((c = fn_getc(fnp)) != '\0') in glob_to_reglob()
388 struct fn *fnp; in main() local
413 while ((fnp = fn_list_next(fnlp)) != NULL) in main()
414 printf(" <%s>\n", fn_s(fnp)); in main()
418 while ((fnp = fn_list_popoldest(fnlp)) != NULL) { in main()
419 printf(" oldest <%s>\n", fn_s(fnp)); in main()
420 fn_free(fnp); in main()