Home
last modified time | relevance | path

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

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/
Dgrouping.pass.cpp63 assert(f.grouping() == s || f.grouping() == ""); in main()
67 assert(f.grouping() == s || f.grouping() == ""); in main()
71 assert(f.grouping() == s || f.grouping() == ""); in main()
75 assert(f.grouping() == s || f.grouping() == ""); in main()
80 assert(f.grouping() == "\3\3"); in main()
84 assert(f.grouping() == "\3\3"); in main()
88 assert(f.grouping() == "\3\3"); in main()
92 assert(f.grouping() == "\3\3"); in main()
97 assert(f.grouping() == "\3"); in main()
101 assert(f.grouping() == "\3"); in main()
[all …]
/ndk/sources/cxx-stl/stlport/src/
Dnum_put.cpp31 __insert_grouping_aux(Char* first, Char* last, const string& grouping, in __insert_grouping_aux() argument
53 if ( n < grouping.size() ) { in __insert_grouping_aux()
54 groupsize = __STATIC_CAST(int, grouping[n++] ); in __insert_grouping_aux()
75 const string& grouping, in __insert_grouping_aux() argument
98 if ( n < grouping.size() ) { in __insert_grouping_aux()
99 groupsize = __STATIC_CAST( int, grouping[n++] ); in __insert_grouping_aux()
135 __insert_grouping(char * first, char * last, const string& grouping, in __insert_grouping() argument
137 return __insert_grouping_aux(first, last, grouping, in __insert_grouping()
142 __insert_grouping(__iostring &str, size_t group_pos, const string& grouping, in __insert_grouping() argument
144 __insert_grouping_aux(str, group_pos, grouping, separator, Plus, Minus, basechars); in __insert_grouping()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/facet.numpunct/locale.numpunct.byname/
Dgrouping.pass.cpp28 assert(np.grouping() == ""); in main()
33 assert(np.grouping() == ""); in main()
41 assert(np.grouping() == "\3\3"); in main()
46 assert(np.grouping() == "\3\3"); in main()
54 assert(np.grouping() == "\x7F"); in main()
59 assert(np.grouping() == "\x7F"); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct/locale.moneypunct.members/
Dgrouping.pass.cpp61 assert(f.grouping() == std::string()); in main()
65 assert(f.grouping() == std::string()); in main()
69 assert(f.grouping() == std::string()); in main()
73 assert(f.grouping() == std::string()); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/facet.numpunct/locale.numpunct/facet.numpunct.members/
Dgrouping.pass.cpp25 assert(np.grouping() == std::string()); in main()
30 assert(np.grouping() == std::string()); in main()
/ndk/tests/device/test-gnustl-full/unit/
Dnum_facets_test.cpp46 if (!npct.grouping().empty()) { in _num_put_get()
75 if (!npct.grouping().empty()) { in _num_put_get()
90 if (npct.grouping().size() == 1 && npct.grouping()[0] == 3) { in _num_put_get()
243 CPPUNIT_CHECK( cfacet_byname.grouping() == cfacet.grouping() ); in numpunct_by_name()
244 if (!cfacet.grouping().empty()) in numpunct_by_name()
Dmoney_facets_test.cpp134 if (!intl_fmp.grouping().empty()) { in _money_put_get2()
220 if (!dom_fmp.grouping().empty()) { in _money_put_get2()
552 CPPUNIT_CHECK( cfacet_byname.grouping() == cfacet.grouping() ); in moneypunct_by_name()
553 if (!cfacet_byname.grouping().empty()) in moneypunct_by_name()
581 CPPUNIT_CHECK( cfacet_byname.grouping() == cfacet.grouping() ); in moneypunct_by_name()
582 if (!cfacet_byname.grouping().empty()) in moneypunct_by_name()
/ndk/tests/device/test-stlport/unit/
Dnum_facets_test.cpp46 if (!npct.grouping().empty()) { in _num_put_get()
75 if (!npct.grouping().empty()) { in _num_put_get()
90 if (npct.grouping().size() == 1 && npct.grouping()[0] == 3) { in _num_put_get()
243 CPPUNIT_CHECK( cfacet_byname.grouping() == cfacet.grouping() ); in numpunct_by_name()
244 if (!cfacet.grouping().empty()) in numpunct_by_name()
Dmoney_facets_test.cpp134 if (!intl_fmp.grouping().empty()) { in _money_put_get2()
220 if (!dom_fmp.grouping().empty()) { in _money_put_get2()
552 CPPUNIT_CHECK( cfacet_byname.grouping() == cfacet.grouping() ); in moneypunct_by_name()
553 if (!cfacet_byname.grouping().empty()) in moneypunct_by_name()
581 CPPUNIT_CHECK( cfacet_byname.grouping() == cfacet.grouping() ); in moneypunct_by_name()
582 if (!cfacet_byname.grouping().empty()) in moneypunct_by_name()
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/
Dc_locale_win32.c194 char *grouping; member
223 char *grouping; member
233 static void __FixGrouping(char *grouping);
416 lnum->grouping = GroupingBuffer; in _Locale_numeric_create()
419 lnum->grouping = (char*)malloc(1); in _Locale_numeric_create()
420 if (!lnum->grouping) { free(lnum); *__err_code = _STLP_LOC_NO_MEMORY; return NULL; } in _Locale_numeric_create()
421 lnum->grouping[0] = 0; in _Locale_numeric_create()
848 { lmon->grouping = NULL; *__err_code = _STLP_LOC_NO_MEMORY; return lmon; } in _Locale_monetary_create()
851 lmon->grouping = GroupingBuffer; in _Locale_monetary_create()
945 if (lnum->grouping) free(lnum->grouping); in _Locale_numeric_destroy()
[all …]
/ndk/sources/android/support/src/locale/
Dlocaleconv.c35 .grouping = "", in localeconv()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_numpunct.h58 string grouping() const { return do_grouping(); } in grouping() function
87 string grouping() const { return do_grouping(); } in grouping() function
D_monetary.h94 string grouping() const { return do_grouping(); } in grouping() function
134 string grouping() const { return do_grouping(); } in grouping() function
175 string grouping() const { return do_grouping(); } in grouping() function
214 string grouping() const { return do_grouping(); } in grouping() function
D_monetary.c218 string __grouping = __intl ? __punct_intl.grouping() in __money_do_get()
219 : __punct.grouping(); in __money_do_get()
341 string __grouping = __intl ? __punct_intl.grouping() in __money_do_put()
342 : __punct.grouping(); in __money_do_put()
D_num_get.c279 …e, __end, __base, __val, __got, __negative, __np.thousands_sep(), __np.grouping(), __true_type() … in __do_get_integer()
281 …e, __end, __base, __val, __got, __negative, __np.thousands_sep(), __np.grouping(), __false_type()… in __do_get_integer()
283 …ite, __end, __base, __val, __got, __negative, __np.thousands_sep(), __np.grouping(), _IsSigned()); in __do_get_integer()
373 string __grouping = __numpunct.grouping(); in __read_float()
D_num_put.c124 __group_pos, __np.grouping()); in __do_put_float()
207 const string& __grouping = __np.grouping(); in __put_integer()
238 const string& __grouping = __np.grouping(); in __put_integer()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/
Dlexical_cast.hpp621 std::string const grouping = np.grouping(); in lcast_put_unsigned() local
622 std::string::size_type const grouping_size = grouping.size(); in lcast_put_unsigned()
624 if ( grouping_size && grouping[0] > 0 ) in lcast_put_unsigned()
633 char last_grp_size = grouping[0]; in lcast_put_unsigned()
643 char const grp_size = grouping[group]; in lcast_put_unsigned()
702 std::string const& grouping = np.grouping(); in lcast_ret_unsigned() local
703 std::string::size_type const grouping_size = grouping.size(); in lcast_ret_unsigned()
708 if (grouping_size && grouping[0] > 0) in lcast_ret_unsigned()
712 char remained = grouping[current_grouping] - 1; in lcast_ret_unsigned()
754 remained = grouping[current_grouping]; in lcast_ret_unsigned()
[all …]
/ndk/sources/android/support/include/
Dlocale.h102 char* grouping; /* Grouping */ member
/ndk/tests/device/test-libc++-shared-full/
DBROKEN_RUN124 nalibcxxg++ grouping.pass.cpp -lc++_shared -latomic
125 …I/DEBUG ( 51): Abort message: 'grouping.pass.cpp:80: int main(): assertion "f.grouping() == "\…
244 nalibcxxg++ grouping.pass.cpp -lc++_shared -latomic
245 …I/DEBUG ( 51): Abort message: 'grouping.pass.cpp:41: int main(): assertion "np.grouping() == "…
/ndk/tests/device/test-libc++-static-full/
DBROKEN_RUN124 nalibcxxg++ grouping.pass.cpp -lc++_shared -latomic
125 …I/DEBUG ( 51): Abort message: 'grouping.pass.cpp:80: int main(): assertion "f.grouping() == "\…
244 nalibcxxg++ grouping.pass.cpp -lc++_shared -latomic
245 …I/DEBUG ( 51): Abort message: 'grouping.pass.cpp:41: int main(): assertion "np.grouping() == "…
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dlocale573 return __np.grouping();
586 return __np.grouping();
1032 // Digit grouping checked
1082 // Digit grouping checked
1137 // Digit grouping checked
1230 string __grouping = __npt.grouping();
1281 string __grouping = __npt.grouping();
2746 _LIBCPP_ALWAYS_INLINE string grouping() const {return do_grouping();}
2879 __grp = __mp.grouping();
2892 __grp = __mp.grouping();
[all …]
D__locale1379 _LIBCPP_ALWAYS_INLINE string grouping() const {return do_grouping();}
1410 _LIBCPP_ALWAYS_INLINE string grouping() const {return do_grouping();}
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Dlocale.cpp4331 __grouping_ = lc->grouping; in __init()
4379 __grouping_ = lc->grouping; in __init()
/ndk/tests/device/test-libc++-static-full/jni/
DAndroid.mk2210 $(call gen-test, localization/locale.categories/category.monetary/locale.moneypunct.byname/grouping)
2220 …alization/locale.categories/category.monetary/locale.moneypunct/locale.moneypunct.members/grouping)
2303 $(call gen-test, localization/locale.categories/facet.numpunct/locale.numpunct.byname/grouping)
2308 …est, localization/locale.categories/facet.numpunct/locale.numpunct/facet.numpunct.members/grouping)
/ndk/tests/device/test-libc++-shared-full/jni/
DAndroid.mk2219 $(call gen-test, localization/locale.categories/category.monetary/locale.moneypunct.byname/grouping)
2229 …alization/locale.categories/category.monetary/locale.moneypunct/locale.moneypunct.members/grouping)
2312 $(call gen-test, localization/locale.categories/facet.numpunct/locale.numpunct.byname/grouping)
2317 …est, localization/locale.categories/facet.numpunct/locale.numpunct/facet.numpunct.members/grouping)