Home
last modified time | relevance | path

Searched refs:test0 (Results 1 – 25 of 909) sorted by relevance

12345678910>>...37

/external/llvm-project/clang/test/Sema/
Dconditional-expr.c38 unsigned long test0 = 5; in foo() local
39test0 = test0 ? (long) test0 : test0; // expected-warning {{operand of ? changes signedness: 'long… in foo()
40test0 = test0 ? (int) test0 : test0; // expected-warning {{operand of ? changes signedness: 'int' … in foo()
41test0 = test0 ? (short) test0 : test0; // expected-warning {{operand of ? changes signedness: 'sho… in foo()
42test0 = test0 ? test0 : (long) test0; // expected-warning {{operand of ? changes signedness: 'long… in foo()
43test0 = test0 ? test0 : (int) test0; // expected-warning {{operand of ? changes signedness: 'int' … in foo()
44test0 = 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/
Dconditional-expr.c38 unsigned long test0 = 5; in foo() local
39test0 = test0 ? (long) test0 : test0; // expected-warning {{operand of ? changes signedness: 'long… in foo()
40test0 = test0 ? (int) test0 : test0; // expected-warning {{operand of ? changes signedness: 'int' … in foo()
41test0 = test0 ? (short) test0 : test0; // expected-warning {{operand of ? changes signedness: 'sho… in foo()
42test0 = test0 ? test0 : (long) test0; // expected-warning {{operand of ? changes signedness: 'long… in foo()
43test0 = test0 ? test0 : (int) test0; // expected-warning {{operand of ? changes signedness: 'int' … in foo()
44test0 = 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+/
Dstring_pointer.pass.cpp28 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 …]
Dpointer_string.pass.cpp28 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+/
Dpointer_string.pass.cpp27 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 …]
Dstring_pointer.pass.cpp27 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/
Derase.pass.cpp26 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/
Derase.pass.cpp26 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 …]
Derase_if.pass.cpp24 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/
Derase.pass.cpp26 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/
Derase.pass.cpp26 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/
Derase.pass.cpp26 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 …]
Derase_if.pass.cpp24 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/
Derase.pass.cpp24 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/
Derase.pass.cpp24 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 …]
Derase_if.pass.cpp23 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/
Derase.pass.cpp24 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 …]
Derase_if.pass.cpp23 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/
Derase.pass.cpp24 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 …]
Derase_if.pass.cpp23 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/
Derase.pass.cpp24 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 …]
Derase_if.pass.cpp23 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/
Dconditional-expr.cpp203 unsigned long test0 = 5; in test() local
204test0 = test0 ? (long) test0 : test0; // expected-warning {{operand of ? changes signedness: 'long… in test()
205test0 = test0 ? (int) test0 : test0; // expected-warning {{operand of ? changes signedness: 'int' … in test()
206test0 = test0 ? (short) test0 : test0; // expected-warning {{operand of ? changes signedness: 'sho… in test()
207test0 = test0 ? test0 : (long) test0; // expected-warning {{operand of ? changes signedness: 'long… in test()
208test0 = test0 ? test0 : (int) test0; // expected-warning {{operand of ? changes signedness: 'int' … in test()
209test0 = 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/
Dconditional-expr.cpp202 unsigned long test0 = 5; in test() local
203test0 = test0 ? (long) test0 : test0; // expected-warning {{operand of ? changes signedness: 'long… in test()
204test0 = test0 ? (int) test0 : test0; // expected-warning {{operand of ? changes signedness: 'int' … in test()
205test0 = test0 ? (short) test0 : test0; // expected-warning {{operand of ? changes signedness: 'sho… in test()
206test0 = test0 ? test0 : (long) test0; // expected-warning {{operand of ? changes signedness: 'long… in test()
207test0 = test0 ? test0 : (int) test0; // expected-warning {{operand of ? changes signedness: 'int' … in test()
208test0 = 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/
Derase_if.pass.cpp24 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 …]

12345678910>>...37