Home
last modified time | relevance | path

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

123

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.traits/
Dtransform.pass.cpp29 assert(t.transform(F(a), F(a+1)) > t.transform(F(B), F(B+1))); in main()
37 assert(t.transform(F(a), F(a+1)) < t.transform(F(B), F(B+1))); in main()
45 assert(t.transform(F(a), F(a+1)) > t.transform(F(B), F(B+1))); in main()
53 assert(t.transform(F(a), F(a+1)) < t.transform(F(B), F(B+1))); in main()
/ndk/tests/device/test-gnustl-full/unit/
Dcollate_facets_test.cpp62 transformed[i] = col.transform(strs[i].data(), strs[i].data() + strs[i].size()); in collate_facet()
73 …CPPUNIT_ASSERT( col.transform(strs[0].data(), strs[0].data() + strs[0].size()) == transformed[0] ); in collate_facet()
74 …CPPUNIT_ASSERT( col.transform(strs[1].data(), strs[1].data() + strs[1].size()) == transformed[1] ); in collate_facet()
75 …CPPUNIT_ASSERT( col.transform(strs[2].data(), strs[2].data() + strs[2].size()) == transformed[2] ); in collate_facet()
76 …CPPUNIT_ASSERT( col.transform(strs[3].data(), strs[3].data() + strs[3].size()) == transformed[3] ); in collate_facet()
79 CPPUNIT_ASSERT( col.transform(strs[0].data(), strs[0].data()).empty() ); in collate_facet()
82 …CPPUNIT_ASSERT( col.transform(strs[0].data(), strs[0].data() + 2) == col.transform(strs[1].data(),… in collate_facet()
113 transformed[i] = col.transform(strs[i].data(), strs[i].data() + strs[i].size()); in collate_facet()
124 …CPPUNIT_ASSERT( col.transform(strs[0].data(), strs[0].data() + strs[0].size()) == transformed[0] ); in collate_facet()
125 …CPPUNIT_ASSERT( col.transform(strs[1].data(), strs[1].data() + strs[1].size()) == transformed[1] ); in collate_facet()
[all …]
Dtransform_test.cpp49 transform((int*)numbers, (int*)numbers + 6, (int*)result, negate_int); in trnsfrm1()
69 transform(n, n + count, trans, back_inserter(res), map_char); in trnsfrm2()
77 transform( s.begin(), s.end(), s.begin(), shift ); in self_str()
Dneq_test.cpp36 transform((int*)input, (int*)input + 3, (int*)output, negate<int>()); in negate0()
48 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, not_equal_to<int>()); in nequal0()
Dlogic_test.cpp39 transform((bool*)input1, (bool*)input1 + 4, (bool*)input2, (bool*)output, logical_and<bool>()); in logicand()
59 transform((bool*)input1, (bool*)input1 + 4, (bool*)input2, (bool*)output, logical_or<bool>()); in logicor()
Dbind_test.cpp105 transform(array, array + 3, array, bind2nd(ptr_fun(test_func1), 1)); in bind2nd3()
106 transform(array, array + 3, array, bind1st(ptr_fun(test_func1), -1)); in bind2nd3()
111 transform(array, array + 3, array, bind2nd(ptr_fun(test_func2), 10)); in bind2nd3()
Dptr2_test.cpp49transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, pointer_to_binary_function<i… in ptrbin1()
62 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, ptr_fun(sum)); in ptrbin2()
Dunary_test.cpp79transform((int*)input, (int*)input + 3, output, unary_compose<square_root, negate<int> >(square_ro… in ucompos1()
92 transform((int*)input, (int*)input + 3, output, compose1(square_root(), negate<int>())); in ucompos2()
Dmodulus_test.cpp35 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, modulus<int>()); in modulus0()
Dplusminus_test.cpp47 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, minus<int>()); in minus0()
/ndk/tests/device/test-stlport/unit/
Dcollate_facets_test.cpp62 transformed[i] = col.transform(strs[i].data(), strs[i].data() + strs[i].size()); in collate_facet()
73 …CPPUNIT_ASSERT( col.transform(strs[0].data(), strs[0].data() + strs[0].size()) == transformed[0] ); in collate_facet()
74 …CPPUNIT_ASSERT( col.transform(strs[1].data(), strs[1].data() + strs[1].size()) == transformed[1] ); in collate_facet()
75 …CPPUNIT_ASSERT( col.transform(strs[2].data(), strs[2].data() + strs[2].size()) == transformed[2] ); in collate_facet()
76 …CPPUNIT_ASSERT( col.transform(strs[3].data(), strs[3].data() + strs[3].size()) == transformed[3] ); in collate_facet()
79 CPPUNIT_ASSERT( col.transform(strs[0].data(), strs[0].data()).empty() ); in collate_facet()
82 …CPPUNIT_ASSERT( col.transform(strs[0].data(), strs[0].data() + 2) == col.transform(strs[1].data(),… in collate_facet()
113 transformed[i] = col.transform(strs[i].data(), strs[i].data() + strs[i].size()); in collate_facet()
124 …CPPUNIT_ASSERT( col.transform(strs[0].data(), strs[0].data() + strs[0].size()) == transformed[0] ); in collate_facet()
125 …CPPUNIT_ASSERT( col.transform(strs[1].data(), strs[1].data() + strs[1].size()) == transformed[1] ); in collate_facet()
[all …]
Dtransform_test.cpp49 transform((int*)numbers, (int*)numbers + 6, (int*)result, negate_int); in trnsfrm1()
69 transform(n, n + count, trans, back_inserter(res), map_char); in trnsfrm2()
77 transform( s.begin(), s.end(), s.begin(), shift ); in self_str()
Dneq_test.cpp36 transform((int*)input, (int*)input + 3, (int*)output, negate<int>()); in negate0()
48 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, not_equal_to<int>()); in nequal0()
Dlogic_test.cpp39 transform((bool*)input1, (bool*)input1 + 4, (bool*)input2, (bool*)output, logical_and<bool>()); in logicand()
59 transform((bool*)input1, (bool*)input1 + 4, (bool*)input2, (bool*)output, logical_or<bool>()); in logicor()
Dbind_test.cpp105 transform(array, array + 3, array, bind2nd(ptr_fun(test_func1), 1)); in bind2nd3()
106 transform(array, array + 3, array, bind1st(ptr_fun(test_func1), -1)); in bind2nd3()
111 transform(array, array + 3, array, bind2nd(ptr_fun(test_func2), 10)); in bind2nd3()
Dptr2_test.cpp49transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, pointer_to_binary_function<i… in ptrbin1()
62 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, ptr_fun(sum)); in ptrbin2()
Dunary_test.cpp79transform((int*)input, (int*)input + 3, output, unary_compose<square_root, negate<int> >(square_ro… in ucompos1()
92 transform((int*)input, (int*)input + 3, output, compose1(square_root(), negate<int>())); in ucompos2()
Dmodulus_test.cpp35 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, modulus<int>()); in modulus0()
Dplusminus_test.cpp47 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, minus<int>()); in minus0()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.collate/locale.collate.byname/
Dtransform.pass.cpp33 assert(f.transform(x.data(), x.data() + x.size()) != x); in main()
38 assert(f.transform(x.data(), x.data() + x.size()) != x); in main()
46 assert(f.transform(x.data(), x.data() + x.size()) != x); in main()
51 assert(f.transform(x.data(), x.data() + x.size()) != x); in main()
59 assert(f.transform(x.data(), x.data() + x.size()) == x); in main()
64 assert(f.transform(x.data(), x.data() + x.size()) == x); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.collate/locale.collate/locale.collate.members/
Dtransform.pass.cpp26 assert(f.transform(x.data(), x.data() + x.size()) == x); in main()
31 assert(f.transform(x.data(), x.data() + x.size()) == x); in main()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_collate.h55 string_type transform(const char* __low, const char* __high) const { in transform() function
91 string_type transform(const wchar_t* __low, const wchar_t* __high) const { in transform() function
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.transform/
Dunary_transform.pass.cpp31 OutIter r = std::transform(InIter(ia), InIter(ia+sa), OutIter(ib), in test()
/ndk/sources/cxx-stl/llvm-libc++/patches.android/
D0013-temp-collective-ndk-hackathon-fixes.patch37 test/re/re.traits/transform.pass.cpp | 14 ++++++++
1127 diff --git a/test/re/re.traits/transform.pass.cpp b/test/re/re.traits/transform.pass.cpp
1129 --- a/test/re/re.traits/transform.pass.cpp
1130 +++ b/test/re/re.traits/transform.pass.cpp
1134 assert(t.transform(F(a), F(a+1)) > t.transform(F(B), F(B+1)));
1142 assert(t.transform(F(a), F(a+1)) < t.transform(F(B), F(B+1)));
1150 assert(t.transform(F(a), F(a+1)) > t.transform(F(B), F(B+1)));
1158 assert(t.transform(F(a), F(a+1)) < t.transform(F(B), F(B+1)));
/ndk/sources/cxx-stl/stlport/src/
Dstlport.rc35 /* Borland precompiler happen weird character when trying to transform a

123