Lines Matching refs:rval
620 static char rval[64]; in format_grouping() local
632 rval[0] = '\0'; in format_grouping()
639 len = snprintf(&rval[roff], sizeof(rval) - roff, "%u;", *cp); in format_grouping()
640 if (len < 0 || (unsigned)len >= sizeof(rval) - roff) in format_grouping()
649 rval[roff - 1] = '\0'; in format_grouping()
651 return (&rval[0]); in format_grouping()
661 char *rval; in kwval_lconv() local
663 rval = NULL; in kwval_lconv()
667 rval = format_grouping(lc->grouping); in kwval_lconv()
670 rval = lc->int_curr_symbol; in kwval_lconv()
673 rval = lc->currency_symbol; in kwval_lconv()
676 rval = lc->mon_decimal_point; in kwval_lconv()
679 rval = lc->mon_thousands_sep; in kwval_lconv()
682 rval = format_grouping(lc->mon_grouping); in kwval_lconv()
685 rval = lc->positive_sign; in kwval_lconv()
688 rval = lc->negative_sign; in kwval_lconv()
691 rval = &(lc->int_frac_digits); in kwval_lconv()
694 rval = &(lc->frac_digits); in kwval_lconv()
697 rval = &(lc->p_cs_precedes); in kwval_lconv()
700 rval = &(lc->p_sep_by_space); in kwval_lconv()
703 rval = &(lc->n_cs_precedes); in kwval_lconv()
706 rval = &(lc->n_sep_by_space); in kwval_lconv()
709 rval = &(lc->p_sign_posn); in kwval_lconv()
712 rval = &(lc->n_sign_posn); in kwval_lconv()
715 rval = &(lc->int_p_cs_precedes); in kwval_lconv()
718 rval = &(lc->int_p_sep_by_space); in kwval_lconv()
721 rval = &(lc->int_n_cs_precedes); in kwval_lconv()
724 rval = &(lc->int_n_sep_by_space); in kwval_lconv()
727 rval = &(lc->int_p_sign_posn); in kwval_lconv()
730 rval = &(lc->int_n_sign_posn); in kwval_lconv()
735 return (rval); in kwval_lconv()
745 char *rval; in kwval_ltime() local
767 if (asprintf(&rval, "%s;%s", in kwval_ltime()
771 return (rval); in kwval_ltime()
783 rval = strdup(sbuf_data(kwsbuf)); in kwval_ltime()
784 if (rval == NULL) in kwval_ltime()
787 return (rval); in kwval_ltime()
796 int rval; in kwval_lookup() local
800 rval = 0; in kwval_lookup()
804 rval = 1; in kwval_lookup()
832 return (rval); in kwval_lookup()