Home
last modified time | relevance | path

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

12

/bionic/libc/bionic/
D__vsprintf_chk.cpp48 size_t dest_len_from_compiler, const char* format, va_list va) { in __vsprintf_chk() argument
49 int result = vsnprintf(dest, dest_len_from_compiler, format, va); in __vsprintf_chk()
68 size_t dest_len_from_compiler, const char* format, ...) { in __sprintf_chk() argument
70 va_start(va, format); in __sprintf_chk()
71 int result = __vsprintf_chk(dest, flags, dest_len_from_compiler, format, va); in __sprintf_chk()
D__vsnprintf_chk.cpp48 size_t dest_len_from_compiler, const char* format, va_list va) { in __vsnprintf_chk() argument
53 return vsnprintf(dest, supplied_size, format, va); in __vsnprintf_chk()
68 size_t dest_len_from_compiler, const char* format, ...) { in __snprintf_chk() argument
70 va_start(va, format); in __snprintf_chk()
71 int result = __vsnprintf_chk(dest, supplied_size, flags, dest_len_from_compiler, format, va); in __snprintf_chk()
Dmalloc_debug_common.h115 #define debug_log(format, ...) \ argument
116 __libc_format_log(ANDROID_LOG_DEBUG, "malloc_leak_check", (format), ##__VA_ARGS__ )
117 #define error_log(format, ...) \ argument
118 __libc_format_log(ANDROID_LOG_ERROR, "malloc_leak_check", (format), ##__VA_ARGS__ )
119 #define info_log(format, ...) \ argument
120 __libc_format_log(ANDROID_LOG_INFO, "malloc_leak_check", (format), ##__VA_ARGS__ )
Dlibc_logging.cpp138 static unsigned parse_decimal(const char *format, int *ppos) { in parse_decimal() argument
139 const char* p = format + *ppos; in parse_decimal()
153 *ppos = p - format; in parse_decimal()
233 static void out_vformat(Out& o, const char* format, va_list args) { in out_vformat() argument
253 c = format[mm]; in out_vformat()
260 o.Send(format+nn, mm-nn); in out_vformat()
273 c = format[nn++]; in out_vformat()
297 width = static_cast<int>(parse_decimal(format, &nn)); in out_vformat()
298 c = format[nn++]; in out_vformat()
303 prec = static_cast<int>(parse_decimal(format, &nn)); in out_vformat()
[all …]
Dstrftime_l.cpp31 size_t strftime_l(char *s, size_t max, const char *format, const struct tm *tm, in strftime_l() argument
33 return strftime(s, max, format, tm); in strftime_l()
Dtime64.c171 # define TRACE(format) (fprintf(stderr, format)) argument
172 # define TRACE1(format, var1) (fprintf(stderr, format, var1)) argument
173 # define TRACE2(format, var1, var2) (fprintf(stderr, format, var1, var2)) argument
174 # define TRACE3(format, var1, var2, var3) (fprintf(stderr, format, var1, var2, var3)) argument
176 # define TRACE(format) ((void)0) argument
177 # define TRACE1(format, var1) ((void)0) argument
178 # define TRACE2(format, var1, var2) ((void)0) argument
179 # define TRACE3(format, var1, var2, var3) ((void)0) argument
Dmalloc_debug_qemu.cpp291 #define qemu_debug_log(format, ...) \ argument
293 __libc_format_log(ANDROID_LOG_DEBUG, "memcheck", (format), ##__VA_ARGS__); \
295 qemu_log(ANDROID_LOG_DEBUG, (format), ##__VA_ARGS__); \
299 #define qemu_error_log(format, ...) \ argument
301 __libc_format_log(ANDROID_LOG_ERROR, "memcheck", (format), ##__VA_ARGS__); \
303 qemu_log(ANDROID_LOG_ERROR, (format), ##__VA_ARGS__); \
307 #define qemu_info_log(format, ...) \ argument
309 __libc_format_log(ANDROID_LOG_INFO, "memcheck", (format), ##__VA_ARGS__); \
311 qemu_log(ANDROID_LOG_INFO, (format), ##__VA_ARGS__); \
Dmalloc_debug_check.cpp67 static void log_message(const char* format, ...) { in log_message() argument
69 va_start(args, format); in log_message()
70 __libc_format_log_va_list(ANDROID_LOG_ERROR, "libc", format, args); in log_message()
/bionic/libc/private/
Dlibc_logging.h76 __LIBC_HIDDEN__ __noreturn void __libc_fatal(const char* format, ...) __printflike(1, 2);
84 __LIBC_HIDDEN__ void __libc_fatal_no_abort(const char* format, ...)
92 __LIBC_HIDDEN__ int __libc_format_buffer(char* buffer, size_t buffer_size, const char* format, ...)
95 __LIBC_HIDDEN__ int __libc_format_fd(int fd, const char* format, ...)
98 __LIBC_HIDDEN__ int __libc_format_log(int priority, const char* tag, const char* format, ...)
101 __LIBC_HIDDEN__ int __libc_format_log_va_list(int priority, const char* tag, const char* format,
/bionic/libc/tzcode/
Dstrftime.c135 strftime(char * const s, const size_t maxsize, const char *const format, in strftime() argument
146 p = _fmt(((format == NULL) ? "%c" : format), t, s, s + maxsize, &warn); in strftime()
150 if (format == NULL) in strftime()
153 format); in strftime()
186 _fmt(const char *format, const struct tm *const t, char * pt, in _fmt() argument
189 for ( ; *format; ++format) { in _fmt()
190 if (*format == '%') { in _fmt()
193 switch (*++format) { in _fmt()
195 --format; in _fmt()
270 modifier = *format; in _fmt()
[all …]
Dprivate.h309 const char * scheck(const char * string, const char * format);
/bionic/libc/upstream-openbsd/lib/libc/time/
Dwcsftime.c120 const wchar_t *__restrict format, const struct tm *__restrict t) in wcsftime() argument
127 p = _fmt(((format == NULL) ? L"%c" : format), t, s, s + maxsize, &warn); in wcsftime()
138 _fmt(const wchar_t *format, const struct tm *t, wchar_t *pt, in _fmt() argument
141 for ( ; *format; ++format) { in _fmt()
142 if (*format != L'%') { in _fmt()
145 *pt++ = *format; in _fmt()
149 switch (*++format) { in _fmt()
151 --format; in _fmt()
397 if (*format == 'V') in _fmt()
399 else if (*format == 'g') { in _fmt()
[all …]
/bionic/libc/include/
Dstdio.h372 int vsnprintf(char *dest, size_t size, const char *format, __va_list ap) in vsnprintf() argument
374 return __builtin___vsnprintf_chk(dest, size, 0, __bos(dest), format, ap); in vsnprintf()
379 int vsprintf(char *dest, const char *format, __va_list ap) in vsprintf() argument
381 return __builtin___vsprintf_chk(dest, 0, __bos(dest), format, ap); in vsprintf()
392 int snprintf(char *dest, size_t size, const char *format, ...) in snprintf() argument
395 __bos(dest), format, __builtin_va_arg_pack()); in snprintf()
407 int sprintf(char *dest, const char *format, ...) in sprintf() argument
410 __bos(dest), format, __builtin_va_arg_pack()); in sprintf()
/bionic/libc/kernel/uapi/video/
Dadf.h79 __u32 format; member
105 __u32 format; member
/bionic/libc/kernel/uapi/drm/
Dvmwgfx_drm.h85 uint32_t format; member
176 int32_t format; member
314 uint32_t format; member
Dqxl_drm.h100 uint32_t format; member
Dr128_drm.h234 int format; member
/bionic/libc/kernel/uapi/linux/
Domapfb.h112 __u32 format; member
122 __u32 format; member
Dv4l2-subdev.h35 struct v4l2_mbus_framefmt format; member
/bionic/libc/kernel/uapi/sound/
Dhdspm.h92 enum hdspm_ltc_format format; member
Dcompress_params.h239 __u32 format; member
/bionic/libc/kernel/uapi/linux/dvb/
Dvideo.h90 __u32 format; member
/bionic/tests/
Dlibc_logging_test.cpp21 extern int __libc_format_buffer(char* buffer, size_t buffer_size, const char* format, ...);
/bionic/libc/kernel/uapi/linux/wimax/
Di2400m.h371 __u8 format; member
/bionic/
DHACKING.txt122 # Android-format time zone data.
132 See SYSCALLS.TXT itself for documentation on the format.

12