Lines Matching defs:grouping
88 const char *grouping; /* locale-specific numeric grouping rules */
126 * Initialize the thousands' grouping state in preparation to print a
134 gs->grouping = localeconv_l(locale)->grouping;
139 while (*gs->grouping != CHAR_MAX) {
140 if (gs->lead <= *gs->grouping)
142 gs->lead -= *gs->grouping;
143 if (*(gs->grouping+1)) {
145 gs->grouping++;
168 gs->grouping--;
173 if (io_printandpad(iop, cp, ep, *gs->grouping, zeroes, locale))
175 cp += *gs->grouping;
403 struct grouping_state gs; /* thousands' grouping info */
579 gs.grouping = NULL;
1043 if (gs.grouping) {
1060 if (gs.grouping) {