/external/clang/test/Sema/ |
pointer-conversion.c | 4 char const ** c2 = &c; // expected-warning {{discards qualifiers in nested pointer types}} variable 7 dchar *** c3 = &c2; // expected-warning {{discards qualifiers in nested pointer types}}
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/array/array.special/ |
swap.pass.cpp | 23 C c2 = {4, 5, 6.5}; local 24 swap(c1, c2); 29 assert(c2.size() == 3); 30 assert(c2[0] == 1); 31 assert(c2[1] == 2); 32 assert(c2[2] == 3.5); 38 C c2 = {}; local 39 swap(c1, c2); 41 assert(c2.size() == 0);
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/array/array.swap/ |
swap.pass.cpp | 23 C c2 = {4, 5, 6.5}; local 24 c1.swap(c2); 29 assert(c2.size() == 3); 30 assert(c2[0] == 1); 31 assert(c2[1] == 2); 32 assert(c2[2] == 3.5); 38 C c2 = {}; local 39 c1.swap(c2); 41 assert(c2.size() == 0);
|
/external/bison/lib/ |
c-strcasecmp.c | 31 unsigned char c1, c2; local 39 c2 = c_tolower (*p2); 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 39 c2 = c_tolower (*p2); 47 while (c1 == c2); 50 return c1 - c2; 55 return (c1 > c2 ? 1 : c1 < c2 ? -1 : 0);
|
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/ |
lv_value.pass.cpp | 26 typename C::value_type x3, const C& c2) 32 assert(c1 == c2); 52 C c2 = c1; local 53 insert3at(c2, c2.begin(), 'a', 'b', 'c'); 54 test(c1, 0, 'a', 'b', 'c', c2); 55 c2 = c1; 56 insert3at(c2, c2.begin()+1, 'a', 'b', 'c'); 57 test(c1, 1, 'a', 'b', 'c', c2); [all...] |
/bionic/libc/upstream-freebsd/lib/libc/string/ |
wcscasecmp.c | 36 wchar_t c1, c2; local 40 c2 = towlower(*s2); 41 if (c1 != c2) 42 return ((int)c1 - c2);
|
/external/jdiff/src/jdiff/ |
CompareClassPdiffs.java | 18 ClassDiff c2 = (ClassDiff)obj2; local 19 if (c1.pdiff < c2.pdiff) 21 if (c1.pdiff > c2.pdiff) 23 return c1.name_.compareTo(c2.name_);
|
/external/oprofile/libutil++/tests/ |
comma_list_tests.cpp | 54 comma_list<int> c2; local 56 c2.set("6,all"); 58 check(c2, 4, true); 59 check(c2, 0, true); 61 c2.set("all,6"); 63 check(c2, 4, true); 64 check(c2, 0, true); 66 c2.set("10"); 67 check(c2, 10, true); 68 check(c2, 11, false) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.multiset/ |
eq.pass.cpp | 45 const C c2; local 46 assert(!(c1 == c2)); 47 assert( (c1 != c2)); 67 const C c2 = c1; local 68 assert( (c1 == c2)); 69 assert(!(c1 != c2)); 89 C c2 = c1; local 90 c2.rehash(30); 91 assert( (c1 == c2)); 92 assert(!(c1 != c2)); [all...] |
swap_member.pass.cpp | 34 C c2(0, Hash(2), Compare(2), Alloc(2)); 35 c2.max_load_factor(2); 36 c1.swap(c2); 47 assert(c2.bucket_count() == 0); 48 assert(c2.size() == 0); 49 assert(c2.hash_function() == Hash(1)); 50 assert(c2.key_eq() == Compare(1)); 51 assert(c2.get_allocator() == Alloc(2)); 52 assert(std::distance(c2.begin(), c2.end()) == c2.size()) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.set/ |
eq.pass.cpp | 42 const C c2; local 43 assert(!(c1 == c2)); 44 assert( (c1 != c2)); 61 const C c2 = c1; local 62 assert( (c1 == c2)); 63 assert(!(c1 != c2)); 80 C c2 = c1; local 81 c2.rehash(30); 82 assert( (c1 == c2)); 83 assert(!(c1 != c2)); [all...] |
swap_member.pass.cpp | 34 C c2(0, Hash(2), Compare(2), Alloc(2)); 35 c2.max_load_factor(2); 36 c1.swap(c2); 47 assert(c2.bucket_count() == 0); 48 assert(c2.size() == 0); 49 assert(c2.hash_function() == Hash(1)); 50 assert(c2.key_eq() == Compare(1)); 51 assert(c2.get_allocator() == Alloc(2)); 52 assert(std::distance(c2.begin(), c2.end()) == c2.size()) [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)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.map/ |
swap_member.pass.cpp | 35 C c2(0, Hash(2), Compare(2), Alloc(2)); 36 c2.max_load_factor(2); 37 c1.swap(c2); 48 assert(c2.bucket_count() == 0); 49 assert(c2.size() == 0); 50 assert(c2.hash_function() == Hash(1)); 51 assert(c2.key_eq() == Compare(1)); 52 assert(c2.get_allocator() == Alloc(2)); 53 assert(std::distance(c2.begin(), c2.end()) == c2.size()) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.map/unord.map.swap/ |
swap_non_member.pass.cpp | 35 C c2(0, Hash(2), Compare(2), Alloc(2)); 36 c2.max_load_factor(2); 37 swap(c1, c2); 48 assert(c2.bucket_count() == 0); 49 assert(c2.size() == 0); 50 assert(c2.hash_function() == Hash(1)); 51 assert(c2.key_eq() == Compare(1)); 52 assert(c2.get_allocator() == Alloc(2)); 53 assert(std::distance(c2.begin(), c2.end()) == c2.size()) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.multiset/unord.multiset.swap/ |
swap_non_member.pass.cpp | 34 C c2(0, Hash(2), Compare(2), Alloc(2)); 35 c2.max_load_factor(2); 36 swap(c1, c2); 47 assert(c2.bucket_count() == 0); 48 assert(c2.size() == 0); 49 assert(c2.hash_function() == Hash(1)); 50 assert(c2.key_eq() == Compare(1)); 51 assert(c2.get_allocator() == Alloc(2)); 52 assert(std::distance(c2.begin(), c2.end()) == c2.size()) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.set/unord.set.swap/ |
swap_non_member.pass.cpp | 34 C c2(0, Hash(2), Compare(2), Alloc(2)); 35 c2.max_load_factor(2); 36 swap(c1, c2); 47 assert(c2.bucket_count() == 0); 48 assert(c2.size() == 0); 49 assert(c2.hash_function() == Hash(1)); 50 assert(c2.key_eq() == Compare(1)); 51 assert(c2.get_allocator() == Alloc(2)); 52 assert(std::distance(c2.begin(), c2.end()) == c2.size()) [all...] |
/external/clang/test/CodeCompletion/ |
enum-switch-case.c | 23 unsigned c2; local 24 switch (c2) { 37 // CHECK-CC2-NEXT: COMPLETION: c2 : [#unsigned int#]c2
|
/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)), "");
|