/bionic/libc/malloc_debug/ |
D | debug_log.h | 36 #define debug_log(format, ...) \ argument 37 async_safe_format_log(ANDROID_LOG_DEBUG, "malloc_debug", (format), ##__VA_ARGS__) 38 #define error_log(format, ...) \ argument 39 async_safe_format_log(ANDROID_LOG_ERROR, "malloc_debug", (format), ##__VA_ARGS__) 41 #define info_log(format, ...) \ argument 42 async_safe_format_log(ANDROID_LOG_INFO, "malloc_debug", (format), ##__VA_ARGS__)
|
D | Android.bp | 30 // -Wno-error=format-zero-length needed for gcc to compile. 34 "-Wno-error=format-zero-length", 86 // -Wno-error=format-zero-length needed for gcc to compile. 91 "-Wno-error=format-zero-length", 123 "-Wno-error=format-zero-length",
|
/bionic/libc/async_safe/ |
D | async_safe_log.cpp | 131 static unsigned parse_decimal(const char* format, int* ppos) { in parse_decimal() argument 132 const char* p = format + *ppos; in parse_decimal() 146 *ppos = p - format; in parse_decimal() 226 static void out_vformat(Out& o, const char* format, va_list args) { in out_vformat() argument 246 c = format[mm]; in out_vformat() 252 o.Send(format + nn, mm - nn); in out_vformat() 264 c = format[nn++]; in out_vformat() 285 width = static_cast<int>(parse_decimal(format, &nn)); in out_vformat() 286 c = format[nn++]; in out_vformat() 291 prec = static_cast<int>(parse_decimal(format, &nn)); in out_vformat() [all …]
|
/bionic/libc/include/bits/fortify/ |
D | stdio.h | 41 int vsnprintf(char* const __pass_object_size dest, size_t size, const char* format, va_list ap) in vsnprintf() argument 43 return __builtin___vsnprintf_chk(dest, size, 0, __bos(dest), format, ap); in vsnprintf() 47 int vsprintf(char* const __pass_object_size dest, const char* format, va_list ap) __overloadable { in vsprintf() argument 48 return __builtin___vsprintf_chk(dest, 0, __bos(dest), format, ap); in vsprintf() 59 int snprintf(char* dest, size_t size, const char* format) 62 __bos(dest) < __builtin_strlen(format), 67 int snprintf(char* const __pass_object_size dest, size_t size, const char* format, ...) in snprintf() argument 70 va_start(va, format); in snprintf() 71 int result = __builtin___vsnprintf_chk(dest, size, 0, __bos(dest), format, va); in snprintf() 77 int sprintf(char* dest, const char* format) [all …]
|
/bionic/tools/bionicbb/ |
D | gerrit.py | 24 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) 71 details = json.loads(call('/changes/{}/revisions/{}/review'.format(
|
D | bionicbb.py | 55 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,
|
D | presubmit.py | 113 raise RuntimeError('bogus project: {}'.format(project)) 115 raise RuntimeError('Bad project mapping: {} => {}'.format( 150 url = '{}/{}'.format(config.build_listener_url, 'drop-rejection')
|
/bionic/libc/tzcode/ |
D | strftime.c | 138 strftime_l(char *s, size_t maxsize, char const *format, struct tm const *t, in strftime_l() argument 142 return strftime(s, maxsize, format, t); in strftime_l() 149 strftime(char *s, size_t maxsize, const char *format, const struct tm *t) in strftime() argument 156 p = _fmt(((format == NULL) ? "%c" : format), t, s, s + maxsize, &warn); in strftime() 160 if (format == NULL) in strftime() 163 format); in strftime() 193 _fmt(const char *format, const struct tm *t, char *pt, in _fmt() argument 196 for ( ; *format; ++format) { in _fmt() 197 if (*format == '%') { in _fmt() 200 switch (*++format) { in _fmt() [all …]
|
/bionic/tools/versioner/ |
D | run_tests.py | 31 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/upstream-openbsd/lib/libc/time/ |
D | wcsftime.c | 120 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() 392 if (*format == 'V') in _fmt() 394 else if (*format == 'g') { in _fmt() [all …]
|
/bionic/libc/malloc_debug/tests/ |
D | log_fake.cpp | 47 extern "C" int async_safe_format_log(int priority, const char* tag, const char* format, ...) { in async_safe_format_log() argument 53 va_start(ap, format); in async_safe_format_log() 54 android::base::StringAppendV(&g_fake_log_print, format, ap); in async_safe_format_log()
|
/bionic/linker/ |
D | linker_logger.cpp | 121 void LinkerLogger::Log(uint32_t type, const char* format, ...) { in Log() argument 127 va_start(ap, format); in Log() 128 async_safe_format_log_va_list(ANDROID_LOG_DEBUG, "linker", format, ap); in Log()
|
D | linker_logger.h | 50 void Log(uint32_t type, const char* format, ...);
|
D | ld.config.format.md | 1 # Linker config file format 3 This document describes format of /system/etc/ld.config.txt file. This file can be used to customize 16 The format is `dir.<section_name>=<directory>`
|
/bionic/libc/async_safe/include/async_safe/ |
D | log.h | 90 int async_safe_format_buffer_va_list(char* buffer, size_t buffer_size, const char* format, va_list … 92 int async_safe_format_fd(int fd, const char* format , ...) __printflike(2, 3);
|
/bionic/libc/tools/ |
D | genseccomp.py | 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)
|
D | symbols.py | 66 '{}_intermediates'.format(os.path.splitext(f)[0]))
|
/bionic/libc/bionic/ |
D | fortify.cpp | 407 size_t dst_len_from_compiler, const char* format, va_list va) { in __vsnprintf_chk() argument 409 return vsnprintf(dst, supplied_size, format, va); in __vsnprintf_chk() 414 size_t dst_len_from_compiler, const char* format, ...) { in __snprintf_chk() argument 416 va_start(va, format); in __snprintf_chk() 417 int result = __vsnprintf_chk(dst, supplied_size, flags, dst_len_from_compiler, format, va); in __snprintf_chk() 424 size_t dst_len_from_compiler, const char* format, va_list va) { in __vsprintf_chk() argument 428 format, va); in __vsprintf_chk() 437 const char* format, ...) { in __sprintf_chk() argument 439 va_start(va, format); in __sprintf_chk() 440 int result = __vsprintf_chk(dst, flags, dst_len_from_compiler, format, va); in __sprintf_chk()
|
D | time64.c | 171 # 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
|
D | malloc_common.cpp | 227 #define error_log(format, ...) \ argument 228 async_safe_format_log(ANDROID_LOG_ERROR, "libc", (format), ##__VA_ARGS__ ) 229 #define info_log(format, ...) \ argument 230 async_safe_format_log(ANDROID_LOG_INFO, "libc", (format), ##__VA_ARGS__ )
|
/bionic/libc/kernel/uapi/drm/ |
D | vmwgfx_drm.h | 82 __u32 format; member 159 __s32 format; member 268 __u32 format; member
|
D | qxl_drm.h | 85 __u32 format; member
|
/bionic/libc/ |
D | SECCOMP_WHITELIST_GLOBAL.TXT | 8 # format of the entries in this file.
|
/bionic/libc/kernel/uapi/linux/ |
D | omapfb.h | 94 __u32 format; member 102 __u32 format; member
|
D | virtio_gpu.h | 92 __le32 format; member 157 __le32 format; member
|