/system/core/debuggerd/ |
D | utility.h | 57 extern void _LOG(int tfd, bool in_tombstone_only, const char *fmt, ...); 59 #define LOG(fmt...) _LOG(-1, 0, fmt) argument 63 #define XLOG(fmt...) _LOG(-1, 0, fmt) 65 #define XLOG(fmt...) do {} while(0) argument 70 #define XLOG2(fmt...) _LOG(-1, 0, fmt) 72 #define XLOG2(fmt...) do {} while(0) argument
|
D | debuggerd.c | 46 void _LOG(int tfd, bool in_tombstone_only, const char *fmt, ...) in _LOG() argument 51 va_start(ap, fmt); in _LOG() 55 vsnprintf(buf, sizeof(buf), fmt, ap); in _LOG() 61 __android_log_vprint(ANDROID_LOG_INFO, "DEBUG", fmt, ap); in _LOG()
|
/system/media/wilhelm/src/desktop/ |
D | SDL.c | 47 SDL_AudioSpec fmt; in SDL_open() local 48 fmt.freq = 44100; in SDL_open() 49 fmt.format = AUDIO_S16; in SDL_open() 50 fmt.channels = STEREO_CHANNELS; in SDL_open() 52 fmt.samples = SndFile_BUFSIZE; in SDL_open() 54 fmt.samples = SndFile_BUFSIZE / sizeof(short); in SDL_open() 56 fmt.callback = SDL_callback; in SDL_open() 57 fmt.userdata = (void *) thisEngine; in SDL_open() 59 if (SDL_OpenAudio(&fmt, NULL) < 0) { in SDL_open()
|
/system/core/sh/ |
D | error.c | 211 sh_err(int status, const char *fmt, ...) in sh_err() argument 215 va_start(ap, fmt); in sh_err() 216 exvwarning(errno, fmt, ap); in sh_err() 222 sh_verr(int status, const char *fmt, va_list ap) in sh_verr() argument 224 exvwarning(errno, fmt, ap); in sh_verr() 229 sh_errx(int status, const char *fmt, ...) in sh_errx() argument 233 va_start(ap, fmt); in sh_errx() 234 exvwarning(-1, fmt, ap); in sh_errx() 240 sh_verrx(int status, const char *fmt, va_list ap) in sh_verrx() argument 242 exvwarning(-1, fmt, ap); in sh_verrx() [all …]
|
D | output.c | 211 outfmt(struct output *file, const char *fmt, ...) in outfmt() argument 215 va_start(ap, fmt); in outfmt() 216 doformat(file, fmt, ap); in outfmt() 222 out1fmt(const char *fmt, ...) in out1fmt() argument 226 va_start(ap, fmt); in out1fmt() 227 doformat(out1, fmt, ap); in out1fmt() 232 dprintf(const char *fmt, ...) in dprintf() argument 236 va_start(ap, fmt); in dprintf() 237 doformat(out2, fmt, ap); in dprintf() 243 fmtstr(char *outbuf, size_t length, const char *fmt, ...) in fmtstr() argument [all …]
|
D | show.c | 283 trace(const char *fmt, ...) in trace() argument 290 va_start(va, fmt); in trace() 291 (void) vfprintf(tracefile, fmt, va); in trace() 297 tracev(const char *fmt, va_list va) in tracev() argument 302 (void) vfprintf(tracefile, fmt, va); in tracev()
|
/system/core/liblog/ |
D | logd_write.c | 190 int __android_log_vprint(int prio, const char *tag, const char *fmt, va_list ap) in __android_log_vprint() argument 194 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap); in __android_log_vprint() 199 int __android_log_print(int prio, const char *tag, const char *fmt, ...) in __android_log_print() argument 204 va_start(ap, fmt); in __android_log_print() 205 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap); in __android_log_print() 211 int __android_log_buf_print(int bufID, int prio, const char *tag, const char *fmt, ...) in __android_log_buf_print() argument 216 va_start(ap, fmt); in __android_log_buf_print() 217 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap); in __android_log_buf_print() 224 const char *fmt, ...) in __android_log_assert() argument 228 if (fmt) { in __android_log_assert() [all …]
|
/system/core/include/android/ |
D | log.h | 99 int __android_log_print(int prio, const char *tag, const char *fmt, ...) 110 const char *fmt, va_list ap); 117 const char *fmt, ...)
|
/system/core/libcutils/ |
D | klog.c | 47 void klog_write(int level, const char *fmt, ...) in klog_write() argument 55 va_start(ap, fmt); in klog_write() 56 vsnprintf(buf, LOG_BUF_MAX, fmt, ap); in klog_write()
|
/system/core/libsysutils/src/ |
D | SocketClient.cpp | 46 const char* fmt; in sendMsg() local 51 fmt = "%.3d %s (%s)"; in sendMsg() 54 fmt = "%.3d %s"; in sendMsg() 58 len = snprintf(tmp, sizeof tmp, fmt, code, msg, arg); in sendMsg() 61 snprintf(buf, len+1, fmt, code, msg, arg); in sendMsg()
|
/system/core/include/cutils/ |
D | log.h | 364 #define LOG_PRI_VA(priority, tag, fmt, args) \ argument 365 android_vprintLog(priority, NULL, tag, fmt, args) 420 #define android_printLog(prio, tag, fmt...) \ argument 421 __android_log_print(prio, tag, fmt) 423 #define android_vprintLog(prio, cond, tag, fmt...) \ argument 424 __android_log_vprint(prio, tag, fmt) 441 #define android_printAssert(cond, tag, fmt...) \ argument 443 __android_second(0, ## fmt, NULL) __android_rest(fmt)) 475 int __android_log_buf_print(int bufID, int prio, const char *tag, const char *fmt, ...);
|
D | klog.h | 23 void klog_write(int level, const char *fmt, ...)
|
/system/extras/ext4_utils/ |
D | ext4_utils.h | 52 #define warn(fmt, args...) do { fprintf(stderr, "warning: %s: " fmt "\n", __func__, ## args); } whi… argument 53 #define error(fmt, args...) do { fprintf(stderr, "error: %s: " fmt "\n", __func__, ## args); if (!f… argument 55 #define critical_error(fmt, args...) do { fprintf(stderr, "critical error: %s: " fmt "\n", __func__… argument
|
D | ext4.h | 25 #define EXT4_ERROR_INODE(inode, fmt, a...) ext4_error_inode(__func__, (inode), (fmt), ## a); argument 27 #define EXT4_ERROR_FILE(file, fmt, a...) ext4_error_file(__func__, (file), (fmt), ## a); argument
|
/system/core/init/ |
D | parser.c | 51 void parse_error(struct parse_state *state, const char *fmt, ...) in parse_error() argument 61 va_start(ap, fmt); in parse_error() 62 vsnprintf(buf + off, 128 - off, fmt, ap); in parse_error()
|
D | parser.h | 38 void parse_error(struct parse_state *state, const char *fmt, ...);
|
/system/core/fastboot/ |
D | engine.c | 44 char *mkmsg(const char *fmt, ...) in mkmsg() argument 50 va_start(ap, fmt); in mkmsg() 51 vsprintf(buf, fmt, ap); in mkmsg() 97 static Action *queue_action(unsigned op, const char *fmt, ...) in queue_action() argument 106 va_start(ap, fmt); in queue_action() 107 cmdsize = vsnprintf(a->cmd, sizeof(a->cmd), fmt, ap); in queue_action()
|
D | fastboot.h | 57 void die(const char *fmt, ...);
|
/system/core/libpixelflinger/codeflinger/ |
D | disassem.c | 312 int fmt; in disasm() local 314 fmt = 0; in disasm() 344 ++fmt; in disasm() 546 ++fmt; in disasm() 547 if (fmt == 1) in disasm()
|
D | GGLAssembler.h | 226 pixel_t(int r, const GGLFormat* fmt, int f=0) 227 : reg_t(r, f), format(*fmt) { in reg_t() 229 void setTo(int r, const GGLFormat* fmt, int f=0) { 230 reg_t::setTo(r, f); format = *fmt;
|
/system/extras/tests/framebuffer/ |
D | mdp_test.c | 31 static int open_file(char *name, int *fd, int *len, int *fmt) in open_file() argument 43 *fmt = MDP_Y_CBCR_H2V2; in open_file() 45 *fmt = MDP_RGB_565; in open_file() 64 printf("Successfully opened file %s (fmt=%d len=%d fd=%d)\n", fn, *fmt, in open_file()
|
/system/extras/tests/lib/testUtil/ |
D | testUtil.c | 145 void testPrint(FILE *stream, const char *fmt, ...) in testPrint() argument 150 va_start(args, fmt); in testPrint() 151 vsnprintf(line, sizeof(line), fmt, args); in testPrint() 157 vfprintf(stream, fmt, args); in testPrint()
|
/system/extras/tests/include/ |
D | testUtil.h | 49 void testPrint(FILE *stream, const char *fmt, ...);
|
/system/core/adb/ |
D | adb.h | 236 void fatal(const char *fmt, ...); 237 void fatal_errno(const char *fmt, ...);
|
/system/core/libnetutils/ |
D | dhcpclient.c | 65 void printerr(char *fmt, ...) in printerr() argument 69 va_start(ap, fmt); in printerr() 70 vsnprintf(errmsg, sizeof(errmsg), fmt, ap); in printerr()
|