Home
last modified time | relevance | path

Searched refs:thousands_sep (Results 1 – 25 of 60) sorted by relevance

123

/third_party/python/Objects/stringlib/
Dlocaleutil.h49 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/python/Modules/
D_localemodule.c308 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/musl/libc-test/src/functionalext/supplement/locale/locale_gtest/
Dlocale_localeconv_test.cpp24 EXPECT_TRUE(strcmp("", pconv->thousands_sep) == 0);
77 EXPECT_TRUE(strcmp(localeconv()->thousands_sep, thousandsSep) == 0);
/third_party/json/include/nlohmann/detail/output/
Dserializer.hpp71 …, thousands_sep(loc->thousands_sep == nullptr ? '\0' : std::char_traits<char>::to_char_type(* (loc… in serializer()
843 if (thousands_sep != '\0') in dump_float()
846 … const auto end = std::remove(number_buffer.begin(), number_buffer.begin() + len, thousands_sep); in dump_float()
971 const char thousands_sep = '\0'; member in detail::serializer
/third_party/python/Python/
Dformatter_unicode.c400 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()
Dfileutils.c2278 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/
Dlocaleconv.c6 .thousands_sep = "",
/third_party/musl/porting/uniproton/kernel/include/
Dlocale.h26 char *thousands_sep; member
/third_party/python/Include/internal/
Dpycore_fileutils.h49 PyObject **thousands_sep);
/third_party/musl/porting/liteos_m/kernel/include/
Dlocale.h26 char *thousands_sep; member
/third_party/musl/include/
Dlocale.h28 char *thousands_sep; member
/third_party/musl/porting/liteos_a/kernel/include/
Dlocale.h28 char *thousands_sep; member
/third_party/musl/ndk_musl_include/
Dlocale.h32 char *thousands_sep; member
/third_party/musl/libc-test/src/functionalext/supplement/locale/
Dlocaleconv_sup.c34 EXPECT_STREQ("localeconv_0100", "", pconv->thousands_sep); in localeconv_0100()
/third_party/musl/porting/linux/user/include/
Dlocale.h34 char *thousands_sep; member
/third_party/musl/libc-test/src/functionalext/locale/
Dlocaleconv.c34 EXPECT_STREQ("localeconv_0100", "", pconv->thousands_sep); in localeconv_0100()
/third_party/python/Lib/
Dlocale.py140 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/musl/libc-test/src/api/
Dlocale.c33 F(char*,thousands_sep) in f()
/third_party/python/Include/cpython/
Dunicodeobject.h1041 PyObject *thousands_sep,
/third_party/python/Doc/library/
Dlocale.rst71 | | | ``'thousands_sep'`` is |
80 | | ``'thousands_sep'`` | Character used between groups. |
/third_party/rust/crates/libc/src/unix/newlib/
Dmod.rs105 pub thousands_sep: *mut ::c_char,
/third_party/rust/crates/libc/src/unix/hermit/
Dmod.rs385 pub thousands_sep: *mut ::c_char,
/third_party/python/Modules/_decimal/libmpdec/
Dio.c894 spec->sep = lc->thousands_sep; in mpd_parse_fmt_str()
/third_party/python/Misc/NEWS.d/
D3.6.5rc1.rst539 ``thousands_sep`` byte strings if they are non-ASCII or longer than 1 byte,
/third_party/rust/crates/libc/src/unix/redox/
Dmod.rs152 pub thousands_sep: *const ::c_char,

123