Lines Matching refs:builtin_opt
255 while ((optc = ksh_getopt(wp, &builtin_opt, "LP")) != -1) in c_pwd()
266 wp += builtin_opt.optind; in c_pwd()
394 while ((c = ksh_getopt(wp, &builtin_opt, opts)) != -1) in c_print()
423 wp += builtin_opt.optind; in c_print()
432 if (!*(s = builtin_opt.optarg)) in c_print()
443 if (!(builtin_opt.info & GI_MINUSMINUS)) { in c_print()
445 if (wp[builtin_opt.optind] && in c_print()
446 ksh_isdash(wp[builtin_opt.optind])) in c_print()
447 builtin_opt.optind++; in c_print()
449 wp += builtin_opt.optind; in c_print()
614 while ((optc = ksh_getopt(wp, &builtin_opt, Tpv)) != -1) in c_whence()
625 wp += builtin_opt.optind; in c_whence()
638 while ((optc = ksh_getopt(wp, &builtin_opt, TpVv)) != -1) in c_command()
652 wp += builtin_opt.optind; in c_command()
802 builtin_opt.flags |= GF_PLUSOPT; in c_alias()
803 while ((optc = ksh_getopt(wp, &builtin_opt, "dprtUx")) != -1) { in c_alias()
804 prefix = builtin_opt.info & GI_PLUS ? '+' : '-'; in c_alias()
840 wp += builtin_opt.optind; in c_alias()
842 if (!(builtin_opt.info & GI_MINUSMINUS) && *wp && in c_alias()
862 ksh_getopt_reset(&builtin_opt, GF_ERROR); in c_alias()
952 while ((optc = ksh_getopt(wp, &builtin_opt, "adt")) != -1) in c_unalias()
975 wp += builtin_opt.optind; in c_unalias()
1031 while ((optc = ksh_getopt(wp, &builtin_opt, "lpnz")) != -1) in c_jobs()
1049 wp += builtin_opt.optind; in c_jobs()
1072 if (ksh_getopt(wp, &builtin_opt, null) == '?') in c_fgbg()
1074 wp += builtin_opt.optind; in c_fgbg()
1116 while ((optc = ksh_getopt(wp, &builtin_opt, "ls:")) != -1) in c_kill()
1122 if (!(t = gettrap(builtin_opt.optarg, in c_kill()
1125 builtin_opt.optarg); in c_kill()
1132 i = builtin_opt.optind; in c_kill()
1236 if (ksh_getopt(wp, &builtin_opt, null) == '?') in c_getopts()
1238 wp += builtin_opt.optind; in c_getopts()
1333 while ((optc = ksh_getopt(wp, &builtin_opt, "lm")) != -1) in c_bind()
1345 wp += builtin_opt.optind; in c_bind()
1373 if (ksh_getopt(wp, &builtin_opt, null) == '?') in c_shift()
1375 arg = wp[builtin_opt.optind]; in c_shift()
1409 while ((optc = ksh_getopt(wp, &builtin_opt, "S")) != -1) in c_umask()
1417 cp = wp[builtin_opt.optind]; in c_umask()
1543 if (ksh_getopt(wp, &builtin_opt, null) == '?') in c_dot()
1546 if ((cp = wp[builtin_opt.optind]) == NULL) { in c_dot()
1560 if (wp[builtin_opt.optind + 1]) { in c_dot()
1561 argv = wp + builtin_opt.optind; in c_dot()
1588 if (ksh_getopt(wp, &builtin_opt, null) == '?') in c_wait()
1590 wp += builtin_opt.optind; in c_wait()
1637 while ((c = ksh_getopt(wp, &builtin_opt, c_read_opts)) != -1) in c_read()
1646 delim = builtin_opt.optarg[0]; in c_read()
1651 if (!bi_getn(builtin_opt.optarg, &c)) in c_read()
1673 if (parse_usec(builtin_opt.optarg, &tv)) { in c_read()
1675 builtin_opt.optarg); in c_read()
1682 if (!builtin_opt.optarg[0]) in c_read()
1684 else if ((fd = check_fd(builtin_opt.optarg, R_OK, &ccp)) < 0) { in c_read()
1685 bi_errorf(Tf_sD_sD_s, Tdu, builtin_opt.optarg, ccp); in c_read()
1692 wp += builtin_opt.optind; in c_read()
2046 if (ksh_getopt(wp, &builtin_opt, null) == '?') in c_eval()
2049 s->u.strv = wp + builtin_opt.optind; in c_eval()
2102 if (ksh_getopt(wp, &builtin_opt, null) == '?') in c_trap()
2104 wp += builtin_opt.optind; in c_trap()
2190 if (ksh_getopt(wp, &builtin_opt, null) == '?') in c_brkcont()
2192 arg = wp[builtin_opt.optind]; in c_brkcont()
2302 while ((optc = ksh_getopt(wp, &builtin_opt, "fv")) != -1) in c_unset()
2314 wp += builtin_opt.optind; in c_unset()
2521 while ((optc = ksh_getopt(wp, &builtin_opt, "m:")) != -1) { in c_mknod()
2524 set = setmode(builtin_opt.optarg); in c_mknod()
2536 argv = &wp[builtin_opt.optind]; in c_mknod()
3307 while ((rv = ksh_getopt(wp, &builtin_opt, Tu)) != -1) { in c_cat()
3317 wp += builtin_opt.optind; in c_cat()