Home
last modified time | relevance | path

Searched refs:format (Results 1 – 24 of 24) sorted by relevance

/bionic/libc/bionic/
D__vsprintf_chk.cpp49 const char *format, in __vsprintf_chk() argument
52 int ret = vsnprintf(dest, dest_len_from_compiler, format, va); in __vsprintf_chk()
76 const char *format, ...) in __sprintf_chk() argument
81 va_start(va, format); in __sprintf_chk()
83 dest_len_from_compiler, format, va); in __sprintf_chk()
Dfdprintf.c34 int vfdprintf(int fd, const char * __restrict format, __va_list ap) in vfdprintf() argument
38 ret = vasprintf(&buf, format, ap); in vfdprintf()
48 int fdprintf(int fd, const char * __restrict format, ...) in fdprintf() argument
53 va_start(ap, format); in fdprintf()
54 ret = vfdprintf(fd, format, ap); in fdprintf()
D__vsnprintf_chk.cpp50 const char *format, in __vsnprintf_chk() argument
57 return vsnprintf(dest, supplied_size, format, va); in __vsnprintf_chk()
76 const char *format, ...) in __snprintf_chk() argument
81 va_start(va, format); in __snprintf_chk()
83 dest_len_from_compiler, format, va); in __snprintf_chk()
Dlibc_logging.cpp133 static unsigned parse_decimal(const char *format, int *ppos) { in parse_decimal() argument
134 const char* p = format + *ppos; in parse_decimal()
148 *ppos = p - format; in parse_decimal()
228 static void out_vformat(Out& o, const char* format, va_list args) { in out_vformat() argument
248 c = format[mm]; in out_vformat()
255 o.Send(format+nn, mm-nn); in out_vformat()
268 c = format[nn++]; in out_vformat()
292 width = (int)parse_decimal(format, &nn); in out_vformat()
293 c = format[nn++]; in out_vformat()
298 prec = (int)parse_decimal(format, &nn); in out_vformat()
[all …]
Dmalloc_debug_common.h108 #define debug_log(format, ...) \ argument
109 __libc_format_log(ANDROID_LOG_DEBUG, "malloc_leak_check", (format), ##__VA_ARGS__ )
110 #define error_log(format, ...) \ argument
111 __libc_format_log(ANDROID_LOG_ERROR, "malloc_leak_check", (format), ##__VA_ARGS__ )
112 #define info_log(format, ...) \ argument
113 __libc_format_log(ANDROID_LOG_INFO, "malloc_leak_check", (format), ##__VA_ARGS__ )
Dwchar.cpp41 int fwprintf(FILE* stream, const wchar_t* format, ...) { in fwprintf() argument
43 va_start(args, format); in fwprintf()
44 int result = vfwprintf(stream, format, args); in fwprintf()
49 int wprintf(const wchar_t* format, ...) { in wprintf() argument
51 va_start(args, format); in wprintf()
52 int result = vwprintf(format, args); in wprintf()
57 int swprintf(wchar_t* s, size_t n, const wchar_t* format, ...) { in swprintf() argument
59 va_start(args, format); in swprintf()
60 int result = vswprintf(s, n, format, args); in swprintf()
65 int vwprintf(const wchar_t* format, va_list arg) { in vwprintf() argument
[all …]
Dtime64.c178 # define TRACE(format) (fprintf(stderr, format)) argument
179 # define TRACE1(format, var1) (fprintf(stderr, format, var1)) argument
180 # define TRACE2(format, var1, var2) (fprintf(stderr, format, var1, var2)) argument
181 # define TRACE3(format, var1, var2, var3) (fprintf(stderr, format, var1, var2, var3)) argument
183 # define TRACE(format) ((void)0) argument
184 # define TRACE1(format, var1) ((void)0) argument
185 # define TRACE2(format, var1, var2) ((void)0) argument
186 # define TRACE3(format, var1, var2, var3) ((void)0) argument
Dmalloc_debug_qemu.cpp290 #define qemu_debug_log(format, ...) \ argument
292 __libc_format_log(ANDROID_LOG_DEBUG, "memcheck", (format), ##__VA_ARGS__); \
294 qemu_log(ANDROID_LOG_DEBUG, (format), ##__VA_ARGS__); \
298 #define qemu_error_log(format, ...) \ argument
300 __libc_format_log(ANDROID_LOG_ERROR, "memcheck", (format), ##__VA_ARGS__); \
302 qemu_log(ANDROID_LOG_ERROR, (format), ##__VA_ARGS__); \
306 #define qemu_info_log(format, ...) \ argument
308 __libc_format_log(ANDROID_LOG_INFO, "memcheck", (format), ##__VA_ARGS__); \
310 qemu_log(ANDROID_LOG_INFO, (format), ##__VA_ARGS__); \
Dpthread_debug.cpp99 #define LOGD(format, ...) \ argument
100 __libc_format_log(ANDROID_LOG_DEBUG, "pthread_debug", (format), ##__VA_ARGS__ )
102 #define LOGW(format, ...) \ argument
103 __libc_format_log(ANDROID_LOG_WARN, "pthread_debug", (format), ##__VA_ARGS__ )
105 #define LOGE(format, ...) \ argument
106 __libc_format_log(ANDROID_LOG_ERROR, "pthread_debug", (format), ##__VA_ARGS__ )
108 #define LOGI(format, ...) \ argument
109 __libc_format_log(ANDROID_LOG_INFO, "pthread_debug", (format), ##__VA_ARGS__ )
Dmalloc_debug_check.cpp68 static void log_message(const char* format, ...) { in log_message() argument
70 va_start(args, format); in log_message()
71 __libc_format_log_va_list(ANDROID_LOG_ERROR, "libc", format, args); in log_message()
/bionic/libc/private/
Dlibc_logging.h66 __LIBC_HIDDEN__ __noreturn void __libc_fatal(const char* format, ...)
75 __LIBC_HIDDEN__ void __libc_fatal_no_abort(const char* format, ...)
83 __LIBC_HIDDEN__ int __libc_format_buffer(char* buffer, size_t buffer_size, const char* format, ...)
86 __LIBC_HIDDEN__ int __libc_format_fd(int fd, const char* format, ...)
89 __LIBC_HIDDEN__ int __libc_format_log(int priority, const char* tag, const char* format, ...)
92 __LIBC_HIDDEN__ int __libc_format_log_va_list(int priority, const char* tag, const char* format,
Dbionic_time.h56 extern size_t strftime_tz(char* s, size_t max, const char* format, const struct tm* tm, const struc…
/bionic/libc/tzcode/
Dstrftime.c135 strftime(s, maxsize, format, t) in strftime() argument
138 const char * const format;
141 return strftime_tz(s, maxsize, format, t, Locale);
145 strftime_tz(s, maxsize, format, t, locale) in strftime_tz() argument
148 const char * const format;
157 p = _fmt(((format == NULL) ? "%c" : format), t, s, s + maxsize, &warn, locale);
161 if (format == NULL)
164 format);
197 _fmt(format, t, pt, ptlim, warnp, locale) in _fmt() argument
198 const char * format; in _fmt()
[all …]
Dprivate.h285 const char * scheck(const char * string, const char * format);
/bionic/libc/kernel/common/linux/
Ddevice.h209 #define dev_printk(level, dev, format, arg...) printk(level "%s %s: " format , dev_driver_string(… argument
211 #define dev_dbg(dev, format, arg...) dev_printk(KERN_DEBUG , dev , format , ## arg) argument
214 #define dev_dbg(dev, format, arg...) do { (void)(dev); } while (0) argument
216 #define dev_err(dev, format, arg...) dev_printk(KERN_ERR , dev , format , ## arg) argument
217 #define dev_info(dev, format, arg...) dev_printk(KERN_INFO , dev , format , ## arg) argument
219 #define dev_warn(dev, format, arg...) dev_printk(KERN_WARNING , dev , format , ## arg) argument
220 #define dev_notice(dev, format, arg...) dev_printk(KERN_NOTICE , dev , format , ## arg) argument
Dvideodev.h209 unsigned int format; member
Dvideodev2.h1849 __u32 format; member
2076 struct v4l2_format format; member
/bionic/libc/include/
Dstdio.h459 int vsnprintf(char *dest, size_t size, const char *format, __va_list ap) in vsnprintf() argument
461 return __builtin___vsnprintf_chk(dest, size, 0, __bos(dest), format, ap); in vsnprintf()
466 int vsprintf(char *dest, const char *format, __va_list ap) in vsprintf() argument
468 return __builtin___vsprintf_chk(dest, 0, __bos(dest), format, ap); in vsprintf()
476 int snprintf(char *dest, size_t size, const char *format, ...) in snprintf() argument
479 __bos(dest), format, __builtin_va_arg_pack()); in snprintf()
488 int sprintf(char *dest, const char *format, ...) in sprintf() argument
491 __bos(dest), format, __builtin_va_arg_pack()); in sprintf()
Dtime.h80 extern size_t strftime(char *s, size_t max, const char *format, const struct tm *tm);
/bionic/tests/
Dlibc_logging_test.cpp23 extern int __libc_format_buffer(char* buffer, size_t buffer_size, const char* format, ...);
/bionic/libc/kernel/common/sound/
Dcompress_params.h259 __u32 format; member
/bionic/libc/kernel/common/linux/spi/
Dcpcap.h600 enum cpcap_adc_format format; member
/bionic/libc/netbsd/resolv/
Dres_cache.c271 _bprint( char* p, char* end, const char* format, ... ) in _bprint() argument
281 va_start(args, format); in _bprint()
282 n = vsnprintf( p, avail, format, args); in _bprint()
/bionic/libc/
DSYSCALLS.TXT3 # Each non comment line has the following format: