/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/pairs/pairs.spec/ |
D | comparison.pass.cpp | 28 P p1(3, 4); in main() local 30 assert( (p1 == p2)); in main() 31 assert(!(p1 != p2)); in main() 32 assert(!(p1 < p2)); in main() 33 assert( (p1 <= p2)); in main() 34 assert(!(p1 > p2)); in main() 35 assert( (p1 >= p2)); in main() 39 P p1(2, 4); in main() local 41 assert(!(p1 == p2)); in main() 42 assert( (p1 != p2)); in main() [all …]
|
D | make_pair.pass.cpp | 22 P1 p1 = std::make_pair(3, 4); in main() local 23 assert(p1.first == 3); in main() 24 assert(p1.second == 4); in main() 30 P1 p1 = std::make_pair(std::unique_ptr<int>(new int(3)), 4); in main() local 31 assert(*p1.first == 3); in main() 32 assert(p1.second == 4); in main() 36 P1 p1 = std::make_pair(nullptr, 4); in main() local 37 assert(p1.first == nullptr); in main() 38 assert(p1.second == 4); in main() 45 constexpr P1 p1 = std::make_pair(3, 4); in main() local [all …]
|
D | non_member_swap.pass.cpp | 23 P1 p1(3, 4); in main() local 25 swap(p1, p2); in main() 26 assert(p1.first == 5); in main() 27 assert(p1.second == 6); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.special/ |
D | rel.pass.cpp | 59 const std::unique_ptr<A, Deleter<A> > p1(new A); in main() local 61 assert((p1 < p2) == !(p1 > p2)); in main() 62 assert((p1 < p2) == (p1 <= p2)); in main() 63 assert((p1 < p2) == !(p1 >= p2)); in main() 66 const std::unique_ptr<A, Deleter<A> > p1(new A); in main() local 68 assert((p1 < p2) == !(p1 > p2)); in main() 69 assert((p1 < p2) == (p1 <= p2)); in main() 70 assert((p1 < p2) == !(p1 >= p2)); in main() 73 const std::unique_ptr<A[], Deleter<A[]> > p1(new A[3]); in main() local 75 assert((p1 < p2) == !(p1 > p2)); in main() [all …]
|
D | eq.pass.cpp | 51 const std::unique_ptr<A, Deleter<A> > p1(new A); in main() local 53 assert(!(p1 == p2)); in main() 54 assert(p1 != p2); in main() 57 const std::unique_ptr<A, Deleter<A> > p1(new A); in main() local 59 assert(!(p1 == p2)); in main() 60 assert(p1 != p2); in main() 63 const std::unique_ptr<A[], Deleter<A[]> > p1(new A[3]); in main() local 65 assert(!(p1 == p2)); in main() 66 assert(p1 != p2); in main() 69 const std::unique_ptr<A[], Deleter<A[]> > p1(new A[3]); in main() local [all …]
|
D | cmp_nullptr.pass.cpp | 46 const std::unique_ptr<int> p1(new int(1)); in main() local 47 assert(!(p1 == nullptr)); in main() 48 assert(!(nullptr == p1)); in main() 49 assert(!(p1 < nullptr)); in main() 50 assert( (nullptr < p1)); in main() 51 assert(!(p1 <= nullptr)); in main() 52 assert( (nullptr <= p1)); in main() 53 assert( (p1 > nullptr)); in main() 54 assert(!(nullptr > p1)); in main() 55 assert( (p1 >= nullptr)); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/ |
D | swap.pass.cpp | 35 std::shared_ptr<A> p1(ptr1); in main() local 38 p1.swap(p2); in main() 39 assert(p1.use_count() == 1); in main() 40 assert(p1.get() == ptr2); in main() 45 assert(p1.use_count() == 1); in main() 46 assert(p1.get() == ptr2); in main() 53 std::shared_ptr<A> p1(ptr1); in main() local 56 p1.swap(p2); in main() 57 assert(p1.use_count() == 0); in main() 58 assert(p1.get() == ptr2); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.spec/ |
D | swap.pass.cpp | 35 std::shared_ptr<A> p1(ptr1); in main() local 38 swap(p1, p2); in main() 39 assert(p1.use_count() == 1); in main() 40 assert(p1.get() == ptr2); in main() 45 assert(p1.use_count() == 1); in main() 46 assert(p1.get() == ptr2); in main() 53 std::shared_ptr<A> p1(ptr1); in main() local 56 swap(p1, p2); in main() 57 assert(p1.use_count() == 0); in main() 58 assert(p1.get() == ptr2); in main() [all …]
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/preprocessor/repetition/ |
D | enum_binary_params.hpp | 25 … define BOOST_PP_ENUM_BINARY_PARAMS(count, p1, p2) BOOST_PP_REPEAT(count, BOOST_PP_ENUM_BINARY_PA… argument 27 # define BOOST_PP_ENUM_BINARY_PARAMS(count, p1, p2) BOOST_PP_ENUM_BINARY_PARAMS_I(count, p1, p2) argument 28 …define BOOST_PP_ENUM_BINARY_PARAMS_I(count, p1, p2) BOOST_PP_REPEAT(count, BOOST_PP_ENUM_BINARY_PA… argument 39 # define BOOST_PP_ENUM_BINARY_PARAMS_M_I(z, n, p1, p2) BOOST_PP_ENUM_BINARY_PARAMS_M_II(z, n, p1… argument 40 # define BOOST_PP_ENUM_BINARY_PARAMS_M_II(z, n, p1, p2) BOOST_PP_COMMA_IF(n) p1 ## n p2 ## n argument 42 # define BOOST_PP_ENUM_BINARY_PARAMS_M_I(z, n, p1, p2) BOOST_PP_COMMA_IF(n) BOOST_PP_CAT(p1, n) … argument 48 … BOOST_PP_ENUM_BINARY_PARAMS_Z(z, count, p1, p2) BOOST_PP_REPEAT_ ## z(count, BOOST_PP_ENUM_BINARY… argument 50 … define BOOST_PP_ENUM_BINARY_PARAMS_Z(z, count, p1, p2) BOOST_PP_ENUM_BINARY_PARAMS_Z_I(z, count… argument 51 …OOST_PP_ENUM_BINARY_PARAMS_Z_I(z, count, p1, p2) BOOST_PP_REPEAT_ ## z(count, BOOST_PP_ENUM_BINARY… argument
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cmp/ |
D | cmp_nullptr.pass.cpp | 46 const std::shared_ptr<int> p1(new int(1)); in main() local 47 assert(!(p1 == nullptr)); in main() 48 assert(!(nullptr == p1)); in main() 49 assert(!(p1 < nullptr)); in main() 50 assert( (nullptr < p1)); in main() 51 assert(!(p1 <= nullptr)); in main() 52 assert( (nullptr <= p1)); in main() 53 assert( (p1 > nullptr)); in main() 54 assert(!(nullptr > p1)); in main() 55 assert( (p1 >= nullptr)); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/ |
D | owner_less.pass.cpp | 39 const std::shared_ptr<int> p1(new int); in main() local 40 const std::shared_ptr<int> p2 = p1; in main() 42 const std::weak_ptr<int> w1(p1); in main() 50 assert(!cs(p1, p2)); in main() 51 assert(!cs(p2, p1)); in main() 52 assert(cs(p1 ,p3) || cs(p3, p1)); in main() 53 assert(cs(p3, p1) == cs(p3, p2)); in main() 55 assert(!cs(p1, w2)); in main() 57 assert(cs(p1, w3) || cs(p3, w1)); in main() 70 assert(!cs(w2, p1)); in main() [all …]
|
/ndk/tests/build/issue20862-libpng-O0/jni/ |
D | pngdebug.h | 64 # define png_debug1(l,m,p1) _RPT1(_CRT_WARN,m PNG_STRING_NEWLINE,p1) argument 67 # define png_debug2(l,m,p1,p2) \ argument 68 _RPT2(_CRT_WARN,m PNG_STRING_NEWLINE,p1,p2) 93 # define png_debug1(l,m,p1) \ argument 97 (num_tabs==2 ? "\t\t":(num_tabs>2 ? "\t\t\t":""))),p1); \ 101 # define png_debug2(l,m,p1,p2) \ argument 105 (num_tabs==2 ? "\t\t":(num_tabs>2 ? "\t\t\t":""))),p1,p2); \ 121 # define png_debug1(l,m,p1) \ argument 128 fprintf(PNG_DEBUG_FILE,format,p1); \ 132 # define png_debug2(l,m,p1,p2) \ argument [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/ |
D | owner_before_shared_ptr.pass.cpp | 21 const std::shared_ptr<int> p1(new int); in main() local 22 const std::shared_ptr<int> p2 = p1; in main() 24 assert(!p1.owner_before(p2)); in main() 25 assert(!p2.owner_before(p1)); in main() 26 assert(p1.owner_before(p3) || p3.owner_before(p1)); in main() 27 assert(p3.owner_before(p1) == p3.owner_before(p2)); in main()
|
D | owner_before_weak_ptr.pass.cpp | 21 const std::shared_ptr<int> p1(new int); in main() local 22 const std::shared_ptr<int> p2 = p1; in main() 24 const std::weak_ptr<int> w1(p1); in main() 27 assert(!p1.owner_before(w2)); in main() 29 assert(p1.owner_before(w3) || p3.owner_before(w1)); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/ |
D | owner_before_shared_ptr.pass.cpp | 21 const std::shared_ptr<int> p1(new int); in main() local 22 const std::shared_ptr<int> p2 = p1; in main() 24 const std::weak_ptr<int> w1(p1); in main() 28 assert(!w2.owner_before(p1)); in main() 29 assert(w1.owner_before(p3) || w3.owner_before(p1)); in main() 30 assert(w3.owner_before(p1) == w3.owner_before(p2)); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/pairs/pairs.pair/ |
D | swap.pass.cpp | 23 P1 p1(3, 4); in main() local 25 p1.swap(p2); in main() 26 assert(p1.first == 5); in main() 27 assert(p1.second == 6); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.normal/ |
D | param_eq.pass.cpp | 26 param_type p1(0.75, .5); in main() local 28 assert(p1 == p2); in main() 33 param_type p1(0.75, .5); in main() local 35 assert(p1 != p2); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/ |
D | param_eq.pass.cpp | 26 param_type p1(5, 10); in main() local 28 assert(p1 == p2); in main() 33 param_type p1(5, 10); in main() local 35 assert(p1 != p2); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/ |
D | param_eq.pass.cpp | 26 param_type p1(0.75); in main() local 28 assert(p1 == p2); in main() 33 param_type p1(0.75); in main() local 35 assert(p1 != p2); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/ |
D | param_eq.pass.cpp | 25 param_type p1(0.75); in main() local 27 assert(p1 == p2); in main() 32 param_type p1(0.75); in main() local 34 assert(p1 != p2); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/ |
D | param_eq.pass.cpp | 26 param_type p1(0.75); in main() local 28 assert(p1 == p2); in main() 33 param_type p1(0.75); in main() local 35 assert(p1 != p2); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/ |
D | param_eq.pass.cpp | 26 param_type p1(0.75); in main() local 28 assert(p1 == p2); in main() 33 param_type p1(0.75); in main() local 35 assert(p1 != p2); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/ |
D | param_eq.pass.cpp | 26 param_type p1(0.75, .5); in main() local 28 assert(p1 == p2); in main() 33 param_type p1(0.75, .5); in main() local 35 assert(p1 != p2); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/ |
D | param_eq.pass.cpp | 26 param_type p1(3, 0.75); in main() local 28 assert(p1 == p2); in main() 33 param_type p1(3, 0.75); in main() local 35 assert(p1 != p2); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.weibull/ |
D | param_eq.pass.cpp | 26 param_type p1(0.75, .5); in main() local 28 assert(p1 == p2); in main() 33 param_type p1(0.75, .5); in main() local 35 assert(p1 != p2); in main()
|