Searched refs:builtin_opt (Results 1 – 6 of 6) sorted by relevance
/external/mksh/src/ |
D | funcs.c | 253 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 …]
|
D | var.c | 1873 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 …]
|
D | exec.c | 547 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()
|
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 | 2116 while ((optc = ksh_getopt(wp, &builtin_opt, "eLP")) != -1) in c_cd() 2130 wp += builtin_opt.optind; in c_cd()
|
D | sh.h | 1562 EXTERN Getopt builtin_opt; /* for shell builtin commands */ variable
|