Home
last modified time | relevance | path

Searched refs:async_safe_format_buffer (Results 1 – 14 of 14) sorted by relevance

/bionic/tests/
Dasync_safe_test.cpp29 async_safe_format_buffer(buf, sizeof(buf), "a"); in TEST()
32 async_safe_format_buffer(buf, sizeof(buf), "%%"); in TEST()
35 async_safe_format_buffer(buf, sizeof(buf), "01234"); in TEST()
38 async_safe_format_buffer(buf, sizeof(buf), "a%sb", "01234"); in TEST()
42 async_safe_format_buffer(buf, sizeof(buf), "a%sb", s); in TEST()
45 async_safe_format_buffer(buf, sizeof(buf), "aa%scc", "bb"); in TEST()
48 async_safe_format_buffer(buf, sizeof(buf), "a%bb", 1234); in TEST()
51 async_safe_format_buffer(buf, sizeof(buf), "a%#bb", 1234); in TEST()
54 async_safe_format_buffer(buf, sizeof(buf), "a%#Bb", 1234); in TEST()
57 async_safe_format_buffer(buf, sizeof(buf), "a%cc", 'b'); in TEST()
[all …]
Dmalloc_iterate_test.cpp208 len = async_safe_format_buffer(buffer, sizeof(buffer), "Failed on map %s: %zu\n", name, in TEST()
211 len = async_safe_format_buffer(buffer, sizeof(buffer), in TEST()
/bionic/libc/malloc_debug/
Dbacktrace.cpp164 async_safe_format_buffer(buf, sizeof(buf), in backtrace_string()
170 async_safe_format_buffer(buf, sizeof(buf), " #%02zd pc %" PAD_PTR " %s%s\n", in backtrace_string()
/bionic/libfdtrack/
Dfdtrack.cpp283 async_safe_format_buffer(buf, sizeof(buf), in fdtrack_dump_impl()
288 p += async_safe_format_buffer(buf, sizeof(buf), in fdtrack_dump_impl()
295 p += async_safe_format_buffer(p, buf + sizeof(buf) - p, " %zu: %s+%" PRIu64 "\n", i, in fdtrack_dump_impl()
/bionic/libc/async_safe/include/async_safe/
Dlog.h67 int async_safe_format_buffer(char* buf, size_t size, const char* fmt, ...) __printflike(3, 4);
/bionic/libc/bionic/
Dstrerror.cpp78 length = async_safe_format_buffer(buf, buf_len, "Unknown error %d", error_number); in strerror_r()
Dgwp_asan_wrappers.cpp291 async_safe_format_buffer(&program_specific_sysprop[0], kSyspropMaxLen, "%s%s", in GetGwpAsanOptionImpl()
293 async_safe_format_buffer(&persist_program_specific_sysprop[0], kSyspropMaxLen, "%s%s", in GetGwpAsanOptionImpl()
295 async_safe_format_buffer(&persist_default_sysprop[0], kSyspropMaxLen, "%s%s", kPersistPrefix, in GetGwpAsanOptionImpl()
Dbionic_systrace.cpp74 size_t len = async_safe_format_buffer(buf, length + WRITE_OFFSET, "B|%d|%s", getpid(), message); in trace_begin_internal()
Dlibc_init_static.cpp225 async_safe_format_buffer(sysprop_name, sizeof(sysprop_name), "%s%s", kMemtagPrognameSyspropPrefix, in get_environment_memtag_setting()
228 async_safe_format_buffer(remote_sysprop_name, sizeof(remote_sysprop_name), "%s%s", in get_environment_memtag_setting()
Dpthread_create.cpp341 async_safe_format_buffer(name_buffer, arraysize(name_buffer), "stack_and_tls:%d", thread->tid); in __set_stack_and_tls_vma_name()
/bionic/linker/
Dlinker_globals.h41async_safe_format_buffer(linker_get_error_buffer(), linker_get_error_buffer_size(), fmt, ##x); \
Dlinker_config.cpp177 async_safe_format_buffer(buf, sizeof(buf), "%s:%zu: error: %s", file, lineno, msg.c_str()); in create_error_msg()
404 async_safe_format_buffer(buf, sizeof(buf), "%d", target_sdk_version_); in get_paths()
Dlinker.cpp386 async_safe_format_buffer(proc_self_fd, sizeof(proc_self_fd), "/proc/self/fd/%d", fd); in realpath_fd()
989 int n = async_safe_format_buffer(buf, buf_size, "%s/%s", path, name); in format_path()
/bionic/libc/async_safe/
Dasync_safe_log.cpp461 int async_safe_format_buffer(char* buffer, size_t buffer_size, const char* format, ...) { in async_safe_format_buffer() function