Lines Matching refs:user_opt
1195 ksh_getopt_reset(&user_opt, GF_NONAME | in getopts_reset()
1197 user_opt.optind = user_opt.uoptind = val; in getopts_reset()
1242 if (user_opt.optind > argc || in c_getopts()
1243 (user_opt.p != 0 && in c_getopts()
1244 user_opt.p > strlen(wp[user_opt.optind - 1]))) { in c_getopts()
1249 user_opt.optarg = NULL; in c_getopts()
1250 optc = ksh_getopt(wp, &user_opt, opts); in c_getopts()
1252 if (optc >= 0 && optc != '?' && (user_opt.info & GI_PLUS)) { in c_getopts()
1266 user_opt.uoptind = user_opt.optind; in c_getopts()
1274 if (user_opt.optarg == NULL) in c_getopts()
1278 setstr(voptarg, user_opt.optarg, KSH_RETURN_ERROR); in c_getopts()