Home
last modified time | relevance | path

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

/external/mksh/src/
Dfuncs.c253 while ((optc = ksh_getopt(wp, &builtin_opt, "LP")) != -1) in c_pwd()
264 wp += builtin_opt.optind; in c_pwd()
392 while ((c = ksh_getopt(wp, &builtin_opt, opts)) != -1) in c_print()
421 wp += builtin_opt.optind; in c_print()
430 if (!*(s = builtin_opt.optarg)) in c_print()
441 if (!(builtin_opt.info & GI_MINUSMINUS)) { in c_print()
443 if (wp[builtin_opt.optind] && in c_print()
444 ksh_isdash(wp[builtin_opt.optind])) in c_print()
445 builtin_opt.optind++; in c_print()
447 wp += builtin_opt.optind; in c_print()
[all …]
Dvar.c1828 builtin_opt.flags |= GF_PLUSOPT; in c_typeset()
1838 while ((i = ksh_getopt(wp, &builtin_opt, opts)) != -1) { in c_typeset()
1843 fieldstr = builtin_opt.optarg; in c_typeset()
1847 fieldstr = builtin_opt.optarg; in c_typeset()
1859 fieldstr = builtin_opt.optarg; in c_typeset()
1872 localv = (builtin_opt.info & GI_PLUS) ? true : false; in c_typeset()
1876 basestr = builtin_opt.optarg; in c_typeset()
1882 new_refflag = (builtin_opt.info & GI_PLUS) ? in c_typeset()
1908 if (builtin_opt.info & GI_PLUS) { in c_typeset()
1932 if (!(builtin_opt.info & GI_MINUSMINUS) && wp[builtin_opt.optind] && in c_typeset()
[all …]
Dexec.c540 ksh_getopt_reset(&builtin_opt, GF_ERROR); in comexec()
541 while ((optc = ksh_getopt(ap, &builtin_opt, "a:c")) != -1) in comexec()
544 exec_argv0 = builtin_opt.optarg; in comexec()
555 ap += builtin_opt.optind; in comexec()
564 ksh_getopt_reset(&builtin_opt, 0); in comexec()
565 while ((optc = ksh_getopt(ap, &builtin_opt, ":p")) == 'p') in comexec()
581 ap += builtin_opt.optind; in comexec()
1382 ksh_getopt_reset(&builtin_opt, GF_ERROR); in call_builtin()
Dhistrap.c100 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()
Dmisc.c1815 while ((optc = ksh_getopt(wp, &builtin_opt, "eLP")) != -1) in c_cd()
1829 wp += builtin_opt.optind; in c_cd()
Dsh.h1348 EXTERN Getopt builtin_opt; /* for shell builtin commands */ variable