/external/oprofile/libutil++/tests/ |
comma_list_tests.cpp | 28 comma_list<int> c1; local 30 check(c1, 1, true); 32 c1.set("2"); 34 check(c1, 2, true); 35 check(c1, 3, false); 37 c1.set("3"); 39 check(c1, 2, false); 40 check(c1, 3, true); 42 c1.set("2,3"); 44 check(c1, 2, true) [all...] |
/external/bison/lib/ |
c-strcasecmp.c | 31 unsigned char c1, c2; local 38 c1 = c_tolower (*p1); 41 if (c1 == '\0') 47 while (c1 == c2); 50 return c1 - c2; 55 return (c1 > c2 ? 1 : c1 < c2 ? -1 : 0);
|
c-strncasecmp.c | 31 unsigned char c1, c2; local 38 c1 = c_tolower (*p1); 41 if (--n == 0 || c1 == '\0') 47 while (c1 == c2); 50 return c1 - c2; 55 return (c1 > c2 ? 1 : c1 < c2 ? -1 : 0);
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/array/array.special/ |
swap.pass.cpp | 22 C c1 = {1, 2, 3.5}; local 24 swap(c1, c2); 25 assert(c1.size() == 3); 26 assert(c1[0] == 4); 27 assert(c1[1] == 5); 28 assert(c1[2] == 6.5); 37 C c1 = {}; local 39 swap(c1, c2); 40 assert(c1.size() == 0);
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/array/array.swap/ |
swap.pass.cpp | 22 C c1 = {1, 2, 3.5}; local 24 c1.swap(c2); 25 assert(c1.size() == 3); 26 assert(c1[0] == 4); 27 assert(c1[1] == 5); 28 assert(c1[2] == 6.5); 37 C c1 = {}; local 39 c1.swap(c2); 40 assert(c1.size() == 0);
|
/bionic/libc/upstream-freebsd/lib/libc/string/ |
wcscasecmp.c | 36 wchar_t c1, c2; local 39 c1 = towlower(*s1); 41 if (c1 != c2) 42 return ((int)c1 - c2);
|
/external/jdiff/src/jdiff/ |
CompareClassPdiffs.java | 17 ClassDiff c1 = (ClassDiff)obj1; local 19 if (c1.pdiff < c2.pdiff) 21 if (c1.pdiff > c2.pdiff) 23 return c1.name_.compareTo(c2.name_);
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.multiset/ |
eq.pass.cpp | 44 const C c1(std::begin(a), std::end(a)); 46 assert(!(c1 == c2)); 47 assert( (c1 != c2)); 66 const C c1(std::begin(a), std::end(a)); 67 const C c2 = c1; 68 assert( (c1 == c2)); 69 assert(!(c1 != c2)); 88 C c1(std::begin(a), std::end(a)); 89 C c2 = c1; 91 assert( (c1 == c2)) [all...] |
swap_member.pass.cpp | 33 C c1(0, Hash(1), Compare(1), Alloc(1)); 36 c1.swap(c2); 38 assert(c1.bucket_count() == 0); 39 assert(c1.size() == 0); 40 assert(c1.hash_function() == Hash(2)); 41 assert(c1.key_eq() == Compare(2)); 42 assert(c1.get_allocator() == Alloc(1)); 43 assert(std::distance(c1.begin(), c1.end()) == c1.size()) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.set/ |
eq.pass.cpp | 41 const C c1(std::begin(a), std::end(a)); 43 assert(!(c1 == c2)); 44 assert( (c1 != c2)); 60 const C c1(std::begin(a), std::end(a)); 61 const C c2 = c1; 62 assert( (c1 == c2)); 63 assert(!(c1 != c2)); 79 C c1(std::begin(a), std::end(a)); 80 C c2 = c1; 82 assert( (c1 == c2)) [all...] |
swap_member.pass.cpp | 33 C c1(0, Hash(1), Compare(1), Alloc(1)); 36 c1.swap(c2); 38 assert(c1.bucket_count() == 0); 39 assert(c1.size() == 0); 40 assert(c1.hash_function() == Hash(2)); 41 assert(c1.key_eq() == Compare(2)); 42 assert(c1.get_allocator() == Alloc(1)); 43 assert(std::distance(c1.begin(), c1.end()) == c1.size()) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateTest.java | 66 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 69 assertTrue(c1.hashCode() == c2.hashCode()); 77 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 80 assertTrue((c1.hashCode() == c2.hashCode()) && c1.equals(c2)); 89 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 90 assertEquals("TEST_TYPE", c1.getType()); 98 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 99 assertTrue(c1.equals(c1)); 108 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 118 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 128 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 143 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 162 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 181 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 189 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local 197 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.map/ |
swap_member.pass.cpp | 34 C c1(0, Hash(1), Compare(1), Alloc(1)); 37 c1.swap(c2); 39 assert(c1.bucket_count() == 0); 40 assert(c1.size() == 0); 41 assert(c1.hash_function() == Hash(2)); 42 assert(c1.key_eq() == Compare(2)); 43 assert(c1.get_allocator() == Alloc(1)); 44 assert(std::distance(c1.begin(), c1.end()) == c1.size()) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.map/unord.map.swap/ |
swap_non_member.pass.cpp | 34 C c1(0, Hash(1), Compare(1), Alloc(1)); 37 swap(c1, c2); 39 assert(c1.bucket_count() == 0); 40 assert(c1.size() == 0); 41 assert(c1.hash_function() == Hash(2)); 42 assert(c1.key_eq() == Compare(2)); 43 assert(c1.get_allocator() == Alloc(1)); 44 assert(std::distance(c1.begin(), c1.end()) == c1.size()) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.multiset/unord.multiset.swap/ |
swap_non_member.pass.cpp | 33 C c1(0, Hash(1), Compare(1), Alloc(1)); 36 swap(c1, c2); 38 assert(c1.bucket_count() == 0); 39 assert(c1.size() == 0); 40 assert(c1.hash_function() == Hash(2)); 41 assert(c1.key_eq() == Compare(2)); 42 assert(c1.get_allocator() == Alloc(1)); 43 assert(std::distance(c1.begin(), c1.end()) == c1.size()) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.set/unord.set.swap/ |
swap_non_member.pass.cpp | 33 C c1(0, Hash(1), Compare(1), Alloc(1)); 36 swap(c1, c2); 38 assert(c1.bucket_count() == 0); 39 assert(c1.size() == 0); 40 assert(c1.hash_function() == Hash(2)); 41 assert(c1.key_eq() == Compare(2)); 42 assert(c1.get_allocator() == Alloc(1)); 43 assert(std::distance(c1.begin(), c1.end()) == c1.size()) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/ |
lv_value.pass.cpp | 24 test(C c1, typename C::difference_type j, 28 std::insert_iterator<C> q(c1, c1.begin() + j); 32 assert(c1 == c2); 49 C c1; local 51 c1.push_back(i); 52 C c2 = c1; 54 test(c1, 0, 'a', 'b', 'c', c2); 55 c2 = c1; 57 test(c1, 1, 'a', 'b', 'c', c2) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/strings/basic.string/string.nonmembers/string.special/ |
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)), "");
|
/external/openssl/crypto/bn/asm/ |
x86_64-gcc.c | 111 BN_ULONG c1=0; local 113 if (num <= 0) return(c1); 117 mul_add(rp[0],ap[0],w,c1); 118 mul_add(rp[1],ap[1],w,c1); 119 mul_add(rp[2],ap[2],w,c1); 120 mul_add(rp[3],ap[3],w,c1); 125 mul_add(rp[0],ap[0],w,c1); if (--num==0) return c1; 126 mul_add(rp[1],ap[1],w,c1); if (--num==0) return c1; 135 BN_ULONG c1=0; local 356 BN_ULONG c1,c2,c3; local 460 BN_ULONG c1,c2,c3; local 500 BN_ULONG c1,c2,c3; local 576 BN_ULONG c1,c2,c3; local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/containers/associative/map/map.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/associative/multimap/multimap.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/associative/multiset/multiset.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/associative/set/set.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/container.adaptors/priority.queue/priqueue.special/ |
swap_noexcept.pass.cpp | 28 C c1, c2; local 29 static_assert(noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/container.adaptors/queue/queue.special/ |
swap_noexcept.pass.cpp | 27 C c1, c2; local 28 static_assert(noexcept(swap(c1, c2)), "");
|