Searched refs:fmt (Results 1 - 25 of 33) sorted by relevance

12

/system/core/debuggerd/
H A Dutility.h58 extern void _LOG(int tfd, bool in_tombstone_only, const char *fmt, ...);
63 #define LOG(fmt...) _LOG(-1, 0, fmt)
67 #define XLOG(fmt...) _LOG(-1, 0, fmt)
69 #define XLOG(fmt...) do {} while(0)
74 #define XLOG2(fmt...) _LOG(-1, 0, fmt)
76 #define XLOG2(fmt...) do {} while(0)
H A Ddebuggerd.c46 void _LOG(int tfd, bool in_tombstone_only, const char *fmt, ...)
50 void _LOG(int tfd, bool in_tombstone_only, const char *fmt, ...) argument
55 va_start(ap, fmt);
59 vsnprintf(buf, sizeof(buf), fmt, ap);
65 __android_log_vprint(ANDROID_LOG_INFO, "DEBUG", fmt, ap);
/system/media/wilhelm/src/desktop/
H A DSDL.c47 SDL_AudioSpec fmt; local
48 fmt.freq = 44100;
49 fmt.format = AUDIO_S16;
50 fmt.channels = STEREO_CHANNELS;
52 fmt.samples = SndFile_BUFSIZE;
54 fmt.samples = SndFile_BUFSIZE / sizeof(short);
56 fmt.callback = SDL_callback;
57 fmt.userdata = (void *) thisEngine;
59 if (SDL_OpenAudio(&fmt, NULL) < 0) {
/system/core/include/android/
H A Dlog.h97 * Send a formatted string to the log, used like printf(fmt,...)
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/sh/
H A Derror.c211 sh_err(int status, const char *fmt, ...) argument
215 va_start(ap, fmt);
216 exvwarning(errno, fmt, ap);
222 sh_verr(int status, const char *fmt, va_list ap) argument
224 exvwarning(errno, fmt, ap);
229 sh_errx(int status, const char *fmt, ...) argument
233 va_start(ap, fmt);
234 exvwarning(-1, fmt, ap);
240 sh_verrx(int status, const char *fmt, va_list ap) argument
242 exvwarning(-1, fmt, a
247 sh_warn(const char *fmt, ...) argument
257 sh_vwarn(const char *fmt, va_list ap) argument
263 sh_warnx(const char *fmt, ...) argument
273 sh_vwarnx(const char *fmt, va_list ap) argument
[all...]
H A Doutput.c211 outfmt(struct output *file, const char *fmt, ...) argument
215 va_start(ap, fmt);
216 doformat(file, fmt, ap);
222 out1fmt(const char *fmt, ...) argument
226 va_start(ap, fmt);
227 doformat(out1, fmt, ap);
232 dprintf(const char *fmt, ...) argument
236 va_start(ap, fmt);
237 doformat(out2, fmt, ap);
243 fmtstr(char *outbuf, size_t length, const char *fmt, argument
[all...]
H A Dshow.c283 trace(const char *fmt, ...) argument
290 va_start(va, fmt);
291 (void) vfprintf(tracefile, fmt, va);
297 tracev(const char *fmt, va_list va) argument
302 (void) vfprintf(tracefile, fmt, va);
/system/core/libcutils/
H A Dklog.c47 void klog_write(int level, const char *fmt, ...) argument
55 va_start(ap, fmt);
56 vsnprintf(buf, LOG_BUF_MAX, fmt, ap);
/system/core/init/
H A Dparser.h38 void parse_error(struct parse_state *state, const char *fmt, ...);
H A Dparser.c51 void parse_error(struct parse_state *state, const char *fmt, ...) argument
61 va_start(ap, fmt);
62 vsnprintf(buf + off, 128 - off, fmt, ap);
/system/core/liblog/
H A Dlogd_write.c190 int __android_log_vprint(int prio, const char *tag, const char *fmt, va_list ap) argument
194 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap);
199 int __android_log_print(int prio, const char *tag, const char *fmt, ...) argument
204 va_start(ap, fmt);
205 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap);
211 int __android_log_buf_print(int bufID, int prio, const char *tag, const char *fmt, ...) argument
216 va_start(ap, fmt);
217 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap);
224 const char *fmt, ...)
228 if (fmt) {
223 __android_log_assert(const char *cond, const char *tag, const char *fmt, ...) argument
[all...]
/system/core/libsysutils/src/
H A DSocketClient.cpp46 const char* fmt; local
51 fmt = "%.3d %s (%s)";
54 fmt = "%.3d %s";
58 len = snprintf(tmp, sizeof tmp, fmt, code, msg, arg);
61 snprintf(buf, len+1, fmt, code, msg, arg);
/system/core/include/cutils/
H A Dlog.h364 #define LOG_PRI_VA(priority, tag, fmt, args) \
365 android_vprintLog(priority, NULL, tag, fmt, args)
420 #define android_printLog(prio, tag, fmt...) \
421 __android_log_print(prio, tag, fmt)
423 #define android_vprintLog(prio, cond, tag, fmt...) \
424 __android_log_vprint(prio, tag, fmt)
441 #define android_printAssert(cond, tag, fmt...) \
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,
[all...]
H A Dklog.h23 void klog_write(int level, const char *fmt, ...)
/system/extras/ext4_utils/
H A Dext4_utils.h52 #define warn(fmt, args...) do { fprintf(stderr, "warning: %s: " fmt "\n", __func__, ## args); } while (0)
53 #define error(fmt, args...) do { fprintf(stderr, "error: %s: " fmt "\n", __func__, ## args); if (!force) longjmp(setjmp_env, EXIT_FAILURE); } while (0)
55 #define critical_error(fmt, args...) do { fprintf(stderr, "critical error: %s: " fmt "\n", __func__, ## args); longjmp(setjmp_env, EXIT_FAILURE); } while (0)
H A Dext4.h25 #define EXT4_ERROR_INODE(inode, fmt, a...) ext4_error_inode(__func__, (inode), (fmt), ## a);
27 #define EXT4_ERROR_FILE(file, fmt, a...) ext4_error_file(__func__, (file), (fmt), ## a);
/system/core/fastboot/
H A Dfastboot.h57 void die(const char *fmt, ...);
H A Dengine.c44 char *mkmsg(const char *fmt, ...) argument
50 va_start(ap, fmt);
51 vsprintf(buf, fmt, ap);
97 static Action *queue_action(unsigned op, const char *fmt, ...) argument
106 va_start(ap, fmt);
107 cmdsize = vsnprintf(a->cmd, sizeof(a->cmd), fmt, ap);
/system/extras/tests/include/
H A DtestUtil.h49 void testPrint(FILE *stream, const char *fmt, ...);
/system/extras/tests/framebuffer/
H A Dmdp_test.c31 static int open_file(char *name, int *fd, int *len, int *fmt) argument
43 *fmt = MDP_Y_CBCR_H2V2;
45 *fmt = MDP_RGB_565;
64 printf("Successfully opened file %s (fmt=%d len=%d fd=%d)\n", fn, *fmt,
/system/extras/tests/lib/testUtil/
H A DtestUtil.c145 void testPrint(FILE *stream, const char *fmt, ...) argument
150 va_start(args, fmt);
151 vsnprintf(line, sizeof(line), fmt, args);
157 vfprintf(stream, fmt, args);
/system/core/libpixelflinger/codeflinger/
H A Ddisassem.c312 int fmt; local
314 fmt = 0;
344 ++fmt;
546 ++fmt;
547 if (fmt == 1)
H A DGGLAssembler.h226 pixel_t(int r, const GGLFormat* fmt, int f=0) argument
227 : reg_t(r, f), format(*fmt) {
229 void setTo(int r, const GGLFormat* fmt, int f=0) { argument
230 reg_t::setTo(r, f); format = *fmt;
/system/core/adb/
H A Dadb.h236 void fatal(const char *fmt, ...);
237 void fatal_errno(const char *fmt, ...);
/system/core/libnetutils/
H A Ddhcpclient.c65 void printerr(char *fmt, ...) argument
69 va_start(ap, fmt);
70 vsnprintf(errmsg, sizeof(errmsg), fmt, ap);

Completed in 430 milliseconds

12