/external/llvm-project/clang/test/Sema/ |
D | conditional-expr.c | 38 unsigned long test0 = 5; in foo() local 39 …test0 = test0 ? (long) test0 : test0; // expected-warning {{operand of ? changes signedness: 'long… in foo() 40 …test0 = test0 ? (int) test0 : test0; // expected-warning {{operand of ? changes signedness: 'int' … in foo() 41 …test0 = test0 ? (short) test0 : test0; // expected-warning {{operand of ? changes signedness: 'sho… in foo() 42 …test0 = test0 ? test0 : (long) test0; // expected-warning {{operand of ? changes signedness: 'long… in foo() 43 …test0 = test0 ? test0 : (int) test0; // expected-warning {{operand of ? changes signedness: 'int' … in foo() 44 …test0 = test0 ? test0 : (short) test0; // expected-warning {{operand of ? changes signedness: 'sho… in foo() 45 test0 = test0 ? test0 : (long) 10; in foo() 46 test0 = test0 ? test0 : (int) 10; in foo() 47 test0 = test0 ? test0 : (short) 10; in foo() [all …]
|
/external/clang/test/Sema/ |
D | conditional-expr.c | 38 unsigned long test0 = 5; in foo() local 39 …test0 = test0 ? (long) test0 : test0; // expected-warning {{operand of ? changes signedness: 'long… in foo() 40 …test0 = test0 ? (int) test0 : test0; // expected-warning {{operand of ? changes signedness: 'int' … in foo() 41 …test0 = test0 ? (short) test0 : test0; // expected-warning {{operand of ? changes signedness: 'sho… in foo() 42 …test0 = test0 ? test0 : (long) test0; // expected-warning {{operand of ? changes signedness: 'long… in foo() 43 …test0 = test0 ? test0 : (int) test0; // expected-warning {{operand of ? changes signedness: 'int' … in foo() 44 …test0 = test0 ? test0 : (short) test0; // expected-warning {{operand of ? changes signedness: 'sho… in foo() 45 test0 = test0 ? test0 : (long) 10; in foo() 46 test0 = test0 ? test0 : (int) 10; in foo() 47 test0 = test0 ? test0 : (short) 10; in foo() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.nonmembers/string_op+/ |
D | string_pointer.pass.cpp | 28 void test0(const S& lhs, const typename S::value_type* rhs, const S& x) { in test0() function 42 test0(S(""), "", S("")); in main() 43 test0(S(""), "12345", S("12345")); in main() 44 test0(S(""), "1234567890", S("1234567890")); in main() 45 test0(S(""), "12345678901234567890", S("12345678901234567890")); in main() 46 test0(S("abcde"), "", S("abcde")); in main() 47 test0(S("abcde"), "12345", S("abcde12345")); in main() 48 test0(S("abcde"), "1234567890", S("abcde1234567890")); in main() 49 test0(S("abcde"), "12345678901234567890", S("abcde12345678901234567890")); in main() 50 test0(S("abcdefghij"), "", S("abcdefghij")); in main() [all …]
|
D | pointer_string.pass.cpp | 28 void test0(const typename S::value_type* lhs, const S& rhs, const S& x) { in test0() function 42 test0("", S(""), S("")); in main() 43 test0("", S("12345"), S("12345")); in main() 44 test0("", S("1234567890"), S("1234567890")); in main() 45 test0("", S("12345678901234567890"), S("12345678901234567890")); in main() 46 test0("abcde", S(""), S("abcde")); in main() 47 test0("abcde", S("12345"), S("abcde12345")); in main() 48 test0("abcde", S("1234567890"), S("abcde1234567890")); in main() 49 test0("abcde", S("12345678901234567890"), S("abcde12345678901234567890")); in main() 50 test0("abcdefghij", S(""), S("abcdefghij")); in main() [all …]
|
/external/llvm-project/libcxx/test/std/strings/basic.string/string.nonmembers/string_op+/ |
D | pointer_string.pass.cpp | 27 void test0(const typename S::value_type* lhs, const S& rhs, const S& x) { in test0() function 41 test0("", S(""), S("")); in main() 42 test0("", S("12345"), S("12345")); in main() 43 test0("", S("1234567890"), S("1234567890")); in main() 44 test0("", S("12345678901234567890"), S("12345678901234567890")); in main() 45 test0("abcde", S(""), S("abcde")); in main() 46 test0("abcde", S("12345"), S("abcde12345")); in main() 47 test0("abcde", S("1234567890"), S("abcde1234567890")); in main() 48 test0("abcde", S("12345678901234567890"), S("abcde12345678901234567890")); in main() 49 test0("abcdefghij", S(""), S("abcdefghij")); in main() [all …]
|
D | string_pointer.pass.cpp | 27 void test0(const S& lhs, const typename S::value_type* rhs, const S& x) { in test0() function 41 test0(S(""), "", S("")); in main() 42 test0(S(""), "12345", S("12345")); in main() 43 test0(S(""), "1234567890", S("1234567890")); in main() 44 test0(S(""), "12345678901234567890", S("12345678901234567890")); in main() 45 test0(S("abcde"), "", S("abcde")); in main() 46 test0(S("abcde"), "12345", S("abcde12345")); in main() 47 test0(S("abcde"), "1234567890", S("abcde1234567890")); in main() 48 test0(S("abcde"), "12345678901234567890", S("abcde12345678901234567890")); in main() 49 test0(S("abcdefghij"), "", S("abcdefghij")); in main() [all …]
|
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.erasure/ |
D | erase.pass.cpp | 26 test0(S s, U val, S expected) in test0() function 37 test0(S(), 1, S()); in test() 39 test0(S({1}), 1, S()); in test() 40 test0(S({1}), 2, S({1})); in test() 42 test0(S({1,2}), 1, S({2})); in test() 43 test0(S({1,2}), 2, S({1})); in test() 44 test0(S({1,2}), 3, S({1,2})); in test() 45 test0(S({1,1}), 1, S()); in test() 46 test0(S({1,1}), 3, S({1,1})); in test() 48 test0(S({1,2,3}), 1, S({2,3})); in test() [all …]
|
/external/libcxx/test/std/containers/sequences/list/list.erasure/ |
D | erase.pass.cpp | 26 test0(S s, U val, S expected) in test0() function 37 test0(S(), 1, S()); in test() 39 test0(S({1}), 1, S()); in test() 40 test0(S({1}), 2, S({1})); in test() 42 test0(S({1,2}), 1, S({2})); in test() 43 test0(S({1,2}), 2, S({1})); in test() 44 test0(S({1,2}), 3, S({1,2})); in test() 45 test0(S({1,1}), 1, S()); in test() 46 test0(S({1,1}), 3, S({1,1})); in test() 48 test0(S({1,2,3}), 1, S({2,3})); in test() [all …]
|
D | erase_if.pass.cpp | 24 test0(S s, Pred p, S expected) in test0() function 41 test0(S(), is1, S()); in test() 43 test0(S({1}), is1, S()); in test() 44 test0(S({1}), is2, S({1})); in test() 46 test0(S({1,2}), is1, S({2})); in test() 47 test0(S({1,2}), is2, S({1})); in test() 48 test0(S({1,2}), is3, S({1,2})); in test() 49 test0(S({1,1}), is1, S()); in test() 50 test0(S({1,1}), is3, S({1,1})); in test() 52 test0(S({1,2,3}), is1, S({2,3})); in test() [all …]
|
/external/libcxx/test/std/containers/sequences/deque/deque.erasure/ |
D | erase.pass.cpp | 26 test0(S s, U val, S expected) in test0() function 37 test0(S(), 1, S()); in test() 39 test0(S({1}), 1, S()); in test() 40 test0(S({1}), 2, S({1})); in test() 42 test0(S({1,2}), 1, S({2})); in test() 43 test0(S({1,2}), 2, S({1})); in test() 44 test0(S({1,2}), 3, S({1,2})); in test() 45 test0(S({1,1}), 1, S()); in test() 46 test0(S({1,1}), 3, S({1,1})); in test() 48 test0(S({1,2,3}), 1, S({2,3})); in test() [all …]
|
/external/libcxx/test/std/strings/strings.erasure/ |
D | erase.pass.cpp | 26 test0(S s, U val, S expected) in test0() function 38 test0(S(""), 'a', S("")); in test() 40 test0(S("a"), 'a', S("")); in test() 41 test0(S("a"), 'b', S("a")); in test() 43 test0(S("ab"), 'a', S("b")); in test() 44 test0(S("ab"), 'b', S("a")); in test() 45 test0(S("ab"), 'c', S("ab")); in test() 46 test0(S("aa"), 'a', S("")); in test() 47 test0(S("aa"), 'c', S("aa")); in test() 49 test0(S("abc"), 'a', S("bc")); in test() [all …]
|
/external/libcxx/test/std/containers/sequences/vector/vector.erasure/ |
D | erase.pass.cpp | 26 test0(S s, U val, S expected) in test0() function 37 test0(S(), 1, S()); in test() 39 test0(S({1}), 1, S()); in test() 40 test0(S({1}), 2, S({1})); in test() 42 test0(S({1,2}), 1, S({2})); in test() 43 test0(S({1,2}), 2, S({1})); in test() 44 test0(S({1,2}), 3, S({1,2})); in test() 45 test0(S({1,1}), 1, S()); in test() 46 test0(S({1,1}), 3, S({1,1})); in test() 48 test0(S({1,2,3}), 1, S({2,3})); in test() [all …]
|
D | erase_if.pass.cpp | 24 test0(S s, Pred p, S expected) in test0() function 41 test0(S(), is1, S()); in test() 43 test0(S({1}), is1, S()); in test() 44 test0(S({1}), is2, S({1})); in test() 46 test0(S({1,2}), is1, S({2})); in test() 47 test0(S({1,2}), is2, S({1})); in test() 48 test0(S({1,2}), is3, S({1,2})); in test() 49 test0(S({1,1}), is1, S()); in test() 50 test0(S({1,1}), is3, S({1,1})); in test() 52 test0(S({1,2,3}), is1, S({2,3})); in test() [all …]
|
/external/llvm-project/libcxx/test/std/containers/sequences/forwardlist/forwardlist.erasure/ |
D | erase.pass.cpp | 24 void test0(S s, U val, S expected, size_t expected_erased_count) { in test0() function 33 test0(S(), 1, S(), 0); in test() 35 test0(S({1}), 1, S(), 1); in test() 36 test0(S({1}), 2, S({1}), 0); in test() 38 test0(S({1, 2}), 1, S({2}), 1); in test() 39 test0(S({1, 2}), 2, S({1}), 1); in test() 40 test0(S({1, 2}), 3, S({1, 2}), 0); in test() 41 test0(S({1, 1}), 1, S(), 2); in test() 42 test0(S({1, 1}), 3, S({1, 1}), 0); in test() 44 test0(S({1, 2, 3}), 1, S({2, 3}), 1); in test() [all …]
|
/external/llvm-project/libcxx/test/std/strings/strings.erasure/ |
D | erase.pass.cpp | 24 void test0(S s, U val, S expected, size_t expected_erased_count) { in test0() function 35 test0(S(""), 'a', S(""), 0); in test() 37 test0(S("a"), 'a', S(""), 1); in test() 38 test0(S("a"), 'b', S("a"), 0); in test() 40 test0(S("ab"), 'a', S("b"), 1); in test() 41 test0(S("ab"), 'b', S("a"), 1); in test() 42 test0(S("ab"), 'c', S("ab"), 0); in test() 43 test0(S("aa"), 'a', S(""), 2); in test() 44 test0(S("aa"), 'c', S("aa"), 0); in test() 46 test0(S("abc"), 'a', S("bc"), 1); in test() [all …]
|
D | erase_if.pass.cpp | 23 void test0(S s, Pred p, S expected, size_t expected_erased_count) { in test0() function 40 test0(S(""), isA, S(""), 0); in test() 42 test0(S("a"), isA, S(""), 1); in test() 43 test0(S("a"), isB, S("a"), 0); in test() 45 test0(S("ab"), isA, S("b"), 1); in test() 46 test0(S("ab"), isB, S("a"), 1); in test() 47 test0(S("ab"), isC, S("ab"), 0); in test() 48 test0(S("aa"), isA, S(""), 2); in test() 49 test0(S("aa"), isC, S("aa"), 0); in test() 51 test0(S("abc"), isA, S("bc"), 1); in test() [all …]
|
/external/llvm-project/libcxx/test/std/containers/sequences/deque/deque.erasure/ |
D | erase.pass.cpp | 24 void test0(S s, U val, S expected, size_t expected_erased_count) { in test0() function 33 test0(S(), 1, S(), 0); in test() 35 test0(S({1}), 1, S(), 1); in test() 36 test0(S({1}), 2, S({1}), 0); in test() 38 test0(S({1, 2}), 1, S({2}), 1); in test() 39 test0(S({1, 2}), 2, S({1}), 1); in test() 40 test0(S({1, 2}), 3, S({1, 2}), 0); in test() 41 test0(S({1, 1}), 1, S(), 2); in test() 42 test0(S({1, 1}), 3, S({1, 1}), 0); in test() 44 test0(S({1, 2, 3}), 1, S({2, 3}), 1); in test() [all …]
|
D | erase_if.pass.cpp | 23 void test0(S s, Pred p, S expected, size_t expected_erased_count) { in test0() function 39 test0(S(), is1, S(), 0); in test() 41 test0(S({1}), is1, S(), 1); in test() 42 test0(S({1}), is2, S({1}), 0); in test() 44 test0(S({1, 2}), is1, S({2}), 1); in test() 45 test0(S({1, 2}), is2, S({1}), 1); in test() 46 test0(S({1, 2}), is3, S({1, 2}), 0); in test() 47 test0(S({1, 1}), is1, S(), 2); in test() 48 test0(S({1, 1}), is3, S({1, 1}), 0); in test() 50 test0(S({1, 2, 3}), is1, S({2, 3}), 1); in test() [all …]
|
/external/llvm-project/libcxx/test/std/containers/sequences/list/list.erasure/ |
D | erase.pass.cpp | 24 void test0(S s, U val, S expected, size_t expected_erased_count) { in test0() function 33 test0(S(), 1, S(), 0); in test() 35 test0(S({1}), 1, S(), 1); in test() 36 test0(S({1}), 2, S({1}), 0); in test() 38 test0(S({1, 2}), 1, S({2}), 1); in test() 39 test0(S({1, 2}), 2, S({1}), 1); in test() 40 test0(S({1, 2}), 3, S({1, 2}), 0); in test() 41 test0(S({1, 1}), 1, S(), 2); in test() 42 test0(S({1, 1}), 3, S({1, 1}), 0); in test() 44 test0(S({1, 2, 3}), 1, S({2, 3}), 1); in test() [all …]
|
D | erase_if.pass.cpp | 23 void test0(S s, Pred p, S expected, size_t expected_erased_count) { in test0() function 39 test0(S(), is1, S(), 0); in test() 41 test0(S({1}), is1, S(), 1); in test() 42 test0(S({1}), is2, S({1}), 0); in test() 44 test0(S({1, 2}), is1, S({2}), 1); in test() 45 test0(S({1, 2}), is2, S({1}), 1); in test() 46 test0(S({1, 2}), is3, S({1, 2}), 0); in test() 47 test0(S({1, 1}), is1, S(), 2); in test() 48 test0(S({1, 1}), is3, S({1, 1}), 0); in test() 50 test0(S({1, 2, 3}), is1, S({2, 3}), 1); in test() [all …]
|
/external/llvm-project/libcxx/test/std/containers/sequences/vector/vector.erasure/ |
D | erase.pass.cpp | 24 void test0(S s, U val, S expected, size_t expected_erased_count) { in test0() function 34 test0(S(), 1, S(), 0); in test() 36 test0(S({1}), 1, S(), 1); in test() 37 test0(S({1}), 2, S({1}), 0); in test() 39 test0(S({1, 2}), 1, S({2}), 1); in test() 40 test0(S({1, 2}), 2, S({1}), 1); in test() 41 test0(S({1, 2}), 3, S({1, 2}), 0); in test() 42 test0(S({1, 1}), 1, S(), 2); in test() 43 test0(S({1, 1}), 3, S({1, 1}), 0); in test() 45 test0(S({1, 2, 3}), 1, S({2, 3}), 1); in test() [all …]
|
D | erase_if.pass.cpp | 23 void test0(S s, Pred p, S expected, size_t expected_erased_count) { in test0() function 39 test0(S(), is1, S(), 0); in test() 41 test0(S({1}), is1, S(), 1); in test() 42 test0(S({1}), is2, S({1}), 0); in test() 44 test0(S({1, 2}), is1, S({2}), 1); in test() 45 test0(S({1, 2}), is2, S({1}), 1); in test() 46 test0(S({1, 2}), is3, S({1, 2}), 0); in test() 47 test0(S({1, 1}), is1, S(), 2); in test() 48 test0(S({1, 1}), is3, S({1, 1}), 0); in test() 50 test0(S({1, 2, 3}), is1, S({2, 3}), 1); in test() [all …]
|
/external/llvm-project/clang/test/SemaCXX/ |
D | conditional-expr.cpp | 203 unsigned long test0 = 5; in test() local 204 …test0 = test0 ? (long) test0 : test0; // expected-warning {{operand of ? changes signedness: 'long… in test() 205 …test0 = test0 ? (int) test0 : test0; // expected-warning {{operand of ? changes signedness: 'int' … in test() 206 …test0 = test0 ? (short) test0 : test0; // expected-warning {{operand of ? changes signedness: 'sho… in test() 207 …test0 = test0 ? test0 : (long) test0; // expected-warning {{operand of ? changes signedness: 'long… in test() 208 …test0 = test0 ? test0 : (int) test0; // expected-warning {{operand of ? changes signedness: 'int' … in test() 209 …test0 = test0 ? test0 : (short) test0; // expected-warning {{operand of ? changes signedness: 'sho… in test() 210 test0 = test0 ? test0 : (long) 10; in test() 211 test0 = test0 ? test0 : (int) 10; in test() 212 test0 = test0 ? test0 : (short) 10; in test() [all …]
|
/external/clang/test/SemaCXX/ |
D | conditional-expr.cpp | 202 unsigned long test0 = 5; in test() local 203 …test0 = test0 ? (long) test0 : test0; // expected-warning {{operand of ? changes signedness: 'long… in test() 204 …test0 = test0 ? (int) test0 : test0; // expected-warning {{operand of ? changes signedness: 'int' … in test() 205 …test0 = test0 ? (short) test0 : test0; // expected-warning {{operand of ? changes signedness: 'sho… in test() 206 …test0 = test0 ? test0 : (long) test0; // expected-warning {{operand of ? changes signedness: 'long… in test() 207 …test0 = test0 ? test0 : (int) test0; // expected-warning {{operand of ? changes signedness: 'int' … in test() 208 …test0 = test0 ? test0 : (short) test0; // expected-warning {{operand of ? changes signedness: 'sho… in test() 209 test0 = test0 ? test0 : (long) 10; in test() 210 test0 = test0 ? test0 : (int) 10; in test() 211 test0 = test0 ? test0 : (short) 10; in test() [all …]
|
/external/libcxx/test/std/containers/associative/multiset/multiset.erasure/ |
D | erase_if.pass.cpp | 24 test0(S s, Pred p, S expected) in test0() function 41 test0(S(), is1, S()); in test() 43 test0(S({1}), is1, S()); in test() 44 test0(S({1}), is2, S({1})); in test() 46 test0(S({1,2}), is1, S({2})); in test() 47 test0(S({1,2}), is2, S({1})); in test() 48 test0(S({1,2}), is3, S({1,2})); in test() 49 test0(S({1,1}), is1, S()); in test() 50 test0(S({1,1}), is3, S({1,1})); in test() 52 test0(S({1,2,3}), is1, S({2,3})); in test() [all …]
|