Searched refs:grouping (Results 1 - 10 of 10) sorted by relevance

/haiku/src/system/libroot/posix/stdlib/
H A Dstrfmon.c488 get_groups(int size, char *grouping) argument
492 if (*grouping == CHAR_MAX || *grouping <= 0) /* no grouping ? */
495 while (size > (int)*grouping) {
497 size -= (int)*grouping++;
498 /* no more grouping ? */
499 if (*grouping == CHAR_MAX)
501 /* rest grouping with same value ? */
502 if (*grouping
526 char *grouping; local
[all...]
/haiku/src/system/libroot/posix/glibc/stdlib/
H A Dstrtol.c212 /* This file defines a function to check for correct grouping. */
213 # include "grouping.h"
256 /* The numeric grouping specification of the current locale,
258 const char *grouping; variable
262 grouping = _NL_CURRENT (LC_NUMERIC, GROUPING);
263 if (*grouping <= 0 || *grouping == CHAR_MAX)
264 grouping = NULL;
274 grouping = NULL;
282 grouping
[all...]
H A Dgrouping.h1 /* Internal header for proving correct grouping in strings of numbers.
29 satisfies the grouping rules. It is assumed that at least one digit
39 const char *grouping)
46 if (grouping == NULL)
56 const char *gp = grouping;
77 /* We allow the representation to contain no grouping at all even if
78 the locale specifies we can have grouping. */
94 will consider if there is a grouping error in this trailing
98 /* Loop while the grouping is correct. */
101 /* Get the next grouping rul
33 correctly_grouped_prefix(const STRING_TYPE *begin, const STRING_TYPE *end, wchar_t thousands, const char *grouping) argument
[all...]
H A Dstrtod.c425 /* This file defines a function to check for correct grouping. */
426 #include "grouping.h"
487 /* The numeric grouping specification of the current locale,
489 const char *grouping; variable
505 grouping = _NL_CURRENT (LC_NUMERIC, GROUPING);
506 if (*grouping <= 0 || *grouping == CHAR_MAX)
507 grouping = NULL;
515 grouping = NULL;
521 grouping
[all...]
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dprintf_fp.c130 const char *grouping);
134 unsigned int intdig_no, const char *grouping,
156 /* Locale-dependent thousands separator and grouping specification. */
159 const char *grouping; local
281 grouping = _NL_CURRENT (LC_NUMERIC, GROUPING);
283 grouping = _NL_CURRENT (LC_MONETARY, MON_GROUPING);
285 if (*grouping <= 0 || *grouping == CHAR_MAX)
286 grouping = NULL;
310 grouping
1168 __guess_grouping(unsigned int intdig_max, const char *grouping) argument
1208 group_number(wchar_t *buf, wchar_t *bufend, unsigned int intdig_no, const char *grouping, wchar_t thousands_sep, int ngroups) argument
[all...]
H A Dvfprintf.c240 const char *grouping; local
650 if (group && grouping) \
651 string = group_number (string, workend, grouping, \
708 if (group && grouping) \
709 string = group_number (string, workend, grouping, \
1287 grouping = (const char *) -1;
1351 int group = 0; /* Print numbers according grouping rules. */
1401 if (grouping == (const char *) -1)
1410 grouping = _NL_CURRENT (LC_NUMERIC, GROUPING);
1411 if (*grouping
1974 group_number(CHAR_T *w, CHAR_T *rear_ptr, const char *grouping, wchar_t thousands_sep ) argument
[all...]
/haiku/headers/posix/
H A Dlocale.h15 char *grouping; member in struct:lconv
/haiku/src/system/libroot/add-ons/icu/
H A DICUNumericData.cpp30 fLocaleConv.grouping = fGrouping;
106 strcpy(fGrouping, fDataBridge->posixLocaleConv->grouping);
/haiku/src/system/libroot/posix/glibc/locale/
H A Dlocale.h54 An element with value CHAR_MAX means that no further grouping is done.
57 char *grouping; member in struct:lconv
67 char *mon_grouping; /* Like `grouping' element (above). */
/haiku/src/tests/system/libroot/posix/
H A Dlocale_test.cpp110 dumpGrouping(const char* grouping, char* buf) argument
112 for (char* bufPtr = buf; *grouping; ++grouping)
113 bufPtr += sprintf(bufPtr, "\\x%02x", *grouping);
139 if (strcmp(lc->grouping, localeConv->grouping) != 0) {
141 dumpGrouping(lc->grouping, gotGrouping);
142 dumpGrouping(localeConv->grouping, expectedGrouping);
143 printf("\tPROBLEM: lc.grouping = \"%s\" (expected \"%s\")\n",

Completed in 252 milliseconds