/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/ |
D | thousands_sep.pass.cpp | 67 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/ |
D | localeutil.h | 52 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()
|
D | formatter.h | 373 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/ |
D | thousands_sep.pass.cpp | 37 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/ |
D | localeutil.h | 49 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/ |
D | thousands_sep.pass.cpp | 61 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/ |
D | POSIX_LCNumeric.java | 17 String thousands_sep; field in POSIX_LCNumeric 26 …thousands_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/ |
D | thousands_sep.pass.cpp | 25 assert(np.thousands_sep() == ','); in main() 30 assert(np.thousands_sep() == L','); in main()
|
/external/python/cpython3/Modules/ |
D | _localemodule.c | 263 PyObject *decimal_point, *thousands_sep; in PyLocale_localeconv() local 266 &thousands_sep, in PyLocale_localeconv() 273 Py_DECREF(thousands_sep); in PyLocale_localeconv() 278 if (PyDict_SetItemString(result, "thousands_sep", thousands_sep) < 0) { in PyLocale_localeconv() 279 Py_DECREF(thousands_sep); in PyLocale_localeconv() 282 Py_DECREF(thousands_sep); in PyLocale_localeconv()
|
/external/python/cpython3/Python/ |
D | formatter_unicode.c | 397 PyObject *thousands_sep; member 546 locale->grouping, locale->thousands_sep, &grouping_maxchar); in calc_number_widths() 645 locale->grouping, locale->thousands_sep, NULL); in fill_number() 703 &locale_info->thousands_sep, in get_locale_info() 723 locale_info->thousands_sep = PyUnicode_FromOrdinal( in get_locale_info() 725 if (!locale_info->decimal_point || !locale_info->thousands_sep) in get_locale_info() 736 locale_info->thousands_sep = PyUnicode_New(0, 0); in get_locale_info() 737 if (!locale_info->decimal_point || !locale_info->thousands_sep) in get_locale_info() 749 Py_XDECREF(locale_info->thousands_sep); in free_locale_info()
|
D | fileutils.c | 1792 _Py_GetLocaleconvNumeric(PyObject **decimal_point, PyObject **thousands_sep, in _Py_GetLocaleconvNumeric() argument 1805 if (thousands_sep != NULL && in _Py_GetLocaleconvNumeric() 1806 (strlen(lc->thousands_sep) > 1 || ((unsigned char)lc->thousands_sep[0]) > 127)) in _Py_GetLocaleconvNumeric() 1846 if (thousands_sep != NULL) { in _Py_GetLocaleconvNumeric() 1847 *thousands_sep = PyUnicode_DecodeLocale(lc->thousands_sep, NULL); in _Py_GetLocaleconvNumeric() 1848 if (*thousands_sep == NULL) { in _Py_GetLocaleconvNumeric()
|
/external/python/cpython2/Lib/ |
D | locale.py | 144 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/ |
D | locale.py | 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)
|
/external/python/cpython2/Include/ |
D | stringobject.h | 199 const char *thousands_sep);
|
/external/python/cpython3/Include/ |
D | bytesobject.h | 130 const char *thousands_sep);
|
D | fileutils.h | 181 PyObject **thousands_sep,
|
D | unicodeobject.h | 2145 PyObject *thousands_sep,
|
/external/libcxx/include/ |
D | locale | 395 __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 …]
|
D | __locale | 1430 _LIBCPP_INLINE_VISIBILITY char_type thousands_sep() const {return do_thousands_sep();} 1461 _LIBCPP_INLINE_VISIBILITY char_type thousands_sep() const {return do_thousands_sep();}
|
/external/python/cpython2/Modules/ |
D | _localemodule.c | 237 RESULT_STRING(thousands_sep); in PyLocale_localeconv()
|
/external/python/cpython2/Doc/library/ |
D | locale.rst | 71 | | | ``'thousands_sep'`` is | 80 | | ``'thousands_sep'`` | Character used between groups. |
|
/external/python/cpython3/Doc/library/ |
D | locale.rst | 71 | | | ``'thousands_sep'`` is | 80 | | ``'thousands_sep'`` | Character used between groups. |
|
/external/python/cpython2/Lib/test/ |
D | test_decimal.py | 915 thousands_sep = locale.localeconv()['thousands_sep'] 919 if thousands_sep != '\xd9\xac': 921 '({!r} not {!r})'.format(thousands_sep, '\xd9\xac'))
|
/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | io.c | 878 spec->sep = lc->thousands_sep; in mpd_parse_fmt_str()
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0b1.rst | 648 ``thousands_sep`` byte strings if they are non-ASCII or longer than 1 byte,
|