Home
last modified time | relevance | path

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

12345678

/device/linaro/hikey/hifi/xaf/hifi-dpf/include/sys/xt-shmem/board-hikey/
Ddsp_debug.h36 #define DSP_TRACE(fmt, ...) print_log(fmt" @%s:%d \n", ##__VA_ARGS__, __FUNCTION__, __LINE__) argument
38 #define DSP_TRACE(fmt, ...) argument
42 #define DSP_LOGD(fmt, ...) print_log(LOG_TAG"[D]%s:%d: "fmt, __FUNCTION__, __LINE__, ##__VA_ARGS__) argument
44 #define DSP_LOGD(fmt, ...) argument
48 #define DSP_LOGI(fmt, ...) print_log(LOG_TAG"[I]%s:%d: "fmt, __FUNCTION__, __LINE__, ##__VA_ARGS__) argument
50 #define DSP_LOGI(fmt, ...) argument
54 #define DSP_LOGW(fmt, ...) print_log(LOG_TAG"[W]%s:%d: "fmt, __FUNCTION__, __LINE__, ##__VA_ARGS__) argument
56 #define DSP_LOGW(fmt, ...) argument
60 #define DSP_LOGE(fmt, ...) print_log(LOG_TAG"[E]%s:%d: "fmt, __FUNCTION__, __LINE__, ##__VA_ARGS__) argument
62 +#define DSP_LOGE(fmt, ...)
[all …]
/device/linaro/bootloader/edk2/StdLib/PosixLib/Err/
Dwarn_err.c50 _Vdomessage(int doerrno, const char *fmt, va_list args) in _Vdomessage() argument
53 if (fmt) { in _Vdomessage()
54 vfprintf(stderr, fmt, args); in _Vdomessage()
64 err(int eval, const char *fmt, ...) in err() argument
67 va_start(ap, fmt); in err()
68 _Vdomessage(1, fmt, ap); in err()
74 errx(int eval, const char *fmt, ...) in errx() argument
77 va_start(ap, fmt); in errx()
78 _Vdomessage(0, fmt, ap); in errx()
84 warn(const char *fmt, ...) in warn() argument
[all …]
/device/linaro/hikey/hifi/xaf/host-apf/include/
Dxf-debug.h99 #define TRACE(tag, fmt, ...) (void)(__xf_trace_##tag ? __xf_trace(tag, __xf_format##fmt,… argument
106 #define __xf_trace(tag, fmt, ...) \ argument
107 ({ __attribute__((unused)) const char *__xf_tag = #tag; xf_trace(fmt, ## __VA_ARGS__); })
110 #define __xf_format_n(fmt) fmt argument
113 #define __xf_format_b(fmt) "[%s.%s] " fmt, __xf_string(MODULE_TAG), __xf_tag argument
116 #define __xf_format_x(fmt) "[%s.%s] - %s@%d - " fmt, __xf_string(MODULE_TAG), __xf_ta… argument
135 #define TRACE(tag, fmt, ...) (void)0 argument
136 #define __xf_trace(tag, fmt, ...) (void)0 argument
147 #define BUG(cond, fmt, ...) \ argument
153 __xf_trace(BUG, __xf_format##fmt, ## __VA_ARGS__); \
[all …]
/device/linaro/bootloader/arm-trusted-firmware/common/
Dtf_printf.c69 void tf_vprintf(const char *fmt, va_list args) in tf_vprintf() argument
76 while (*fmt) { in tf_vprintf()
79 if (*fmt == '%') { in tf_vprintf()
80 fmt++; in tf_vprintf()
83 switch (*fmt) { in tf_vprintf()
114 fmt++; in tf_vprintf()
118 fmt++; in tf_vprintf()
128 fmt++; in tf_vprintf()
131 putchar(*fmt++); in tf_vprintf()
135 void tf_printf(const char *fmt, ...) in tf_printf() argument
[all …]
Dtf_snprintf.c43 int tf_snprintf(char *s, size_t n, const char *fmt, ...) in tf_snprintf() argument
59 va_start(args, fmt); in tf_snprintf()
60 while (*fmt) { in tf_snprintf()
62 if (*fmt == '%') { in tf_snprintf()
63 fmt++; in tf_snprintf()
65 switch (*fmt) { in tf_snprintf()
89 *fmt); in tf_snprintf()
92 fmt++; in tf_snprintf()
97 *s++ = *fmt; in tf_snprintf()
98 fmt++; in tf_snprintf()
Dtf_log.c21 void tf_log(const char *fmt, ...) in tf_log() argument
28 log_level = fmt[0]; in tf_log()
42 va_start(args, fmt); in tf_log()
43 tf_vprintf(fmt+1, args); in tf_log()
/device/google/contexthub/firmware/os/algos/calibration/util/
Dcal_log.h30 # define CAL_DEBUG_LOG(tag, fmt, ...) \ argument
31 printf("%s " fmt "\n", tag, ##__VA_ARGS__);
35 # define LOG_FUNC(level, fmt, ...) osLog(level, fmt, ##__VA_ARGS__) argument
37 # define LOGD_TAG(tag, fmt, ...) \ argument
38 LOG_FUNC(LOG_DEBUG, "%s " fmt "\n", tag, ##__VA_ARGS__)
39 # define CAL_DEBUG_LOG(tag, fmt, ...) \ argument
40 osLog(LOG_DEBUG, "%s " fmt, tag, ##__VA_ARGS__);
43 # define CAL_DEBUG_LOG(tag, fmt, ...) \ argument
44 chreLog(CHRE_LOG_INFO, "%s " fmt, tag, ##__VA_ARGS__)
/device/linaro/hikey/gralloc/
Dalloc_device.h22 #define AWAR(fmt, args...) __android_log_print(ANDROID_LOG_WARN, "[Gralloc-Warning]", "%s:%d " fmt,… argument
25 #define AINF(fmt, args...) __android_log_print(ANDROID_LOG_INFO, "[Gralloc]", fmt,##args) argument
28 #define AERR(fmt, args...) __android_log_print(ANDROID_LOG_ERROR, "[Gralloc-ERROR]", "%s:%d " fmt,_… argument
31 #define AERR_IF( eq, fmt, args...) if ( (eq) ) AERR( fmt, args ) argument
/device/amlogic/yukawa/gralloc/
Dgralloc_helper.h26 #define AWAR(fmt, args...) \ argument
27 …__android_log_print(ANDROID_LOG_WARN, "[Gralloc-Warning]", "%s:%d " fmt, __func__, __LINE__, ##arg…
30 #define AINF(fmt, args...) __android_log_print(ANDROID_LOG_INFO, "[Gralloc]", fmt, ##args) argument
33 #define AERR(fmt, args...) \ argument
34 __android_log_print(ANDROID_LOG_ERROR, "[Gralloc-ERROR]", "%s:%d " fmt, __func__, __LINE__, ##args)
37 #define AERR_IF(eq, fmt, args...) \ argument
39 AERR(fmt, args)
/device/linaro/hikey/gralloc960/
Dgralloc_helper.h26 #define AWAR(fmt, args...) \ argument
27 …__android_log_print(ANDROID_LOG_WARN, "[Gralloc-Warning]", "%s:%d " fmt, __func__, __LINE__, ##arg…
30 #define AINF(fmt, args...) __android_log_print(ANDROID_LOG_INFO, "[Gralloc]", fmt, ##args) argument
33 #define AERR(fmt, args...) \ argument
34 __android_log_print(ANDROID_LOG_ERROR, "[Gralloc-ERROR]", "%s:%d " fmt, __func__, __LINE__, ##args)
37 #define AERR_IF(eq, fmt, args...) \ argument
39 AERR(fmt, args)
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/
Dxf-debug.h121 #define TRACE(tag, fmt, ...) (void)(__xf_trace_##tag ? __xf_trace(tag, __xf_format##fmt,… argument
128 #define __xf_trace(tag, fmt, ...) \ argument
129 ({ __attribute__((unused)) const char *__xf_tag = #tag; DSP_TRACE(fmt, ## __VA_ARGS__); })
132 #define __xf_format_n(fmt) fmt argument
135 #define __xf_format_b(fmt) "[%s.%s] " fmt, __xf_string(MODULE_TAG), __xf_tag argument
138 #define __xf_format_x(fmt) "[%s.%s] - %s@%d - " fmt, __xf_string(MODULE_TAG), __xf_ta… argument
158 #define TRACE(tag, fmt, ...) (void)0 argument
159 #define __xf_trace(tag, fmt, ...) (void)0 argument
170 #define BUG(cond, fmt, ...) \ argument
176 __xf_trace(BUG, __xf_format##fmt, ## __VA_ARGS__); \
[all …]
/device/linaro/hikey/wpan/uim/
Duim.h79 #define UIM_ERR(fmt, arg...) printf("uim:"fmt"\n" , ##arg) argument
82 #define UIM_DBG(fmt, arg...) printf("uim:"fmt"\n" , ## arg) argument
83 #define UIM_VER(fmt, arg...) argument
86 #define UIM_DBG(fmt, arg...) printf("uim:"fmt"\n" , ## arg) argument
87 #define UIM_VER(fmt, arg...) printf("uim:"fmt"\n" , ## arg) argument
90 #define UIM_DBG(fmt, arg...) argument
91 #define UIM_VER(fmt, arg...) argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_string.py113 fmt = string.Formatter()
114 self.assertEqual(fmt.format("foo"), "foo")
116 self.assertEqual(fmt.format("foo{0}", "bar"), "foobar")
117 self.assertEqual(fmt.format("foo{1}{0}-{1}", "bar", 6), "foo6bar-6")
118 self.assertEqual(fmt.format("-{arg!r}-", arg='test'), "-'test'-")
136 fmt = NamespaceFormatter({'greeting':'hello'})
137 self.assertEqual(fmt.format("{greeting}, world!"), 'hello, world!')
145 fmt = CallFormatter()
146 self.assertEqual(fmt.format('*{0}*', lambda : 'result'), '*result*')
156 fmt = XFormatter()
[all …]
Dtest_ossaudiodev.py101 (fmt, channels, rate) = config
102 if (dsp.setfmt(fmt) == fmt and
112 result = dsp.setparameters(fmt, channels, rate, False)
113 self.assertEqual(result, (fmt, channels, rate),
116 result = dsp.setparameters(fmt, channels, rate, True)
117 self.assertEqual(result, (fmt, channels, rate),
126 fmt = AFMT_S16_NE
129 for config in [(fmt, 300, rate), # ridiculous nchannels
130 (fmt, -5, rate), # impossible nchannels
131 (fmt, channels, -50), # impossible rate
[all …]
Dtest_linuxaudiodev.py47 fmt = linuxaudiodev.AFMT_S16_LE
49 fmt = linuxaudiodev.AFMT_S16_BE
52 self.dev.setparameters(rate, 16, nchannels, fmt)
58 fmt = linuxaudiodev.AFMT_U8
62 self.dev.setparameters(-1, size, nchannels, fmt)
66 self.dev.setparameters(rate, -2, nchannels, fmt)
70 self.dev.setparameters(rate, size, 3, fmt)
83 self.dev.setparameters(rate, 16, nchannels, fmt)
/device/google/contexthub/util/nanotool/
Dlog.h32 #define LOGE(fmt, ...) Log::Error(fmt, ##__VA_ARGS__) argument
33 #define LOGW(fmt, ...) Log::Warn(fmt, ##__VA_ARGS__) argument
34 #define LOGI(fmt, ...) Log::Info(fmt, ##__VA_ARGS__) argument
35 #define LOGD(fmt, ...) Log::Debug(fmt, ##__VA_ARGS__) argument
/device/linaro/bootloader/edk2/StdLib/Include/
Derr.h20 void errx (int eval, const char *fmt, ...);
21 void err (int eval, const char *fmt, ...);
22 void warnx(const char *fmt, ...);
23 void warn (const char *fmt, ...);
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dvscanf.c52 vscanf(fmt, ap) in vscanf() argument
53 const char *fmt; in vscanf()
57 _DIAGASSERT(fmt != NULL);
59 return (__svfscanf(stdin, fmt, ap));
Dscanf.c53 scanf(char const *fmt, ...) in scanf() argument
58 _DIAGASSERT(fmt != NULL); in scanf()
60 va_start(ap, fmt); in scanf()
61 ret = __svfscanf(stdin, fmt, ap); in scanf()
Dfprintf.c54 fprintf(FILE *fp, const char *fmt, ...) in fprintf() argument
60 _DIAGASSERT(fmt != NULL); in fprintf()
66 va_start(ap, fmt); in fprintf()
67 ret = vfprintf(fp, fmt, ap); in fprintf()
Dvsnprintf_ss.c122 const char *fmt; /* format string */ local
146 _DIAGASSERT(fmt != NULL);
153 fmt = fmt0;
162 while (*fmt != '%' && *fmt) {
164 PUTCHAR(*fmt++);
166 if (*fmt == 0)
169 fmt++; /* skip over '%' */
177 rflag: ch = *fmt++;
209 if ((ch = *fmt++) == '*') {
217 ch = *fmt++;
[all …]
Dsprintf.c58 sprintf(char *str, char const *fmt, ...) in sprintf() argument
66 _DIAGASSERT(fmt != NULL); in sprintf()
73 va_start(ap, fmt); in sprintf()
74 ret = __vfprintf_unlocked(&f, fmt, ap); in sprintf()
/device/linaro/hikey/hifi/xaf/hifi-dpf/ipc/xt-shmem/hikey/
Ddsp_debug.c52 void __xprintf(const char *fmt, va_list ap,void (*xputc)(unsigned n, void *cookie), void *cookie) in __xprintf() argument
56 switch(*fmt){ in __xprintf()
61 switch(fmt[1]) { in __xprintf()
65 fmt += 2; in __xprintf()
74 fmt += 2; in __xprintf()
81 fmt += 2; in __xprintf()
96 fmt += 2; in __xprintf()
112 fmt += 2; in __xprintf()
145 fmt += 2; in __xprintf()
158 fmt += 2; in __xprintf()
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/
Dlprint.c293 uint8_t *fmt) in getformat() argument
298 *fmt = 's'; in getformat()
303 *fmt = 'd'; in getformat()
308 *fmt = 'X'; in getformat()
313 *fmt = 'L'; in getformat()
352 uint8_t fmt = 0; in dpf() local
356 bla = getformat(bla, &fmt); in dpf()
359 if (fmt == 'd') in dpf()
364 else if (fmt == 'X') in dpf()
369 else if (fmt == 'L') in dpf()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/
Dfunction.py10 def parsefmt(fmt): argument
11 for c in fmt:
45 fmt = None variable in _ArgumentList
81 def __init__(self, args, fmt=None): argument
84 if fmt is not None:
85 self.fmt = fmt
87 for code in parsefmt(fmt):
167 if self.args.fmt is not None:
168 v["ArgParse"] = self.args.fmt

12345678