Lines Matching refs:mon
31 static struct lc_monetary mon;
36 (void) memset(&mon, 0, sizeof (mon));
51 mon.int_curr_symbol = str;
54 mon.currency_symbol = str;
57 mon.mon_decimal_point = str;
60 mon.mon_thousands_sep = str;
63 mon.positive_sign = str;
66 mon.negative_sign = str;
88 mon.int_frac_digits = str;
91 mon.frac_digits = str;
94 mon.p_cs_precedes = str;
97 mon.p_sep_by_space = str;
100 mon.n_cs_precedes = str;
103 mon.n_sep_by_space = str;
106 mon.p_sign_posn = str;
109 mon.n_sign_posn = str;
112 mon.int_p_cs_precedes = str;
115 mon.int_n_cs_precedes = str;
118 mon.int_p_sep_by_space = str;
121 mon.int_n_sep_by_space = str;
124 mon.int_p_sign_posn = str;
127 mon.int_n_sign_posn = str;
130 mon.mon_grouping = str;
141 free((char *)mon.mon_grouping);
142 mon.mon_grouping = NULL;
150 if (mon.mon_grouping == NULL) {
153 (void) asprintf(&s, "%s;%d", mon.mon_grouping, n);
158 free((char *)mon.mon_grouping);
159 mon.mon_grouping = s;
171 if ((putl_category(mon.int_curr_symbol, f) == EOF) ||
172 (putl_category(mon.currency_symbol, f) == EOF) ||
173 (putl_category(mon.mon_decimal_point, f) == EOF) ||
174 (putl_category(mon.mon_thousands_sep, f) == EOF) ||
175 (putl_category(mon.mon_grouping, f) == EOF) ||
176 (putl_category(mon.positive_sign, f) == EOF) ||
177 (putl_category(mon.negative_sign, f) == EOF) ||
178 (putl_category(mon.int_frac_digits, f) == EOF) ||
179 (putl_category(mon.frac_digits, f) == EOF) ||
180 (putl_category(mon.p_cs_precedes, f) == EOF) ||
181 (putl_category(mon.p_sep_by_space, f) == EOF) ||
182 (putl_category(mon.n_cs_precedes, f) == EOF) ||
183 (putl_category(mon.n_sep_by_space, f) == EOF) ||
184 (putl_category(mon.p_sign_posn, f) == EOF) ||
185 (putl_category(mon.n_sign_posn, f) == EOF) ||
186 (putl_category(mon.int_p_cs_precedes, f) == EOF) ||
187 (putl_category(mon.int_n_cs_precedes, f) == EOF) ||
188 (putl_category(mon.int_p_sep_by_space, f) == EOF) ||
189 (putl_category(mon.int_n_sep_by_space, f) == EOF) ||
190 (putl_category(mon.int_p_sign_posn, f) == EOF) ||
191 (putl_category(mon.int_n_sign_posn, f) == EOF)) {