Home
last modified time | relevance | path

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

12

/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/
Dthousands_sep.pass.cpp67 assert(f.thousands_sep() == std::numeric_limits<char>::max()); in main()
71 assert(f.thousands_sep() == std::numeric_limits<char>::max()); in main()
75 assert(f.thousands_sep() == std::numeric_limits<wchar_t>::max()); in main()
79 assert(f.thousands_sep() == std::numeric_limits<wchar_t>::max()); in main()
84 assert(f.thousands_sep() == ','); in main()
88 assert(f.thousands_sep() == ','); in main()
92 assert(f.thousands_sep() == L','); in main()
96 assert(f.thousands_sep() == L','); in main()
100 assert(f.thousands_sep() == ' '); in main()
104 assert(f.thousands_sep() == ' '); in main()
[all …]
/external/python/cpython2/Objects/stringlib/
Dlocaleutil.h52 Py_ssize_t n_chars, Py_ssize_t n_zeros, const char* thousands_sep, in fill() argument
59 if (thousands_sep) { in fill()
67 (*buffer_end)[i] = thousands_sep[i]; in fill()
70 memcpy(*buffer_end, thousands_sep, thousands_sep_len); in fill()
119 const char *thousands_sep) in _Py_InsertThousandsGrouping() argument
131 Py_ssize_t thousands_sep_len = strlen(thousands_sep); in _Py_InsertThousandsGrouping()
157 use_separator ? thousands_sep : NULL, thousands_sep_len); in _Py_InsertThousandsGrouping()
184 use_separator ? thousands_sep : NULL, thousands_sep_len); in _Py_InsertThousandsGrouping()
207 const char *thousands_sep = locale_data->thousands_sep; in _Py_InsertThousandsGroupingLocale() local
210 min_width, grouping, thousands_sep); in _Py_InsertThousandsGroupingLocale()
Dformatter.h373 char *thousands_sep; member
516 locale->thousands_sep); in calc_number_widths()
599 locale->grouping, locale->thousands_sep); in fill_number()
645 locale_info->thousands_sep = locale_data->thousands_sep; in get_locale_info()
651 locale_info->thousands_sep = ","; in get_locale_info()
658 locale_info->thousands_sep = ""; in get_locale_info()
/external/libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/
Dthousands_sep.pass.cpp37 assert(np.thousands_sep() == ','); in main()
42 assert(np.thousands_sep() == L','); in main()
50 assert(np.thousands_sep() == ','); in main()
55 assert(np.thousands_sep() == L','); in main()
75 if (np.thousands_sep() != sep) { in main()
76 std::cout << "np.thousands_sep() = '" << np.thousands_sep() << "'\n"; in main()
80 assert(np.thousands_sep() == sep); in main()
85 assert(np.thousands_sep() == wsep); in main()
/external/python/cpython3/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()
/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct/locale.moneypunct.members/
Dthousands_sep.pass.cpp61 assert(f.thousands_sep() == std::numeric_limits<char>::max()); in main()
65 assert(f.thousands_sep() == std::numeric_limits<char>::max()); in main()
69 assert(f.thousands_sep() == std::numeric_limits<wchar_t>::max()); in main()
73 assert(f.thousands_sep() == std::numeric_limits<wchar_t>::max()); in main()
/external/cldr/tools/java/org/unicode/cldr/posix/
DPOSIX_LCNumeric.java17 String thousands_sep; field in POSIX_LCNumeric
26thousands_sep = POSIXUtilities.POSIXCharName(doc.getWinningValue("//ldml/numbers/symbols[@numberSy… in POSIX_LCNumeric()
42 out.println("thousands_sep \"" + thousands_sep + "\""); in write()
/external/libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct/facet.numpunct.members/
Dthousands_sep.pass.cpp25 assert(np.thousands_sep() == ','); in main()
30 assert(np.thousands_sep() == L','); in main()
/external/python/cpython3/Modules/
D_localemodule.c264 PyObject *decimal_point, *thousands_sep; in PyLocale_localeconv() local
265 if (_Py_GetLocaleconvNumeric(lc, &decimal_point, &thousands_sep) < 0) { in PyLocale_localeconv()
271 Py_DECREF(thousands_sep); in PyLocale_localeconv()
276 if (PyDict_SetItemString(result, "thousands_sep", thousands_sep) < 0) { in PyLocale_localeconv()
277 Py_DECREF(thousands_sep); in PyLocale_localeconv()
280 Py_DECREF(thousands_sep); in PyLocale_localeconv()
/external/python/cpython3/Python/
Dformatter_unicode.c398 PyObject *thousands_sep; member
547 locale->grouping, locale->thousands_sep, &grouping_maxchar); in calc_number_widths()
646 locale->grouping, locale->thousands_sep, NULL); in fill_number()
705 &locale_info->thousands_sep) < 0) { in get_locale_info()
724 locale_info->thousands_sep = PyUnicode_FromOrdinal( in get_locale_info()
726 if (!locale_info->decimal_point || !locale_info->thousands_sep) in get_locale_info()
737 locale_info->thousands_sep = PyUnicode_New(0, 0); in get_locale_info()
738 if (!locale_info->decimal_point || !locale_info->thousands_sep) in get_locale_info()
750 Py_XDECREF(locale_info->thousands_sep); in free_locale_info()
Dfileutils.c1915 PyObject **decimal_point, PyObject **thousands_sep) in _Py_GetLocaleconvNumeric() argument
1918 assert(thousands_sep != NULL); in _Py_GetLocaleconvNumeric()
1924 if ((strlen(lc->thousands_sep) > 1 || ((unsigned char)lc->thousands_sep[0]) > 127)) { in _Py_GetLocaleconvNumeric()
1965 *thousands_sep = PyUnicode_DecodeLocale(lc->thousands_sep, NULL); in _Py_GetLocaleconvNumeric()
1966 if (*thousands_sep == NULL) { in _Py_GetLocaleconvNumeric()
/external/python/cpython3/Include/internal/
Dpycore_fileutils.h49 PyObject **thousands_sep);
/external/python/cpython2/Lib/
Dlocale.py144 thousands_sep = conv[monetary and 'mon_thousands_sep' or 'thousands_sep']
168 left_spaces + thousands_sep.join(groups) + right_spaces,
169 len(thousands_sep) * (len(groups) - 1)
/external/python/cpython3/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)
/external/python/cpython2/Include/
Dstringobject.h199 const char *thousands_sep);
/external/python/cpython3/Include/
Dbytesobject.h130 const char *thousands_sep);
/external/libcxx/include/
Dlocale395 __thousands_sep = __np.thousands_sep();
434 __thousands_sep = __np.thousands_sep();
448 __thousands_sep = __np.thousands_sep();
1156 _CharT __thousands_sep = __npt.thousands_sep();
1217 _CharT __thousands_sep = __npt.thousands_sep();
1470 // [__o, __oe) contains thousands_sep'd wide number
1497 // [__o, __oe) contains thousands_sep'd wide number
1524 // [__o, __oe) contains thousands_sep'd wide number
1551 // [__o, __oe) contains thousands_sep'd wide number
1601 // [__o, __oe) contains thousands_sep'd wide number
[all …]
/external/python/cpython2/Modules/
D_localemodule.c237 RESULT_STRING(thousands_sep); in PyLocale_localeconv()
/external/python/cpython3/Include/cpython/
Dunicodeobject.h1065 PyObject *thousands_sep,
/external/python/cpython2/Doc/library/
Dlocale.rst71 | | | ``'thousands_sep'`` is |
80 | | ``'thousands_sep'`` | Character used between groups. |
/external/rust/crates/libc/src/unix/newlib/
Dmod.rs70 pub thousands_sep: *mut ::c_char,
/external/python/cpython3/Doc/library/
Dlocale.rst71 | | | ``'thousands_sep'`` is |
80 | | ``'thousands_sep'`` | Character used between groups. |
/external/python/cpython2/Lib/test/
Dtest_decimal.py915 thousands_sep = locale.localeconv()['thousands_sep']
919 if thousands_sep != '\xd9\xac':
921 '({!r} not {!r})'.format(thousands_sep, '\xd9\xac'))
/external/rust/crates/libc/src/
Dwasi.rs103 pub thousands_sep: *mut c_char,
/external/rust/crates/libc/src/unix/hermit/
Dmod.rs395 pub thousands_sep: *mut ::c_char,

12