Searched refs:builtin_opt (Results 1 – 5 of 5) sorted by relevance
/external/mksh/src/ |
D | funcs.c | 242 while ((optc = ksh_getopt(wp, &builtin_opt, "LP")) != -1) in c_pwd() 253 wp += builtin_opt.optind; in c_pwd() 358 while ((c = ksh_getopt(wp, &builtin_opt, opts)) != -1) in c_print() 385 if (!*(s = builtin_opt.optarg)) in c_print() 396 if (!(builtin_opt.info & GI_MINUSMINUS)) { in c_print() 398 if (wp[builtin_opt.optind] && in c_print() 399 ksh_isdash(wp[builtin_opt.optind])) in c_print() 400 builtin_opt.optind++; in c_print() 402 builtin_opt.optind--; in c_print() 403 wp += builtin_opt.optind; in c_print() [all …]
|
D | exec.c | 563 ksh_getopt_reset(&builtin_opt, GF_ERROR); in comexec() 564 while ((optc = ksh_getopt(ap, &builtin_opt, "a:c")) != -1) in comexec() 567 exec_argv0 = builtin_opt.optarg; in comexec() 578 ap += builtin_opt.optind; in comexec() 587 ksh_getopt_reset(&builtin_opt, 0); in comexec() 588 while ((optc = ksh_getopt(ap, &builtin_opt, ":p")) == 'p') in comexec() 604 ap += builtin_opt.optind; in comexec() 1348 ksh_getopt_reset(&builtin_opt, GF_ERROR); in call_builtin()
|
D | histrap.c | 106 while ((optc = ksh_getopt(wp, &builtin_opt, in c_fc() 111 p = builtin_opt.optarg; in c_fc() 150 optc, builtin_opt.optarg); in c_fc() 164 wp += builtin_opt.optind; in c_fc()
|
D | misc.c | 1805 while ((optc = ksh_getopt(wp, &builtin_opt, "eLP")) != -1) in c_cd() 1819 wp += builtin_opt.optind; in c_cd()
|
D | sh.h | 1030 EXTERN Getopt builtin_opt; /* for shell builtin commands */ variable
|