Searched refs:format (Results 1 - 25 of 68) sorted by relevance

123

/bionic/libc/malloc_debug/
H A Ddebug_log.h36 #define debug_log(format, ...) \
37 async_safe_format_log(ANDROID_LOG_DEBUG, "malloc_debug", (format), ##__VA_ARGS__)
38 #define error_log(format, ...) \
39 async_safe_format_log(ANDROID_LOG_ERROR, "malloc_debug", (format), ##__VA_ARGS__)
41 #define info_log(format, ...) \
42 async_safe_format_log(ANDROID_LOG_INFO, "malloc_debug", (format), ##__VA_ARGS__)
/bionic/tools/bionicbb/
H A Dgerrit.py24 super(GerritError, self).__init__('Error {}: {}'.format(code, url))
29 call('/changes/{}/revisions/{}/commit'.format(change_id, revision)))
34 call('/changes/{}/revisions/{}/files'.format(
50 endpoint = '/changes/{}/detail?o=CURRENT_REVISION'.format(change_id)
59 Returned data is in the following format:
71 details = json.loads(call('/changes/{}/revisions/{}/review'.format(
H A Dbionicbb.py55 message_lines = ['{} #{} checkbuild {}: {}'.format(
72 url = gerrit_url('/a/changes/{}/revisions/{}/review'.format(change_id,
80 url = gerrit_url('/a/changes/{}/revisions/{}/review'.format(change_id,
113 url = gerrit_url('/a/changes/{}/revisions/{}/review'.format(change_id,
H A Dpresubmit.py113 raise RuntimeError('bogus project: {}'.format(project))
115 raise RuntimeError('Bad project mapping: {} => {}'.format(
150 url = '{}/{}'.format(config.build_listener_url, 'drop-rejection')
/bionic/libc/async_safe/
H A Dasync_safe_log.cpp125 /* Parse a decimal string from 'format + *ppos',
131 static unsigned parse_decimal(const char* format, int* ppos) { argument
132 const char* p = format + *ppos;
146 *ppos = p - format;
226 static void out_vformat(Out& o, const char* format, va_list args) { argument
238 char buffer[32]; /* temporary buffer used to format numbers */
246 c = format[mm];
252 o.Send(format + nn, mm - nn);
264 c = format[nn++];
285 width = static_cast<int>(parse_decimal(format,
405 async_safe_format_buffer_va_list(char* buffer, size_t buffer_size, const char* format, va_list args) argument
412 async_safe_format_buffer(char* buffer, size_t buffer_size, const char* format, ...) argument
420 async_safe_format_fd(int fd, const char* format, ...) argument
511 async_safe_format_log_va_list(int priority, const char* tag, const char* format, va_list args) argument
519 async_safe_format_log(int priority, const char* tag, const char* format, ...) argument
527 async_safe_fatal_va_list(const char* prefix, const char* format, va_list args) argument
[all...]
/bionic/libc/include/bits/fortify/
H A Dstdio.h41 int vsnprintf(char* const __pass_object_size dest, size_t size, const char* format, va_list ap)
43 return __builtin___vsnprintf_chk(dest, size, 0, __bos(dest), format, ap);
47 int vsprintf(char* const __pass_object_size dest, const char* format, va_list ap) __overloadable {
48 return __builtin___vsprintf_chk(dest, 0, __bos(dest), format, ap);
55 * Simple case: `format` can't have format specifiers, so we can just compare
59 int snprintf(char* dest, size_t size, const char* format)
62 __bos(dest) < __builtin_strlen(format),
63 "format string will always overflow destination buffer")
64 __errorattr("format strin
161 snprintf(char* dest, size_t size, const char* format, ...) argument
166 sprintf(char* dest, const char* format, ...) argument
[all...]
/bionic/tools/versioner/current/bits/fortify/
H A Dstdio.h41 int vsnprintf(char* const __pass_object_size dest, size_t size, const char* format, va_list ap)
43 return __builtin___vsnprintf_chk(dest, size, 0, __bos(dest), format, ap);
47 int vsprintf(char* const __pass_object_size dest, const char* format, va_list ap) __overloadable {
48 return __builtin___vsprintf_chk(dest, 0, __bos(dest), format, ap);
55 * Simple case: `format` can't have format specifiers, so we can just compare
59 int snprintf(char* dest, size_t size, const char* format)
62 __bos(dest) < __builtin_strlen(format),
63 "format string will always overflow destination buffer")
64 __errorattr("format strin
161 snprintf(char* dest, size_t size, const char* format, ...) argument
166 sprintf(char* dest, const char* format, ...) argument
[all...]
/bionic/linker/
H A Dlinker_logger.h50 void Log(uint32_t type, const char* format, ...);
H A Dlinker_logger.cpp121 void LinkerLogger::Log(uint32_t type, const char* format, ...) { argument
127 va_start(ap, format);
128 async_safe_format_log_va_list(ANDROID_LOG_DEBUG, "linker", format, ap);
/bionic/tools/versioner/
H A Drun_tests.py31 print("{} {}: unexpected success:".format(prefix_fail, test_name))
39 print("{} {}: expected output mismatch".format(
48 print("{} {}: unexpected failure:".format(prefix_fail, test_name))
53 print("{} {}".format(prefix_pass, test_name))
/bionic/libc/malloc_debug/tests/
H A Dlog_fake.cpp47 extern "C" int async_safe_format_log(int priority, const char* tag, const char* format, ...) { argument
53 va_start(ap, format);
54 android::base::StringAppendV(&g_fake_log_print, format, ap);
/bionic/libc/tzcode/
H A Dstrftime.c91 ** C99 requires this format.
99 ** C99 requires this format.
138 strftime_l(char *s, size_t maxsize, char const *format, struct tm const *t, argument
142 return strftime(s, maxsize, format, t);
149 strftime(char *s, size_t maxsize, const char *format, const struct tm *t) argument
156 p = _fmt(((format == NULL) ? "%c" : format), t, s, s + maxsize, &warn);
160 if (format == NULL)
161 fprintf(stderr, "NULL strftime format ");
162 else fprintf(stderr, "strftime format \"
193 _fmt(const char *format, const struct tm *t, char *pt, const char *ptlim, int *warnp) argument
630 _conv(int n, const char *format, char *pt, const char *ptlim) argument
[all...]
/bionic/libc/upstream-openbsd/lib/libc/time/
H A Dwcsftime.c77 ** C99 requires this format.
85 ** C99 requires this format.
120 const wchar_t *__restrict format, const struct tm *__restrict t)
127 p = _fmt(((format == NULL) ? L"%c" : format), t, s, s + maxsize, &warn);
138 _fmt(const wchar_t *format, const struct tm *t, wchar_t *pt, argument
141 for ( ; *format; ++format) {
142 if (*format != L'%') {
145 *pt++ = *format;
119 wcsftime(wchar_t *__restrict s, size_t maxsize, const wchar_t *__restrict format, const struct tm *__restrict t) argument
492 _conv(int n, const wchar_t *format, wchar_t *pt, const wchar_t *ptlim) argument
[all...]
/bionic/libc/async_safe/include/async_safe/
H A Dlog.h90 int async_safe_format_buffer_va_list(char* buffer, size_t buffer_size, const char* format, va_list args);
92 int async_safe_format_fd(int fd, const char* format , ...) __printflike(2, 3);
/bionic/libc/tools/
H A Dgenseccomp.py63 # of junk from the preprocessor, but our lines will be in the format:
112 return [BPF_JGE.format(ranges[0].end, "{fail}", "{allow}") +
118 jump = [BPF_JGE.format(ranges[half].begin, len(first), 0) + ","]
135 bpf[i] = statement.format(fail=str(len(bpf) - i),
145 bpf.insert(0, BPF_JGE.format(ranges[0].begin, 0, str(len(bpf))) + ',')
162 """).format(architecture=architecture,suffix=name_modifier)
169 """).format(architecture=architecture,suffix=name_modifier)
240 output_path = "seccomp/{}{}_policy.cpp".format(arch, filename_modifier)
/bionic/libc/bionic/
H A Dfortify.cpp407 size_t dst_len_from_compiler, const char* format, va_list va) {
409 return vsnprintf(dst, supplied_size, format, va);
414 size_t dst_len_from_compiler, const char* format, ...) {
416 va_start(va, format);
417 int result = __vsnprintf_chk(dst, supplied_size, flags, dst_len_from_compiler, format, va);
424 size_t dst_len_from_compiler, const char* format, va_list va) {
428 format, va);
437 const char* format, ...) {
439 va_start(va, format);
440 int result = __vsprintf_chk(dst, flags, dst_len_from_compiler, format, v
406 __vsnprintf_chk(char* dst, size_t supplied_size, int , size_t dst_len_from_compiler, const char* format, va_list va) argument
413 __snprintf_chk(char* dst, size_t supplied_size, int flags, size_t dst_len_from_compiler, const char* format, ...) argument
423 __vsprintf_chk(char* dst, int , size_t dst_len_from_compiler, const char* format, va_list va) argument
436 __sprintf_chk(char* dst, int flags, size_t dst_len_from_compiler, const char* format, ...) argument
[all...]
H A Dtime64.c171 # define TRACE(format) (fprintf(stderr, format))
172 # define TRACE1(format, var1) (fprintf(stderr, format, var1))
173 # define TRACE2(format, var1, var2) (fprintf(stderr, format, var1, var2))
174 # define TRACE3(format, var1, var2, var3) (fprintf(stderr, format, var1, var2, var3))
176 # define TRACE(format) ((void)0)
177 # define TRACE1(format, var
[all...]
/bionic/libc/kernel/uapi/linux/
H A Domapfb.h94 __u32 format; member in struct:omapfb_update_window
102 __u32 format; member in struct:omapfb_update_window_old
H A Dvirtio_gpu.h92 __le32 format; member in struct:virtio_gpu_resource_create_2d
157 __le32 format; member in struct:virtio_gpu_resource_create_3d
H A Dv4l2-subdev.h32 struct v4l2_mbus_framefmt format; member in struct:v4l2_subdev_format
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Domapfb.h94 __u32 format; member in struct:omapfb_update_window
102 __u32 format; member in struct:omapfb_update_window_old
H A Dvirtio_gpu.h92 __le32 format; member in struct:virtio_gpu_resource_create_2d
157 __le32 format; member in struct:virtio_gpu_resource_create_3d
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/
H A Domapfb.h94 __u32 format; member in struct:omapfb_update_window
102 __u32 format; member in struct:omapfb_update_window_old
H A Dvirtio_gpu.h92 __le32 format; member in struct:virtio_gpu_resource_create_2d
157 __le32 format; member in struct:virtio_gpu_resource_create_3d
/bionic/libc/kernel/uapi/drm/
H A Dqxl_drm.h85 __u32 format; member in struct:drm_qxl_alloc_surf

Completed in 5910 milliseconds

123