Lines Matching refs:grouping
194 char *grouping;
223 char *grouping;
233 static void __FixGrouping(char *grouping);
416 lnum->grouping = GroupingBuffer;
419 lnum->grouping = (char*)malloc(1);
420 if (!lnum->grouping) { free(lnum); *__err_code = _STLP_LOC_NO_MEMORY; return NULL; }
421 lnum->grouping[0] = 0;
848 { lmon->grouping = NULL; *__err_code = _STLP_LOC_NO_MEMORY; return lmon; }
851 lmon->grouping = GroupingBuffer;
945 if (lnum->grouping) free(lnum->grouping
981 if (lmon->grouping) free(lmon->grouping);
1165 if (!lnum->grouping) return "";
1166 else return lnum->grouping;
1193 if (!lmon->grouping) return "";
1194 else return lmon->grouping;
1329 void __FixGrouping(char *grouping) {
1331 char *g = grouping;
1334 /* Check there is a grouping info otherwise we would add a useless CHAR_MAX */
1339 *grouping = *g - '0';
1343 /* Known issue: grouping might roll. */
1344 *grouping = *grouping * 10 + *g - '0';
1352 /* Known issue: grouping might roll. */
1353 *grouping *= 10;
1358 ++grouping;
1364 *grouping++ = CHAR_MAX;
1365 *grouping = 0;