Searched refs:builtin_opt (Results 1 – 7 of 7) sorted by relevance
/third_party/mksh/ |
D | funcs.c | 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() [all …]
|
D | ulimit.c | 207 while ((optc = ksh_getopt(wp, &builtin_opt, rlimits_opts)) != -1) in c_ulimit() 238 if (wp[builtin_opt.optind]) { in c_ulimit() 239 if (all || wp[builtin_opt.optind + 1]) { in c_ulimit() 243 return (set_ulimit(rlimits[i], wp[builtin_opt.optind], how)); in c_ulimit()
|
D | var.c | 1906 builtin_opt.flags |= GF_PLUSOPT; in c_typeset() 1916 while ((i = ksh_getopt(wp, &builtin_opt, opts)) != -1) { in c_typeset() 1921 fieldstr = builtin_opt.optarg; in c_typeset() 1925 fieldstr = builtin_opt.optarg; in c_typeset() 1937 fieldstr = builtin_opt.optarg; in c_typeset() 1950 localv = (builtin_opt.info & GI_PLUS) ? true : false; in c_typeset() 1954 basestr = builtin_opt.optarg; in c_typeset() 1960 new_refflag = (builtin_opt.info & GI_PLUS) ? in c_typeset() 1986 if (builtin_opt.info & GI_PLUS) { in c_typeset() 2010 if (!(builtin_opt.info & GI_MINUSMINUS) && wp[builtin_opt.optind] && in c_typeset() [all …]
|
D | exec.c | 542 ksh_getopt_reset(&builtin_opt, GF_ERROR); in comexec() 543 while ((optc = ksh_getopt(ap, &builtin_opt, "a:c")) != -1) in comexec() 546 exec_argv0 = builtin_opt.optarg; in comexec() 557 ap += builtin_opt.optind; in comexec() 570 ksh_getopt_reset(&builtin_opt, 0); in comexec() 571 while ((optc = ksh_getopt(ap, &builtin_opt, ":p")) == 'p') in comexec() 587 ap += builtin_opt.optind; in comexec() 1391 ksh_getopt_reset(&builtin_opt, GF_ERROR); in call_builtin()
|
D | histrap.c | 100 while ((optc = ksh_getopt(wp, &builtin_opt, in c_fc() 105 p = builtin_opt.optarg; in c_fc() 144 optc, builtin_opt.optarg); in c_fc() 158 wp += builtin_opt.optind; in c_fc()
|
D | misc.c | 2174 while ((optc = ksh_getopt(wp, &builtin_opt, "eLP")) != -1) in c_cd() 2188 wp += builtin_opt.optind; in c_cd()
|
D | sh.h | 1632 EXTERN Getopt builtin_opt; /* for shell builtin commands */ variable
|