Lines Matching refs:iname
54 char fname[PATH_MAX], iname[PATH_MAX]; in doinclude() local
102 strcpy(iname, fname); in doinclude()
111 if (strlen(fname) + strlen(ip->file) + 2 > sizeof(iname)) in doinclude()
113 strcpy(iname, ip->file); in doinclude()
114 strcat(iname, "/"); in doinclude()
115 strcat(iname, fname); in doinclude()
116 if ((fd = open(iname, O_RDONLY)) >= 0) in doinclude()
126 genimport(fname, angled, iname, import); in doinclude()
128 error(INFO, "Open %s file [%s]", import ? "import" : "include", iname ); in doinclude()
133 (strncmp(wraplist[i].file, iname, strlen(wraplist[i].file)) == 0)) in doinclude()
137 … setsource((char *) newstring((uchar *) iname, strlen(iname), 0), i, fd, NULL, (i >= 0) ? 1 : 0); in doinclude()
189 genimport(char *fname, int angled, char *iname, int import) in genimport() argument
214 strcpy((char *) p, iname); in genimport()
215 p += strlen(iname); in genimport()