Lines Matching refs:val
721 if (!mksh_abspath(tp->val.s)) {
725 size_t clen = strlen(tp->val.s) + 1;
732 memcpy(xp + xlen, tp->val.s, clen);
737 shf_puts(tp->val.s, shl_stdout);
755 print_value_quoted(shl_stdout, tp->val.s);
876 print_value_quoted(shl_stdout, ap->val.s);
883 const char *alias = *wp, *val, *newval;
888 if ((val = cstrchr(alias, '='))) {
889 strndupx(xalias, alias, val++ - alias, ATEMP);
898 if (val == NULL && !tflag && !xflag) {
906 print_value_quoted(shl_stdout, ap->val.s);
918 if ((val && !tflag) || (!val && tflag && !Uflag)) {
921 afree(ap->val.s, APERM);
926 val;
928 strdupx(ap->val.s, newval, APERM);
986 afree(ap->val.s, APERM);
997 afree(ap->val.s, APERM);
1010 mksh_ari_t val;
1017 if (!evaluate(*wp, &val, KSH_RETURN_ERROR, true)) {
1022 rv = val == 0;
1219 getopts_reset(int val)
1221 if (val >= 1) {
1224 user_opt.optind = user_opt.uoptind = val;
1362 mksh_ari_t val;
1379 else if (!evaluate(arg, &val, KSH_RETURN_ERROR, false)) {
1383 } else if (!(n = val)) {