/glibc-2.36/locale/programs/ |
D | ld-numeric.c | 39 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 …]
|
D | ld-monetary.c | 741 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/ |
D | strtol_l.c | 249 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 …]
|
D | grouping.c | 53 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()
|
D | strtod_l.c | 557 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 …]
|
D | grouping.h | 25 const char *grouping) 31 const char *grouping)
|
/glibc-2.36/stdio-common/ |
D | printf_fp.c | 149 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 …]
|
D | vfprintf-internal.c | 670 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 …]
|
D | vfprintf-process-arg.c | 123 if (group && grouping) 125 grouping, thousands_sep); 166 if (group && grouping) 168 grouping, thousands_sep);
|
D | Makefile | 176 tst-grouping \ 297 $(objpfx)tst-grouping.out: $(gen-locales)
|
/glibc-2.36/locale/ |
D | localeconv.c | 30 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()
|
D | locale.h | 62 char *grouping; member
|
/glibc-2.36/include/ |
D | printf.h | 57 const char *grouping)
|
/glibc-2.36/localedata/tests/ |
D | test7.def | 24 grouping 3;3
|
/glibc-2.36/localedata/locales/ |
D | bo_IN | 54 % FIXME: check that grouping etc is correct
|
D | es_CU | 89 grouping 0;0
|
D | ru_UA | 82 grouping 3;3
|
D | unm_US | 100 grouping 2;2;2;3
|
D | rif_MA | 104 grouping 3
|
D | rw_RW | 75 grouping -1
|
D | en_NZ | 81 grouping 3;3
|
D | es_AR | 86 grouping 3;3
|
D | es_DO | 86 grouping 3;3
|
/glibc-2.36/conform/data/ |
D | locale.h-data | 5 element {struct lconv} {char*} grouping
|
/glibc-2.36/manual/ |
D | locale.texi | 674 @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 …]
|