Lines Matching defs:grouping
87 const char *grouping; /* locale-specific numeric grouping rules */
94 * Initialize the thousands' grouping state in preparation to print a
104 gs->grouping = locale->grouping;
110 while (*gs->grouping != CHAR_MAX) {
111 if (gs->lead <= *gs->grouping)
113 gs->lead -= *gs->grouping;
114 if (*(gs->grouping+1)) {
116 gs->grouping++;
139 gs->grouping--;
144 if (io_printandpad(iop, cp, ep, *gs->grouping, zeroes, locale))
146 cp += *gs->grouping;
322 struct grouping_state gs; /* thousands' grouping info */
508 gs.grouping = NULL;
982 if (gs.grouping) {
999 if (gs.grouping) {