Home
last modified time | relevance | path

Searched refs:builtin_opt (Results 1 – 5 of 5) sorted by relevance

/external/mksh/src/
Dfuncs.c242 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 …]
Dexec.c563 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()
Dhistrap.c106 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()
Dmisc.c1805 while ((optc = ksh_getopt(wp, &builtin_opt, "eLP")) != -1) in c_cd()
1819 wp += builtin_opt.optind; in c_cd()
Dsh.h1030 EXTERN Getopt builtin_opt; /* for shell builtin commands */ variable