Home
last modified time | relevance | path

Searched refs:thousands_sep (Results 1 - 25 of 38) sorted by relevance

12

/third_party/python/Objects/stringlib/
H A Dlocaleutil.h49 PyObject *thousands_sep, Py_ssize_t thousands_sep_len, in InsertThousandsGrouping_fill()
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()
64 /* Copy the thousands_sep chars into the buffer. */ in InsertThousandsGrouping_fill()
66 thousands_sep, 0, in InsertThousandsGrouping_fill()
46 InsertThousandsGrouping_fill(_PyUnicodeWriter *writer, Py_ssize_t *buffer_pos, PyObject *digits, Py_ssize_t *digits_pos, Py_ssize_t n_chars, Py_ssize_t n_zeros, PyObject *thousands_sep, Py_ssize_t thousands_sep_len, Py_UCS4 *maxchar) InsertThousandsGrouping_fill() argument
/third_party/musl/src/locale/
H A Dlocaleconv.c24 .thousands_sep = "",
92 g_lconv_icures.thousands_sep = (char *)malloc(ICU_BUFFER_SIZE); in refresh_lconv_icures()
103 INITIALIZE_ICURES_PTR(posix_lconv.thousands_sep, g_lconv_icures.thousands_sep, ICU_BUFFER_SIZE); in refresh_lconv_icures()
143 update_lconv_member(icu_symbol, fmt, g_lconv_icures.thousands_sep, ICU_THOUSANDS_SEP); in localeconv()
/third_party/python/Modules/
H A 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/locale/
H A Dlocaleconv.c34 EXPECT_STREQ("localeconv_0100", "", pconv->thousands_sep); in localeconv_0100()
75 EXPECT_STREQ("localeconv_0200", ",", pconv->thousands_sep); in localeconv_0200()
118 EXPECT_STREQ("localeconv_0300", ",", pconv->thousands_sep); in localeconv_0300()
161 EXPECT_STREQ("localeconv_0400", "", pconv->thousands_sep); in localeconv_0400()
/third_party/musl/libc-test/src/functionalext/supplement/locale/locale_gtest/
H A Dlocale_localeconv_test.cpp24 EXPECT_TRUE(strcmp("", pconv->thousands_sep) == 0); in HWTEST_F()
77 EXPECT_TRUE(strcmp(localeconv()->thousands_sep, thousandsSep) == 0); in HWTEST_F()
/third_party/json/include/nlohmann/detail/output/
H A Dserializer.hpp71 , thousands_sep(loc->thousands_sep == nullptr ? '\0' : std::char_traits<char>::to_char_type(* (loc->thousands_sep))) 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';
/third_party/python/Python/
H A Dformatter_unicode.c404 PyObject *thousands_sep; member
553 locale->grouping, locale->thousands_sep, &grouping_maxchar); in calc_number_widths()
652 locale->grouping, locale->thousands_sep, NULL); in fill_number()
711 &locale_info->thousands_sep) < 0) { in get_locale_info()
730 locale_info->thousands_sep = PyUnicode_FromOrdinal( in get_locale_info()
732 if (!locale_info->decimal_point || !locale_info->thousands_sep) in get_locale_info()
743 locale_info->thousands_sep = PyUnicode_New(0, 0); in get_locale_info()
744 if (!locale_info->decimal_point || !locale_info->thousands_sep) in get_locale_info()
756 Py_XDECREF(locale_info->thousands_sep); in free_locale_info()
H A Dfileutils.c2528 PyObject **decimal_point, PyObject **thousands_sep) in _Py_GetLocaleconvNumeric()
2531 assert(thousands_sep != NULL); in _Py_GetLocaleconvNumeric()
2538 if ((strlen(lc->thousands_sep) > 1 || ((unsigned char)lc->thousands_sep[0]) > 127)) { in _Py_GetLocaleconvNumeric()
2566 decimal_point and/or thousands_sep are non-ASCII or longer than in _Py_GetLocaleconvNumeric()
2585 *thousands_sep = GET_LOCALE_STRING(thousands_sep); in _Py_GetLocaleconvNumeric()
2586 if (*thousands_sep == NULL) { in _Py_GetLocaleconvNumeric()
2527 _Py_GetLocaleconvNumeric(struct lconv *lc, PyObject **decimal_point, PyObject **thousands_sep) _Py_GetLocaleconvNumeric() argument
/third_party/musl/porting/liteos_m/kernel/include/
H A Dlocale.h26 char *thousands_sep; member
/third_party/musl/porting/uniproton/kernel/include/
H A Dlocale.h26 char *thousands_sep; member
/third_party/musl/porting/liteos_a/kernel/include/
H A Dlocale.h28 char *thousands_sep; member
/third_party/musl/porting/linux/user/include/
H A Dlocale.h49 char *thousands_sep; member
/third_party/musl/libc-test/src/functionalext/supplement/locale/
H A Dlocaleconv_sup.c34 EXPECT_STREQ("localeconv_0100", "", pconv->thousands_sep); in localeconv_0100()
/third_party/musl/include/
H A Dlocale.h38 char *thousands_sep; member
/third_party/musl/libc-test/src/api/
H A Dlocale.c33 F(char*,thousands_sep) in f()
/third_party/python/Lib/
H A Dlocale.py81 'thousands_sep': '',
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)
322 ts = conv['thousands_sep']
/third_party/python/Include/internal/
H A Dpycore_fileutils.h217 PyObject **thousands_sep);
/third_party/python/Include/cpython/
H A Dunicodeobject.h1022 PyObject *thousands_sep,
/third_party/rust/crates/libc/src/unix/newlib/
H A Dmod.rs105 pub thousands_sep: *mut ::c_char,
/third_party/rust/crates/libc/src/solid/
H A Dmod.rs150 pub thousands_sep: *mut c_char,
/third_party/rust/crates/libc/src/
H A Dwasi.rs124 pub thousands_sep: *mut c_char,
/third_party/rust/crates/libc/src/unix/hermit/
H A Dmod.rs385 pub thousands_sep: *mut ::c_char,
/third_party/python/Modules/_decimal/libmpdec/
H A Dio.c894 spec->sep = lc->thousands_sep; in mpd_parse_fmt_str()
/third_party/rust/crates/libc/src/unix/redox/
H A Dmod.rs152 pub thousands_sep: *const ::c_char,
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/
H A Dmod.rs205 pub thousands_sep: *mut ::c_char,

Completed in 33 milliseconds

12