/system/core/fastboot/ |
util.cpp | 49 va_list ap; local 51 va_start(ap, fmt); 52 vsprintf(buf, fmt, ap); 53 va_end(ap); 62 va_list ap; local 63 va_start(ap, fmt); 65 vfprintf(stderr, fmt, ap); 67 va_end(ap);
|
/system/extras/perfprofd/ |
perfprofdutils.cc | 29 va_list ap; local 30 va_start(ap, fmt); 31 LOG_PRI_VA(ANDROID_LOG_ERROR, LOG_TAG, fmt, ap); 32 va_end(ap); 37 va_list ap; local 38 va_start(ap, fmt); 39 LOG_PRI_VA(ANDROID_LOG_WARN, LOG_TAG, fmt, ap); 40 va_end(ap); 45 va_list ap; local 46 va_start(ap, fmt) [all...] |
/art/runtime/base/ |
stringprintf.cc | 23 void StringAppendV(std::string* dst, const char* format, va_list ap) { 31 va_copy(backup_ap, ap); 54 va_copy(backup_ap, ap); 66 va_list ap; local 67 va_start(ap, fmt); 69 StringAppendV(&result, fmt, ap); 70 va_end(ap); 75 va_list ap; local 76 va_start(ap, format); 77 StringAppendV(dst, format, ap); [all...] |
/bionic/libc/bionic/ |
error.cpp | 68 va_list ap; local 69 va_start(ap, fmt); 70 vfprintf(stderr, fmt, ap); 71 va_end(ap); 90 va_list ap; local 91 va_start(ap, fmt); 92 vfprintf(stderr, fmt, ap); 93 va_end(ap);
|
/bionic/libc/dns/net/ |
nsdispatch.c | 103 va_list ap; local 130 va_start(ap, defaults); 131 result = (*cb)(retval, cb_data, ap); 132 va_end(ap);
|
/external/autotest/client/tests/monotonic_time/src/ |
logging.c | 37 va_list ap; local 69 va_start(ap, fmt); 77 vfprintf(log_fp, fmt, ap); 85 va_end(ap);
|
/external/avahi/avahi-daemon/ |
setproctitle.c | 82 va_list ap; local 83 va_start(ap, fmt); 84 vsnprintf(t, sizeof(t), fmt, ap); 85 va_end(ap); 90 va_list ap; 95 va_start(ap, fmt); 96 vsnprintf(argv_buffer[0], argv_size, fmt, ap); 97 va_end(ap);
|
/external/blktrace/btt/ |
aqd.c | 35 struct aqd_info *ap; local 39 ap = malloc(sizeof(*ap)); 40 ap->na = 0; 44 if ((ap->fp = my_fopen(oname, "w")) == NULL) { 48 add_file(ap->fp, oname); 50 return ap; 62 struct aqd_info *ap = info; local 64 fprintf(ap->fp, "%lf %d\n%lf %d\n", ts, ap->na, ts, ap->na + 1) 72 struct aqd_info *ap = info; local [all...] |
/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 58 int v = va_arg (ap, int); 62 // 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 92 __int128_t u = va_arg (ap, __int128_t);
|
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/compiler-rt/test/tsan/ |
test.h | 42 va_list ap; local 43 va_start(ap, n); 45 void *p = va_arg(ap, void *);
|
/external/curl/src/ |
tool_msgs.c | 44 va_list ap; local 49 va_start(ap, fmt); 50 len = vsnprintf(print_buffer, sizeof(print_buffer), fmt, ap); 51 va_end(ap); 87 va_list ap; local 89 va_start(ap, fmt); 91 vfprintf(errors, fmt, ap); 92 va_end(ap);
|
/external/icu/icu4c/source/io/ |
sscanf.c | 38 va_list ap; local 41 va_start(ap, patternSpecification); 42 converted = u_vsscanf(buffer, patternSpecification, ap); 43 va_end(ap); 53 va_list ap; local 56 va_start(ap, patternSpecification); 57 converted = u_vsscanf_u(buffer, patternSpecification, ap); 58 va_end(ap); 66 va_list ap) 86 converted = u_vsscanf_u(buffer, pattern, ap); [all...] |
uscanf.c | 39 va_list ap; local 42 va_start(ap, patternSpecification); 43 converted = u_vfscanf(f, patternSpecification, ap); 44 va_end(ap); 54 va_list ap; local 57 va_start(ap, patternSpecification); 58 converted = u_vfscanf_u(f, patternSpecification, ap); 59 va_end(ap); 67 va_list ap) 87 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 | 53 A* ap = new A[3]; local 54 assert(ap); 56 delete [] ap;
|
new_array_nothrow.pass.cpp | 49 A* ap = new(std::nothrow) A[3]; local 50 assert(ap); 52 delete [] ap;
|
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/ |
new.pass.cpp | 53 A* ap = new A; local 54 assert(ap); 56 delete ap;
|
new_nothrow.pass.cpp | 49 A* ap = new(std::nothrow) A; local 50 assert(ap); 52 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 | 32 A* ap = &a; local 33 assert(f(ap) == 'a'); 35 assert(cf(ap) == 'a'); 46 A* ap = &a; local 47 assert(f(ap, 2) == 'b'); 49 assert(cf(ap, 2) == 'b'); 60 A* ap = &a; local 61 assert(f(ap, 2, 3.5) == 'c'); 63 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');
|