Home
last modified time | relevance | path

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

123

/external/llvm-project/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/
Dthousands_sep.pass.cpp66 assert(f.thousands_sep() == std::numeric_limits<char>::max()); in main()
70 assert(f.thousands_sep() == std::numeric_limits<char>::max()); in main()
74 assert(f.thousands_sep() == std::numeric_limits<wchar_t>::max()); in main()
78 assert(f.thousands_sep() == std::numeric_limits<wchar_t>::max()); in main()
83 assert(f.thousands_sep() == ','); in main()
87 assert(f.thousands_sep() == ','); in main()
91 assert(f.thousands_sep() == L','); in main()
95 assert(f.thousands_sep() == L','); in main()
99 assert(f.thousands_sep() == ' '); in main()
103 assert(f.thousands_sep() == ' '); in main()
[all …]
/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/llvm-project/libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/
Dthousands_sep.pass.cpp35 assert(np.thousands_sep() == ','); in main()
40 assert(np.thousands_sep() == L','); in main()
48 assert(np.thousands_sep() == ','); in main()
53 assert(np.thousands_sep() == L','); in main()
69 assert(np.thousands_sep() == sep); in main()
74 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/llvm-project/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct/locale.moneypunct.members/
Dthousands_sep.pass.cpp62 assert(f.thousands_sep() == std::numeric_limits<char>::max()); in main()
66 assert(f.thousands_sep() == std::numeric_limits<char>::max()); in main()
70 assert(f.thousands_sep() == std::numeric_limits<wchar_t>::max()); in main()
74 assert(f.thousands_sep() == std::numeric_limits<wchar_t>::max()); in main()
/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/llvm-project/libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct/facet.numpunct.members/
Dthousands_sep.pass.cpp26 assert(np.thousands_sep() == ','); in main()
31 assert(np.thousands_sep() == L','); in main()
/external/python/cpython3/Modules/
D_localemodule.c293 PyObject *decimal_point = NULL, *thousands_sep = NULL; in PyLocale_localeconv() local
294 if (_Py_GetLocaleconvNumeric(lc, &decimal_point, &thousands_sep) < 0) { in PyLocale_localeconv()
296 Py_XDECREF(thousands_sep); in PyLocale_localeconv()
302 Py_DECREF(thousands_sep); in PyLocale_localeconv()
307 if (PyDict_SetItemString(result, "thousands_sep", thousands_sep) < 0) { in PyLocale_localeconv()
308 Py_DECREF(thousands_sep); in PyLocale_localeconv()
311 Py_DECREF(thousands_sep); in PyLocale_localeconv()
/external/python/cpython3/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.c2030 PyObject **decimal_point, PyObject **thousands_sep) in _Py_GetLocaleconvNumeric() argument
2033 assert(thousands_sep != NULL); in _Py_GetLocaleconvNumeric()
2040 if ((strlen(lc->thousands_sep) > 1 || ((unsigned char)lc->thousands_sep[0]) > 127)) { in _Py_GetLocaleconvNumeric()
2087 *thousands_sep = GET_LOCALE_STRING(thousands_sep); in _Py_GetLocaleconvNumeric()
2088 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/llvm-project/libcxx/include/support/win32/
Dlocale_win32.h37 __thousands_sep = __lc_input->thousands_sep; in __lconv_storage()
48 __lc.thousands_sep = const_cast<char *>(__thousands_sep.c_str()); in __lconv_storage()
/external/python/cpython2/Include/
Dstringobject.h199 const char *thousands_sep);
/external/llvm-project/libcxx/include/
Dlocale390 __thousands_sep = __np.thousands_sep();
429 __thousands_sep = __np.thousands_sep();
443 __thousands_sep = __np.thousands_sep();
1151 _CharT __thousands_sep = __npt.thousands_sep();
1212 _CharT __thousands_sep = __npt.thousands_sep();
1459 // [__o, __oe) contains thousands_sep'd wide number
1486 // [__o, __oe) contains thousands_sep'd wide number
1513 // [__o, __oe) contains thousands_sep'd wide number
1540 // [__o, __oe) contains thousands_sep'd wide number
1590 // [__o, __oe) contains thousands_sep'd wide number
[all …]
/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.h1054 PyObject *thousands_sep,
/external/rust/crates/libc/src/unix/newlib/
Dmod.rs82 pub thousands_sep: *mut ::c_char,

123