/external/clang/test/CodeGen/ |
ppc-varargs-struct.c | 15 va_list ap; local 17 struct x t = va_arg (ap, struct x); 23 // CHECK-PPC: [[ARRAYDECAY:%.+]] = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i32 0, i32 0 59 int v = va_arg (ap, int); 63 // CHECK-PPC: [[ARRAYDECAY:%[a-z0-9]+]] = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i32 0, i32 0 94 __int128_t u = va_arg (ap, __int128_t);
|
struct-union-BE.c | 19 va_list ap; local 20 va_start (ap,n); 21 x = va_arg (ap, struct tiny); 24 va_end (ap); 32 va_list ap; local 33 va_start (ap,n); 34 x = va_arg (ap, union data); 37 va_end (ap);
|
varargs.c | 20 __builtin_va_list ap; local 22 p = __builtin_va_arg(ap, typeof (int (*)[++n])); // CHECK: add nsw i32 {{.*}}, 1
|
/external/clang/test/CodeGenCXX/ |
microsoft-abi-byval-vararg.cpp | 13 va_list ap; local 14 va_start(ap, a); 17 sum += va_arg(ap, int); 18 va_end(ap);
|
/external/clang/test/SemaCXX/ |
microsoft-varargs-diagnostics.cpp | 12 va_list ap; local 13 __va_start(&ap); // expected-error{{too few arguments to function call, expected at least 3, have 1}} 17 va_list ap; local 18 __va_start(&ap, &i); // expected-error{{too few arguments to function call, expected at least 3, have 2}} 22 va_list ap; local 23 __va_start(&ap, &i, 4); 29 va_list ap; local 31 __va_start(&ap, &j, 4); 37 va_list ap; local 38 __va_start(&ap, 1, 4) [all...] |
/external/dtc/tests/ |
node_offset_by_compatible.c | 33 va_list ap; local 36 va_start(ap, compat); 38 target = va_arg(ap, int); 49 va_end(ap);
|
/external/honggfuzz/examples/terminal-emulators/ |
libclose.c | 23 va_list ap; local 24 va_start(ap, __cmd); 25 int a1 = va_arg(ap, int); 26 int a2 = va_arg(ap, int); 27 int a3 = va_arg(ap, int); 28 int a4 = va_arg(ap, int); 29 va_end(ap);
|
/external/icu/icu4c/source/io/ |
sscanf.cpp | 40 va_list ap; local 43 va_start(ap, patternSpecification); 44 converted = u_vsscanf(buffer, patternSpecification, ap); 45 va_end(ap); 55 va_list ap; local 58 va_start(ap, patternSpecification); 59 converted = u_vsscanf_u(buffer, patternSpecification, ap); 60 va_end(ap); 68 va_list ap) 88 converted = u_vsscanf_u(buffer, pattern, ap); [all...] |
uscanf.cpp | 41 va_list ap; local 44 va_start(ap, patternSpecification); 45 converted = u_vfscanf(f, patternSpecification, ap); 46 va_end(ap); 56 va_list ap; local 59 va_start(ap, patternSpecification); 60 converted = u_vfscanf_u(f, patternSpecification, ap); 61 va_end(ap); 69 va_list ap) 89 converted = u_vfscanf_u(f, pattern, ap); [all...] |
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/ |
new_array.pass.cpp | 57 A* ap = new A[3]; local 58 assert(ap); 60 delete [] ap;
|
new_array_nothrow.pass.cpp | 55 A* ap = new(std::nothrow) A[3]; local 56 assert(ap); 58 delete [] ap;
|
new_array_nothrow_replace.pass.cpp | 47 A* volatile ap; variable 51 ap = new (std::nothrow) A[3]; 52 assert(ap); 55 delete [] ap;
|
new_array_replace.pass.cpp | 48 A* volatile ap; variable 52 ap = new A[3]; 53 assert(ap); 56 delete [] ap;
|
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.placement/ |
new_array.pass.cpp | 30 A* ap = new(buf) A[Size]; local 31 assert((char*)ap >= buf); 32 assert((char*)ap < (buf + ExtraSize));
|
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/ |
delete_align_val_t_replace.pass.cpp | 72 A* volatile ap; variable 90 ap = new A; 95 delete ap;
|
new.pass.cpp | 57 A* ap = new A; local 58 assert(ap); 60 delete ap;
|
new_nothrow.pass.cpp | 55 A* ap = new(std::nothrow) A; local 56 assert(ap); 58 delete ap;
|
new_nothrow_replace.pass.cpp | 47 A* volatile ap; variable 51 ap = new (std::nothrow) A; 52 assert(ap); 55 delete ap;
|
new_replace.pass.cpp | 46 A *volatile ap; variable 50 ap = new A; 51 assert(ap); 54 delete ap;
|
/external/libcxx/test/std/utilities/function.objects/func.memfn/ |
member_data.pass.cpp | 30 A* ap = &a; local 31 f(ap) = 6; 33 const A* cap = ap; 34 assert(f(cap) == f(ap)); 36 assert(cf(ap) == f(ap));
|
member_function.pass.cpp | 34 A* ap = &a; local 35 assert(f(ap) == 'a'); 37 assert(cf(ap) == 'a'); 48 A* ap = &a; local 49 assert(f(ap, 2) == 'b'); 51 assert(cf(ap, 2) == 'b'); 62 A* ap = &a; local 63 assert(f(ap, 2, 3.5) == 'c'); 65 assert(cf(ap, 2, 3.5) == 'c');
|
member_function_const.pass.cpp | 32 A* ap = &a; local 33 assert(f(ap) == 'a'); 37 assert(cf(ap) == 'a'); 48 A* ap = &a; local 49 assert(f(ap, 2) == 'b'); 53 assert(cf(ap, 2) == 'b'); 64 A* ap = &a; local 65 assert(f(ap, 2, 3.5) == 'c'); 69 assert(cf(ap, 2, 3.5) == 'c');
|
member_function_const_volatile.pass.cpp | 32 A* ap = &a; local 33 assert(f(ap) == 'a'); 37 assert(cf(ap) == 'a'); 48 A* ap = &a; local 49 assert(f(ap, 2) == 'b'); 53 assert(cf(ap, 2) == 'b'); 64 A* ap = &a; local 65 assert(f(ap, 2, 3.5) == 'c'); 69 assert(cf(ap, 2, 3.5) == 'c');
|
member_function_volatile.pass.cpp | 32 A* ap = &a; local 33 assert(f(ap) == 'a'); 37 assert(cf(ap) == 'a'); 48 A* ap = &a; local 49 assert(f(ap, 2) == 'b'); 53 assert(cf(ap, 2) == 'b'); 64 A* ap = &a; local 65 assert(f(ap, 2, 3.5) == 'c'); 69 assert(cf(ap, 2, 3.5) == 'c');
|
/external/libcxx/test/std/utilities/memory/default.allocator/allocator.members/ |
allocate.pass.cpp | 37 A* volatile ap = a.allocate(3); local 41 a.deallocate(ap, 3);
|