/third_party/python/Objects/stringlib/ |
H A D | localeutil.h | 49 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 D | localeconv.c | 24 .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.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/musl/libc-test/src/functionalext/locale/ |
H A D | localeconv.c | 34 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 D | locale_localeconv_test.cpp | 24 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 D | serializer.hpp | 71 , 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 D | formatter_unicode.c | 404 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 D | fileutils.c | 2528 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 D | locale.h | 26 char *thousands_sep; member
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | locale.h | 26 char *thousands_sep; member
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | locale.h | 28 char *thousands_sep; member
|
/third_party/musl/porting/linux/user/include/ |
H A D | locale.h | 49 char *thousands_sep; member
|
/third_party/musl/libc-test/src/functionalext/supplement/locale/ |
H A D | localeconv_sup.c | 34 EXPECT_STREQ("localeconv_0100", "", pconv->thousands_sep); in localeconv_0100()
|
/third_party/musl/include/ |
H A D | locale.h | 38 char *thousands_sep; member
|
/third_party/musl/libc-test/src/api/ |
H A D | locale.c | 33 F(char*,thousands_sep) in f()
|
/third_party/python/Lib/ |
H A D | locale.py | 81 '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 D | pycore_fileutils.h | 217 PyObject **thousands_sep);
|
/third_party/python/Include/cpython/ |
H A D | unicodeobject.h | 1022 PyObject *thousands_sep,
|
/third_party/rust/crates/libc/src/unix/newlib/ |
H A D | mod.rs | 105 pub thousands_sep: *mut ::c_char,
|
/third_party/rust/crates/libc/src/solid/ |
H A D | mod.rs | 150 pub thousands_sep: *mut c_char,
|
/third_party/rust/crates/libc/src/ |
H A D | wasi.rs | 124 pub thousands_sep: *mut c_char,
|
/third_party/rust/crates/libc/src/unix/hermit/ |
H A D | mod.rs | 385 pub thousands_sep: *mut ::c_char,
|
/third_party/python/Modules/_decimal/libmpdec/ |
H A D | io.c | 894 spec->sep = lc->thousands_sep; in mpd_parse_fmt_str()
|
/third_party/rust/crates/libc/src/unix/redox/ |
H A D | mod.rs | 152 pub thousands_sep: *const ::c_char,
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/ |
H A D | mod.rs | 205 pub thousands_sep: *mut ::c_char,
|