Home
last modified time | relevance | path

Searched refs:ap (Results 1 – 25 of 30) sorted by relevance

12

/device/google/crosshatch/json-c/
Ddebug.c46 va_list ap; in mc_debug() local
48 va_start(ap, msg); in mc_debug()
51 vsyslog(LOG_DEBUG, msg, ap); in mc_debug()
54 vprintf(msg, ap); in mc_debug()
55 va_end(ap); in mc_debug()
61 va_list ap; in mc_error() local
62 va_start(ap, msg); in mc_error()
65 vsyslog(LOG_ERR, msg, ap); in mc_error()
68 vfprintf(stderr, msg, ap); in mc_error()
69 va_end(ap); in mc_error()
[all …]
Dprintbuf.c120 static int vasprintf(char **buf, const char *fmt, va_list ap) in vasprintf() argument
131 chars = _vscprintf(fmt, ap)+1; in vasprintf()
135 chars = vsnprintf(&_T_emptybuffer, 0, fmt, ap)+1; in vasprintf()
142 if((chars = vsprintf(b, fmt, ap)) < 0) in vasprintf()
155 va_list ap; in sprintbuf() local
161 va_start(ap, msg); in sprintbuf()
162 size = vsnprintf(buf, 128, msg, ap); in sprintbuf()
163 va_end(ap); in sprintbuf()
169 va_start(ap, msg); in sprintbuf()
170 if((size = vasprintf(&t, msg, ap)) < 0) { va_end(ap); return -1; } in sprintbuf()
[all …]
Dlinkhash.c29 va_list ap; in lh_abort() local
30 va_start(ap, msg); in lh_abort()
31 vprintf(msg, ap); in lh_abort()
32 va_end(ap); in lh_abort()
/device/google/coral/json-c/
Ddebug.c46 va_list ap; in mc_debug() local
48 va_start(ap, msg); in mc_debug()
51 vsyslog(LOG_DEBUG, msg, ap); in mc_debug()
54 vprintf(msg, ap); in mc_debug()
55 va_end(ap); in mc_debug()
61 va_list ap; in mc_error() local
62 va_start(ap, msg); in mc_error()
65 vsyslog(LOG_ERR, msg, ap); in mc_error()
68 vfprintf(stderr, msg, ap); in mc_error()
69 va_end(ap); in mc_error()
[all …]
Dprintbuf.c120 static int vasprintf(char **buf, const char *fmt, va_list ap) in vasprintf() argument
131 chars = _vscprintf(fmt, ap)+1; in vasprintf()
135 chars = vsnprintf(&_T_emptybuffer, 0, fmt, ap)+1; in vasprintf()
142 if((chars = vsprintf(b, fmt, ap)) < 0) in vasprintf()
155 va_list ap; in sprintbuf() local
161 va_start(ap, msg); in sprintbuf()
162 size = vsnprintf(buf, 128, msg, ap); in sprintbuf()
163 va_end(ap); in sprintbuf()
169 va_start(ap, msg); in sprintbuf()
170 if((size = vasprintf(&t, msg, ap)) < 0) { va_end(ap); return -1; } in sprintbuf()
[all …]
Dlinkhash.c29 va_list ap; in lh_abort() local
30 va_start(ap, msg); in lh_abort()
31 vprintf(msg, ap); in lh_abort()
32 va_end(ap); in lh_abort()
/device/google/bonito/json-c/
Ddebug.c46 va_list ap; in mc_debug() local
48 va_start(ap, msg); in mc_debug()
51 vsyslog(LOG_DEBUG, msg, ap); in mc_debug()
54 vprintf(msg, ap); in mc_debug()
55 va_end(ap); in mc_debug()
61 va_list ap; in mc_error() local
62 va_start(ap, msg); in mc_error()
65 vsyslog(LOG_ERR, msg, ap); in mc_error()
68 vfprintf(stderr, msg, ap); in mc_error()
69 va_end(ap); in mc_error()
[all …]
Dprintbuf.c120 static int vasprintf(char **buf, const char *fmt, va_list ap) in vasprintf() argument
131 chars = _vscprintf(fmt, ap)+1; in vasprintf()
135 chars = vsnprintf(&_T_emptybuffer, 0, fmt, ap)+1; in vasprintf()
142 if((chars = vsprintf(b, fmt, ap)) < 0) in vasprintf()
155 va_list ap; in sprintbuf() local
161 va_start(ap, msg); in sprintbuf()
162 size = vsnprintf(buf, 128, msg, ap); in sprintbuf()
163 va_end(ap); in sprintbuf()
169 va_start(ap, msg); in sprintbuf()
170 if((size = vasprintf(&t, msg, ap)) < 0) { va_end(ap); return -1; } in sprintbuf()
[all …]
Dlinkhash.c29 va_list ap; in lh_abort() local
30 va_start(ap, msg); in lh_abort()
31 vprintf(msg, ap); in lh_abort()
32 va_end(ap); in lh_abort()
/device/google/contexthub/firmware/os/platform/stm32/
Dmpu.c155 uint8_t ap; in mpuShow() local
168 ap = (rasr & MPU_RASR_AP_Msk) >> MPU_RASR_AP_Pos; in mpuShow()
169 if (ap == 0) { in mpuShow()
171 } else if (ap == 1 || ap == 2 || ap == 3) { in mpuShow()
176 } else if (ap == 5 || ap == 6 || ap == 7) { in mpuShow()
184 if (ap == 0 || ap == 1 || ap == 5) { in mpuShow()
186 } else if (ap == 3) { in mpuShow()
191 } else if (ap == 2 || ap == 6 || ap == 7) { in mpuShow()
/device/generic/goldfish-opengl/fuchsia/
Dport.cc32 va_list ap; in __android_log_print() local
33 va_start(ap, format); in __android_log_print()
37 FX_LOGVF(DEBUG, local_tag, format, ap); in __android_log_print()
40 FX_LOGVF(WARNING, local_tag, format, ap); in __android_log_print()
43 FX_LOGVF(ERROR, local_tag, format, ap); in __android_log_print()
46 FX_LOGVF(FATAL, local_tag, format, ap); in __android_log_print()
50 FX_LOGVF(INFO, local_tag, format, ap); in __android_log_print()
62 va_list ap; in __android_log_assert() local
63 va_start(ap, format); in __android_log_assert()
64 FX_LOGVF(ERROR, local_tag, format, ap); in __android_log_assert()
[all …]
Dfuchsia_stdio.cc30 int vprintf(const char *format, va_list ap) in vprintf() argument
32 return vfprintf(stdout, format, ap); in vprintf()
63 int vfprintf(FILE *stream, const char *format, va_list ap) in vfprintf() argument
68 _FX_LOGVF(severity(stream), "goldfish", format, ap); in vfprintf()
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/util/
Dtinyvprintf.c61 int tiny_vsprintf(char *out, const char *fmt, va_list ap) in tiny_vsprintf() argument
77 case 'c': buf[0] = va_arg(ap, int); goto donefmt; in tiny_vsprintf()
78 case 's': s = va_arg(ap, char*); in tiny_vsprintf()
100 case 'd': n = va_arg(ap, int); in tiny_vsprintf()
115 case 'u': n = va_arg(ap, int); in tiny_vsprintf()
141 case 'o': n = va_arg(ap, unsigned); in tiny_vsprintf()
155 case 'x': n = va_arg(ap, unsigned); in tiny_vsprintf()
193 va_list ap; in tiny_sprintf() local
194 va_start(ap, fmt); in tiny_sprintf()
195 n = tiny_vsprintf(out, fmt, ap); in tiny_sprintf()
[all …]
/device/generic/goldfish/network/netmgr/commands/
Dwifi_command.cpp136 for (const auto& ap : mAccessPoints) { in writeConfig() local
137 fprintf(out.get(), "bss=%s\n", ap.second.ifName.c_str()); in writeConfig()
138 fprintf(out.get(), "ssid=%s\n", ap.second.ssid.c_str()); in writeConfig()
139 if (!ap.second.password.empty()) { in writeConfig()
143 fprintf(out.get(), "wpa_passphrase=%s\n", ap.second.password.c_str()); in writeConfig()
156 AccessPoint& ap = mAccessPoints[arguments[0]]; in onAdd() local
157 ap.ssid = arguments[0]; in onAdd()
159 ap.password = arguments[1]; in onAdd()
161 ap.password.clear(); in onAdd()
163 if (ap.ifName.empty()) { in onAdd()
[all …]
/device/linaro/dragonboard/qcom/qrtr/lib/
Dlogging.c55 va_list ap; in qlog() local
60 va_start(ap, format); in qlog()
63 vsyslog(priority, format, ap); in qlog()
66 vsnprintf(buf, QLOG_BUF_SIZE, format, ap); in qlog()
72 va_end(ap); in qlog()
/device/linaro/hikey/hifi/xaf/hifi-dpf/ipc/xt-shmem/hikey/
Ddsp_debug.c52 void __xprintf(const char *fmt, va_list ap,void (*xputc)(unsigned n, void *cookie), void *cookie) in __xprintf() argument
58 va_end(ap); in __xprintf()
63 unsigned n = va_arg(ap, unsigned); in __xprintf()
69 unsigned n = va_arg(ap, unsigned); in __xprintf()
78 unsigned n = va_arg(ap, unsigned); in __xprintf()
87 unsigned n = va_arg(ap, unsigned); in __xprintf()
100 int n = va_arg(ap, int); in __xprintf()
117 double fnum = va_arg(ap, double); in __xprintf()
150 unsigned n = va_arg(ap, unsigned); in __xprintf()
162 char *s = (char *)va_arg(ap, char*); in __xprintf()
[all …]
/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/
Dutils.cpp46 va_list ap; in StringPrintf() local
47 va_start(ap, format); in StringPrintf()
50 (void)vasprintf(&buffer, format, ap); in StringPrintf()
52 va_end(ap); in StringPrintf()
/device/google/contexthub/firmware/os/core/
Dseos.c1230 static bool osEventsSubscribeUnsubscribeV(bool sub, uint32_t numEvts, va_list ap) in osEventsSubscribeUnsubscribeV() argument
1250 act->evtSub.evts[i] = va_arg(ap, uint32_t); in osEventsSubscribeUnsubscribeV()
1258 va_list ap; in osEventsSubscribeUnsubscribe() local
1260 va_start(ap, numEvts); in osEventsSubscribeUnsubscribe()
1261 ret = osEventsSubscribeUnsubscribeV(sub, numEvts, ap); in osEventsSubscribeUnsubscribe()
1262 va_end(ap); in osEventsSubscribeUnsubscribe()
1282 va_list ap; in osEventsSubscribe() local
1284 va_start(ap, numEvts); in osEventsSubscribe()
1285 ret = osEventsSubscribeUnsubscribeV(true, numEvts, ap); in osEventsSubscribe()
1286 va_end(ap); in osEventsSubscribe()
[all …]
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/lib/
Dtinyput.h30 extern int tiny_vsprintf(char *out, const char *fmt, va_list ap);
/device/linaro/dragonboard/qcom/rmtfs/
Drmtfs.c34 va_list ap; in dbgprintf() local
39 va_start(ap, fmt); in dbgprintf()
40 vprintf(fmt, ap); in dbgprintf()
41 va_end(ap); in dbgprintf()
/device/linaro/hikey/hifi/xaf/host-apf/playback/tinyalsa/
Dpcm.c273 va_list ap; in oops() local
276 va_start(ap, fmt); in oops()
277 vsnprintf(pcm->error, PCM_ERROR_MAX, fmt, ap); in oops()
278 va_end(ap); in oops()
1300 va_list ap; in pcm_ioctl() local
1306 va_start(ap, request); in pcm_ioctl()
1307 arg = va_arg(ap, void *); in pcm_ioctl()
1308 va_end(ap); in pcm_ioctl()
/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dsap_service.cpp134 va_list ap; in sendFailedResponse() local
135 va_start(ap, numPointers); in sendFailedResponse()
137 void *ptr = va_arg(ap, void *); in sendFailedResponse()
140 va_end(ap); in sendFailedResponse()
/device/google/cuttlefish/guest/hals/ril/libril/
Dsap_service.cpp134 va_list ap; in sendFailedResponse() local
135 va_start(ap, numPointers); in sendFailedResponse()
137 void *ptr = va_arg(ap, void *); in sendFailedResponse()
140 va_end(ap); in sendFailedResponse()
/device/generic/goldfish/radio/libril/
Dsap_service.cpp134 va_list ap; in sendFailedResponse() local
135 va_start(ap, numPointers); in sendFailedResponse()
137 void *ptr = va_arg(ap, void *); in sendFailedResponse()
140 va_end(ap); in sendFailedResponse()
/device/generic/opengl-transport/host/libs/virglrenderer/
DAVDVirglRenderer.cpp133 va_list ap; in default_logger() local
134 va_start(ap, fmt); in default_logger()
135 vprintf(fmt, ap); in default_logger()
136 va_end(ap); in default_logger()

12