Lines Matching refs:Flag
246 Flag(FAS_BUILTIN) = 1; in main_init()
248 if (!Flag(FAS_BUILTIN)) { in main_init()
318 Flag(FNOHUP) = 1; in main_init()
324 Flag(FBRACEEXPAND) = 1; in main_init()
334 Flag(FVITABCOMPLETE) = 1; in main_init()
399 Flag(FPRIVILEGED) = kshuid != ksheuid || kshgid != kshegid; in main_init()
403 Flag(FMONITOR) = 127; in main_init()
408 if (!Flag(FAS_BUILTIN)) { in main_init()
456 if (Flag(FAS_BUILTIN)) { in main_init()
459 } else if (Flag(FCOMMAND)) { in main_init()
475 if (Flag(FSH) && argv[argi] && !strcmp(argv[argi], "--")) in main_init()
480 } else if (argi < argc && !Flag(FSTDIN)) { in main_init()
494 Flag(FSTDIN) = 1; in main_init()
500 Flag(FTALKING) = Flag(FTALKING_I) = 1; in main_init()
510 Flag(FTALKING)) in main_init()
516 if (Flag(FTALKING)) { in main_init()
540 if (Flag(FAS_BUILTIN)) { in main_init()
603 restricted = Flag(FRESTRICTED); in main_init()
604 Flag(FRESTRICTED) = 0; in main_init()
605 errexit = Flag(FERREXIT); in main_init()
606 Flag(FERREXIT) = 0; in main_init()
612 if (!current_wd[0] && Flag(FTALKING)) in main_init()
615 if (Flag(FLOGIN)) { in main_init()
617 if (!Flag(FPRIVILEGED)) in main_init()
621 if (Flag(FPRIVILEGED)) in main_init()
623 else if (Flag(FTALKING)) { in main_init()
636 Flag(FRESTRICTED) = 1; in main_init()
638 Flag(FERREXIT) = errexit; in main_init()
640 if (Flag(FTALKING) && s) in main_init()
644 Flag(FTRACKALL) = 1; in main_init()
663 if (Flag(FAS_BUILTIN)) { in main()
761 volatile bool interactive = Flag(FTALKING) && toplevel; in shell()
783 if (Flag(FIGNOREEOF) && s->type == SEOF && wastty) in shell()
819 if (Flag(FVERBOSE)) in shell()
833 if (wastty && Flag(FIGNOREEOF) && --attempts > 0) { in shell()
856 if (!Flag(FNOEXEC) || (s->flags & SF_TTY)) in shell()
885 if (Flag(FERREXIT) & 0x80) { in unwind()
888 Flag(FERREXIT) &= ~0x80; in unwind()
898 } else if (Flag(FERREXIT) == 1 && (i == LERROR || i == LINTR)) { in unwind()
981 if (Flag(FTALKING)) in quitenv()