Home
last modified time | relevance | path

Searched refs:ap2 (Results 1 – 25 of 69) sorted by relevance

123

/external/clang/test/SemaCXX/
Daddress-space-conversion.cpp26 A_ptr ap, A_ptr_1 ap1, A_ptr_2 ap2, in test_const_cast() argument
39 (void)const_cast<A_ptr>(ap2); // expected-error{{is not allowed}} in test_const_cast()
41 (void)const_cast<A_ptr_1>(ap2); // expected-error{{is not allowed}} in test_const_cast()
51 A_ptr ap, A_ptr_1 ap1, A_ptr_2 ap2, in test_static_cast() argument
61 (void)static_cast<B_ptr_2>(ap2); in test_static_cast()
66 (void)static_cast<void_ptr_2>(ap2); in test_static_cast()
81 (void)static_cast<B_ptr>(ap2); // expected-error{{casts away qualifiers}} in test_static_cast()
83 (void)static_cast<B_ptr_1>(ap2); // expected-error{{casts away qualifiers}} in test_static_cast()
89 (void)static_cast<void_ptr>(ap2); // expected-error{{is not allowed}} in test_static_cast()
91 (void)static_cast<void_ptr_1>(ap2); // expected-error{{is not allowed}} in test_static_cast()
[all …]
/external/clang/test/CodeGen/
Dms_abi.c66 __builtin_ms_va_list ap2; in f4() local
67 __builtin_ms_va_copy(ap2, ap); in f4()
99 __builtin_va_list ap2; in f5() local
100 __builtin_va_copy(ap2, ap); in f5()
139 __builtin_ms_va_list ap2; in f6() local
140 __builtin_ms_va_copy(ap2, ap); in f6()
/external/llvm/test/Bitcode/
DvariableArgumentIntrinsic.3.2.ll11 %ap2 = bitcast i8** %ap to i8*
13 ; CHECK: call void @llvm.va_start(i8* %ap2)
14 call void @llvm.va_start(i8* %ap2)
22 ; CHECK: call void @llvm.va_copy(i8* %aq2, i8* %ap2)
23 call void @llvm.va_copy(i8* %aq2, i8* %ap2)
27 ; CHECK-NEXT: call void @llvm.va_end(i8* %ap2)
28 call void @llvm.va_end(i8* %ap2)
/external/cronet/tot/third_party/libc++/src/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/
Dassignment.pass.cpp31 std::auto_ptr<A> ap2(p2); in test() local
34 assert(ap2.get() == p2); in test()
35 std::auto_ptr<A>& apr = ap2 = ap1; in test()
36 assert(&apr == &ap2); in test()
39 assert(ap2.get() == p1); in test()
Dassignment.compile.fail.cpp27 std::auto_ptr<A> ap2(p2); in test() local
30 assert(ap2.get() == p2); in test()
31 std::auto_ptr<A>& apr = ap2 = ap1; in test()
32 assert(&apr == &ap2); in test()
35 assert(ap2.get() == p1); in test()
Dconvert_assignment.compile.fail.cpp29 std::auto_ptr<A> ap2(p2); in test() local
33 assert(ap2.get() == p2); in test()
34 std::auto_ptr<A>& apr = ap2 = ap1; in test()
35 assert(&apr == &ap2); in test()
39 assert(ap2.get() == p1); in test()
Dconvert_assignment.pass.cpp31 std::auto_ptr<A> ap2(p2); in test() local
35 assert(ap2.get() == p2); in test()
36 std::auto_ptr<A>& apr = ap2 = ap1; in test()
37 assert(&apr == &ap2); in test()
41 assert(ap2.get() == p1); in test()
/external/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/
Dassignment.pass.cpp30 std::auto_ptr<A> ap2(p2); in test() local
33 assert(ap2.get() == p2); in test()
34 std::auto_ptr<A>& apr = ap2 = ap1; in test()
35 assert(&apr == &ap2); in test()
38 assert(ap2.get() == p1); in test()
Dassignment.fail.cpp28 std::auto_ptr<A> ap2(p2); in test() local
31 assert(ap2.get() == p2); in test()
32 std::auto_ptr<A>& apr = ap2 = ap1; in test()
33 assert(&apr == &ap2); in test()
36 assert(ap2.get() == p1); in test()
Dconvert_assignment.fail.cpp28 std::auto_ptr<A> ap2(p2); in test() local
32 assert(ap2.get() == p2); in test()
33 std::auto_ptr<A>& apr = ap2 = ap1; in test()
34 assert(&apr == &ap2); in test()
38 assert(ap2.get() == p1); in test()
Dconvert_assignment.pass.cpp30 std::auto_ptr<A> ap2(p2); in test() local
34 assert(ap2.get() == p2); in test()
35 std::auto_ptr<A>& apr = ap2 = ap1; in test()
36 assert(&apr == &ap2); in test()
40 assert(ap2.get() == p1); in test()
/external/cronet/stable/third_party/libc++/src/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/
Dassignment.compile.fail.cpp27 std::auto_ptr<A> ap2(p2); in test() local
30 assert(ap2.get() == p2); in test()
31 std::auto_ptr<A>& apr = ap2 = ap1; in test()
32 assert(&apr == &ap2); in test()
35 assert(ap2.get() == p1); in test()
Dassignment.pass.cpp31 std::auto_ptr<A> ap2(p2); in test() local
34 assert(ap2.get() == p2); in test()
35 std::auto_ptr<A>& apr = ap2 = ap1; in test()
36 assert(&apr == &ap2); in test()
39 assert(ap2.get() == p1); in test()
Dconvert_assignment.compile.fail.cpp29 std::auto_ptr<A> ap2(p2); in test() local
33 assert(ap2.get() == p2); in test()
34 std::auto_ptr<A>& apr = ap2 = ap1; in test()
35 assert(&apr == &ap2); in test()
39 assert(ap2.get() == p1); in test()
Dconvert_assignment.pass.cpp31 std::auto_ptr<A> ap2(p2); in test() local
35 assert(ap2.get() == p2); in test()
36 std::auto_ptr<A>& apr = ap2 = ap1; in test()
37 assert(&apr == &ap2); in test()
41 assert(ap2.get() == p1); in test()
/external/musl/src/stdio/
Dvasprintf.c8 va_list ap2; in vasprintf() local
9 va_copy(ap2, ap); in vasprintf()
10 int l = vsnprintf(0, 0, fmt, ap2); in vasprintf()
11 va_end(ap2); in vasprintf()
/external/trusty/musl/src/stdio/
Dvasprintf.c8 va_list ap2; in vasprintf() local
9 va_copy(ap2, ap); in vasprintf()
10 int l = vsnprintf(0, 0, fmt, ap2); in vasprintf()
11 va_end(ap2); in vasprintf()
/external/llvm/test/CodeGen/Mips/
Do32_cc_vararg.ll25 %ap2 = bitcast i8** %ap to i8*
26 call void @llvm.va_end(i8* %ap2)
51 %ap2 = bitcast i8** %ap to i8*
52 call void @llvm.va_end(i8* %ap2)
79 %ap2 = bitcast i8** %ap to i8*
80 call void @llvm.va_end(i8* %ap2)
102 %ap2 = bitcast i8** %ap to i8*
103 call void @llvm.va_end(i8* %ap2)
130 %ap2 = bitcast i8** %ap to i8*
131 call void @llvm.va_end(i8* %ap2)
[all …]
/external/flashrom/bindings/rust/libflashrom/src/
Dlog.c36 va_list ap2; in log_c() local
37 va_copy(ap2, ap); in log_c()
39 int req_len = vsnprintf(buf, len, format, ap2); in log_c()
40 va_end(ap2); in log_c()
/external/trusty/musl/src/ldso/
Ddlerror.c45 va_list ap2; in __dl_vseterr() local
46 va_copy(ap2, ap); in __dl_vseterr()
50 size_t len = vsnprintf(0, 0, fmt, ap2); in __dl_vseterr()
52 va_end(ap2); in __dl_vseterr()
/external/musl/src/ldso/
Ddlerror.c57 va_list ap2; in __dl_vseterr() local
58 va_copy(ap2, ap); in __dl_vseterr()
62 size_t len = vsnprintf(0, 0, fmt, ap2); in __dl_vseterr()
64 va_end(ap2); in __dl_vseterr()
/external/cronet/tot/third_party/libc++/src/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/
Dconvert_to_auto_ptr_ref.pass.cpp30 std::auto_ptr<A> ap2(apr); in test() local
32 assert(ap2.get() == p1); in test()
33 ap2.release(); in test()
Dassign_from_auto_ptr_ref.pass.cpp31 std::auto_ptr<A> ap2(new A(2)); in test() local
32 ap2 = apr; in test()
34 assert(ap2.get() == p1); in test()
/external/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/
Dconvert_to_auto_ptr_ref.pass.cpp29 std::auto_ptr<A> ap2(apr); in test() local
31 assert(ap2.get() == p1); in test()
32 ap2.release(); in test()
/external/cronet/stable/third_party/libc++/src/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/
Dconvert_to_auto_ptr_ref.pass.cpp30 std::auto_ptr<A> ap2(apr); in test() local
32 assert(ap2.get() == p1); in test()
33 ap2.release(); in test()

123