Searched defs:ap (Results 1 - 23 of 23) sorted by relevance

/system/core/debuggerd/test/
H A Dptrace_fake.cpp43 va_list ap; local
44 va_start(ap, request);
45 va_arg(ap, int);
46 va_arg(ap, int);
47 siginfo_t* si = va_arg(ap, siginfo*);
48 va_end(ap);
H A Dlog_fake.cpp58 va_list ap; local
59 va_start(ap, fmt);
60 android::base::StringAppendV(&g_fake_log_print, fmt, ap);
61 va_end(ap);
/system/core/fastboot/
H A Dutil.c49 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);
H A Dengine.c139 va_list ap; local
145 va_start(ap, fmt);
146 cmdsize = vsnprintf(a->cmd, sizeof(a->cmd), fmt, ap);
147 va_end(ap);
/system/core/init/
H A Dparser.cpp11 va_list ap; local
19 va_start(ap, fmt);
20 vsnprintf(buf + off, 128 - off, fmt, ap);
21 va_end(ap);
H A Dlog.cpp25 static void init_klog_vwrite(int level, const char* fmt, va_list ap) { argument
32 vsnprintf(msg, sizeof(msg), fmt, ap);
44 va_list ap; local
45 va_start(ap, fmt);
46 init_klog_vwrite(level, fmt, ap);
47 va_end(ap);
57 va_list ap; local
58 va_start(ap, fmt);
59 init_klog_vwrite(level, fmt, ap);
60 va_end(ap);
[all...]
/system/extras/perfprofd/
H A Dperfprofdutils.cc29 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, fm
[all...]
/system/core/base/
H A Dstringprintf.cpp26 void StringAppendV(std::string* dst, const char* format, va_list ap) { argument
34 va_copy(backup_ap, ap);
57 va_copy(backup_ap, ap);
69 va_list ap; local
70 va_start(ap, fmt);
72 StringAppendV(&result, fmt, ap);
73 va_end(ap);
78 va_list ap; local
79 va_start(ap, format);
80 StringAppendV(dst, format, ap);
[all...]
/system/core/libcutils/
H A Dklog.c66 va_list ap; local
67 va_start(ap, fmt);
68 vsnprintf(buf, sizeof(buf), fmt, ap);
69 va_end(ap);
/system/extras/simpleperf/
H A Dutils.cpp28 va_list ap; local
29 va_start(ap, fmt);
31 vprintf(fmt, ap);
32 va_end(ap);
/system/core/adb/
H A Dadb_io.cpp117 va_list ap; local
118 va_start(ap, fmt);
119 android::base::StringAppendV(&str, fmt, ap);
120 va_end(ap);
H A Dfdevent.cpp49 va_list ap; local
50 va_start(ap, fmt);
52 vfprintf(stderr, fmt, ap);
53 va_end(ap);
H A Dadb.cpp61 va_list ap; local
62 va_start(ap, fmt);
64 vfprintf(stderr, fmt, ap);
66 va_end(ap);
72 va_list ap; local
73 va_start(ap, fmt);
75 vfprintf(stderr, fmt, ap);
77 va_end(ap);
/system/extras/perfprofd/tests/
H A Dperfprofdmockutils.cc65 void perfprofd_mocklog(const char *tag, const char *fmt, va_list ap) argument
69 vsnprintf(buffer+strlen(tag), LMAX, fmt, ap);
76 va_list ap; local
77 va_start(ap, fmt);
78 vfprintf(stderr, fmt, ap); fprintf(stderr, "\n");
79 perfprofd_mocklog("E: ", fmt, ap);
80 va_end(ap);
85 va_list ap; local
86 va_start(ap, fmt);
87 vfprintf(stderr, fmt, ap); fprint
94 va_list ap; local
[all...]
/system/bt/main/
H A Dbte_logmsg.c180 va_list ap; local
181 va_start(ap, fmt_str);
182 vsnprintf(&buffer[MSG_BUFFER_OFFSET], BTE_LOG_MAX_SIZE, fmt_str, ap);
183 va_end(ap);
/system/core/debuggerd/
H A Dutility.cpp56 va_list ap; local
57 va_start(ap, fmt);
58 vsnprintf(buf, sizeof(buf), fmt, ap);
59 va_end(ap);
127 va_list ap; local
128 va_start(ap, fmt);
129 android::base::StringAppendV(&log_msg, fmt, ap);
130 va_end(ap);
/system/core/toolbox/upstream-netbsd/bin/dd/
H A Dargs.c115 struct arg *ap, tmp; local
137 if (!(ap = bsearch(&tmp, args,
142 if (ddflags & ap->noset) {
148 ddflags |= ap->set;
149 ap->f(arg);
/system/core/cpio/
H A Dmkbootfs.c28 va_list ap; local
30 va_start(ap, why);
32 vfprintf(stderr, why, ap);
34 va_end(ap);
/system/core/liblog/
H A Dlogd_write.c404 int __android_log_vprint(int prio, const char *tag, const char *fmt, va_list ap) argument
408 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap);
415 va_list ap; local
418 va_start(ap, fmt);
419 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap);
420 va_end(ap);
427 va_list ap; local
430 va_start(ap, fmt);
431 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap);
432 va_end(ap);
443 va_list ap; local
[all...]
H A Dlogd_write_kern.c184 int __android_log_vprint(int prio, const char *tag, const char *fmt, va_list ap) argument
188 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap);
195 va_list ap; local
198 va_start(ap, fmt);
199 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap);
200 va_end(ap);
207 va_list ap; local
210 va_start(ap, fmt);
211 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap);
212 va_end(ap);
223 va_list ap; local
[all...]
/system/core/libnetutils/
H A Ddhcpclient.c67 va_list ap; local
69 va_start(ap, fmt);
70 vsnprintf(errmsg, sizeof(errmsg), fmt, ap);
71 va_end(ap);
/system/bt/test/bluedroidtest/
H A Dbluedroidtest.c156 va_list ap; local
158 va_start(ap, fmt_str);
159 vsnprintf(buffer, 1024, fmt_str, ap);
160 va_end(ap);
/system/core/lmkd/
H A Dlmkd.c457 char *ap; local
464 ap = strtok_r(NULL, " ", &save_ptr);
465 if (!ap)
469 mip->nr_free_pages += strtol(ap, NULL, 0);
471 mip->nr_file_pages += strtol(ap, NULL, 0);
473 mip->nr_shmem += strtol(ap, NULL, 0);
475 mip->totalreserve_pages += strtol(ap, NULL, 0);
477 mip->totalreserve_pages += zoneinfo_parse_protection(ap);

Completed in 190 milliseconds