/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++/libcxx/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++/libcxx/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++/libcxx/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++/libcxx/test/containers/sequences/forwardlist/forwardlist.spec/ |
member_swap.pass.cpp | 29 C c2(std::begin(t2), std::end(t2), A(2)); 30 c1.swap(c2); 38 assert(distance(c2.begin(), c2.end()) == 6); 39 assert(*next(c2.begin(), 0) == 0); 40 assert(*next(c2.begin(), 1) == 1); 41 assert(*next(c2.begin(), 2) == 2); 42 assert(*next(c2.begin(), 3) == 3); 43 assert(*next(c2.begin(), 4) == 4); 44 assert(*next(c2.begin(), 5) == 5) [all...] |
non_member_swap.pass.cpp | 30 C c2(std::begin(t2), std::end(t2), A(2)); 31 swap(c1, c2); 39 assert(distance(c2.begin(), c2.end()) == 6); 40 assert(*next(c2.begin(), 0) == 0); 41 assert(*next(c2.begin(), 1) == 1); 42 assert(*next(c2.begin(), 2) == 2); 43 assert(*next(c2.begin(), 3) == 3); 44 assert(*next(c2.begin(), 4) == 4); 45 assert(*next(c2.begin(), 5) == 5) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/ |
swap_member.pass.cpp | 37 C c2(0, Hash(2), Compare(2), Alloc(2)); 38 c2.max_load_factor(2); 39 c1.swap(c2); 50 assert(c2.bucket_count() == 0); 51 assert(c2.size() == 0); 52 assert(c2.hash_function() == Hash(1)); 53 assert(c2.key_eq() == Compare(1)); 54 assert(c2.get_allocator() == Alloc(2)); 55 assert(std::distance(c2.begin(), c2.end()) == c2.size()) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/unord.multimap.swap/ |
swap_non_member.pass.cpp | 36 C c2(0, Hash(2), Compare(2), Alloc(2)); 37 c2.max_load_factor(2); 38 swap(c1, c2); 49 assert(c2.bucket_count() == 0); 50 assert(c2.size() == 0); 51 assert(c2.hash_function() == Hash(1)); 52 assert(c2.key_eq() == Compare(1)); 53 assert(c2.get_allocator() == Alloc(2)); 54 assert(std::distance(c2.begin(), c2.end()) == c2.size()) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/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++/libcxx/test/containers/unord/unord.map/ |
swap_member.pass.cpp | 36 C c2(0, Hash(2), Compare(2), Alloc(2)); 37 c2.max_load_factor(2); 38 c1.swap(c2); 49 assert(c2.bucket_count() == 0); 50 assert(c2.size() == 0); 51 assert(c2.hash_function() == Hash(1)); 52 assert(c2.key_eq() == Compare(1)); 53 assert(c2.get_allocator() == Alloc(2)); 54 assert(std::distance(c2.begin(), c2.end()) == c2.size()) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/unord.map.swap/ |
swap_non_member.pass.cpp | 36 C c2(0, Hash(2), Compare(2), Alloc(2)); 37 c2.max_load_factor(2); 38 swap(c1, c2); 49 assert(c2.bucket_count() == 0); 50 assert(c2.size() == 0); 51 assert(c2.hash_function() == Hash(1)); 52 assert(c2.key_eq() == Compare(1)); 53 assert(c2.get_allocator() == Alloc(2)); 54 assert(std::distance(c2.begin(), c2.end()) == c2.size()) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/ |
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++/libcxx/test/containers/unord/unord.multiset/unord.multiset.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++/libcxx/test/containers/unord/unord.set/ |
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++/libcxx/test/containers/unord/unord.set/unord.set.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...] |
/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++/libcxx/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++/libcxx/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++/libcxx/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++/libcxx/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)), "");
|