Home
last modified time | relevance | path

Searched refs:curfile (Results 1 – 19 of 19) sorted by relevance

/titanic_44/usr/src/cmd/backup/restore/
H A Dtape.c349 curfile.action = USING; in setup()
379 curfile.action = USING; in setup()
456 if (command == 'R' || command == 'r' || curfile.action != SKIP) { in getvol()
657 if (curfile.action == USING) { in getvol()
757 curfile.name = name; in extractfile()
758 curfile.action = USING; in extractfile()
759 timep[0] = (time_t)curfile.dip->di_atime; in extractfile()
760 timep[1] = (time_t)curfile.dip->di_mtime; in extractfile()
761 mode = curfile.dip->di_mode; in extractfile()
763 uid = curfile.dip->di_suid == UID_LONG ? in extractfile()
[all …]
H A Drestore.c636 while (curfile.ino < maxino) {
649 while (first < curfile.ino) {
670 if (first != curfile.ino) {
673 first, curfile.ino);
677 ep = lookupino(curfile.ino);
744 curfile.action = SKIP; in createfiles()
764 curfile.action = UNKNOWN; in createfiles()
774 while (curfile.ino > last) { in createfiles()
775 curfile.action = SKIP; in createfiles()
785 next = lowerbnd(curfile.ino); in createfiles()
[all …]
H A Ddirs.c156 curfile.name = gettext("<directory file - name unknown>"); in extractdirs()
157 curfile.action = USING; in extractdirs()
158 ip = curfile.dip; in extractdirs()
159 ts = curfile.ts; in extractdirs()
197 itp = allocinotab(curfile.ino, ip, g_seekpt); in extractdirs()
214 while (curfile.dip != NULL && in skipdirs()
215 ((curfile.dip->di_mode & IFMT) == IFDIR || in skipdirs()
216 (curfile.dip->di_mode & IFMT) == IFATTRDIR)) { in skipdirs()
826 curfile.ino, curfile.name); in genliteraldir()
833 curfile.ino, curfile.name); in genliteraldir()
H A Drestore.h206 } curfile; variable
H A Dsymtab.c779 curfile.action = SKIP;
/titanic_44/usr/src/cmd/od/
H A Dod.c55 static int curfile = 0; variable
323 if (curfile >= numfiles) in next_input()
327 if ((input = freopen(files[curfile], "r", input)) != in next_input()
329 curfile++; in next_input()
333 if ((input = fopen(files[curfile], "r")) != NULL) { in next_input()
334 curfile++; in next_input()
338 warn("open: %s", files[curfile]); in next_input()
339 curfile++; in next_input()
382 files ? files[curfile-1] : "stdin"); in refill()
807 warn("fstat: %s", files[curfile-1]); in main()
[all …]
/titanic_44/usr/src/cmd/eqn/
H A Dlex.c46 lastchar = getc(curfile); in gtc()
54 (void) fclose(curfile); in gtc()
67 curfile = stdin; in openinfile()
69 } else if ((curfile = fopen(svargv[ifile], "r")) != NULL) { in openinfile()
H A Dglob.c30 FILE *curfile; /* current input file */ variable
H A De.h55 extern FILE *curfile; /* current input file */
H A Dio.c238 curfile = stdin; in setfile()
/titanic_44/usr/src/cmd/ypcmd/mknetid/
H A Dmknetid.c85 static char *curfile; /* name of file we are parsing */ variable
169 curfile = mapfile;
216 curfile = grpfile;
248 curfile = pwdfile;
288 curfile = hostfile;
328 cmdname, curfile, curline); in syntaxerror()
/titanic_44/usr/src/tools/ctf/cvt/
H A Dstabs.c186 char *curfile = NULL; in stabs_read() local
263 curfile = basename(curpath); in stabs_read()
340 iidescp->ii_owner = xstrdup(curfile); in stabs_read()
349 iidescp->ii_owner = xstrdup(curfile); in stabs_read()
H A Doutput.c239 char *curfile = NULL; in check_for_weak() local
258 curfile = (char *)strdata->d_buf + sym.st_name; in check_for_weak()
274 (curfile == NULL || weakfile == NULL || in check_for_weak()
275 strcmp(curfile, weakfile) != 0)) { in check_for_weak()
277 tmpfile = curfile; in check_for_weak()
282 *curfilep = curfile; in check_for_weak()
H A Dctf.c50 char *curfile; variable
76 terminate("%s: %s\n", curfile, msgbuf); in parseterminate()
777 curfile, matchlbl, (baselabel ? baselabel : "NONE")); in resurrect_labels()
1243 curfile = file; in ctf_load()
1279 curfile = NULL; in ctf_load()
/titanic_44/usr/src/cmd/lp/filter/postscript/postcomm/
H A Dpostcomm.c135 int curfile = 0; /* only needed when tostdout is TRUE */ variable
406 curfile++; in filter()
575 if (tostdout == TRUE && status[i].val == UNKNOWN && curfile > 0) in getstatus()
/titanic_44/usr/src/cmd/vi/misc/
H A Dctags.c112 *curfile, /* current input file name */ variable
347 curfile = savestr(file);
426 fp = strrchr(curfile, '/');
428 fp = rindex(curfile, '/');
431 fp = curfile;
459 np->file = curfile;
/titanic_44/usr/src/cmd/dc/
H A Ddc.c746 fsave = curfile; in commnds()
747 curfile = stdin; in commnds()
757 curfile = fsave; in commnds()
1156 curfile = stdin; in init()
1165 if ((curfile = fopen(svargv[1], "r")) == NULL) { in init()
1226 curfile = stdin; in onintr()
1444 lastchar = getc(curfile); in readc()
1450 curfile = stdin; in readc()
1453 if (curfile != stdin) { in readc()
1454 fclose(curfile); in readc()
[all …]
H A Ddc.h100 FILE *curfile; variable
/titanic_44/usr/src/cmd/ssh/scp/
H A Dscp.c122 char *curfile; variable
628 curfile = last;
890 curfile = cp;
1255 snprintf(buf, sizeof (buf), "\r%-20.20s %3d%% ", curfile, ratio); in progressmeter()