Lines Matching refs:op
167 #define NOBLOCK ((struct op *)NULL)
196 struct op {
200 struct op *left;
201 struct op *right;
349 struct op *o;
377 static struct op *pipeline(int cf);
378 static struct op *andor(void);
379 static struct op *c_list(void);
382 static struct op *simple(void);
383 static struct op *nested(int type, int mark);
384 static struct op *command(int cf);
385 static struct op *dogroup(int onlydone);
386 static struct op *thenpart(void);
387 static struct op *elsepart(void);
388 static struct op *caselist(void);
389 static struct op *casepart(void);
392 static struct op *list(struct op *t1, struct op *t2);
393 static struct op *block(int type, struct op *t1, struct op *t2, char **wp);
394 static struct op *newtp(void);
395 static struct op *namelist(struct op *t);
422 static int execute(struct op *t, int *pin, int *pout, int act);
531 static int forkexec(struct op *t, int *pin, int *pout, int act, char **wp);
534 static int dolabel(struct op *t);
535 static int dohelp(struct op *t);
536 static int dochdir(struct op *t);
537 static int doshift(struct op *t);
538 static int dologin(struct op *t);
539 static int doumask(struct op *t);
540 static int doexec(struct op *t);
541 static int dodot(struct op *t);
542 static int dowait(struct op *t);
543 static int doread(struct op *t);
544 static int doeval(struct op *t);
545 static int dotrap(struct op *t);
549 static int dobreak(struct op *t);
550 static int docontinue(struct op *t);
552 static int doexit(struct op *t);
553 static int doexport(struct op *t);
554 static int doreadonly(struct op *t);
557 static int doset(struct op *t);
559 static int dotimes(struct op *t);
629 int (*builtinfunc)(struct op *t);
655 static struct op *scantree(struct op *);
656 static struct op *dowholefile(int, int);
667 static struct op *outtree; /* result from parser */
752 void print_t(struct op *t)
762 void print_tree(struct op *head)
1319 struct op *scantree(struct op *head)
1321 struct op *dotnode;
1614 static struct op *pipeline(int cf)
1616 struct op *t, *p;
1647 static struct op *andor(void)
1649 struct op *t, *p;
1676 static struct op *c_list(void)
1678 struct op *t, *p;
1748 static struct op *simple(void)
1750 struct op *t;
1775 static struct op *nested(int type, int mark)
1777 struct op *t;
1788 static struct op *command(int cf)
1790 struct op *t;
1903 static struct op *dowholefile(int type, int mark)
1905 struct op *t;
1917 static struct op *dogroup(int onlydone)
1920 struct op *mylist;
1932 static struct op *thenpart(void)
1935 struct op *t;
1951 static struct op *elsepart(void)
1954 struct op *t;
1976 static struct op *caselist(void)
1978 struct op *t;
1990 static struct op *casepart(void)
1992 struct op *t;
2047 static struct op *list(struct op *t1, struct op *t2)
2059 static struct op *block(int type, struct op *t1, struct op *t2, char **wp)
2061 struct op *t;
2094 static struct op *newtp(void)
2096 struct op *t;
2098 t = (struct op *) tree(sizeof(*t));
2111 static struct op *namelist(struct op *t)
2405 static struct op **find1case(struct op *t, const char *w)
2407 struct op *t1;
2408 struct op **tp;
2443 static struct op *findcase(struct op *t, const char *w)
2445 struct op **tp;
2455 static int execute(struct op *t, int *pin, int *pout, int act)
2457 struct op *t1;
2462 struct op *outtree_save;
2674 typedef int (*builtin_func_ptr)(struct op *);
2686 static int forkexec(struct op *t, int *pin, int *pout, int act, char **wp)
3117 struct op *otree;
3169 static int dohelp(struct op *t)
3205 static int dolabel(struct op *t)
3210 static int dochdir(struct op *t)
3231 static int doshift(struct op *t)
3250 static int dologin(struct op *t)
3265 static int doumask(struct op *t)
3286 static int doexec(struct op *t)
3306 static int dodot(struct op *t)
3359 static int dowait(struct op *t)
3375 static int doread(struct op *t)
3402 static int doeval(struct op *t)
3407 static int dotrap(struct op *t)
3488 static int dobreak(struct op *t)
3493 static int docontinue(struct op *t)
3521 static int doexit(struct op *t)
3537 static int doexport(struct op *t)
3543 static int doreadonly(struct op *t)
3578 static int doset(struct op *t)
3637 static int dotimes(struct op *t)
4316 char *op, *xp;
4318 p = op = space((int)(end1 - start1) + strlen(middle) + strlen(end) + 2);
4320 *op++ = *xp++;
4321 for (xp = middle; (*op++ = *xp++) != '\0';);
4322 op--;
4323 for (xp = end; (*op++ = *xp++) != '\0';);