/ndk/sources/cxx-stl/llvm-libc++/test/containers/container.adaptors/stack/stack.special/ |
swap_noexcept.pass.cpp | 27 C c1, c2; local 28 static_assert(noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/deque/deque.special/ |
swap_noexcept.pass.cpp | 41 C c1, c2; local 42 static_assert(noexcept(swap(c1, c2)), ""); 46 C c1, c2; local 47 static_assert(noexcept(swap(c1, c2)), ""); 51 C c1, c2; local 52 static_assert(noexcept(swap(c1, c2)), ""); 56 C c1, c2; local 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/forwardlist/forwardlist.cons/ |
assign_copy.pass.cpp | 29 C c1(std::begin(t1), std::end(t1), A(10)); 30 c1 = c0; 31 assert(c1 == c0); 32 assert(c1.get_allocator() == A(10)); 41 C c1(std::begin(t1), std::end(t1), A(11)); 42 c1 = c0; 43 assert(c1 == c0); 44 assert(c1.get_allocator() == A(11)); 53 C c1(std::begin(t1), std::end(t1), A(10)); 54 c1 = c0 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/forwardlist/forwardlist.spec/ |
swap_noexcept.pass.cpp | 41 C c1, c2; local 42 static_assert(noexcept(swap(c1, c2)), ""); 46 C c1, c2; local 47 static_assert(noexcept(swap(c1, c2)), ""); 51 C c1, c2; local 52 static_assert(noexcept(swap(c1, c2)), ""); 56 C c1, c2; local 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/list/list.special/ |
swap_noexcept.pass.cpp | 41 C c1, c2; local 42 static_assert(noexcept(swap(c1, c2)), ""); 46 C c1, c2; local 47 static_assert(noexcept(swap(c1, c2)), ""); 51 C c1, c2; local 52 static_assert(noexcept(swap(c1, c2)), ""); 56 C c1, c2; local 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/vector/vector.special/ |
swap_noexcept.pass.cpp | 41 C c1, c2; local 42 static_assert(noexcept(swap(c1, c2)), ""); 46 C c1, c2; local 47 static_assert(noexcept(swap(c1, c2)), ""); 51 C c1, c2; local 52 static_assert(noexcept(swap(c1, c2)), ""); 56 C c1, c2; local 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/vector.bool/ |
swap_noexcept.pass.cpp | 40 C c1, c2; local 41 static_assert(noexcept(swap(c1, c2)), ""); 45 C c1, c2; local 46 static_assert(noexcept(swap(c1, c2)), ""); 50 C c1, c2; local 51 static_assert(noexcept(swap(c1, c2)), ""); 55 C c1, c2; local 56 static_assert(!noexcept(swap(c1, c2)), "");
|
/bionic/libc/upstream-freebsd/lib/libc/string/ |
wcsncasecmp.c | 36 wchar_t c1, c2; local 41 c1 = towlower(*s1); 43 if (c1 != c2) 44 return ((int)c1 - c2);
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.map/ |
eq.pass.cpp | 42 const C c1(std::begin(a), std::end(a)); 44 assert(!(c1 == c2)); 45 assert( (c1 != c2)); 61 const C c1(std::begin(a), std::end(a)); 62 const C c2 = c1; 63 assert( (c1 == c2)); 64 assert(!(c1 != c2)); 80 C c1(std::begin(a), std::end(a)); 81 C c2 = c1; 83 assert( (c1 == c2)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.multimap/ |
eq.pass.cpp | 45 const C c1(std::begin(a), std::end(a)); 47 assert(!(c1 == c2)); 48 assert( (c1 != c2)); 67 const C c1(std::begin(a), std::end(a)); 68 const C c2 = c1; 69 assert( (c1 == c2)); 70 assert(!(c1 != c2)); 89 C c1(std::begin(a), std::end(a)); 90 C c2 = c1; 92 assert( (c1 == c2)) [all...] |
/external/openssl/crypto/bn/ |
bn_asm.c | 73 BN_ULONG c1=0; local 76 if (num <= 0) return(c1); 81 mul_add(rp[0],ap[0],w,c1); 82 mul_add(rp[1],ap[1],w,c1); 83 mul_add(rp[2],ap[2],w,c1); 84 mul_add(rp[3],ap[3],w,c1); 90 mul_add(rp[0],ap[0],w,c1); 94 return(c1); 99 BN_ULONG c1=0; local 102 if (num <= 0) return(c1); 565 BN_ULONG c1,c2,c3; local 674 BN_ULONG c1,c2,c3; local 719 BN_ULONG c1,c2,c3; local 800 BN_ULONG c1,c2,c3; local 849 BN_ULONG c0,c1,ml,*tp,n0; local 988 BN_ULONG c0,c1,*tp,n0=*n0p; local [all...] |
/external/clang/test/SemaCXX/ |
cxx-member-pointer-op.cpp | 12 C c1; local 13 c1.*pmfc(); // expected-error {{invalid use of pointer to member type after .*}} 15 c1.*((pmfc())); // expected-error {{invalid use of pointer to member type after .*}}
|
builtin-ptrtomember-overload-1.cpp | 33 struct C1 : B1 { 37 void foo1(C1 c1, int A::* pmf) { 38 int i = c1->*pmf; 39 c1->*pmf = 10; 42 void foo1(C1 c1, int E::* pmf) { 43 int i = c1->*pmf; // expected-error {{use of overloaded operator '->*' is ambiguous}} \ 44 // expected-note {{because of ambiguity in conversion of 'C1' to 'E *'}} \
|
/external/valgrind/main/memcheck/tests/ |
leak-cycle.c | 39 struct n *volatile c1, *volatile c2; local 44 c1 = mkcycle(); 47 c1 = c2 = 0; 50 c1 = mkcycle(); 55 if (c1 < c2) 56 c2->r = c1; 58 c1->r = c2; 60 c1 = c2 = 0; 63 c1 = mkcycle(); 66 c1->r = c2 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/list/list.ops/ |
merge.pass.cpp | 22 std::list<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); 24 c1.merge(c2); 25 assert(c1 == std::list<int>(a3, a3+sizeof(a3)/sizeof(a3[0])));
|
reverse.pass.cpp | 21 std::list<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); 22 c1.reverse(); 23 assert(c1 == std::list<int>(a2, a2+sizeof(a2)/sizeof(a2[0])));
|
sort.pass.cpp | 21 std::list<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); 22 c1.sort(); 23 assert(c1 == std::list<int>(a2, a2+sizeof(a2)/sizeof(a2[0])));
|
sort_comp.pass.cpp | 22 std::list<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); 23 c1.sort(std::greater<int>()); 24 assert(c1 == std::list<int>(a2, a2+sizeof(a2)/sizeof(a2[0])));
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/forwardlist/forwardlist.ops/ |
remove.pass.cpp | 25 C c1(std::begin(t1), std::end(t1)); 27 c1.remove(0); 28 assert(c1 == c2); 34 C c1(std::begin(t1), std::end(t1)); 36 c1.remove(0); 37 assert(c1 == c2); 44 C c1(std::begin(t1), std::end(t1)); 46 c1.remove(0); 47 assert(c1 == c2); 52 C c1; local [all...] |
remove_if.pass.cpp | 30 C c1(std::begin(t1), std::end(t1)); 32 c1.remove_if(g); 33 assert(c1 == c2); 39 C c1(std::begin(t1), std::end(t1)); 41 c1.remove_if(g); 42 assert(c1 == c2); 49 C c1(std::begin(t1), std::end(t1)); 51 c1.remove_if(g); 52 assert(c1 == c2); 57 C c1; local [all...] |
unique.pass.cpp | 25 C c1(std::begin(t1), std::end(t1)); 27 c1.unique(); 28 assert(c1 == c2); 35 C c1(std::begin(t1), std::end(t1)); 37 c1.unique(); 38 assert(c1 == c2); 45 C c1(std::begin(t1), std::end(t1)); 47 c1.unique(); 48 assert(c1 == c2); 53 C c1; local [all...] |
unique_pred.pass.cpp | 30 C c1(std::begin(t1), std::end(t1)); 32 c1.unique(g); 33 assert(c1 == c2); 40 C c1(std::begin(t1), std::end(t1)); 42 c1.unique(g); 43 assert(c1 == c2); 50 C c1(std::begin(t1), std::end(t1)); 52 c1.unique(g); 53 assert(c1 == c2); 58 C c1; local [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/spec/ |
EllipticCurve_ImplTest.java | 45 EllipticCurve c2=null, c1 = local 49 assertFalse(c1.equals(c2)); 52 c1 = new EllipticCurve(new ECFieldFp(BigInteger.valueOf(23L)), 58 assertFalse(c1.equals(c2) || c2.equals(c1)); 61 c1 = new EllipticCurve(new ECFieldFp(BigInteger.valueOf(23L)), 67 assertFalse(c1.equals(c2) || c2.equals(c1)); 70 c1 = new EllipticCurve(new ECFieldFp(BigInteger.valueOf(23L)), 76 assertFalse(c1.equals(c2) || c2.equals(c1)) [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CertificateTest.java | 63 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 64 assertTrue(Arrays.equals(testEncoding, c1.getEncoded())); 65 assertEquals("TEST", c1.getPublicKey().getAlgorithm()); 67 c1.getPublicKey().getEncoded())); 68 assertEquals("TEST_FORMAT", c1.getPublicKey().getFormat()); 69 assertEquals("TEST_TYPE", c1.getType()); 78 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 81 assertTrue(c1.hashCode() == c2.hashCode()); 83 assertFalse(c1.hashCode() == new MyCertificate("TEST_TYPE", cert 85 assertFalse(c1.hashCode() == cert.hashCode()) 93 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 106 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 115 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 125 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 135 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 145 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 158 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 192 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 211 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 219 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 227 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 235 MyCertificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 388 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 415 MyCertificate c1 = new MyFailingCertificate("TEST_TYPE", testEncoding); local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/deque/deque.modifiers/ |
pop_back.pass.cpp | 39 test(std::deque<int>& c1) 43 std::size_t c1_osize = c1.size(); 44 c1.pop_back(); 45 assert(c1.size() == c1_osize - 1); 46 assert(distance(c1.begin(), c1.end()) == c1.size()); 47 I i = c1.begin(); 48 for (int j = 0; j < c1.size(); ++j, ++i) 58 C c1 = make(N, start) local [all...] |