Home
last modified time | relevance | path

Searched refs:grouping (Results 1 – 25 of 209) sorted by relevance

123456789

/glibc-2.36/locale/programs/
Dld-numeric.c39 char *grouping; member
139 add_locale_raw_data (&file, numeric->grouping, numeric->grouping_len); in numeric_output()
259 char *grouping = xmalloc (max); in numeric_read() local
266 grouping = xrealloc (grouping, max); in numeric_read()
269 if (act > 0 && grouping[act - 1] == '\177') in numeric_read()
278 grouping[act++] = '\177'; in numeric_read()
285 grouping[act++] = '\377'; in numeric_read()
292 grouping[act++] = now->val.num; in numeric_read()
307 if (act == 1 && grouping[0] == '\177') in numeric_read()
309 grouping[act++] = '\0'; in numeric_read()
[all …]
Dld-monetary.c741 char *grouping = ignore_content ? NULL : xmalloc (max); in monetary_read() local
748 grouping = xrealloc (grouping, max); in monetary_read()
751 if (act > 0 && grouping[act - 1] == '\177') in monetary_read()
763 grouping[act++] = '\177'; in monetary_read()
772 grouping[act++] = '\377'; in monetary_read()
779 grouping[act++] = now->val.num; in monetary_read()
796 if (act == 1 && grouping[0] == '\177') in monetary_read()
798 grouping[act++] = '\0'; in monetary_read()
800 monetary->mon_grouping = xrealloc (grouping, act); in monetary_read()
/glibc-2.36/stdlib/
Dstrtol_l.c249 const char *grouping; in INTERNAL() local
253 grouping = _NL_CURRENT (LC_NUMERIC, GROUPING); in INTERNAL()
254 if (*grouping <= 0 || *grouping == CHAR_MAX) in INTERNAL()
255 grouping = NULL; in INTERNAL()
265 grouping = NULL; in INTERNAL()
273 grouping = NULL; in INTERNAL()
279 grouping = NULL; in INTERNAL()
325 grouping = NULL; in INTERNAL()
327 if (__glibc_unlikely (grouping != NULL)) in INTERNAL()
361 end = __correctly_grouped_prefixwc (s, end, thousands, grouping); in INTERNAL()
[all …]
Dgrouping.c53 const char *grouping) in __correctly_grouped_prefixwc() argument
60 if (grouping == NULL) in __correctly_grouped_prefixwc()
70 const char *gp = grouping; in __correctly_grouped_prefixwc()
Dstrtod_l.c557 const char *grouping; in ____STRTOF_INTERNAL() local
565 grouping = _NL_CURRENT (LC_NUMERIC, GROUPING); in ____STRTOF_INTERNAL()
566 if (*grouping <= 0 || *grouping == CHAR_MAX) in ____STRTOF_INTERNAL()
567 grouping = NULL; in ____STRTOF_INTERNAL()
575 grouping = NULL; in ____STRTOF_INTERNAL()
581 grouping = NULL; in ____STRTOF_INTERNAL()
587 grouping = NULL; in ____STRTOF_INTERNAL()
697 grouping = NULL; in ____STRTOF_INTERNAL()
758 grouping); in ____STRTOF_INTERNAL()
761 grouping); in ____STRTOF_INTERNAL()
[all …]
Dgrouping.h25 const char *grouping)
31 const char *grouping)
/glibc-2.36/stdio-common/
Dprintf_fp.c149 unsigned int intdig_no, const char *grouping,
235 const char *grouping; in __printf_fp_l() local
301 grouping = _nl_lookup (loc, LC_NUMERIC, GROUPING); in __printf_fp_l()
303 grouping = _nl_lookup (loc, LC_MONETARY, MON_GROUPING); in __printf_fp_l()
305 if (*grouping <= 0 || *grouping == CHAR_MAX) in __printf_fp_l()
306 grouping = NULL; in __printf_fp_l()
331 grouping = NULL; in __printf_fp_l()
341 grouping = NULL; in __printf_fp_l()
901 if (grouping) in __printf_fp_l()
905 ngroups = __guess_grouping (intdig_max, grouping); in __printf_fp_l()
[all …]
Dvfprintf-internal.c670 const char *grouping,
689 const char *grouping; in vfprintf() local
744 grouping = (const char *) -1; in vfprintf()
850 if (grouping == (const char *) -1) in vfprintf()
859 grouping = _NL_CURRENT (LC_NUMERIC, GROUPING); in vfprintf()
860 if (*grouping == '\0' || *grouping == CHAR_MAX in vfprintf()
867 grouping = NULL; in vfprintf()
1107 save_errno, grouping, thousands_sep, mode_flags); in vfprintf()
1122 const char *grouping, THOUSANDS_SEP_T thousands_sep, in printf_positional() argument
1153 if (grouping == (const char *) -1) in printf_positional()
[all …]
Dvfprintf-process-arg.c123 if (group && grouping)
125 grouping, thousands_sep);
166 if (group && grouping)
168 grouping, thousands_sep);
DMakefile176 tst-grouping \
297 $(objpfx)tst-grouping.out: $(gen-locales)
/glibc-2.36/locale/
Dlocaleconv.c30 result.grouping = (char *) _NL_CURRENT (LC_NUMERIC, GROUPING); in __localeconv()
31 if (*result.grouping == '\177' || *result.grouping == '\377') in __localeconv()
32 result.grouping = (char *) ""; in __localeconv()
Dlocale.h62 char *grouping; member
/glibc-2.36/include/
Dprintf.h57 const char *grouping)
/glibc-2.36/localedata/tests/
Dtest7.def24 grouping 3;3
/glibc-2.36/localedata/locales/
Dbo_IN54 % FIXME: check that grouping etc is correct
Des_CU89 grouping 0;0
Dru_UA82 grouping 3;3
Dunm_US100 grouping 2;2;2;3
Drif_MA104 grouping 3
Drw_RW75 grouping -1
Den_NZ81 grouping 3;3
Des_AR86 grouping 3;3
Des_DO86 grouping 3;3
/glibc-2.36/conform/data/
Dlocale.h-data5 element {struct lconv} {char*} grouping
/glibc-2.36/manual/
Dlocale.texi674 @item char *grouping
677 the decimal point. @code{grouping} applies to non-monetary quantities
681 @cindex grouping of digits
688 @code{CHAR_MAX}, in which case there is no more grouping---or, put
692 For example, if @code{grouping} is @code{"\04\03\02"}, the correct
693 grouping for the number @code{123456787654321} is @samp{12}, @samp{34},
702 In the standard @samp{C} locale, both @code{grouping} and
704 grouping at all.
1122 @code{grouping} element of the @code{struct lconv}.
1242 The number is printed without grouping the digits according to the rules
[all …]

123456789