Home
last modified time | relevance | path

Searched refs:c1 (Results 1 – 25 of 1165) sorted by relevance

12345678910>>...47

/external/boringssl/src/crypto/bn/asm/
Dx86_64-gcc.c101 BN_ULONG c1 = 0; in bn_mul_add_words() local
104 return (c1); in bn_mul_add_words()
108 mul_add(rp[0], ap[0], w, c1); in bn_mul_add_words()
109 mul_add(rp[1], ap[1], w, c1); in bn_mul_add_words()
110 mul_add(rp[2], ap[2], w, c1); in bn_mul_add_words()
111 mul_add(rp[3], ap[3], w, c1); in bn_mul_add_words()
117 mul_add(rp[0], ap[0], w, c1); in bn_mul_add_words()
119 return c1; in bn_mul_add_words()
121 mul_add(rp[1], ap[1], w, c1); in bn_mul_add_words()
123 return c1; in bn_mul_add_words()
[all …]
/external/libcxx/test/std/containers/unord/unord.set/
Dswap_member.pass.cpp34 C c1(0, Hash(1), Compare(1), Alloc(1)); in main() local
37 c1.swap(c2); in main()
39 assert(c1.bucket_count() == 0); in main()
40 assert(c1.size() == 0); in main()
41 assert(c1.hash_function() == Hash(2)); in main()
42 assert(c1.key_eq() == Compare(2)); in main()
43 assert(c1.get_allocator() == Alloc(1)); in main()
44 assert(std::distance(c1.begin(), c1.end()) == c1.size()); in main()
45 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size()); in main()
46 assert(c1.max_load_factor() == 2); in main()
[all …]
Deq.pass.cpp43 const C c1(std::begin(a), std::end(a)); in main() local
45 assert(!(c1 == c2)); in main()
46 assert( (c1 != c2)); in main()
62 const C c1(std::begin(a), std::end(a)); in main() local
63 const C c2 = c1; in main()
64 assert( (c1 == c2)); in main()
65 assert(!(c1 != c2)); in main()
81 C c1(std::begin(a), std::end(a)); in main() local
82 C c2 = c1; in main()
84 assert( (c1 == c2)); in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.set/unord.set.swap/
Dswap_non_member.pass.cpp34 C c1(0, Hash(1), Compare(1), Alloc(1)); in main() local
37 swap(c1, c2); in main()
39 assert(c1.bucket_count() == 0); in main()
40 assert(c1.size() == 0); in main()
41 assert(c1.hash_function() == Hash(2)); in main()
42 assert(c1.key_eq() == Compare(2)); in main()
43 assert(c1.get_allocator() == Alloc(1)); in main()
44 assert(std::distance(c1.begin(), c1.end()) == c1.size()); in main()
45 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size()); in main()
46 assert(c1.max_load_factor() == 2); in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.multiset/
Dswap_member.pass.cpp34 C c1(0, Hash(1), Compare(1), Alloc(1)); in main() local
37 c1.swap(c2); in main()
39 assert(c1.bucket_count() == 0); in main()
40 assert(c1.size() == 0); in main()
41 assert(c1.hash_function() == Hash(2)); in main()
42 assert(c1.key_eq() == Compare(2)); in main()
43 assert(c1.get_allocator() == Alloc(1)); in main()
44 assert(std::distance(c1.begin(), c1.end()) == c1.size()); in main()
45 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size()); in main()
46 assert(c1.max_load_factor() == 2); in main()
[all …]
Deq.pass.cpp46 const C c1(std::begin(a), std::end(a)); in main() local
48 assert(!(c1 == c2)); in main()
49 assert( (c1 != c2)); in main()
68 const C c1(std::begin(a), std::end(a)); in main() local
69 const C c2 = c1; in main()
70 assert( (c1 == c2)); in main()
71 assert(!(c1 != c2)); in main()
90 C c1(std::begin(a), std::end(a)); in main() local
91 C c2 = c1; in main()
93 assert( (c1 == c2)); in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.swap/
Dswap_non_member.pass.cpp34 C c1(0, Hash(1), Compare(1), Alloc(1)); in main() local
37 swap(c1, c2); in main()
39 assert(c1.bucket_count() == 0); in main()
40 assert(c1.size() == 0); in main()
41 assert(c1.hash_function() == Hash(2)); in main()
42 assert(c1.key_eq() == Compare(2)); in main()
43 assert(c1.get_allocator() == Alloc(1)); in main()
44 assert(std::distance(c1.begin(), c1.end()) == c1.size()); in main()
45 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size()); in main()
46 assert(c1.max_load_factor() == 2); in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.map/unord.map.swap/
Dswap_non_member.pass.cpp35 C c1(0, Hash(1), Compare(1), Alloc(1)); in main() local
38 swap(c1, c2); in main()
40 assert(c1.bucket_count() == 0); in main()
41 assert(c1.size() == 0); in main()
42 assert(c1.hash_function() == Hash(2)); in main()
43 assert(c1.key_eq() == Compare(2)); in main()
44 assert(c1.get_allocator() == Alloc(1)); in main()
45 assert(std::distance(c1.begin(), c1.end()) == c1.size()); in main()
46 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size()); in main()
47 assert(c1.max_load_factor() == 2); in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.map/
Dswap_member.pass.cpp35 C c1(0, Hash(1), Compare(1), Alloc(1)); in main() local
38 c1.swap(c2); in main()
40 assert(c1.bucket_count() == 0); in main()
41 assert(c1.size() == 0); in main()
42 assert(c1.hash_function() == Hash(2)); in main()
43 assert(c1.key_eq() == Compare(2)); in main()
44 assert(c1.get_allocator() == Alloc(1)); in main()
45 assert(std::distance(c1.begin(), c1.end()) == c1.size()); in main()
46 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size()); in main()
47 assert(c1.max_load_factor() == 2); in main()
[all …]
Deq.pass.cpp44 const C c1(std::begin(a), std::end(a)); in main() local
46 assert(!(c1 == c2)); in main()
47 assert( (c1 != c2)); in main()
63 const C c1(std::begin(a), std::end(a)); in main() local
64 const C c2 = c1; in main()
65 assert( (c1 == c2)); in main()
66 assert(!(c1 != c2)); in main()
82 C c1(std::begin(a), std::end(a)); in main() local
83 C c2 = c1; in main()
85 assert( (c1 == c2)); in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.multimap/
Dswap_member.pass.cpp36 C c1(0, Hash(1), Compare(1), Alloc(1)); in main() local
39 c1.swap(c2); in main()
41 assert(c1.bucket_count() == 0); in main()
42 assert(c1.size() == 0); in main()
43 assert(c1.hash_function() == Hash(2)); in main()
44 assert(c1.key_eq() == Compare(2)); in main()
45 assert(c1.get_allocator() == Alloc(1)); in main()
46 assert(std::distance(c1.begin(), c1.end()) == c1.size()); in main()
47 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size()); in main()
48 assert(c1.max_load_factor() == 2); in main()
[all …]
Deq.pass.cpp47 const C c1(std::begin(a), std::end(a)); in main() local
49 assert(!(c1 == c2)); in main()
50 assert( (c1 != c2)); in main()
69 const C c1(std::begin(a), std::end(a)); in main() local
70 const C c2 = c1; in main()
71 assert( (c1 == c2)); in main()
72 assert(!(c1 != c2)); in main()
91 C c1(std::begin(a), std::end(a)); in main() local
92 C c2 = c1; in main()
94 assert( (c1 == c2)); in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.swap/
Dswap_non_member.pass.cpp35 C c1(0, Hash(1), Compare(1), Alloc(1)); in main() local
38 swap(c1, c2); in main()
40 assert(c1.bucket_count() == 0); in main()
41 assert(c1.size() == 0); in main()
42 assert(c1.hash_function() == Hash(2)); in main()
43 assert(c1.key_eq() == Compare(2)); in main()
44 assert(c1.get_allocator() == Alloc(1)); in main()
45 assert(std::distance(c1.begin(), c1.end()) == c1.size()); in main()
46 assert(std::distance(c1.cbegin(), c1.cend()) == c1.size()); in main()
47 assert(c1.max_load_factor() == 2); in main()
[all …]
/external/boringssl/src/crypto/bn/
Dgeneric.c225 BN_ULONG c1 = 0; in bn_mul_add_words() local
229 return c1; in bn_mul_add_words()
233 mul_add(rp[0], ap[0], w, c1); in bn_mul_add_words()
234 mul_add(rp[1], ap[1], w, c1); in bn_mul_add_words()
235 mul_add(rp[2], ap[2], w, c1); in bn_mul_add_words()
236 mul_add(rp[3], ap[3], w, c1); in bn_mul_add_words()
243 mul_add(rp[0], ap[0], w, c1); in bn_mul_add_words()
249 return c1; in bn_mul_add_words()
253 BN_ULONG c1 = 0; in bn_mul_words() local
257 return c1; in bn_mul_words()
[all …]
/external/libcxx/test/std/containers/sequences/vector/vector.special/
Dswap.pass.cpp27 std::vector<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main() local
29 assert(is_contiguous_container_asan_correct(c1)); in main()
31 swap(c1, c2); in main()
32 assert(c1 == std::vector<int>(a2, a2+sizeof(a2)/sizeof(a2[0]))); in main()
34 assert(is_contiguous_container_asan_correct(c1)); in main()
40 std::vector<int> c1(a1, a1); in main() local
42 assert(is_contiguous_container_asan_correct(c1)); in main()
44 swap(c1, c2); in main()
45 assert(c1 == std::vector<int>(a2, a2+sizeof(a2)/sizeof(a2[0]))); in main()
48 assert(is_contiguous_container_asan_correct(c1)); in main()
[all …]
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.spec/
Dnon_member_swap.pass.cpp28 C c1(std::begin(t1), std::end(t1), A(1)); in main() local
31 swap(c1, c2); in main()
33 assert(distance(c1.begin(), c1.end()) == 3); in main()
34 assert(*next(c1.begin(), 0) == 10); in main()
35 assert(*next(c1.begin(), 1) == 11); in main()
36 assert(*next(c1.begin(), 2) == 12); in main()
37 assert(c1.get_allocator() == A(1)); in main()
53 C c1(std::begin(t1), std::end(t1), A(1)); in main() local
55 swap(c1, c2); in main()
57 assert(distance(c1.begin(), c1.end()) == 0); in main()
[all …]
Dmember_swap.pass.cpp27 C c1(std::begin(t1), std::end(t1), A(1)); in main() local
30 c1.swap(c2); in main()
32 assert(distance(c1.begin(), c1.end()) == 3); in main()
33 assert(*next(c1.begin(), 0) == 10); in main()
34 assert(*next(c1.begin(), 1) == 11); in main()
35 assert(*next(c1.begin(), 2) == 12); in main()
36 assert(c1.get_allocator() == A(1)); in main()
52 C c1(std::begin(t1), std::end(t1), A(1)); in main() local
54 c1.swap(c2); in main()
56 assert(distance(c1.begin(), c1.end()) == 0); in main()
[all …]
/external/eigen/test/
Dblock.cpp15 block_real_only(const MatrixType &m1, Index r1, Index r2, Index c1, Index c2, const Scalar& s1) { in block_real_only() argument
18 VERIFY_IS_APPROX(m1.col(c1).cwiseMin(s1), m1.cwiseMin(s1).col(c1)); in block_real_only()
20 …VERIFY_IS_APPROX(m1.block(r1,c1,r2-r1+1,c2-c1+1).cwiseMin(s1), m1.cwiseMin(s1).block(r1,c1,r2-r1+1… in block_real_only()
21 …VERIFY_IS_APPROX(m1.block(r1,c1,r2-r1+1,c2-c1+1).cwiseMax(s1), m1.cwiseMax(s1).block(r1,c1,r2-r1+1… in block_real_only()
57 Index c1 = internal::random<Index>(0,cols-1); in block() local
58 Index c2 = internal::random<Index>(c1,cols-1); in block()
60 block_real_only(m1, r1, r2, c1, c1, s1); in block()
63 VERIFY_IS_EQUAL(m1.col(c1).transpose(), m1.transpose().row(c1)); in block()
72 m1.col(c1) += s1 * m1_copy.col(c2); in block()
73 VERIFY_IS_APPROX(m1.col(c1), m1_copy.col(c1) + s1 * m1_copy.col(c2)); in block()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/test/type/
Dtest_constraint.py15 self.c1 = constraint.SingleValueConstraint(1,2)
18 def testCmp(self): assert self.c1 == self.c1, 'comparation fails'
19 def testHash(self): assert hash(self.c1) != hash(self.c2), 'hash() fails'
22 self.c1(1)
27 self.c1(4)
35 self.c1 = constraint.ContainedSubtypeConstraint(
41 self.c1(12)
46 self.c1(4)
54 self.c1 = constraint.ValueRangeConstraint(1,4)
58 self.c1(1)
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
DCertificateTest.java66 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); in testHashCode() local
69 assertTrue(c1.hashCode() == c2.hashCode()); in testHashCode()
77 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); in testHashCodeEqualsObject() local
80 assertTrue((c1.hashCode() == c2.hashCode()) && c1.equals(c2)); in testHashCodeEqualsObject()
89 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); in testGetType() local
90 assertEquals("TEST_TYPE", c1.getType()); in testGetType()
98 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); in testEqualsObject01() local
99 assertTrue(c1.equals(c1)); in testEqualsObject01()
108 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); in testEqualsObject02() local
110 assertTrue(c1.equals(c2) && c2.equals(c1)); in testEqualsObject02()
[all …]
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.cons/
Dassign_copy.pass.cpp30 C c1(std::begin(t1), std::end(t1), A(10)); in main() local
31 c1 = c0; in main()
32 assert(c1 == c0); in main()
33 assert(c1.get_allocator() == A(10)); in main()
42 C c1(std::begin(t1), std::end(t1), A(11)); in main() local
43 c1 = c0; in main()
44 assert(c1 == c0); in main()
45 assert(c1.get_allocator() == A(11)); in main()
54 C c1(std::begin(t1), std::end(t1), A(10)); in main() local
55 c1 = c0; in main()
[all …]
/external/libcxx/test/std/containers/sequences/list/list.special/
Dswap.pass.cpp25 std::list<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main() local
27 swap(c1, c2); in main()
28 assert(c1 == std::list<int>(a2, a2+sizeof(a2)/sizeof(a2[0]))); in main()
34 std::list<int> c1(a1, a1); in main() local
36 swap(c1, c2); in main()
37 assert(c1 == std::list<int>(a2, a2+sizeof(a2)/sizeof(a2[0]))); in main()
44 std::list<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main() local
46 swap(c1, c2); in main()
47 assert(c1.empty()); in main()
48 assert(distance(c1.begin(), c1.end()) == 0); in main()
[all …]
/external/libcxx/test/std/containers/sequences/deque/deque.modifiers/
Dinsert_iter_iter.pass.cpp55 C c1 = c0; in test() local
56 std::size_t c1_osize = c1.size(); in test()
57 CI i = c1.insert(c1.begin() + P, BCI(c2.begin()), BCI(c2.end())); in test()
58 assert(i == c1.begin() + P); in test()
59 assert(c1.size() == c1_osize + c2.size()); in test()
60 assert(distance(c1.begin(), c1.end()) == c1.size()); in test()
61 i = c1.begin(); in test()
72 C c1 = c0; in test() local
73 std::size_t c1_osize = c1.size(); in test()
74 CI i = c1.insert(c1.begin() + P, BCI(c2.begin()), BCI(c2.end())); in test()
[all …]
/external/pcre/dist/
Dpcre_string_utils.c70 pcre_uchar c1; in PRIV() local
75 c1 = *str1++; in PRIV()
77 if (c1 != c2) in PRIV()
78 return ((c1 > c2) << 1) - 1; in PRIV()
89 pcre_uchar c1; in PRIV() local
94 c1 = UCHAR21INC(str1); in PRIV()
96 if (c1 != c2) in PRIV()
97 return ((c1 > c2) << 1) - 1; in PRIV()
109 pcre_uchar c1; in PRIV() local
114 c1 = *str1++; in PRIV()
[all …]
/external/libcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/
Dlv_value.pass.cpp25 test(C c1, typename C::difference_type j, in test() argument
29 std::insert_iterator<C> q(c1, c1.begin() + j); in test()
33 assert(c1 == c2); in test()
51 C c1; in main() local
53 c1.push_back(i); in main()
54 C c2 = c1; in main()
56 test(c1, 0, 'a', 'b', 'c', c2); in main()
57 c2 = c1; in main()
59 test(c1, 1, 'a', 'b', 'c', c2); in main()
60 c2 = c1; in main()
[all …]

12345678910>>...47