Symbol: parsefile
bin/sh/eval.c
830
struct parsefile *savetopfile;
bin/sh/input.c
130
parsenextc = parsefile->buf;
bin/sh/input.c
134
if (parsefile->fd == 0 && el) {
bin/sh/input.c
148
memcpy(parsefile->buf, rl_cp, nr);
bin/sh/input.c
157
nr = read(parsefile->fd, parsefile->buf, BUFSIZ);
bin/sh/input.c
163
if (parsefile->fd == 0 && errno == EWOULDBLOCK) {
bin/sh/input.c
195
while (parsefile->strpush) {
bin/sh/input.c
201
if (parsenleft == -1 && parsefile->strpush->ap != NULL)
bin/sh/input.c
207
if (parsenleft == EOF_NLEFT || parsefile->buf == NULL)
bin/sh/input.c
218
p = parsefile->buf + (parsenextc - parsefile->buf);
bin/sh/input.c
249
if (parsefile->fd == 0 && hist &&
bin/sh/input.c
279
if (parsefile->strpush)
bin/sh/input.c
281
if (parsenleft == EOF_NLEFT || parsefile->buf == NULL)
bin/sh/input.c
309
if (parsefile->strpush) {
bin/sh/input.c
311
sp->prev = parsefile->strpush;
bin/sh/input.c
312
parsefile->strpush = sp;
bin/sh/input.c
314
sp = parsefile->strpush = &(parsefile->basestrpush);
bin/sh/input.c
329
struct strpush *sp = parsefile->strpush;
bin/sh/input.c
342
parsefile->strpush = sp->prev;
bin/sh/input.c
343
if (sp != &(parsefile->basestrpush))
bin/sh/input.c
396
parsefile->buf = ckmalloc(BUFSIZ + 1);
bin/sh/input.c
398
if (parsefile->fd > 0)
bin/sh/input.c
399
close(parsefile->fd);
bin/sh/input.c
400
parsefile->fd = fd;
bin/sh/input.c
401
if (parsefile->buf == NULL)
bin/sh/input.c
402
parsefile->buf = ckmalloc(BUFSIZ + 1);
bin/sh/input.c
420
parsefile->buf = NULL;
bin/sh/input.c
435
struct parsefile *pf;
bin/sh/input.c
437
parsefile->nleft = parsenleft;
bin/sh/input.c
438
parsefile->lleft = parselleft;
bin/sh/input.c
439
parsefile->nextc = parsenextc;
bin/sh/input.c
440
parsefile->linno = plinno;
bin/sh/input.c
441
pf = (struct parsefile *)ckmalloc(sizeof (struct parsefile));
bin/sh/input.c
442
pf->prev = parsefile;
bin/sh/input.c
446
parsefile = pf;
bin/sh/input.c
453
struct parsefile *pf = parsefile;
bin/sh/input.c
462
parsefile = pf->prev;
bin/sh/input.c
464
parsenleft = parsefile->nleft;
bin/sh/input.c
465
parselleft = parsefile->lleft;
bin/sh/input.c
466
parsenextc = parsefile->nextc;
bin/sh/input.c
467
plinno = parsefile->linno;
bin/sh/input.c
476
struct parsefile *
bin/sh/input.c
479
return parsefile;
bin/sh/input.c
490
popfilesupto(struct parsefile *file)
bin/sh/input.c
492
while (parsefile != file && parsefile != &basepf)
bin/sh/input.c
494
if (parsefile != file)
bin/sh/input.c
505
while (parsefile != &basepf)
bin/sh/input.c
520
if (parsefile->fd > 0) {
bin/sh/input.c
521
close(parsefile->fd);
bin/sh/input.c
522
parsefile->fd = 0;
bin/sh/input.c
77
struct parsefile *prev; /* preceding file on stack */
bin/sh/input.c
94
static struct parsefile basepf = { /* top level input file */
bin/sh/input.c
98
static struct parsefile *parsefile = &basepf; /* current input file */
bin/sh/input.h
47
struct parsefile;
bin/sh/input.h
59
struct parsefile *getcurrentfile(void);
bin/sh/input.h
60
void popfilesupto(struct parsefile *);
bin/sh/parser.c
1095
struct parsefile *const savetopfile = getcurrentfile();
bin/sh/parser.c
2364
struct parsefile *const savetopfile = getcurrentfile();
sbin/sysctl/sysctl.c
257
warncount += parsefile(file);
sbin/sysctl/sysctl.c
79
static int parsefile(FILE *);