Lines Matching refs:flags

49 /* internal flags */
113 int flags; /* formatting options */
158 flags = (NEED_GROUPING|LOCALE_POSN);
174 flags &= ~(NEED_GROUPING);
177 if (flags & SIGN_POSN_USED)
179 flags |= (SIGN_POSN_USED|LOCALE_POSN);
182 if (flags & SIGN_POSN_USED)
184 flags |= (SIGN_POSN_USED|PARENTH_POSN);
187 flags |= SUPRESS_CURR_SYMBOL;
190 flags |= LEFT_JUSTIFY;
231 flags |= USE_INTL_CURRENCY;
234 flags &= ~(USE_INTL_CURRENCY);
241 if (flags & USE_INTL_CURRENCY) {
254 flags |= IS_NEGATIVE;
260 pad_size = calc_left_pad(lmon, (flags ^ IS_NEGATIVE),
262 calc_left_pad(lmon, flags, currency_symbol);
269 asciivalue = format_grouped_double(lmon, lnum, value, &flags,
276 setup_vars(lmon, flags, &cs_precedes, &sep_by_space,
315 if (sign_posn == 0 && (flags & IS_NEGATIVE))
325 if (!(flags & SUPRESS_CURR_SYMBOL)) {
349 if (!(flags & SUPRESS_CURR_SYMBOL)) {
370 if (sign_posn == 0 && (flags & IS_NEGATIVE))
374 if (flags & LEFT_JUSTIFY) {
432 setup_vars(const struct lc_monetary *lmon, int flags, char *cs_precedes,
435 if ((flags & IS_NEGATIVE) && (flags & USE_INTL_CURRENCY)) {
438 *sign_posn = (flags & PARENTH_POSN) ? 0 :
442 } else if (flags & USE_INTL_CURRENCY) {
445 *sign_posn = (flags & PARENTH_POSN) ? 0 :
448 } else if (flags & IS_NEGATIVE) {
451 *sign_posn = (flags & PARENTH_POSN) ? 0 : lmon->n_sign_posn[0];
457 *sign_posn = (flags & PARENTH_POSN) ? 0 : lmon->p_sign_posn[0];
471 calc_left_pad(const struct lc_monetary *lmon, int flags, const char *cur_symb)
477 setup_vars(lmon, flags, &cs_precedes, &sep_by_space, &sign_posn,
526 double value, int *flags, int left_prec, int right_prec, int pad_char)
564 if (*flags & USE_INTL_CURRENCY)
573 if (*flags & NEED_GROUPING)
616 if ((*flags & NEED_GROUPING) &&