/third_party/python/Objects/stringlib/ |
D | localeutil.h | 49 PyObject *thousands_sep, Py_ssize_t thousands_sep_len, in InsertThousandsGrouping_fill() argument 54 if (*maxchar == 127 && thousands_sep) { in InsertThousandsGrouping_fill() 55 Py_UCS4 maxchar2 = PyUnicode_MAX_CHAR_VALUE(thousands_sep); in InsertThousandsGrouping_fill() 61 if (thousands_sep) { in InsertThousandsGrouping_fill() 66 thousands_sep, 0, in InsertThousandsGrouping_fill()
|
/third_party/boost/boost/lexical_cast/detail/ |
D | lcast_unsigned_converters.hpp | 113 CharT const thousands_sep = np.thousands_sep(); in convert() local 128 Traits::assign(*m_finish, thousands_sep); in convert() 215 CharT const thousands_sep = np.thousands_sep(); in convert() local 226 if ( !Traits::eq(*m_end, thousands_sep) ) //|| begin == end ) return false; in convert()
|
/third_party/python/Modules/ |
D | _localemodule.c | 308 PyObject *decimal_point = NULL, *thousands_sep = NULL; in _locale_localeconv_impl() local 309 if (_Py_GetLocaleconvNumeric(lc, &decimal_point, &thousands_sep) < 0) { in _locale_localeconv_impl() 311 Py_XDECREF(thousands_sep); in _locale_localeconv_impl() 317 Py_DECREF(thousands_sep); in _locale_localeconv_impl() 322 if (PyDict_SetItemString(result, "thousands_sep", thousands_sep) < 0) { in _locale_localeconv_impl() 323 Py_DECREF(thousands_sep); in _locale_localeconv_impl() 326 Py_DECREF(thousands_sep); in _locale_localeconv_impl()
|
/third_party/boost/libs/lexical_cast/test/ |
D | lexical_cast_float_types_test.cpp | 56 CharT prefix[3] = { ct.widen('-'), np.thousands_sep(), CharT() }; in to_str_gcc_workaround() 84 … lexical_cast<T>( std::string("100") + np.thousands_sep() + np.thousands_sep() + "0" ) in test_conversion_from_to_float_for_locale() 86 … BOOST_CHECK_THROW(lexical_cast<T>( std::string("100") + np.thousands_sep() ), bad_lexical_cast); in test_conversion_from_to_float_for_locale() 87 … BOOST_CHECK_THROW(lexical_cast<T>( np.thousands_sep() + std::string("100") ), bad_lexical_cast); in test_conversion_from_to_float_for_locale() 88 …BOOST_CHECK_THROW(lexical_cast<T>( std::string("1") + np.thousands_sep() + np.decimal_point() + "e… in test_conversion_from_to_float_for_locale() 89 … BOOST_CHECK_THROW(lexical_cast<T>( std::string("1e10") + np.thousands_sep() ), bad_lexical_cast); in test_conversion_from_to_float_for_locale() 90 …BOOST_CHECK_THROW(lexical_cast<T>( std::string("1") + np.thousands_sep() + "e10" ), bad_lexical_ca… in test_conversion_from_to_float_for_locale()
|
D | lexical_cast_integral_types_test.cpp | 182 CharT prefix[3] = { ct.widen('-'), np.thousands_sep(), CharT() }; in to_str_gcc_workaround() 361 … lexical_cast<T>( std::string("100") + np.thousands_sep() + np.thousands_sep() + "0" ) in test_conversion_from_to_integral_for_locale() 363 … BOOST_CHECK_THROW(lexical_cast<T>( std::string("100") + np.thousands_sep() ), bad_lexical_cast); in test_conversion_from_to_integral_for_locale() 364 … BOOST_CHECK_THROW(lexical_cast<T>( np.thousands_sep() + std::string("100") ), bad_lexical_cast); in test_conversion_from_to_integral_for_locale()
|
/third_party/json/include/nlohmann/detail/output/ |
D | serializer.hpp | 60 …, thousands_sep(loc->thousands_sep == nullptr ? '\0' : std::char_traits<char>::to_char_type(* (loc… in serializer() 805 if (thousands_sep != '\0') in dump_float() 808 number_buffer.begin() + len, thousands_sep); in dump_float() 931 const char thousands_sep = '\0'; member in nlohmann::detail::serializer
|
/third_party/boost/libs/locale/src/win32/ |
D | numeric.cpp | 129 if(sizeof(CharType) == 1 && np.thousands_sep == L"\xA0") in num_punct_win() 130 np.thousands_sep=L" "; in num_punct_win() 132 to_str(np.thousands_sep,thousands_sep_); in num_punct_win()
|
D | api.hpp | 44 std::wstring thousands_sep; member 124 res.thousands_sep = th; in wcsnumformat_l()
|
/third_party/boost/libs/locale/src/posix/ |
D | numeric.cpp | 383 std::string thousands_sep; member 394 thousands_sep = cv->thousands_sep; in basic_numpunct() 397 thousands_sep = nl_langinfo_l(THOUSEP,lc); in basic_numpunct() 414 to_str(np.thousands_sep,thousands_sep_,lc); in num_punct_posix()
|
/third_party/python/Python/ |
D | formatter_unicode.c | 400 PyObject *thousands_sep; member 549 locale->grouping, locale->thousands_sep, &grouping_maxchar); in calc_number_widths() 648 locale->grouping, locale->thousands_sep, NULL); in fill_number() 707 &locale_info->thousands_sep) < 0) { in get_locale_info() 726 locale_info->thousands_sep = PyUnicode_FromOrdinal( in get_locale_info() 728 if (!locale_info->decimal_point || !locale_info->thousands_sep) in get_locale_info() 739 locale_info->thousands_sep = PyUnicode_New(0, 0); in get_locale_info() 740 if (!locale_info->decimal_point || !locale_info->thousands_sep) in get_locale_info() 752 Py_XDECREF(locale_info->thousands_sep); in free_locale_info()
|
D | fileutils.c | 2278 PyObject **decimal_point, PyObject **thousands_sep) in _Py_GetLocaleconvNumeric() argument 2281 assert(thousands_sep != NULL); in _Py_GetLocaleconvNumeric() 2288 if ((strlen(lc->thousands_sep) > 1 || ((unsigned char)lc->thousands_sep[0]) > 127)) { in _Py_GetLocaleconvNumeric() 2335 *thousands_sep = GET_LOCALE_STRING(thousands_sep); in _Py_GetLocaleconvNumeric() 2336 if (*thousands_sep == NULL) { in _Py_GetLocaleconvNumeric()
|
/third_party/musl/src/locale/ |
D | localeconv.c | 6 .thousands_sep = "",
|
/third_party/musl/porting/liteos_a/kernel/include/ |
D | locale.h | 26 char *thousands_sep; member
|
/third_party/python/Include/internal/ |
D | pycore_fileutils.h | 49 PyObject **thousands_sep);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | locale.h | 26 char *thousands_sep; member
|
/third_party/musl/include/ |
D | locale.h | 26 char *thousands_sep; member
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | locale.h | 26 char *thousands_sep; member
|
/third_party/musl/ndk_musl_include/ |
D | locale.h | 47 char *thousands_sep; member
|
/third_party/musl/porting/linux/user/include/ |
D | locale.h | 47 char *thousands_sep; member
|
/third_party/musl/libc-test/src/functionalext/locale/ |
D | localeconv.c | 34 EXPECT_STREQ("localeconv_0100", "", pconv->thousands_sep); in localeconv_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/locale/ |
D | localeconv_sup.c | 34 EXPECT_STREQ("localeconv_0100", "", pconv->thousands_sep); in localeconv_0100()
|
/third_party/musl/libc-test/src/api/ |
D | locale.c | 33 F(char*,thousands_sep) in f()
|
/third_party/python/Lib/ |
D | locale.py | 140 thousands_sep = conv[monetary and 'mon_thousands_sep' or 'thousands_sep'] 164 left_spaces + thousands_sep.join(groups) + right_spaces, 165 len(thousands_sep) * (len(groups) - 1)
|
/third_party/boost/libs/locale/src/std/ |
D | numeric.cpp | 79 wchar_t tmp_thousands_sep = wfacet.thousands_sep(); in utf8_numpunct_from_wide() 153 wchar_t tmp_thousands_sep = wfacet.thousands_sep(); in utf8_moneypunct_from_wide()
|
/third_party/python/Include/cpython/ |
D | unicodeobject.h | 1041 PyObject *thousands_sep,
|