/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.ctor/ |
D | in_place_t.pass.cpp | 40 class Y class 45 constexpr Y() : i_(0) {} in Y() function in Y 46 constexpr Y(int i) : i_(i) {} in Y() function in Y 47 constexpr Y(int i, int j) : i_(i), j_(j) {} in Y() function in Y 49 friend constexpr bool operator==(const Y& x, const Y& y) in operator ==() 95 constexpr optional<Y> opt(in_place); in main() 97 static_assert(*opt == Y(), ""); in main() 100 : public optional<Y> in main() 103 : optional<Y>(in_place) {} in main() 108 constexpr optional<Y> opt(in_place, 5); in main() [all …]
|
D | copy.pass.cpp | 51 class Y class 55 Y(int i) : i_(i) {} in Y() function in Y 56 Y(const Y& x) : i_(x.i_) {} in Y() function in Y 58 friend constexpr bool operator==(const Y& x, const Y& y) {return x.i_ == y.i_;} in operator ==() 104 typedef Y T; in main() 109 typedef Y T; in main() 110 optional<T> rhs(Y(3)); in main()
|
D | move.pass.cpp | 51 class Y class 55 Y(int i) : i_(i) {} in Y() function in Y 56 Y(Y&& x) noexcept : i_(x.i_) {x.i_ = 0;} in Y() function in Y 58 friend constexpr bool operator==(const Y& x, const Y& y) {return x.i_ == y.i_;} in operator ==() 104 typedef Y T; in main() 109 typedef Y T; in main() 110 optional<T> rhs(Y(3)); in main()
|
D | initializer_list.pass.cpp | 42 class Y class 47 constexpr Y() : i_(0) {} in Y() function in Y 48 constexpr Y(int i) : i_(i) {} in Y() function in Y 49 constexpr Y(std::initializer_list<int> il) : i_(il.begin()[0]), j_(il.begin()[1]) {} in Y() function in Y 51 friend constexpr bool operator==(const Y& x, const Y& y) in operator ==() 92 static_assert(std::is_constructible<optional<Y>, std::initializer_list<int>&>::value, ""); in main() 93 constexpr optional<Y> opt(in_place, {3, 1}); in main() 95 static_assert(*opt == Y{3, 1}, ""); in main() 98 : public optional<Y> in main() 101 : optional<Y>(in_place, i) {} in main()
|
D | rvalue_T.pass.cpp | 32 class Y class 36 constexpr Y(int i) : i_(i) {} in Y() function in Y 37 constexpr Y(Y&& x) : i_(x.i_) {} in Y() function in Y 39 friend constexpr bool operator==(const Y& x, const Y& y) {return x.i_ == y.i_;} in operator ==() 86 typedef Y T; in main()
|
D | const_T.pass.cpp | 31 class Y class 35 constexpr Y(int i) : i_(i) {} in Y() function in Y 37 friend constexpr bool operator==(const Y& x, const Y& y) {return x.i_ == y.i_;} in operator ==() 90 typedef Y T; in main()
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/smart_ptr/ |
D | shared_ptr.hpp | 101 template< class X, class Y, class T > inline void sp_enable_shared_from_this( boost::shared_ptr<X> … in sp_enable_shared_from_this() 105 pe->_internal_accept_owner( ppx, const_cast< Y* >( py ) ); in sp_enable_shared_from_this() 109 template< class X, class Y, class T > inline void sp_enable_shared_from_this( boost::shared_ptr<X> … in sp_enable_shared_from_this() 113 pe->_internal_accept_owner( ppx, const_cast< Y* >( py ) ); in sp_enable_shared_from_this() 182 template<class Y> 183 explicit shared_ptr( Y * p ): px( p ), pn( p ) // Y must be complete in shared_ptr() 194 template<class Y, class D> shared_ptr(Y * p, D d): px(p), pn(p, d) in shared_ptr() 201 template<class Y, class D, class A> shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) in shared_ptr() 218 template<class Y> 219 explicit shared_ptr(weak_ptr<Y> const & r): pn(r.pn) // may throw in shared_ptr() [all …]
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
D | cleanup2.cpp | 31 struct Y : X struct 33 Y() throw (int); 34 ~Y() throw (); 36 Y::Y() throw (int) in Y() function in Y 39 Y::~Y() throw () in ~Y() 46 Y y; in main()
|
D | eh28.cpp | 9 class Y : public X { public: virtual void p() { fail = 0; } }; in p() class 13 try { Y y; throw y; } in main()
|
/ndk/tests/device/test-stlport_shared-exception/jni/ |
D | cleanup2.cpp | 31 struct Y : X struct 33 Y() throw (int); 34 ~Y() throw (); 36 Y::Y() throw (int) in Y() function in Y 39 Y::~Y() throw () in ~Y() 46 Y y; in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.observe/ |
D | value_or_const.pass.cpp | 22 struct Y struct 26 constexpr Y(int i) : i_(i) {} in Y() argument 34 constexpr X(const Y& y) : i_(y.i_) {} in X() 35 constexpr X(Y&& y) : i_(y.i_+1) {} in X() 47 constexpr Y y(3); in main() 52 static_assert(opt.value_or(Y(3)) == 2, ""); in main() 56 constexpr Y y(3); in main() 61 static_assert(opt.value_or(Y(3)) == 4, ""); in main() 65 const Y y(3); in main() 70 assert(opt.value_or(Y(3)) == 2); in main() [all …]
|
D | value_or.pass.cpp | 24 struct Y struct 28 Y(int i) : i_(i) {} in Y() function 37 X(const Y& y) : i_(y.i_) {} in X() 38 X(Y&& y) : i_(y.i_+1) {} in X() 50 Y y(3); in main() 56 assert(std::move(opt).value_or(Y(3)) == 2); in main() 61 Y y(3); in main() 67 assert(std::move(opt).value_or(Y(3)) == 4); in main()
|
D | dereference_const.pass.cpp | 31 struct Y struct 46 constexpr optional<Y> opt(Y{}); in main() argument
|
D | op_arrow_const.pass.cpp | 31 struct Y struct 52 constexpr optional<Y> opt(Y{}); in main() argument
|
/ndk/sources/host-tools/make-3.81/ |
D | hash.h | 106 #define STRING_COMPARE(X, Y, RESULT) do { \ argument 107 RESULT = strcmp ((X), (Y)); \ 109 #define return_STRING_COMPARE(X, Y) do { \ argument 110 return strcmp ((X), (Y)); \ 142 #define STRING_N_COMPARE(X, Y, N, RESULT) do { \ argument 143 RESULT = strncmp ((X), (Y), (N)); \ 145 #define return_STRING_N_COMPARE(X, Y, N) do { \ argument 146 return strncmp ((X), (Y), (N)); \ 175 #define ISTRING_COMPARE(X, Y, RESULT) do { \ argument 176 RESULT = strcmpi ((X), (Y)); \ [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numeric.ops/adjacent.difference/ |
D | adjacent_difference_op.pass.cpp | 45 class Y; 64 friend class Y; 67 class Y class 71 Y& operator=(const Y&); 73 explicit Y(int i) : i_(i) {} in Y() function in Y 74 Y(const Y& y) : i_(y.i_) {} in Y() function in Y 115 Y y[3] = {Y(1), Y(2), Y(3)}; in main()
|
D | adjacent_difference.pass.cpp | 43 class Y; 62 friend class Y; 65 class Y class 69 Y& operator=(const Y&); 71 explicit Y(int i) : i_(i) {} in Y() function in Y 72 Y(const Y& y) : i_(y.i_) {} in Y() function in Y 112 Y y[3] = {Y(1), Y(2), Y(3)}; in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.swap/ |
D | swap.pass.cpp | 39 class Y class 44 Y(int i) : i_(i) {} in Y() function in Y 45 Y(Y&&) = default; 46 ~Y() {++dtor_called;} in ~Y() 48 friend constexpr bool operator==(const Y& x, const Y& y) {return x.i_ == y.i_;} in operator ==() 49 friend void swap(Y& x, Y& y) {std::swap(x.i_, y.i_);} in swap() 52 unsigned Y::dtor_called = 0; 175 optional<Y> opt1; in main() 176 optional<Y> opt2; in main() 183 assert(Y::dtor_called == 0); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.specalg/ |
D | swap.pass.cpp | 38 class Y class 43 Y(int i) : i_(i) {} in Y() function in Y 44 Y(Y&&) = default; 45 ~Y() {++dtor_called;} in ~Y() 47 friend constexpr bool operator==(const Y& x, const Y& y) {return x.i_ == y.i_;} in operator ==() 48 friend void swap(Y& x, Y& y) {std::swap(x.i_, y.i_);} in swap() 51 unsigned Y::dtor_called = 0; 174 optional<Y> opt1; in main() 175 optional<Y> opt2; in main() 182 assert(Y::dtor_called == 0); in main() [all …]
|
/ndk/tests/device/test-stlport/unit/cppunit/ |
D | cppunit_mini.h | 149 # define CPPUNIT_TEST_BASE(X, Y) \ argument 152 bool shouldRun = shouldRunThis(in_name, className, #X, invert, Y, do_progress); \ 155 progress(className, #X, ignoring || !shouldRun, !ignoring && Y); \ 168 # define CPPUNIT_TEST_BASE(X, Y) \ argument 171 bool shouldRun = shouldRunThis(in_name, className, #X, invert, Y, do_progress); \ 174 progress(className, #X, ignoring || !shouldRun, !ignoring && Y); \ 211 #define CPPUNIT_ASSERT_EQUAL(X, Y) \ argument 212 if ((X) != (Y)) { \ 213 Base::error("CPPUNIT_ASSERT_EQUAL", #X","#Y, __FILE__, __LINE__); \ 217 #define CPPUNIT_ASSERT_DOUBLES_EQUAL(X, Y, Z) \ argument [all …]
|
/ndk/tests/device/test-gnustl-full/unit/cppunit/ |
D | cppunit_mini.h | 149 # define CPPUNIT_TEST_BASE(X, Y) \ argument 152 bool shouldRun = shouldRunThis(in_name, className, #X, invert, Y, do_progress); \ 155 progress(className, #X, ignoring || !shouldRun, !ignoring && Y); \ 168 # define CPPUNIT_TEST_BASE(X, Y) \ argument 171 bool shouldRun = shouldRunThis(in_name, className, #X, invert, Y, do_progress); \ 174 progress(className, #X, ignoring || !shouldRun, !ignoring && Y); \ 211 #define CPPUNIT_ASSERT_EQUAL(X, Y) \ argument 212 if ((X) != (Y)) { \ 213 Base::error("CPPUNIT_ASSERT_EQUAL", #X","#Y, __FILE__, __LINE__); \ 217 #define CPPUNIT_ASSERT_DOUBLES_EQUAL(X, Y, Z) \ argument [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.assign/ |
D | emplace_initializer_list.pass.cpp | 41 class Y class 46 constexpr Y() : i_(0) {} in Y() function in Y 47 constexpr Y(int i) : i_(i) {} in Y() function in Y 48 constexpr Y(std::initializer_list<int> il) : i_(il.begin()[0]), j_(il.begin()[1]) {} in Y() function in Y 50 friend constexpr bool operator==(const Y& x, const Y& y) in operator ==() 94 optional<Y> opt; in main() 97 assert(*opt == Y({1, 2})); in main()
|
D | emplace.pass.cpp | 36 class Y class 40 Y() = default; 41 ~Y() {dtor_called = true;} in ~Y() 44 bool Y::dtor_called = false; 123 Y y; in main() 125 optional<Y> opt(y); in main() 126 assert(Y::dtor_called == false); in main() 128 assert(Y::dtor_called == true); in main()
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/smart_ptr/detail/ |
D | sp_convertible.hpp | 40 template< class Y, class T > struct sp_convertible 48 enum _vt { value = sizeof( (f)( static_cast<Y*>(0) ) ) == sizeof(yes) }; 66 template< class Y, class T > struct sp_enable_if_convertible: public sp_enable_if_convertible_impl<…
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.enab/ |
D | enable_shared_from_this.pass.cpp | 31 struct Y : T {}; struct 33 struct Z : Y {}; 38 std::shared_ptr<Y> p(new Z); in main() 44 std::shared_ptr<Y> p = std::make_shared<Z>(); in main()
|