thousands
const char *outpunct = *s == '.' ? decimal : thousands;
char thousands[MB_LEN_MAX + 1];
n = __wcrtomb (thousands, wthousands, &state);
memcpy (thousands, ",", 2);
thousands[n] = '\0';
if (c != thousands)
const char *cmpp = thousands;
if (cmpp > thousands)
wpsize -= cmpp - thousands;
while (--cmpp > thousands)
if (c != thousands)
const char *cmpp = thousands;
if (cmpp > thousands)
wpsize -= cmpp - thousands;
while (--cmpp > thousands)
else if ((flags & GROUP) != 0 && ! got_dot && c == thousands)
const char *cmp2p = thousands;
while (cmp2p - thousands < cmpp - decimal
&& *cmp2p == decimal[cmp2p - thousands])
if (cmp2p - thousands == cmpp - decimal)
for (cmpp = thousands; *cmpp != '\0'; ++cmpp)
size_t thousands_len = strlen (thousands);
memcpy (mbdigits[10], thousands,
ADDW (thousands);
for (cmpp = thousands; *cmpp != '\0';
wint_t thousands;
const char *thousands;
thousands = _NL_CURRENT_WORD (LC_NUMERIC, _NL_NUMERIC_THOUSANDS_SEP_WC);
thousands = _NL_CURRENT (LC_NUMERIC, THOUSANDS_SEP);
if (thousands != NULL && *thousands == '\0')
thousands = NULL;
if (thousands != L'\0')
if (thousands != NULL)
if (*cp == thousands)
for (cnt = 0; thousands[cnt] != '\0'; ++cnt)
if (thousands[cnt] != cp[thousands_len - cnt - 1])
if (thousands[cnt] == '\0')
if (*cp == thousands)
for (cnt = 0; thousands[cnt] != '\0'; ++cnt)
if (thousands[cnt] != cp[thousands_len - cnt - 1])
if (thousands[cnt] == '\0')
wchar_t thousands,
const char *thousands,
thousands_len = strlen (thousands);
if (*cp == thousands)
if (cp[thousands_len - 1] == *thousands)
for (cnt = 1; thousands[cnt] != '\0'; ++cnt)
if (thousands[cnt] != cp[thousands_len - 1 - cnt])
if (thousands[cnt] == '\0')
, decimal, decimal_len, thousands
, decimal, decimal_len, thousands
, const char *decimal, size_t decimal_len, const char *thousands
if (thousands != NULL && *str == *thousands
&& ({ for (inner = 1; thousands[inner] != '\0'; ++inner)
if (thousands[inner] != str[inner])
thousands[inner] == '\0'; }))
wchar_t thousands = L'\0';
const char *thousands = NULL;
thousands = _NL_CURRENT_WORD (LC_NUMERIC,
if (thousands == L'\0')
thousands = _NL_CURRENT (LC_NUMERIC, THOUSANDS_SEP);
if (*thousands == '\0')
thousands = NULL;
while (c == L'0' || (thousands != L'\0' && c == thousands))
if (thousands == NULL)
for (cnt = 0; thousands[cnt] != '\0'; ++cnt)
if (c != thousands[cnt])
if (thousands[cnt] != '\0')
tp = correctly_grouped_prefix (start_of_digits, cp, thousands, grouping);
if (thousands == L'\0' || c != thousands)
if (thousands == NULL)
for (cnt = 0; thousands[cnt] != '\0'; ++cnt)
if (thousands[cnt] != cp[cnt])
if (thousands[cnt] != '\0')
tp = correctly_grouped_prefix (start_of_digits, cp, thousands, grouping);
wchar_t thousands = L'\0';
const char *thousands = NULL;
thousands = _NL_CURRENT_WORD (LC_NUMERIC,
if (thousands == L'\0')
thousands = _NL_CURRENT (LC_NUMERIC, THOUSANDS_SEP);
if (*thousands == '\0')
thousands = NULL;
thousands_len = strlen (thousands);
*s != thousands
if (thousands[cnt] != end[cnt])
&& c != thousands
if (thousands[cnt] != end[cnt])
end = correctly_grouped_prefix (s, end, thousands, grouping);
else if (grouping && c == thousands)
if (thousands[cnt] != s[cnt])
else if (grouping && c == thousands)
if (thousands[cnt] != s[cnt])