|
Lines 1615-1621
Link Here
|
| 1615 |
this->__format_int(__fmt+1, __len, false, __iob.flags()); |
1615 |
this->__format_int(__fmt+1, __len, false, __iob.flags()); |
| 1616 |
const unsigned __nbuf = (numeric_limits<unsigned long>::digits / 3) |
1616 |
const unsigned __nbuf = (numeric_limits<unsigned long>::digits / 3) |
| 1617 |
+ ((numeric_limits<unsigned long>::digits % 3) != 0) |
1617 |
+ ((numeric_limits<unsigned long>::digits % 3) != 0) |
| 1618 |
+ 1; |
1618 |
+ (__fmt[1] == '#') + 1; |
| 1619 |
char __nar[__nbuf]; |
1619 |
char __nar[__nbuf]; |
| 1620 |
#ifdef _LIBCPP_LOCALE__L_EXTENSIONS |
1620 |
#ifdef _LIBCPP_LOCALE__L_EXTENSIONS |
| 1621 |
int __nc = snprintf_l(__nar, sizeof(__nar), _LIBCPP_GET_C_LOCALE, __fmt, __v); |
1621 |
int __nc = snprintf_l(__nar, sizeof(__nar), _LIBCPP_GET_C_LOCALE, __fmt, __v); |
|
Lines 1645-1651
Link Here
|
| 1645 |
this->__format_int(__fmt+1, __len, false, __iob.flags()); |
1645 |
this->__format_int(__fmt+1, __len, false, __iob.flags()); |
| 1646 |
const unsigned __nbuf = (numeric_limits<unsigned long long>::digits / 3) |
1646 |
const unsigned __nbuf = (numeric_limits<unsigned long long>::digits / 3) |
| 1647 |
+ ((numeric_limits<unsigned long long>::digits % 3) != 0) |
1647 |
+ ((numeric_limits<unsigned long long>::digits % 3) != 0) |
| 1648 |
+ 1; |
1648 |
+ (__fmt[1] == '#') + 1; |
| 1649 |
char __nar[__nbuf]; |
1649 |
char __nar[__nbuf]; |
| 1650 |
#ifdef _LIBCPP_LOCALE__L_EXTENSIONS |
1650 |
#ifdef _LIBCPP_LOCALE__L_EXTENSIONS |
| 1651 |
int __nc = snprintf_l(__nar, sizeof(__nar), _LIBCPP_GET_C_LOCALE, __fmt, __v); |
1651 |
int __nc = snprintf_l(__nar, sizeof(__nar), _LIBCPP_GET_C_LOCALE, __fmt, __v); |