Lines Matching refs:lc

125 	struct lconv* lc = localeconv();
126 if (!lc)
129 if (strcmp(lc->decimal_point, localeConv->decimal_point) != 0) {
130 printf("\tPROBLEM: lc.decimal_point = \"%s\" (expected \"%s\")\n",
131 lc->decimal_point, localeConv->decimal_point);
134 if (strcmp(lc->thousands_sep, localeConv->thousands_sep) != 0) {
135 printf("\tPROBLEM: lc.thousands_sep = \"%s\" (expected \"%s\")\n",
136 lc->thousands_sep, localeConv->thousands_sep);
139 if (strcmp(lc->grouping, localeConv->grouping) != 0) {
141 dumpGrouping(lc->grouping, gotGrouping);
143 printf("\tPROBLEM: lc.grouping = \"%s\" (expected \"%s\")\n",
147 if (strcmp(lc->int_curr_symbol, localeConv->int_curr_symbol) != 0) {
148 printf("\tPROBLEM: lc.int_curr_symbol = \"%s\" (expected \"%s\")\n",
149 lc->int_curr_symbol, localeConv->int_curr_symbol);
152 if (strcmp(lc->currency_symbol, localeConv->currency_symbol) != 0) {
153 printf("\tPROBLEM: lc.currency_symbol = \"%s\" (expected \"%s\")\n",
154 lc->currency_symbol, localeConv->currency_symbol);
157 if (strcmp(lc->mon_decimal_point, localeConv->mon_decimal_point) != 0) {
158 printf("\tPROBLEM: lc.mon_decimal_point = \"%s\" "
160 lc->mon_decimal_point, localeConv->mon_decimal_point);
163 if (strcmp(lc->mon_thousands_sep, localeConv->mon_thousands_sep) != 0) {
164 printf("\tPROBLEM: lc.mon_thousands_sep = \"%s\" "
166 lc->mon_thousands_sep, localeConv->mon_thousands_sep);
169 if (strcmp(lc->mon_grouping, localeConv->mon_grouping) != 0) {
171 dumpGrouping(lc->mon_grouping, gotGrouping);
173 printf("\tPROBLEM: lc.mon_grouping: \"%s\" (expected \"%s\")\n",
177 if (strcmp(lc->positive_sign, localeConv->positive_sign) != 0) {
178 printf("\tPROBLEM: lc.positive_sign = \"%s\" (expected \"%s\")\n",
179 lc->positive_sign, localeConv->positive_sign);
182 if (strcmp(lc->negative_sign, localeConv->negative_sign) != 0) {
183 printf("\tPROBLEM: lc.negative_sign = \"%s\" (expected \"%s\")\n",
184 lc->negative_sign, localeConv->negative_sign);
187 if (lc->frac_digits != localeConv->frac_digits) {
188 printf("\tPROBLEM: lc.frac_digits = %d (expected %d)\n",
189 lc->frac_digits, localeConv->frac_digits);
192 if (lc->int_frac_digits != localeConv->int_frac_digits) {
193 printf("\tPROBLEM: lc.int_frac_digits = %d (expected %d)\n",
194 lc->int_frac_digits, localeConv->int_frac_digits);
197 if (lc->p_cs_precedes != localeConv->p_cs_precedes) {
198 printf("\tPROBLEM: lc.p_cs_precedes = %d (expected %d)\n",
199 lc->p_cs_precedes, localeConv->p_cs_precedes);
202 if (lc->p_sep_by_space != localeConv->p_sep_by_space) {
203 printf("\tPROBLEM: lc.p_sep_by_space = %d (expected %d)\n",
204 lc->p_sep_by_space, localeConv->p_sep_by_space);
207 if (lc->p_sign_posn != localeConv->p_sign_posn) {
208 printf("\tPROBLEM: lc.p_sign_posn = %d (expected %d)\n",
209 lc->p_sign_posn, localeConv->p_sign_posn);
212 if (lc->n_cs_precedes != localeConv->n_cs_precedes) {
213 printf("\tPROBLEM: lc.n_cs_precedes = %d (expected %d)\n",
214 lc->n_cs_precedes, localeConv->n_cs_precedes);
217 if (lc->n_sep_by_space != localeConv->n_sep_by_space) {
218 printf("\tPROBLEM: lc.n_sep_by_space = %d (expected %d)\n",
219 lc->n_sep_by_space, localeConv->n_sep_by_space);
222 if (lc->n_sign_posn != localeConv->n_sign_posn) {
223 printf("\tPROBLEM: lc.n_sign_posn = %d (expected %d)\n",
224 lc->n_sign_posn, localeConv->n_sign_posn);
227 if (lc->int_p_cs_precedes != localeConv->int_p_cs_precedes) {
228 printf("\tPROBLEM: lc.int_p_cs_precedes = %d (expected %d)\n",
229 lc->int_p_cs_precedes, localeConv->int_p_cs_precedes);
232 if (lc->int_p_sep_by_space != localeConv->int_p_sep_by_space) {
233 printf("\tPROBLEM: lc.int_p_sep_by_space = %d (expected %d)\n",
234 lc->int_p_sep_by_space, localeConv->int_p_sep_by_space);
237 if (lc->int_p_sign_posn != localeConv->int_p_sign_posn) {
238 printf("\tPROBLEM: lc.int_p_sign_posn = %d (expected %d)\n",
239 lc->int_p_sign_posn, localeConv->int_p_sign_posn);
242 if (lc->int_n_cs_precedes != localeConv->int_n_cs_precedes) {
243 printf("\tPROBLEM: lc.int_n_cs_precedes = %d (expected %d)\n",
244 lc->int_n_cs_precedes, localeConv->int_n_cs_precedes);
247 if (lc->int_n_sep_by_space != localeConv->int_n_sep_by_space) {
248 printf("\tPROBLEM: lc.int_n_sep_by_space = %d (expected %d)\n",
249 lc->int_n_sep_by_space, localeConv->int_n_sep_by_space);
252 if (lc->int_n_sign_posn != localeConv->int_n_sign_posn) {
253 printf("\tPROBLEM: lc.int_n_sign_posn = %d (expected %d)\n",
254 lc->int_n_sign_posn, localeConv->int_n_sign_posn);