Searched defs:fmt (Results 1 - 22 of 22) sorted by relevance

/system/core/libsparse/
H A Dsparse_err.c23 void sparse_default_print(const char *fmt, ...) argument
27 va_start(argp, fmt);
28 vfprintf(stderr, fmt, argp);
32 void (*sparse_print_error)(const char *fmt, ...) = sparse_default_print;
33 void (*sparse_print_verbose)(const char *fmt, ...) = sparse_default_print;
H A Dsparse_read.c51 static void verbose_error(bool verbose, int err, const char *fmt, ...) argument
55 if (fmt) {
59 va_start(argp, fmt);
60 size = vsnprintf(NULL, 0, fmt, argp);
72 va_start(argp, fmt);
73 vsnprintf(at, size, fmt, argp);
93 if (fmt) {
/system/core/debuggerd/
H A Dutility.c34 void _LOG(log_t* log, bool in_tombstone_only, const char *fmt, ...) { argument
38 va_start(ap, fmt);
42 vsnprintf(buf, sizeof(buf), fmt, ap);
48 __android_log_vprint(ANDROID_LOG_INFO, "DEBUG", fmt, ap);
/system/core/init/
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/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/liblog/
H A Dlogd_write.c192 int __android_log_vprint(int prio, const char *tag, const char *fmt, va_list ap) argument
196 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap);
201 int __android_log_print(int prio, const char *tag, const char *fmt, ...) argument
206 va_start(ap, fmt);
207 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap);
213 int __android_log_buf_print(int bufID, int prio, const char *tag, const char *fmt, ...) argument
218 va_start(ap, fmt);
219 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap);
226 const char *fmt, ...)
230 if (fmt) {
225 __android_log_assert(const char *cond, const char *tag, const char *fmt, ...) argument
[all...]
/system/core/libpixelflinger/codeflinger/
H A Dmips_disassem.c66 static void db_printf(const char* fmt, ...);
453 fmt_name[i.FRType.fmt],
553 static void db_printf(const char* fmt, ...) argument
557 va_start(argp, fmt);
559 cnt = vsnprintf(sprintf_buffer, sprintf_buf_len, fmt, argp);
563 vprintf(fmt, argp);
H A Ddisassem.c312 int fmt; local
314 fmt = 0;
344 ++fmt;
546 ++fmt;
547 if (fmt == 1)
H A DGGLAssembler.h230 pixel_t(int r, const GGLFormat* fmt, int f=0) argument
231 : reg_t(r, f), format(*fmt) {
233 void setTo(int r, const GGLFormat* fmt, int f=0) { argument
234 reg_t::setTo(r, f); format = *fmt;
H A Dmips_opcode.h77 unsigned fmt: 4; member in struct:__anon425::__anon429
107 unsigned fmt: 4; member in struct:__anon425::__anon433
/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 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);
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...]
/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/iptables/qtaguid/
H A DsocketTag.cpp58 int doCtrlCommand(const char *fmt, ...) { argument
64 va_start(argp, fmt);
66 vasprintf(&buff, fmt, argp);
/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/adb/
H A Dfdevent.c47 static void fatal(const char *fn, const char *fmt, ...) argument
50 va_start(ap, fmt);
52 vfprintf(stderr, fmt, ap);
H A Dadb.c56 void fatal(const char *fmt, ...) argument
59 va_start(ap, fmt);
61 vfprintf(stderr, fmt, ap);
67 void fatal_errno(const char *fmt, ...) argument
70 va_start(ap, fmt);
72 vfprintf(stderr, fmt, ap);
184 void adb_qemu_trace(const char* fmt, ...) argument
187 va_start(args, fmt);
191 vsnprintf(msg, sizeof(msg), fmt, args);
/system/core/libnetutils/
H A Ddhcpclient.c65 void printerr(char *fmt, ...) argument
69 va_start(ap, fmt);
70 vsnprintf(errmsg, sizeof(errmsg), fmt, ap);
/system/core/fastboot/
H A Dengine.c59 char *mkmsg(const char *fmt, ...) argument
65 va_start(ap, fmt);
66 vsprintf(buf, fmt, ap);
114 int fb_getvar(struct usb_handle *usb, char *response, const char *fmt, ...) argument
121 va_start(args, fmt);
122 vsnprintf(cmd + getvar_len, sizeof(cmd) - getvar_len, fmt, args);
192 static Action *queue_action(unsigned op, const char *fmt, ...) argument
201 va_start(ap, fmt);
202 cmdsize = vsnprintf(a->cmd, sizeof(a->cmd), fmt, ap);
H A Dfastboot.c79 void die(const char *fmt, ...) argument
82 va_start(ap, fmt);
84 vfprintf(stderr, fmt, ap);
/system/core/toolbox/
H A Dnewfs_msdos.c768 getstdfmt(const char *fmt, struct bpb *bpb) argument
773 for (i = 0; i < x && strcmp(fmt, stdfmt[i].name); i++);
775 errx(1, "%s: unknown standard format", fmt);

Completed in 6775 milliseconds