Home
last modified time | relevance | path

Searched refs:__libc_format_buffer (Results 1 – 8 of 8) sorted by relevance

/bionic/tests/
Dlibc_logging_test.cpp21 extern int __libc_format_buffer(char* buffer, size_t buffer_size, const char* format, ...);
28 __libc_format_buffer(buf, sizeof(buf), "a"); in TEST()
31 __libc_format_buffer(buf, sizeof(buf), "%%"); in TEST()
34 __libc_format_buffer(buf, sizeof(buf), "01234"); in TEST()
37 __libc_format_buffer(buf, sizeof(buf), "a%sb", "01234"); in TEST()
41 __libc_format_buffer(buf, sizeof(buf), "a%sb", s); in TEST()
44 __libc_format_buffer(buf, sizeof(buf), "aa%scc", "bb"); in TEST()
47 __libc_format_buffer(buf, sizeof(buf), "a%cc", 'b'); in TEST()
50 __libc_format_buffer(buf, sizeof(buf), "a%db", 1234); in TEST()
53 __libc_format_buffer(buf, sizeof(buf), "a%db", -8123); in TEST()
[all …]
/bionic/libc/private/
Dlibc_logging.h92 __LIBC_HIDDEN__ int __libc_format_buffer(char* buffer, size_t buffer_size, const char* format, ...)
/bionic/libc/bionic/
Dstrerror_r.cpp55 length = __libc_format_buffer(buf, buf_len, "Unknown error %d", error_number); in strerror_r()
Dlibc_logging.cpp409 int __libc_format_buffer(char* buffer, size_t buffer_size, const char* format, ...) { in __libc_format_buffer() function
Dmalloc_debug_qemu.cpp325 __libc_format_buffer(log_str, sizeof(log_str), fmt, ##__VA_ARGS__); \
/bionic/linker/
Ddebugger.cpp173 __libc_format_buffer(code_desc, sizeof(code_desc), ", code %d", info->si_code); in log_signal_summary()
175 __libc_format_buffer(addr_desc, sizeof(addr_desc), ", fault addr %p", info->si_addr); in log_signal_summary()
Dlinker.h44 __libc_format_buffer(linker_get_error_buffer(), linker_get_error_buffer_size(), fmt, ##x); \
Dlinker.cpp732 int n = __libc_format_buffer(buf, sizeof(buf), "%s/%s", paths[i], name); in open_library_on_path()