/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/ |
D | thousands_sep.pass.cpp | 64 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/ |
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 | 33 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/ |
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/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/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/cpython2/Include/ |
D | stringobject.h | 199 const char *thousands_sep);
|
/external/fmtlib/fmt/ |
D | format.h | 989 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/ |
D | util-test.cc | 961 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()
|
D | format-test.cc | 1230 lc.thousands_sep = sep; in TEST()
|
/external/libcxx/include/ |
D | locale | 403 __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 | __locale | 1386 _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.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/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/libxml2/ |
D | trio.c | 906 if ((internalLocaleValues->thousands_sep) && in TrioSetLocale() 907 (internalLocaleValues->thousands_sep[0] != NIL)) in TrioSetLocale() 911 internalLocaleValues->thousands_sep); in TrioSetLocale()
|
/external/libcxx/src/ |
D | locale.cpp | 4315 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()
|