Lines Matching refs:what
288 change_flag(f, what, newval)
290 int what; /* what is changing the flag (command line vs set) */
299 if (what != OF_CMDLINE && newval != oldval)
342 if ((what == OF_CMDLINE || what == OF_SET) && procpid == kshpid)
351 parse_args(argv, what, setargsp)
353 int what; /* OF_CMDLINE or OF_SET */
385 if (what == OF_CMDLINE) {
410 * an option (ie, can't get here if what is
424 else if (i >= 0 && (goptions[i].flags & what))
425 change_flag((enum sh_flag) i, what, set);
437 if (what == OF_SET && optc == 's') {
443 && (what & goptions[i].flags))
445 change_flag((enum sh_flag) i, what,