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.c1873 builtin_opt.flags |= GF_PLUSOPT; in c_typeset()
1883 while ((i = ksh_getopt(wp, &builtin_opt, opts)) != -1) { in c_typeset()
1888 fieldstr = builtin_opt.optarg; in c_typeset()
1892 fieldstr = builtin_opt.optarg; in c_typeset()
1904 fieldstr = builtin_opt.optarg; in c_typeset()
1917 localv = (builtin_opt.info & GI_PLUS) ? true : false; in c_typeset()
1921 basestr = builtin_opt.optarg; in c_typeset()
1927 new_refflag = (builtin_opt.info & GI_PLUS) ? in c_typeset()
1953 if (builtin_opt.info & GI_PLUS) { in c_typeset()
1977 if (!(builtin_opt.info & GI_MINUSMINUS) && wp[builtin_opt.optind] && in c_typeset()
[all …]
Dexec.c547 ksh_getopt_reset(&builtin_opt, GF_ERROR); in comexec()
548 while ((optc = ksh_getopt(ap, &builtin_opt, "a:c")) != -1) in comexec()
551 exec_argv0 = builtin_opt.optarg; in comexec()
562 ap += builtin_opt.optind; in comexec()
574 ksh_getopt_reset(&builtin_opt, 0); in comexec()
575 while ((optc = ksh_getopt(ap, &builtin_opt, ":p")) == 'p') in comexec()
591 ap += builtin_opt.optind; in comexec()
1397 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.c2116 while ((optc = ksh_getopt(wp, &builtin_opt, "eLP")) != -1) in c_cd()
2130 wp += builtin_opt.optind; in c_cd()
Dsh.h1562 EXTERN Getopt builtin_opt; /* for shell builtin commands */ variable