/external/libcxx/test/std/utilities/utility/pairs/pairs.spec/ |
H A D | comparison.pass.cpp | 28 P p1(3, 4); 30 assert( (p1 == p2)); 31 assert(!(p1 != p2)); 32 assert(!(p1 < p2)); 33 assert( (p1 <= p2)); 34 assert(!(p1 > p2)); 35 assert( (p1 >= p2)); 39 P p1(2, 4); 41 assert(!(p1 == p2)); 42 assert( (p1 ! [all...] |
H A D | make_pair.pass.cpp | 22 P1 p1 = std::make_pair(3, 4); local 23 assert(p1.first == 3); 24 assert(p1.second == 4); 30 P1 p1 = std::make_pair(std::unique_ptr<int>(new int(3)), 4); local 31 assert(*p1.first == 3); 32 assert(p1.second == 4); 36 P1 p1 = std::make_pair(nullptr, 4); local 37 assert(p1.first == nullptr); 38 assert(p1.second == 4); 45 constexpr P1 p1 local [all...] |
/external/clang/test/FixIt/ |
H A D | no-typo.c | 6 point p1; // expected-error{{unknown type name 'point'}} variable
|
/external/clang/test/Sema/ |
H A D | attr-endian.c | 3 int p1 __attribute__((endian(host))); // expected-warning {{unknown attribute 'endian' ignored}} variable
|
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.special/ |
H A D | rel.pass.cpp | 59 const std::unique_ptr<A, Deleter<A> > p1(new A); 61 assert((p1 < p2) == !(p1 > p2)); 62 assert((p1 < p2) == (p1 <= p2)); 63 assert((p1 < p2) == !(p1 >= p2)); 66 const std::unique_ptr<A, Deleter<A> > p1(new A); 68 assert((p1 < p2) == !(p1 > p 87 const std::unique_ptr<A, Deleter<A> > p1; local 94 const std::unique_ptr<A, Deleter<A> > p1; local [all...] |
H A D | cmp_nullptr.pass.cpp | 46 const std::unique_ptr<int> p1(new int(1)); 47 assert(!(p1 == nullptr)); 48 assert(!(nullptr == p1)); 49 assert(!(p1 < nullptr)); 50 assert( (nullptr < p1)); 51 assert(!(p1 <= nullptr)); 52 assert( (nullptr <= p1)); 53 assert( (p1 > nullptr)); 54 assert(!(nullptr > p1)); 55 assert( (p1 > [all...] |
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/ |
H A D | owner_before_shared_ptr.pass.cpp | 21 const std::shared_ptr<int> p1(new int); 22 const std::shared_ptr<int> p2 = p1; 24 assert(!p1.owner_before(p2)); 25 assert(!p2.owner_before(p1)); 26 assert(p1.owner_before(p3) || p3.owner_before(p1)); 27 assert(p3.owner_before(p1) == p3.owner_before(p2));
|
/external/opencv3/modules/core/misc/java/test/ |
H A D | Point3Test.java | 9 private Point3 p1; field in class:Point3Test 16 p1 = new Point3(2, 2, 2); 22 p1 = truth.clone(); 23 assertEquals(truth, p1); 27 Point3 dstPoint = p1.cross(p2); 33 double result = p1.dot(p2); 38 boolean flag = p1.equals(p1); 41 flag = p1.equals(p2); 46 assertEquals(p1 [all...] |
/external/clang/test/CodeGen/ |
H A D | incomplete-function-type-2.c | 5 // CHECK: define void @test10_foo({}* %p1.coerce) [[NUW:#[0-9]+]] { 8 void test10_foo(test10_F3 p1); 14 void test10_foo(test10_F3 p1) argument 16 p1(0.0);
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cmp/ |
H A D | cmp_nullptr.pass.cpp | 46 const std::shared_ptr<int> p1(new int(1)); 47 assert(!(p1 == nullptr)); 48 assert(!(nullptr == p1)); 49 assert(!(p1 < nullptr)); 50 assert( (nullptr < p1)); 51 assert(!(p1 <= nullptr)); 52 assert( (nullptr <= p1)); 53 assert( (p1 > nullptr)); 54 assert(!(nullptr > p1)); 55 assert( (p1 > [all...] |
/external/clang/test/Analysis/ |
H A D | Malloc+MismatchedDeallocator_intersections.cpp | 16 int *p1 = new int; local 17 delete ++p1; // no-warning 31 int *p1 = (int *)operator new(0); local 32 *p1 = 1; // no-warning
|
/external/jdiff/src/jdiff/ |
H A D | ComparePkgPdiffs.java | 17 PackageDiff p1 = (PackageDiff)obj1; 19 if (p1.pdiff < p2.pdiff) 21 if (p1.pdiff > p2.pdiff) 23 return p1.name_.compareTo(p2.name_);
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/ |
H A D | param_eq.pass.cpp | 25 param_type p1(0.75); 27 assert(p1 == p2); 32 param_type p1(0.75); 34 assert(p1 != p2);
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/ |
H A D | param_eq.pass.cpp | 26 param_type p1(3, 0.75); 28 assert(p1 == p2); 33 param_type p1(3, 0.75); 35 assert(p1 != p2);
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/ |
H A D | param_eq.pass.cpp | 26 param_type p1(0.75); 28 assert(p1 == p2); 33 param_type p1(0.75); 35 assert(p1 != p2);
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.negbin/ |
H A D | param_eq.pass.cpp | 26 param_type p1(3, 0.75); 28 assert(p1 == p2); 33 param_type p1(3, 0.75); 35 assert(p1 != p2);
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/ |
H A D | param_eq.pass.cpp | 26 param_type p1(0.75, .5); 28 assert(p1 == p2); 33 param_type p1(0.75, .5); 35 assert(p1 != p2);
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/ |
H A D | param_eq.pass.cpp | 26 param_type p1(0.75); 28 assert(p1 == p2); 33 param_type p1(0.75); 35 assert(p1 != p2);
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.f/ |
H A D | param_eq.pass.cpp | 26 param_type p1(0.75, .5); 28 assert(p1 == p2); 33 param_type p1(0.75, .5); 35 assert(p1 != p2);
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/ |
H A D | param_eq.pass.cpp | 26 param_type p1(0.75, .5); 28 assert(p1 == p2); 33 param_type p1(0.75, .5); 35 assert(p1 != p2);
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.normal/ |
H A D | param_eq.pass.cpp | 26 param_type p1(0.75, .5); 28 assert(p1 == p2); 33 param_type p1(0.75, .5); 35 assert(p1 != p2);
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/ |
H A D | param_eq.pass.cpp | 26 param_type p1(0.75); 28 assert(p1 == p2); 33 param_type p1(0.75); 35 assert(p1 != p2);
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/ |
H A D | param_eq.pass.cpp | 26 param_type p1(0.75); 28 assert(p1 == p2); 33 param_type p1(0.75); 35 assert(p1 != p2);
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/ |
H A D | param_eq.pass.cpp | 26 param_type p1(0.75, .5); 28 assert(p1 == p2); 33 param_type p1(0.75, .5); 35 assert(p1 != p2);
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/ |
H A D | param_eq.pass.cpp | 26 param_type p1(0.75, .5); 28 assert(p1 == p2); 33 param_type p1(0.75, .5); 35 assert(p1 != p2);
|