Symbol: nfile
bin/sh/eval.c
532
for (redir = n ; redir ; redir = redir->nfile.next) {
bin/sh/eval.c
541
expandarg(redir->nfile.fname, &fn, EXP_TILDE);
bin/sh/eval.c
542
redir->nfile.expfname = fn.args[0];
bin/sh/jobs.c
1371
if (n->nfile.fd != deffd) {
bin/sh/jobs.c
1372
s[0] = n->nfile.fd + '0';
bin/sh/jobs.c
1385
cmdtxt(n->nfile.fname);
bin/sh/jobs.c
1471
for (np = n->ncmd.redirect ; np ; np = np->nfile.next) {
bin/sh/parser.c
1037
np = (union node *)stalloc(sizeof (struct nfile));
bin/sh/parser.c
1039
np->nfile.fd = 1;
bin/sh/parser.c
1052
np->nfile.fd = 0;
bin/sh/parser.c
1055
if (sizeof (struct nfile) != sizeof (struct nhere)) {
bin/sh/parser.c
1057
np->nfile.fd = 0;
bin/sh/parser.c
1078
np->nfile.fd = digit_val(fd);
bin/sh/parser.c
435
rpp = &n2->nfile.next;
bin/sh/parser.c
607
rpp = &n2->nfile.next;
bin/sh/parser.c
661
rpp = &n->nfile.next;
bin/sh/parser.c
784
n->nfile.fname = makename();
bin/sh/pregenerated/nodes.c
197
calcsize(n->nfile.fname, result);
bin/sh/pregenerated/nodes.c
198
calcsize(n->nfile.next, result);
bin/sh/pregenerated/nodes.c
293
new->nfile.fname = copynode(n->nfile.fname, state);
bin/sh/pregenerated/nodes.c
294
new->nfile.next = copynode(n->nfile.next, state);
bin/sh/pregenerated/nodes.c
295
new->nfile.fd = n->nfile.fd;
bin/sh/pregenerated/nodes.c
81
ALIGN(sizeof (struct nfile)),
bin/sh/pregenerated/nodes.c
82
ALIGN(sizeof (struct nfile)),
bin/sh/pregenerated/nodes.c
83
ALIGN(sizeof (struct nfile)),
bin/sh/pregenerated/nodes.c
84
ALIGN(sizeof (struct nfile)),
bin/sh/pregenerated/nodes.c
85
ALIGN(sizeof (struct nfile)),
bin/sh/pregenerated/nodes.h
146
struct nfile nfile;
bin/sh/redir.c
136
for (n = redir ; n ; n = n->nfile.next) {
bin/sh/redir.c
137
fd = n->nfile.fd;
bin/sh/redir.c
140
if ((n->nfile.type == NTOFD || n->nfile.type == NFROMFD) &&
bin/sh/redir.c
181
int fd = redir->nfile.fd;
bin/sh/redir.c
187
switch (redir->nfile.type) {
bin/sh/redir.c
189
fname = redir->nfile.expfname;
bin/sh/redir.c
194
fname = redir->nfile.expfname;
bin/sh/redir.c
200
fname = redir->nfile.expfname;
bin/sh/redir.c
219
fname = redir->nfile.expfname;
bin/sh/redir.c
224
fname = redir->nfile.expfname;
bin/sh/show.c
138
for (np = cmd->ncmd.redirect ; np ; np = np->nfile.next) {
bin/sh/show.c
141
switch (np->nfile.type) {
bin/sh/show.c
153
if (np->nfile.fd != dftfd)
bin/sh/show.c
154
fprintf(fp, "%d", np->nfile.fd);
bin/sh/show.c
156
if (np->nfile.type == NTOFD || np->nfile.type == NFROMFD) {
bin/sh/show.c
161
} else if (np->nfile.type == NHERE) {
bin/sh/show.c
163
} else if (np->nfile.type == NXHERE) {
bin/sh/show.c
166
sharg(np->nfile.fname, fp);
usr.bin/gzip/gzip.c
1881
print_verbage(const char *file, const char *nfile, off_t usize, off_t gsize)
usr.bin/gzip/gzip.c
1887
if (nfile)
usr.bin/gzip/gzip.c
1888
fprintf(stderr, " -- replaced with %s", nfile);
usr.sbin/lpr/common_source/displayq.c
400
show(const char *nfile, const char *datafile, int copies)
usr.sbin/lpr/common_source/displayq.c
402
if (strcmp(nfile, " ") == 0)
usr.sbin/lpr/common_source/displayq.c
403
nfile = "(standard input)";
usr.sbin/lpr/common_source/displayq.c
405
ldump(nfile, datafile, copies);
usr.sbin/lpr/common_source/displayq.c
407
dump(nfile, datafile, copies);
usr.sbin/lpr/common_source/displayq.c
424
dump(const char *nfile, const char *datafile, int copies)
usr.sbin/lpr/common_source/displayq.c
438
nlen = strlen(nfile);
usr.sbin/lpr/common_source/displayq.c
443
printf("...%s ", &nfile[3+nlen-rem]);
usr.sbin/lpr/common_source/displayq.c
456
lastsep = strrchr(nfile, '/');
usr.sbin/lpr/common_source/displayq.c
469
printf("%s", nfile);
usr.sbin/lpr/common_source/displayq.c
484
ldump(const char *nfile, const char *datafile, int copies)
usr.sbin/lpr/common_source/displayq.c
490
printf("%-2d copies of %-19s", copies, nfile);
usr.sbin/lpr/common_source/displayq.c
492
printf("%-32s", nfile);
usr.sbin/lpr/lpr/lpr.c
109
static int nfile(char *_n);
usr.sbin/lpr/lpr/lpr.c
320
tfd = nfile(tfname);
usr.sbin/lpr/lpr/lpr.c
540
fd = nfile(dfname);
usr.sbin/pfctl/parse.y
531
struct file *nfile;
usr.sbin/pfctl/parse.y
533
if ((nfile = pushfile($2, 0)) == NULL) {
usr.sbin/pfctl/parse.y
540
file = nfile;
usr.sbin/pfctl/parse.y
5717
struct file *nfile;
usr.sbin/pfctl/parse.y
5719
if ((nfile = calloc(1, sizeof(struct file))) == NULL ||
usr.sbin/pfctl/parse.y
5720
(nfile->name = strdup(name)) == NULL) {
usr.sbin/pfctl/parse.y
5724
if (TAILQ_FIRST(&files) == NULL && strcmp(nfile->name, "-") == 0) {
usr.sbin/pfctl/parse.y
5725
nfile->stream = stdin;
usr.sbin/pfctl/parse.y
5726
free(nfile->name);
usr.sbin/pfctl/parse.y
5727
if ((nfile->name = strdup("stdin")) == NULL) {
usr.sbin/pfctl/parse.y
5729
free(nfile);
usr.sbin/pfctl/parse.y
5732
} else if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/pfctl/parse.y
5733
warn("%s", nfile->name);
usr.sbin/pfctl/parse.y
5734
free(nfile->name);
usr.sbin/pfctl/parse.y
5735
free(nfile);
usr.sbin/pfctl/parse.y
5738
check_file_secrecy(fileno(nfile->stream), nfile->name)) {
usr.sbin/pfctl/parse.y
5739
fclose(nfile->stream);
usr.sbin/pfctl/parse.y
5740
free(nfile->name);
usr.sbin/pfctl/parse.y
5741
free(nfile);
usr.sbin/pfctl/parse.y
5744
nfile->lineno = 1;
usr.sbin/pfctl/parse.y
5745
TAILQ_INSERT_TAIL(&files, nfile, entry);
usr.sbin/pfctl/parse.y
5746
return (nfile);
usr.sbin/pstat/pstat.c
866
int maxfile, nfile;
usr.sbin/pstat/pstat.c
872
if (kinfo_get_openfiles(&nfile))
usr.sbin/pstat/pstat.c
874
printf("%3d/%3d files\n", nfile, maxfile);