Home
last modified time | relevance | path

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

/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/
Dthousands_sep.pass.cpp64 assert(f.thousands_sep() == std::numeric_limits<char>::max()); in main()
68 assert(f.thousands_sep() == std::numeric_limits<char>::max()); in main()
72 assert(f.thousands_sep() == std::numeric_limits<wchar_t>::max()); in main()
76 assert(f.thousands_sep() == std::numeric_limits<wchar_t>::max()); in main()
81 assert(f.thousands_sep() == ','); in main()
85 assert(f.thousands_sep() == ','); in main()
89 assert(f.thousands_sep() == L','); in main()
93 assert(f.thousands_sep() == L','); in main()
98 assert(f.thousands_sep() == ' '); in main()
102 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.cpp33 assert(np.thousands_sep() == ','); in main()
38 assert(np.thousands_sep() == L','); in main()
46 assert(np.thousands_sep() == ','); in main()
51 assert(np.thousands_sep() == L','); in main()
66 assert(np.thousands_sep() == sep); in main()
71 assert(np.thousands_sep() == wsep); 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/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/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/cpython2/Include/
Dstringobject.h199 const char *thousands_sep);
/external/fmtlib/fmt/
Dformat.h989 ThousandsSep thousands_sep) {
998 thousands_sep(buffer);
1000 thousands_sep(buffer);
1008 thousands_sep(buffer);
1209 inline StringRef thousands_sep(
1210 LConv *lc, LConvCheck<char *LConv::*, &LConv::thousands_sep> = 0) {
1211 return lc->thousands_sep;
1214 inline fmt::StringRef thousands_sep(...) { return ""; }
2910 sep = internal::thousands_sep(std::localeconv());
/external/fmtlib/test/
Dutil-test.cc961 char *thousands_sep; member
969 EXPECT_EQ("foo", fmt::internal::thousands_sep(&lc).to_string()); in TEST()
971 EXPECT_EQ("", fmt::internal::thousands_sep(&empty_lc)); in TEST()
Dformat-test.cc1230 lc.thousands_sep = sep; in TEST()
/external/libcxx/include/
Dlocale403 __thousands_sep = __np.thousands_sep();
416 __thousands_sep = __np.thousands_sep();
1102 _CharT __thousands_sep = __npt.thousands_sep();
1163 _CharT __thousands_sep = __npt.thousands_sep();
1415 // [__o, __oe) contains thousands_sep'd wide number
1441 // [__o, __oe) contains thousands_sep'd wide number
1467 // [__o, __oe) contains thousands_sep'd wide number
1493 // [__o, __oe) contains thousands_sep'd wide number
1543 // [__o, __oe) contains thousands_sep'd wide number
1594 // [__o, __oe) contains thousands_sep'd wide number
[all …]
D__locale1386 _LIBCPP_ALWAYS_INLINE char_type thousands_sep() const {return do_thousands_sep();}
1417 _LIBCPP_ALWAYS_INLINE char_type thousands_sep() const {return do_thousands_sep();}
/external/python/cpython2/Modules/
D_localemodule.c237 RESULT_STRING(thousands_sep); in PyLocale_localeconv()
/external/python/cpython2/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/libxml2/
Dtrio.c906 if ((internalLocaleValues->thousands_sep) && in TrioSetLocale()
907 (internalLocaleValues->thousands_sep[0] != NIL)) in TrioSetLocale()
911 internalLocaleValues->thousands_sep); in TrioSetLocale()
/external/libcxx/src/
Dlocale.cpp4315 checked_string_to_char_convert(__thousands_sep_, lc->thousands_sep, in __init()
4353 checked_string_to_wchar_convert(__thousands_sep_, lc->thousands_sep, in __init()