Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 9 of 9) sorted by relevance

/misc/config_tools/board_inspector/inspectorlib/
A Dunpack.py56 def unpack(self, fmt): argument
66 def unpack_one(self, fmt): argument
67 return self.unpack(fmt)[0]
69 def unpack_peek(self, fmt): argument
128 if fmt is None:
133 elif isinstance(fmt, str):
134 fmt = fmt.format
135 elif not callable(fmt):
138 self.fields[name] = fmt
177 def reserved_None(fmt="{!r}"): argument
[all …]
/misc/debug_tools/acrn_trace/
A Dacrntrace.h27 #define pr_fmt(fmt) "acrntrace: " fmt argument
28 #define pr_info(fmt, ...) printf(pr_fmt(fmt), ##__VA_ARGS__) argument
29 #define pr_err(fmt, ...) printf(pr_fmt(fmt), ##__VA_ARGS__) argument
32 #define pr_dbg(fmt, ...) printf(pr_fmt(fmt), ##__VA_ARGS__) argument
34 #define pr_dbg(fmt, ...) argument
/misc/debug_tools/acrn_crashlog/common/
A Dlog_sys.c15 char *fmt; in debug_log() local
23 fmt = va_arg(args, char *); in debug_log()
24 if (!fmt) { in debug_log()
28 if (vasprintf(&msg, fmt, args) == -1) { in debug_log()
A Dcmdutils.c122 int exec_out2file(const char *outfile, const char *fmt, ...) in exec_out2file() argument
133 va_start(args, fmt); in exec_out2file()
134 ret = vasprintf(&cmd, fmt, args); in exec_out2file()
179 ssize_t exec_out2mem(char **outmem, const char *fmt, ...) in exec_out2mem() argument
192 va_start(args, fmt); in exec_out2mem()
193 ret = vasprintf(&cmd, fmt, args); in exec_out2mem()
A Dstrutils.c230 static char *exp_end(const char *fmt, size_t flen, const char *exp_s) in exp_end() argument
236 if (exp_s < fmt || exp_s >= fmt + flen) in exp_end()
239 for (p = exp_s; p < fmt + flen; p++) { in exp_end()
292 const char *fmt, size_t flen, ...) in str_split_ere() argument
305 if (!str || !slen || !fmt || !flen) in str_split_ere()
311 _fmt = strndup(fmt, flen); in str_split_ere()
/misc/debug_tools/acrn_crashlog/common/include/
A Dcmdutils.h7 int exec_out2file(const char *outfile, const char *fmt, ...);
8 ssize_t exec_out2mem(char **outmem, const char *fmt, ...);
A Dstrutils.h21 const char *fmt, size_t flen, ...);
/misc/debug_tools/acrn_crashlog/acrnprobe/
A Dhistory.c111 const char *fmt = "%*[: ]%[[0-9]*]"; in update_event_count_file() local
120 if (str_split_ere(s, e - s, fmt, strlen(fmt), num_str, in update_event_count_file()
199 const char *fmt; in entry_to_history_line() local
203 fmt = general_event_with_msg; in entry_to_history_line()
205 len = snprintf(newline, size, fmt, in entry_to_history_line()
209 fmt = general_event_without_msg; in entry_to_history_line()
210 len = snprintf(newline, size, fmt, in entry_to_history_line()
/misc/debug_tools/acrn_crashlog/usercrash/
A Dcrash_dump.c31 static void loginfo(int fd, const char *fmt, ...) in loginfo() argument
37 va_start(ap, fmt); in loginfo()
38 len = vasprintf(&buf, fmt, ap); in loginfo()

Completed in 18 milliseconds