Home
last modified time | relevance | path

Searched refs:adjf (Results 1 – 4 of 4) sorted by relevance

/openbsd-src/usr.bin/mg/
H A Dfile.c30 char fname[NFILEN], *bufp, *adjf; in fileinsert() local
40 adjf = adjustname(bufp, TRUE); in fileinsert()
41 if (adjf == NULL) in fileinsert()
43 return (insertfile(adjf, NULL, FALSE)); in fileinsert()
56 char fname[NFILEN], *bufp, *adjf; in filevisit() local
67 adjf = adjustname(fname, TRUE); in filevisit()
68 if (adjf == NULL) in filevisit()
70 if (fisdir(adjf) == TRUE) in filevisit()
71 return (do_dired(adjf)); in filevisit()
72 if ((bp = findbuffer(adjf)) == NULL) in filevisit()
[all …]
H A Dgrep.c260 char *adjf, path[NFILEN]; in compile_goto_error() local
289 adjf = path; in compile_goto_error()
291 adjf = adjustname(fname, TRUE); in compile_goto_error()
295 if (adjf == NULL) in compile_goto_error()
298 if ((bp = findbuffer(adjf)) == NULL) in compile_goto_error()
305 readin(adjf); in compile_goto_error()
H A Dcscope.c337 char *adjf; in jumptomatch() local
341 adjf = adjustname(currecord->filename, TRUE); in jumptomatch()
342 if (adjf == NULL) in jumptomatch()
344 if ((bp = findbuffer(adjf)) == NULL) in jumptomatch()
350 if (readin(adjf) != TRUE) in jumptomatch()
H A Dtags.c509 char *adjf; in loadbuffer() local
520 if ((adjf = adjustname(bname, TRUE)) == NULL) in loadbuffer()
522 if ((bufp = findbuffer(adjf)) == NULL) in loadbuffer()
529 if (readin(adjf) != TRUE) { in loadbuffer()