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

1234

/system/core/adb/
H A Dqemu_tracing.h26 void adb_qemu_trace(const char* fmt, ...);
H A Dqemu_tracing.cpp59 void adb_qemu_trace(const char* fmt, ...) argument
62 va_start(args, fmt);
66 vsnprintf(msg, sizeof(msg), fmt, args);
/system/extras/perfprofd/
H A Dperfprofdutils.cc27 void perfprofd_log_error(const char *fmt, ...) argument
30 va_start(ap, fmt);
31 LOG_PRI_VA(ANDROID_LOG_ERROR, LOG_TAG, fmt, ap);
35 void perfprofd_log_warning(const char *fmt, ...) argument
38 va_start(ap, fmt);
39 LOG_PRI_VA(ANDROID_LOG_WARN, LOG_TAG, fmt, ap);
43 void perfprofd_log_info(const char *fmt, ...) argument
46 va_start(ap, fmt);
47 LOG_PRI_VA(ANDROID_LOG_INFO, LOG_TAG, fmt, ap);
H A Dperfprofdutils.h27 extern void perfprofd_log_error(const char *fmt, ...);
28 extern void perfprofd_log_warning(const char *fmt, ...);
29 extern void perfprofd_log_info(const char *fmt, ...);
/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_defs.h46 #define error(fmt, args...) do { fprintf(stderr, "error: %s: " fmt "\n", __func__, ## args); } while (0)
/system/keymaster/
H A Dlogger.cpp24 int Logger::Log(LogLevel level, const char* fmt, va_list args) { argument
27 return instance_->log_msg(level, fmt, args);
31 int Logger::Log(LogLevel level, const char* fmt, ...) { argument
33 va_start(args, fmt);
34 int result = Log(level, fmt, args);
40 int Logger::Debug(const char* fmt, ...) { argument
42 va_start(args, fmt);
43 int result = Log(DEBUG_LVL, fmt, args);
49 int Logger::Info(const char* fmt, ...) { argument
51 va_start(args, fmt);
57 Warning(const char* fmt, ...) argument
65 Error(const char* fmt, ...) argument
73 Severe(const char* fmt, ...) argument
[all...]
H A Dsoft_keymaster_logger.cpp27 int SoftKeymasterLogger::log_msg(LogLevel level, const char* fmt, va_list args) const { argument
48 return LOG_PRI_VA(android_log_level, LOG_TAG, fmt, args);
/system/keymaster/include/keymaster/
H A Dlogger.h37 virtual int log_msg(LogLevel level, const char* fmt, va_list args) const = 0;
39 static int Log(LogLevel level, const char* fmt, va_list args);
40 static int Log(LogLevel level, const char* fmt, ...);
41 static int Debug(const char* fmt, ...);
42 static int Info(const char* fmt, ...);
43 static int Warning(const char* fmt, ...);
44 static int Error(const char* fmt, ...);
45 static int Severe(const char* fmt, ...);
68 #define LOG_D(fmt, ...) \
71 Logger::Debug(FILE_LINE fmt, __VA_ARGS_
[all...]
H A Dsoft_keymaster_logger.h29 virtual int log_msg(LogLevel level, const char* fmt, va_list args) const;
/system/extras/perfprofd/tests/
H A Dperfprofdmockutils.cc65 void perfprofd_mocklog(const char *tag, const char *fmt, va_list ap) argument
69 vsnprintf(buffer+strlen(tag), LMAX, fmt, ap);
74 void perfprofd_log_error(const char *fmt, ...) argument
77 va_start(ap, fmt);
78 vfprintf(stderr, fmt, ap); fprintf(stderr, "\n");
79 perfprofd_mocklog("E: ", fmt, ap);
83 void perfprofd_log_warning(const char *fmt, ...) argument
86 va_start(ap, fmt);
87 vfprintf(stderr, fmt, ap); fprintf(stderr, "\n");
88 perfprofd_mocklog("W: ", fmt, a
92 perfprofd_log_info(const char *fmt, ...) argument
[all...]
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/include/linux/kernel/
H A Dkernel.h61 #define pr_fmt(fmt) fmt
64 #define pr_err(fmt,...) eprintf(0, pr_fmt(fmt), ##__VA_ARGS__)
65 #define pr_warning(fmt,...) eprintf(0, pr_fmt(fmt), ##__VA_ARGS__)
66 #define pr_info(fmt,...) eprintf(0, pr_fmt(fmt), ##__VA_ARGS__)
68 #define pr_debug(fmt,...) eprintf(1, pr_fmt(fmt), ##__VA_ARGS_
[all...]
/system/core/fastboot/
H A Dutil.c45 char *mkmsg(const char *fmt, ...) argument
51 va_start(ap, fmt);
52 vsprintf(buf, fmt, ap);
60 void die(const char *fmt, ...) argument
63 va_start(ap, fmt);
65 vfprintf(stderr, fmt, ap);
H A Dfastboot.h51 int fb_getvar(struct usb_handle *usb, char *response, const char *fmt, ...);
71 char *mkmsg(const char *fmt, ...);
72 __attribute__((__noreturn__)) void die(const char *fmt, ...);
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/kernel/
H A Dkernel.h74 vscnprintf(char *buf, size_t size, const char *fmt, va_list args) argument
79 i = vsnprintf(buf, size, fmt, args);
84 static inline int scnprintf(char * buf, size_t size, const char * fmt, ...) argument
90 va_start(args, fmt);
91 i = vsnprintf(buf, size, fmt, args);
104 const char *fmt, ...) __attribute__((format(printf, 2, 3)));
107 #define pr_fmt(fmt) fmt
110 #define pr_err(fmt, ...) \
111 eprintf(0, pr_fmt(fmt), ##__VA_ARGS_
[all...]
/system/core/base/include/base/
H A Dstringprintf.h27 std::string StringPrintf(const char* fmt, ...)
31 void StringAppendF(std::string* dst, const char* fmt, ...)
/system/core/init/
H A Dlog.cpp25 static void init_klog_vwrite(int level, const char* fmt, va_list ap) { argument
32 vsnprintf(msg, sizeof(msg), fmt, ap);
43 void init_klog_write(int level, const char* fmt, ...) { argument
45 va_start(ap, fmt);
46 init_klog_vwrite(level, fmt, ap);
50 int selinux_klog_callback(int type, const char *fmt, ...) { argument
58 va_start(ap, fmt);
59 init_klog_vwrite(level, fmt, ap);
H A Dlog.h26 void init_klog_write(int level, const char* fmt, ...) __printflike(2, 3);
27 int selinux_klog_callback(int level, const char* fmt, ...) __printflike(2, 3);
H A Dparser.h38 void parse_error(struct parse_state *state, const char *fmt, ...);
H A Dparser.cpp9 void parse_error(struct parse_state *state, const char *fmt, ...) argument
19 va_start(ap, fmt);
20 vsnprintf(buf + off, 128 - off, fmt, ap);
/system/core/debuggerd/test/
H A Dlog_fake.cpp54 extern "C" int __android_log_print(int, const char* tag, const char* fmt, ...) { argument
59 va_start(ap, fmt);
60 android::base::StringAppendV(&g_fake_log_print, fmt, ap);
/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, ...)
118 const char *fmt, va_list ap);
125 const char *fmt, ...)
/system/core/debuggerd/
H A Dutility.h75 void _LOG(log_t* log, logtype ltype, const char *fmt, ...)
80 void dump_memory(log_t* log, Backtrace* backtrace, uintptr_t addr, const char* fmt, ...);
/system/core/logd/
H A DLogAudit.h38 int logPrint(const char *fmt, ...)
/system/core/base/
H A Dstringprintf.cpp68 std::string StringPrintf(const char* fmt, ...) { argument
70 va_start(ap, fmt);
72 StringAppendV(&result, fmt, ap);

Completed in 177 milliseconds

1234