Home
last modified time | relevance | path

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

12345678910>>...20

/llvm-project-15.0.7/clang/test/Sema/
H A Dconditional-expr.c39test0 = 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()
45 test0 = test0 ? test0 : (long) 10; in foo()
46 test0 = test0 ? test0 : (int) 10; in foo()
47 test0 = test0 ? test0 : (short) 10; in foo()
48 test0 = test0 ? (long) 10 : test0; in foo()
49 test0 = test0 ? (int) 10 : test0; in foo()
50 test0 = test0 ? (short) 10 : test0; in foo()
54 test0 = test0 ? EVal : test0; in foo()
55 test1 = test0 ? EVal : (int) test0; in foo()
[all …]
/llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.nonmembers/string_op+/
H A Dstring_pointer.pass.cpp41 test0(S(""), "", S("")); in test()
42 test0(S(""), "12345", S("12345")); in test()
43 test0(S(""), "1234567890", S("1234567890")); in test()
45 test0(S("abcde"), "", S("abcde")); in test()
46 test0(S("abcde"), "12345", S("abcde12345")); in test()
49 test0(S("abcdefghij"), "", S("abcdefghij")); in test()
88 test0(S(""), "", S("")); in test()
89 test0(S(""), "12345", S("12345")); in test()
90 test0(S(""), "1234567890", S("1234567890")); in test()
92 test0(S("abcde"), "", S("abcde")); in test()
[all …]
H A Dpointer_string.pass.cpp41 test0("", S(""), S("")); in test()
42 test0("", S("12345"), S("12345")); in test()
43 test0("", S("1234567890"), S("1234567890")); in test()
45 test0("abcde", S(""), S("abcde")); in test()
46 test0("abcde", S("12345"), S("abcde12345")); in test()
49 test0("abcdefghij", S(""), S("abcdefghij")); in test()
89 test0("", S(""), S("")); in test()
90 test0("", S("12345"), S("12345")); in test()
91 test0("", S("1234567890"), S("1234567890")); in test()
93 test0("abcde", S(""), S("abcde")); in test()
[all …]
H A Dstring_string.pass.cpp63 test0(S(""), S(""), S("")); in test()
64 test0(S(""), S("12345"), S("12345")); in test()
65 test0(S(""), S("1234567890"), S("1234567890")); in test()
67 test0(S("abcde"), S(""), S("abcde")); in test()
70 test0(S("abcde"), S("12345678901234567890"), in test()
78 test0(S("abcdefghijklmnopqrst"), S("12345"), in test()
158 test0(S(""), S(""), S("")); in test()
159 test0(S(""), S("12345"), S("12345")); in test()
162 test0(S("abcde"), S(""), S("abcde")); in test()
165 test0(S("abcde"), S("12345678901234567890"), in test()
[all …]
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/list/list.erasure/
H A Derase.pass.cpp33 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()
49 test0(S({1, 1, 1}), 1, S(), 3); in test()
51 test0(S({1, 1, 2}), 1, S({2}), 2); in test()
[all …]
H A Derase_if.pass.cpp39 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()
55 test0(S({1, 1, 1}), is1, S(), 3); in test()
57 test0(S({1, 1, 2}), is1, S({2}), 2); in test()
[all …]
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.erasure/
H A Derase.pass.cpp33 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()
49 test0(S({1, 1, 1}), 1, S(), 3); in test()
51 test0(S({1, 1, 2}), 1, S({2}), 2); in test()
[all …]
H A Derase_if.pass.cpp39 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()
55 test0(S({1, 1, 1}), is1, S(), 3); in test()
57 test0(S({1, 1, 2}), is1, S({2}), 2); in test()
[all …]
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/forwardlist/forwardlist.erasure/
H A Derase.pass.cpp33 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()
49 test0(S({1, 1, 1}), 1, S(), 3); in test()
51 test0(S({1, 1, 2}), 1, S({2}), 2); in test()
[all …]
H A Derase_if.pass.cpp39 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()
55 test0(S({1, 1, 1}), is1, S(), 3); in test()
57 test0(S({1, 1, 2}), is1, S({2}), 2); in test()
[all …]
/llvm-project-15.0.7/libcxx/test/std/strings/strings.erasure/
H A Derase.pass.cpp36 test0(S(""), 'a', S(""), 0); in test()
38 test0(S("a"), 'a', S(""), 1); in test()
39 test0(S("a"), 'b', S("a"), 0); in test()
41 test0(S("ab"), 'a', S("b"), 1); in test()
42 test0(S("ab"), 'b', S("a"), 1); in test()
43 test0(S("ab"), 'c', S("ab"), 0); in test()
44 test0(S("aa"), 'a', S(""), 2); in test()
45 test0(S("aa"), 'c', S("aa"), 0); in test()
52 test0(S("aab"), 'a', S("b"), 2); in test()
56 test0(S("abb"), 'b', S("a"), 2); in test()
[all …]
H A Derase_if.pass.cpp41 test0(S(""), isA, S(""), 0); in test()
43 test0(S("a"), isA, S(""), 1); in test()
44 test0(S("a"), isB, S("a"), 0); in test()
46 test0(S("ab"), isA, S("b"), 1); in test()
47 test0(S("ab"), isB, S("a"), 1); in test()
48 test0(S("ab"), isC, S("ab"), 0); in test()
49 test0(S("aa"), isA, S(""), 2); in test()
50 test0(S("aa"), isC, S("aa"), 0); in test()
57 test0(S("aab"), isA, S("b"), 2); in test()
61 test0(S("abb"), isB, S("a"), 2); in test()
[all …]
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.erasure/
H A Derase.pass.cpp33 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()
49 test0(S({1, 1, 1}), 1, S(), 3); in test()
51 test0(S({1, 1, 2}), 1, S({2}), 2); in test()
[all …]
H A Derase_if.pass.cpp39 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()
55 test0(S({1, 1, 1}), is1, S(), 3); in test()
57 test0(S({1, 1, 2}), is1, S({2}), 2); in test()
[all …]
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dconditional-expr.cpp205test0 = test0 ? (int) test0 : test0; // expected-warning {{operand of ? changes signedness: 'int' … 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()
213 test0 = test0 ? (long) 10 : test0; in test()
214 test0 = test0 ? (int) 10 : test0; in test()
215 test0 = test0 ? (short) 10 : test0; in test()
218 test0 = test0 ? EVal : test0; in test()
219 test1 = test0 ? EVal : (int) test0; in test()
224 test1 = test0 ? EVal : (int) test0; in test()
[all …]
/llvm-project-15.0.7/libcxx/test/std/containers/associative/multiset/multiset.erasure/
H A Derase_if.pass.cpp39 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()
55 test0(S({1, 1, 1}), is1, S(), 3); in test()
57 test0(S({1, 1, 2}), is1, S({2}), 2); in test()
[all …]
/llvm-project-15.0.7/libcxx/test/std/containers/associative/multimap/multimap.erasure/
H A Derase_if.pass.cpp50 test0<S>({}, is1, {}, 0); in test()
52 test0<S>({1}, is1, {}, 1); in test()
53 test0<S>({1}, is2, {1}, 0); in test()
55 test0<S>({1, 2}, is1, {2}, 1); in test()
56 test0<S>({1, 2}, is2, {1}, 1); in test()
57 test0<S>({1, 2}, is3, {1, 2}, 0); in test()
58 test0<S>({1, 1}, is1, {}, 2); in test()
59 test0<S>({1, 1}, is3, {1, 1}, 0); in test()
66 test0<S>({1, 1, 1}, is1, {}, 3); in test()
68 test0<S>({1, 1, 2}, is1, {2}, 2); in test()
[all …]
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.multimap/
H A Derase_if.pass.cpp52 test0<S>({}, is1, {}, 0); in test()
54 test0<S>({1}, is1, {}, 1); in test()
55 test0<S>({1}, is2, {1}, 0); in test()
57 test0<S>({1, 2}, is1, {2}, 1); in test()
58 test0<S>({1, 2}, is2, {1}, 1); in test()
59 test0<S>({1, 2}, is3, {1, 2}, 0); in test()
60 test0<S>({1, 1}, is1, {}, 2); in test()
61 test0<S>({1, 1}, is3, {1, 1}, 0); in test()
68 test0<S>({1, 1, 1}, is1, {}, 3); in test()
70 test0<S>({1, 1, 2}, is1, {2}, 2); in test()
[all …]
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.multiset/
H A Derase_if.pass.cpp53 test0<S>({}, is1, {}, 0); in test()
55 test0<S>({1}, is1, {}, 1); in test()
56 test0<S>({1}, is2, {1}, 0); in test()
58 test0<S>({1, 2}, is1, {2}, 1); in test()
59 test0<S>({1, 2}, is2, {1}, 1); in test()
60 test0<S>({1, 2}, is3, {1, 2}, 0); in test()
61 test0<S>({1, 1}, is1, {}, 2); in test()
62 test0<S>({1, 1}, is3, {1, 1}, 0); in test()
69 test0<S>({1, 1, 1}, is1, {}, 3); in test()
71 test0<S>({1, 1, 2}, is1, {2}, 2); in test()
[all …]
/llvm-project-15.0.7/libcxx/test/std/containers/associative/set/set.erasure/
H A Derase_if.pass.cpp39 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()
48 test0(S({1, 2, 3}), is1, S({2, 3}), 1); in test()
49 test0(S({1, 2, 3}), is2, S({1, 3}), 1); in test()
50 test0(S({1, 2, 3}), is3, S({1, 2}), 1); in test()
51 test0(S({1, 2, 3}), is4, S({1, 2, 3}), 0); in test()
[all …]
/llvm-project-15.0.7/libcxx/test/std/containers/associative/map/map.erasure/
H A Derase_if.pass.cpp50 test0<S>({}, is1, {}, 0); in test()
52 test0<S>({1}, is1, {}, 1); in test()
53 test0<S>({1}, is2, {1}, 0); in test()
55 test0<S>({1, 2}, is1, {2}, 1); in test()
56 test0<S>({1, 2}, is2, {1}, 1); in test()
57 test0<S>({1, 2}, is3, {1, 2}, 0); in test()
59 test0<S>({1, 2, 3}, is1, {2, 3}, 1); in test()
60 test0<S>({1, 2, 3}, is2, {1, 3}, 1); in test()
61 test0<S>({1, 2, 3}, is3, {1, 2}, 1); in test()
62 test0<S>({1, 2, 3}, is4, {1, 2, 3}, 0); in test()
[all …]
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.set/
H A Derase_if.pass.cpp53 test0<S>({}, is1, {}, 0); in test()
55 test0<S>({1}, is1, {}, 1); in test()
56 test0<S>({1}, is2, {1}, 0); in test()
58 test0<S>({1, 2}, is1, {2}, 1); in test()
59 test0<S>({1, 2}, is2, {1}, 1); in test()
60 test0<S>({1, 2}, is3, {1, 2}, 0); in test()
62 test0<S>({1, 2, 3}, is1, {2, 3}, 1); in test()
63 test0<S>({1, 2, 3}, is2, {1, 3}, 1); in test()
64 test0<S>({1, 2, 3}, is3, {1, 2}, 1); in test()
65 test0<S>({1, 2, 3}, is4, {1, 2, 3}, 0); in test()
[all …]
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.map/
H A Derase_if.pass.cpp52 test0<S>({}, is1, {}, 0); in test()
54 test0<S>({1}, is1, {}, 1); in test()
55 test0<S>({1}, is2, {1}, 0); in test()
57 test0<S>({1, 2}, is1, {2}, 1); in test()
58 test0<S>({1, 2}, is2, {1}, 1); in test()
59 test0<S>({1, 2}, is3, {1, 2}, 0); in test()
61 test0<S>({1, 2, 3}, is1, {2, 3}, 1); in test()
62 test0<S>({1, 2, 3}, is2, {1, 3}, 1); in test()
63 test0<S>({1, 2, 3}, is3, {1, 2}, 1); in test()
64 test0<S>({1, 2, 3}, is4, {1, 2, 3}, 0); in test()
[all …]
/llvm-project-15.0.7/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/
H A Dgcd.pass.cpp41 constexpr bool test0(int in1, int in2, int out) in test0() function
63 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect); in do_test()
64 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect); in do_test()
65 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect); in do_test()
67 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect); in do_test()
68 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect); in do_test()
74 accumulate &= test0<U1, U2, Output>(TC.x, TC.y, TC.expect); in do_test()
75 accumulate &= test0<U2, U1, Output>(TC.x, TC.y, TC.expect); in do_test()
79 accumulate &= test0<S1, U2, Output>(TC.x, TC.y, TC.expect); in do_test()
80 accumulate &= test0<U2, S1, Output>(TC.x, TC.y, TC.expect); in do_test()
[all …]
/llvm-project-15.0.7/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/
H A Dlcm.pass.cpp38 constexpr bool test0(int in1, int in2, int out) in test0() function
60 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect); in do_test()
61 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect); in do_test()
62 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect); in do_test()
64 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect); in do_test()
65 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect); in do_test()
71 accumulate &= test0<U1, U2, Output>(TC.x, TC.y, TC.expect); in do_test()
72 accumulate &= test0<U2, U1, Output>(TC.x, TC.y, TC.expect); in do_test()
76 accumulate &= test0<S1, U2, Output>(TC.x, TC.y, TC.expect); in do_test()
77 accumulate &= test0<U2, S1, Output>(TC.x, TC.y, TC.expect); in do_test()
[all …]

12345678910>>...20