Home
last modified time | relevance | path

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

12

/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/openssh/openbsd-compat/
Dbsd-asprintf.c34 va_list ap2; in vasprintf() local
38 VA_COPY(ap2, ap); in vasprintf()
42 ret = vsnprintf(string, INIT_SZ, fmt, ap2); in vasprintf()
54 va_end(ap2); in vasprintf()
55 VA_COPY(ap2, ap); in vasprintf()
56 ret = vsnprintf(newstr, len, fmt, ap2); in vasprintf()
65 va_end(ap2); in vasprintf()
71 va_end(ap2); in vasprintf()
/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/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.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()
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()
Dcopy.fail.cpp27 std::auto_ptr<A> ap2(ap1); in test() local
29 assert(ap2.get() == p); in test()
Dcopy.pass.cpp29 std::auto_ptr<A> ap2(ap1); in test() local
31 assert(ap2.get() == p); in test()
Dconvert.pass.cpp29 std::auto_ptr<A> ap2(ap1); in test() local
31 assert(ap2.get() == p); in test()
Dconvert.fail.cpp27 std::auto_ptr<A> ap2(ap1); in test() local
29 assert(ap2.get() == p); in test()
/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/swiftshader/third_party/LLVM/test/CodeGen/Mips/
Do32_cc_vararg.ll26 %ap2 = bitcast i8** %ap to i8*
27 call void @llvm.va_end(i8* %ap2)
52 %ap2 = bitcast i8** %ap to i8*
53 call void @llvm.va_end(i8* %ap2)
80 %ap2 = bitcast i8** %ap to i8*
81 call void @llvm.va_end(i8* %ap2)
103 %ap2 = bitcast i8** %ap to i8*
104 call void @llvm.va_end(i8* %ap2)
131 %ap2 = bitcast i8** %ap to i8*
132 call void @llvm.va_end(i8* %ap2)
[all …]
/external/syslinux/com32/lib/
Dbufprintf.c8 va_list ap2; in vbufprintf() local
11 va_copy(ap2, ap); in vbufprintf()
29 rv = vsnprintf(buf->buf + buf->len, buf->size - buf->len, format, ap2); in vbufprintf()
32 va_end(ap2); in vbufprintf()
/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()
Dassign_from_auto_ptr_ref.pass.cpp30 std::auto_ptr<A> ap2(new A(2)); in test() local
31 ap2 = apr; in test()
33 assert(ap2.get() == p1); in test()
Dconvert_from_auto_ptr_ref.pass.cpp30 std::auto_ptr<A> ap2(apr); in test() local
31 assert(ap2.get() == p1); in test()
Dconvert_to_auto_ptr.pass.cpp32 std::auto_ptr<A> ap2(source()); in test() local
/external/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/
Dva.ll12 %ap2 = bitcast i8** %ap to i8*
13 call void @llvm.va_start(i8* %ap2)
21 call void @llvm.va_copy(i8* %aq2, i8* %ap2)
25 call void @llvm.va_end(i8* %ap2)
/external/openssh/
Dsshbuf-getput-basic.c269 va_list ap2; in sshbuf_putfv() local
273 VA_COPY(ap2, ap); in sshbuf_putfv()
274 if ((len = vsnprintf(NULL, 0, fmt, ap2)) < 0) { in sshbuf_putfv()
282 va_end(ap2); in sshbuf_putfv()
283 VA_COPY(ap2, ap); in sshbuf_putfv()
286 if ((r = vsnprintf((char *)p, len + 1, fmt, ap2)) != len) { in sshbuf_putfv()
295 va_end(ap2); in sshbuf_putfv()
/external/libcxx/test/std/utilities/memory/default.allocator/allocator.members/
Dallocate.pass.cpp45 A* ap2 = a.allocate(3, (const void*)5); in main() local
49 a.deallocate(ap2, 3); in main()
/external/llvm/test/CodeGen/Mips/cconv/
Darguments-varargs.ll117 %ap2 = bitcast i8** %ap to i8*
118 call void @llvm.va_start(i8* %ap2)
130 call void @llvm.va_end(i8* %ap2)
235 %ap2 = bitcast i8** %ap to i8*
236 call void @llvm.va_start(i8* %ap2)
248 call void @llvm.va_end(i8* %ap2)
362 %ap2 = bitcast i8** %ap to i8*
363 call void @llvm.va_start(i8* %ap2)
375 call void @llvm.va_end(i8* %ap2)
480 %ap2 = bitcast i8** %ap to i8*
[all …]
Darguments-hard-float-varargs.ll32 %ap2 = bitcast i8** %ap to i8*
33 call void @llvm.va_start(i8* %ap2)
37 call void @llvm.va_end(i8* %ap2)
97 %ap2 = bitcast i8** %ap to i8*
98 call void @llvm.va_start(i8* %ap2)
102 call void @llvm.va_end(i8* %ap2)
/external/clang/test/Analysis/
Dmalloc-sizeof.c23 struct A *ap2 = calloc(2, sizeof(*ap1)); in foo() local

12