Home
last modified time | relevance | path

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

/device/google/redbull/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/sunfish/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/linaro/dragonboard/shared/utils/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/google/cuttlefish/host/frontend/webrtc_operator/
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 …]
DnanohubCommand.c1984 static void syncDebugAdd(uint64_t ap, uint64_t hub) in syncDebugAdd() argument
1993 mApHubSyncDebug.apFirst = ap; in syncDebugAdd()
1999 (uint32_t) U64_DIV_BY_CONST_U16((ap - mApHubSyncDebug.apFirst), 1000u); in syncDebugAdd()
/device/linaro/dragonboard/shared/utils/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/generic/goldfish/camera/
DCameraDevice.cpp189 for (const float ap : mHwCamera->getAvailableApertures()) { in getCameraCharacteristics() local
190 v.add<float>(ap); in getCameraCharacteristics()
195 for (const float ap : mHwCamera->getAvailableFocalLength()) { in getCameraCharacteristics() local
196 v.add<float>(ap); in getCameraCharacteristics()
/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dsap_service.cpp135 va_list ap; in sendFailedResponse() local
136 va_start(ap, numPointers); in sendFailedResponse()
138 void *ptr = va_arg(ap, void *); in sendFailedResponse()
141 va_end(ap); in sendFailedResponse()
Dril_service.cpp714 va_list ap; in memsetAndFreeStrings() local
715 va_start(ap, numPointers); in memsetAndFreeStrings()
717 char *ptr = va_arg(ap, char *); in memsetAndFreeStrings()
726 va_end(ap); in memsetAndFreeStrings()
819 va_list ap; in dispatchStrings() local
820 va_start(ap, countStrings); in dispatchStrings()
822 const char* str = va_arg(ap, const char *); in dispatchStrings()
824 va_end(ap); in dispatchStrings()
832 va_end(ap); in dispatchStrings()
902 va_list ap; in dispatchInts() local
[all …]
/device/linaro/poplar/wifi/wifi_hal/
Dgscan.cpp1047 result = request.put_addr(GSCAN_ATTRIBUTE_BSSID, mParams.ap[i].bssid); in createSetupRequest()
1051 result = request.put_u8(GSCAN_ATTRIBUTE_RSSI_HIGH, mParams.ap[i].high); in createSetupRequest()
1055 result = request.put_u8(GSCAN_ATTRIBUTE_RSSI_LOW, mParams.ap[i].low); in createSetupRequest()
1470 result = request.put_addr(GSCAN_ATTRIBUTE_BSSID, mParams.ap[i].bssid); in createSetupRequest()
1474 result = request.put_u8(GSCAN_ATTRIBUTE_RSSI_HIGH, mParams.ap[i].high); in createSetupRequest()
1478 result = request.put_u8(GSCAN_ATTRIBUTE_RSSI_LOW, mParams.ap[i].low); in createSetupRequest()
/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()
/device/google/gs201/conf/
Dinit.debug.rc48 # Enable etm/etm2dram when ramdump is enabled, and ap-sjtag is unlocked.