Lines Matching refs:fname
54 char fname[PATH_MAX], iname[PATH_MAX]; in doinclude() local
71 if (len > sizeof(fname) - 1) in doinclude()
72 len = sizeof(fname) - 1; in doinclude()
73 strncpy(fname, (char *) trp->tp->t + 1, len); in doinclude()
84 if (trp->tp > trp->lp || len + trp->tp->len + 2 >= sizeof(fname)) in doinclude()
86 strncpy(fname + len, (char *) trp->tp->t, trp->tp->len); in doinclude()
98 fname[len] = '\0'; in doinclude()
99 if (fname[0] == '/') in doinclude()
101 fd = open(fname, O_RDONLY); in doinclude()
102 strcpy(iname, fname); in doinclude()
111 if (strlen(fname) + strlen(ip->file) + 2 > sizeof(iname)) in doinclude()
115 strcat(iname, fname); in doinclude()
126 genimport(fname, angled, iname, import); in doinclude()
189 genimport(char *fname, int angled, char *iname, int import) in genimport() argument
207 strcpy((char *) p, fname); in genimport()
208 p += strlen(fname); in genimport()