Lines Matching refs:fnp
81 static struct fn_list *glob_debrace(struct fn *fnp);
83 static boolean_t glob_magic(struct fn *fnp);
87 glob_debrace(struct fn *fnp) in glob_debrace() argument
91 char *sp = fn_s(fnp); in glob_debrace()
139 glob_magic(struct fn *fnp) in glob_magic() argument
141 char *s = fn_s(fnp); in glob_magic()
159 glob_glob(struct fn *fnp) in glob_glob() argument
161 struct fn_list *tmplist = glob_debrace(fnp); in glob_glob()
204 struct fn *fnp; in glob_glob_list() local
207 while ((fnp = fn_list_next(fnlp)) != NULL) in glob_glob_list()
208 fn_list_addfn_list(ret, glob_glob(fnp)); in glob_glob_list()
218 glob_reglob(struct fn *fnp) in glob_reglob() argument
223 char *mys = STRDUP(fn_s(fnp)); in glob_reglob()
330 struct fn *fnp; in glob_reglob_list() local
333 while ((fnp = fn_list_next(fnlp)) != NULL) in glob_reglob_list()
334 fn_list_addfn_list(ret, glob_reglob(fnp)); in glob_reglob_list()
342 glob_to_reglob(struct fn *fnp) in glob_to_reglob() argument
347 fn_rewind(fnp); in glob_to_reglob()
348 while ((c = fn_getc(fnp)) != '\0') in glob_to_reglob()
390 struct fn *fnp; in main() local
415 while ((fnp = fn_list_next(fnlp)) != NULL) in main()
416 printf(" <%s>\n", fn_s(fnp)); in main()
420 while ((fnp = fn_list_popoldest(fnlp)) != NULL) { in main()
421 printf(" oldest <%s>\n", fn_s(fnp)); in main()
422 fn_free(fnp); in main()