/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/ |
D | unwind_06.cpp | 19 double (* volatile get)(int) = get_; variable 24 double a = get(0); in try1() 25 double b = get(1); in try1() 27 a += get(1) + b; in try1() 29 return get(0)+a+b; in try1() 33 double a = get(0); in try2() 34 double b = get(1); in try2() 35 double c = get(2); in try2() 37 a += get(1) + b + c; in try2() 39 return get(0)+a+b+c; in try2() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.elem/ |
D | get_non_const.pass.cpp | 30 constexpr S() : a{1,Empty{}}, k(std::get<0>(a)), e(std::get<1>(a)) {} in S() 41 assert(std::get<0>(t) == 3); in main() 42 std::get<0>(t) = 2; in main() 43 assert(std::get<0>(t) == 2); in main() 48 assert(std::get<0>(t) == "high"); in main() 49 assert(std::get<1>(t) == 5); in main() 50 std::get<0>(t) = "four"; in main() 51 std::get<1>(t) = 4; in main() 52 assert(std::get<0>(t) == "four"); in main() 53 assert(std::get<1>(t) == 4); in main() [all …]
|
D | get_const.pass.cpp | 29 assert(std::get<0>(t) == 3); in main() 34 assert(std::get<0>(t) == "high"); in main() 35 assert(std::get<1>(t) == 5); in main() 41 static_assert(std::get<0>(t) == 2.718, ""); in main() 42 static_assert(std::get<1>(t) == 5, ""); in main() 47 constexpr Empty e = std::get<0>(t); in main() 54 assert(std::get<0>(t) == 1.5); in main() 55 assert(std::get<1>(t) == "high"); in main() 56 assert(std::get<2>(t) == 5); in main() 57 std::get<0>(t) = 2.5; in main() [all …]
|
D | tuple.by.type.pass.cpp | 22 assert ( std::get<int>(t1) == 42 ); // find at the beginning in main() 23 assert ( std::get<std::string>(t1) == "Hi" ); // find in the middle in main() 24 assert ( std::get<cf>(t1).real() == 1 ); // find at the end in main() 25 assert ( std::get<cf>(t1).imag() == 2 ); in main() 31 assert ( std::get<std::string>(t2) == "Hi" ); in main() 32 assert (( std::get<cf>(t2) == cf{ 1,2 } )); in main() 37 static_assert ( std::get<int>(p5) == 1, "" ); in main() 38 static_assert ( std::get<const int>(p5) == 2, "" ); in main() 43 const int &i1 = std::get<int>(p5); in main() 44 const int &i2 = std::get<const int>(p5); in main() [all …]
|
D | get_const.fail.cpp | 28 assert(std::get<0>(t) == 1.5); in main() 29 assert(std::get<1>(t) == "high"); in main() 30 assert(std::get<2>(t) == 5); in main() 31 std::get<0>(t) = 2.5; in main() 32 assert(std::get<0>(t) == 2.5); in main() 33 assert(std::get<1>(t) == "high"); in main() 34 assert(std::get<2>(t) == 5); in main() 37 std::get<1>(t) = "four"; in main()
|
/ndk/sources/third_party/googletest/googletest/test/ |
D | gtest-tuple_test.cc | 38 using ::std::tr1::get; 124 EXPECT_EQ(n, get<1>(t)) in TEST() 129 EXPECT_EQ(&n, &(get<1>(t))) in TEST() 133 get<1>(t) = 2; in TEST() 151 EXPECT_EQ(0, get<0>(b1)); in TEST() 155 EXPECT_EQ(0, get<0>(b2)); in TEST() 156 EXPECT_EQ(0.0, get<1>(b2)); in TEST() 160 EXPECT_EQ(0.0, get<0>(b3)); in TEST() 161 EXPECT_EQ('\0', get<1>(b3)); in TEST() 162 EXPECT_TRUE(get<2>(b3) == NULL); in TEST() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.cnstr/ |
D | const_Types.pass.cpp | 24 assert(std::get<0>(t) == 2); in main() 29 static_assert(std::get<0>(t) == 2, ""); in main() 33 static_assert(std::get<0>(t) == 0, ""); in main() 38 assert(std::get<0>(t) == 2); in main() 39 assert(std::get<1>(t) == nullptr); in main() 44 static_assert(std::get<0>(t) == 2, ""); in main() 45 static_assert(std::get<1>(t) == nullptr, ""); in main() 50 assert(std::get<0>(t) == 2); in main() 51 assert(std::get<1>(t) == nullptr); in main() 55 assert(std::get<0>(t) == 2); in main() [all …]
|
D | default.pass.cpp | 29 assert(std::get<0>(t) == 0); in main() 33 assert(std::get<0>(t) == 0); in main() 34 assert(std::get<1>(t) == nullptr); in main() 38 assert(std::get<0>(t) == 0); in main() 39 assert(std::get<1>(t) == nullptr); in main() 40 assert(std::get<2>(t) == ""); in main() 44 assert(std::get<0>(t) == 0); in main() 45 assert(std::get<1>(t) == nullptr); in main() 46 assert(std::get<2>(t) == ""); in main() 47 assert(std::get<3>(t) == DefaultOnly()); in main() [all …]
|
D | alloc_UTypes.pass.cpp | 29 assert(std::get<0>(t) == 0); in main() 34 assert(std::get<0>(t) == 0); in main() 35 assert(std::get<1>(t) == 1); in main() 41 assert(std::get<0>(t) == 0); in main() 42 assert(std::get<1>(t) == 1); in main() 43 assert(std::get<2>(t) == 2); in main() 50 assert(std::get<0>(t) == 1); in main() 52 assert(std::get<1>(t) == alloc_first(2)); in main() 54 assert(std::get<2>(t) == alloc_last(3)); in main() 60 assert(std::get<0>(t) == 0); in main() [all …]
|
D | UTypes.pass.cpp | 37 assert(std::get<0>(t) == 0); in main() 41 assert(std::get<0>(t) == 0); in main() 42 assert(std::get<1>(t) == 1); in main() 48 assert(std::get<0>(t) == 0); in main() 49 assert(std::get<1>(t) == 1); in main() 50 assert(std::get<2>(t) == 2); in main() 56 assert(std::get<0>(t) == 0); in main() 57 assert(std::get<1>(t) == 1); in main() 58 assert(std::get<2>(t) == MoveOnly()); in main() 62 assert(std::get<0>(t) == 0); in main() [all …]
|
D | const_pair.pass.cpp | 27 assert(std::get<0>(t1) == 2); in main() 28 assert(std::get<1>(t1) == short('a')); in main() 36 static_assert(std::get<0>(t1) != std::get<0>(p0), ""); in main() 37 static_assert(std::get<1>(t1) == std::get<1>(p0), ""); in main() 38 static_assert(std::get<0>(t1) == 2, ""); in main() 39 static_assert(std::get<1>(t1) == short('a'), ""); in main()
|
D | convert_move.pass.cpp | 43 assert(std::get<0>(t1) == 2); in main() 50 assert(std::get<0>(t1) == 2); in main() 51 assert(std::get<1>(t1) == int('a')); in main() 58 assert(std::get<0>(t1) == 2); in main() 59 assert(std::get<1>(t1) == int('a')); in main() 60 assert(std::get<2>(t1).id_ == 3); in main() 69 assert(std::get<0>(t1) == 2); in main() 70 assert(std::get<1>(t1) == int('a')); in main() 71 assert(std::get<2>(t1).id_ == 2); in main() 78 assert(std::get<0>(t1) == 2); in main() [all …]
|
D | alloc.pass.cpp | 32 assert(std::get<0>(t) == 0); in main() 36 assert(std::get<0>(t) == DefaultOnly()); in main() 42 assert(std::get<0>(t) == alloc_first()); in main() 48 assert(std::get<0>(t) == alloc_last()); in main() 53 assert(std::get<0>(t) == DefaultOnly()); in main() 55 assert(std::get<1>(t) == alloc_first()); in main() 62 assert(std::get<0>(t) == DefaultOnly()); in main() 64 assert(std::get<1>(t) == alloc_first()); in main() 66 assert(std::get<2>(t) == alloc_last()); in main() 73 assert(std::get<0>(t) == DefaultOnly()); in main() [all …]
|
D | convert_copy.pass.cpp | 60 assert(std::get<0>(t1) == 2); in main() 68 static_assert(std::get<0>(t1) == 2, ""); in main() 75 static_assert(std::get<0>(t1) == C(2), ""); in main() 83 assert(std::get<0>(t1) == 2); in main() 84 assert(std::get<1>(t1) == int('a')); in main() 91 assert(std::get<0>(t1) == 2); in main() 92 assert(std::get<1>(t1) == int('a')); in main() 93 assert(std::get<2>(t1).id_ == 3); in main() 102 assert(std::get<0>(t1) == 2); in main() 103 assert(std::get<1>(t1) == int('a')); in main() [all …]
|
D | alloc_const_Types.pass.cpp | 28 assert(std::get<0>(t) == 3); in main() 34 assert(std::get<0>(t) == alloc_first(3)); in main() 40 assert(std::get<0>(t) == alloc_last(3)); in main() 46 assert(std::get<0>(t) == 10); in main() 48 assert(std::get<1>(t) == alloc_first(15)); in main() 56 assert(std::get<0>(t) == 1); in main() 58 assert(std::get<1>(t) == alloc_first(2)); in main() 60 assert(std::get<2>(t) == alloc_last(3)); in main() 68 assert(std::get<0>(t) == 1); in main() 70 assert(std::get<1>(t) == alloc_first(2)); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.creation/ |
D | tuple_cat.pass.cpp | 42 assert(std::get<0>(t) == 1); in main() 62 static_assert(std::get<0>(t) == 1, ""); in main() 67 static_assert(std::get<0>(t) == 1, ""); in main() 68 static_assert(std::get<1>(t) == 1, ""); in main() 74 assert(std::get<0>(t) == 1); in main() 75 assert(std::get<1>(t) == 2); in main() 79 assert(std::get<0>(t) == 0); in main() 80 assert(std::get<1>(t) == 0); in main() 81 assert(std::get<2>(t) == 0); in main() 85 assert(std::get<0>(t) == 2); in main() [all …]
|
D | make_tuple.pass.cpp | 28 assert(std::get<0>(t) == 1); in main() 29 assert(std::get<1>(t) == 0); in main() 30 assert(std::get<2>(t) == 0); in main() 33 assert(std::get<0>(t) == 1); in main() 34 assert(std::get<1>(t) == 2); in main() 35 assert(std::get<2>(t) == 3.5); in main() 36 std::get<1>(t) = 0; in main() 37 std::get<2>(t) = 0; in main() 44 constexpr int i1 = std::get<1>(t1); in main() 45 constexpr double d1 = std::get<2>(t1); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.swap/ |
D | member_swap.pass.cpp | 34 assert(std::get<0>(t0) == 1); in main() 35 assert(std::get<0>(t1) == 0); in main() 42 assert(std::get<0>(t0) == 2); in main() 43 assert(std::get<1>(t0) == 3); in main() 44 assert(std::get<0>(t1) == 0); in main() 45 assert(std::get<1>(t1) == 1); in main() 52 assert(std::get<0>(t0) == 3); in main() 53 assert(std::get<1>(t0) == 4); in main() 54 assert(std::get<2>(t0) == 5); in main() 55 assert(std::get<0>(t1) == 0); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.special/ |
D | non_member_swap.pass.cpp | 35 assert(std::get<0>(t0) == 1); in main() 36 assert(std::get<0>(t1) == 0); in main() 43 assert(std::get<0>(t0) == 2); in main() 44 assert(std::get<1>(t0) == 3); in main() 45 assert(std::get<0>(t1) == 0); in main() 46 assert(std::get<1>(t1) == 1); in main() 53 assert(std::get<0>(t0) == 3); in main() 54 assert(std::get<1>(t0) == 4); in main() 55 assert(std::get<2>(t0) == 5); in main() 56 assert(std::get<0>(t1) == 0); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/ |
D | shared_ptr_Y.pass.cpp | 47 A* ptrA = pA.get(); in main() 55 assert(pA.get() == pB.get()); in main() 56 assert(pB.get() == ptrA); in main() 66 A* ptrA = pA.get(); in main() 74 assert(pA.get() == pB.get()); in main() 75 assert(pB.get() == ptrA); in main() 85 A* ptrA = pA.get(); in main() 93 assert(pA.get() == pB.get()); in main() 94 assert(pB.get() == ptrA); in main() 104 A* ptrA = pA.get(); in main() [all …]
|
D | shared_ptr.pass.cpp | 47 A* ptrA = pA.get(); in main() 55 assert(pA.get() == pB.get()); in main() 56 assert(pB.get() == ptrA); in main() 66 A* ptrA = pA.get(); in main() 74 assert(pA.get() == pB.get()); in main() 75 assert(pB.get() == ptrA); in main() 85 A* ptrA = pA.get(); in main() 93 assert(pA.get() == pB.get()); in main() 94 assert(pB.get() == ptrA); in main() 104 A* ptrA = pA.get(); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/pairs/pair.astuple/ |
D | get_non_const.pass.cpp | 25 constexpr S() : a{1,2}, k(std::get<0>(a)) {} in S() 36 assert(std::get<0>(p) == 3); in main() 37 assert(std::get<1>(p) == 4); in main() 38 std::get<0>(p) = 5; in main() 39 std::get<1>(p) = 6; in main() 40 assert(std::get<0>(p) == 5); in main() 41 assert(std::get<1>(p) == 6); in main() 47 static_assert(std::get<1>(getP()) == 4, ""); in main()
|
/ndk/build/core/ |
D | definitions-graph.mk | 180 -ndk-mod-get-depends = \ 185 -ndk-mod-get-new-depends = \ 186 $(call -ndk-mod-get-depends)\ 203 -ndk-mod-get-closure = $(strip \ 225 $(call -ndk-mod-get-depends)\ 233 -test-ndk-mod-get-closure.empty = \ 235 $(call test-expect,,$(call -ndk-mod-get-closure,,-local-deps)) 237 -test-ndk-mod-get-closure.single = \ 240 $(call test-expect,A,$(call -ndk-mod-get-closure,A,-local-deps)) 242 -test-ndk-mod-get-closure.double = \ [all …]
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/exception/ |
D | get_error_info.hpp | 32 get( exception const & x ) in get() function 34 if( exception_detail::error_info_container * c=x.data_.get() ) in get() 35 …if( shared_ptr<exception_detail::error_info_base> eib = c->get(BOOST_EXCEPTION_STATIC_TYPEID(Error… in get() 38 BOOST_ASSERT( 0!=dynamic_cast<ErrorInfo *>(eib.get()) ); in get() 40 ErrorInfo * w = static_cast<ErrorInfo *>(eib.get()); in get() 53 get( exception const & x ) in get() function 65 get( exception const & x ) in get() function 77 get( exception const & x ) in get() function 104 return exception_detail::get_info<ErrorInfo>::get(x); in get_error_info() 111 return exception_detail::get_info<ErrorInfo>::get(x); in get_error_info() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.assign/ |
D | convert_move.pass.cpp | 45 assert(std::get<0>(t1) == 2); in main() 53 assert(std::get<0>(t1) == 2); in main() 54 assert(std::get<1>(t1) == int('a')); in main() 62 assert(std::get<0>(t1) == 2); in main() 63 assert(std::get<1>(t1) == int('a')); in main() 64 assert(std::get<2>(t1).id_ == 3); in main() 74 assert(std::get<0>(t1) == 2); in main() 75 assert(std::get<1>(t1) == int('a')); in main() 76 assert(std::get<2>(t1).id_ == 2); in main() 84 assert(std::get<0>(t1) == 2); in main() [all …]
|