Home
last modified time | relevance | path

Searched refs:internal_snprintf (Results 1 – 21 of 21) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_printf_test.cc24 uptr len = internal_snprintf(buf, sizeof(buf), in TEST()
40 uptr len = internal_snprintf(buf, 4, "%s", "abcdef"); // NOLINT in TEST()
54 internal_snprintf(buf, 4, "%d", -123456789); // NOLINT in TEST()
73 internal_snprintf(buf, 4, "a%zx", val); // NOLINT in TEST()
92 internal_snprintf(buf, 4, "%p", p); // NOLINT in TEST()
111 uptr len = internal_snprintf(buf, sizeof(buf), fmt, arg1, arg2); in TestAgainstLibc()
145 uptr len = internal_snprintf(buf, sizeof(buf), "%.*s", 3, "12345"); in TEST()
148 len = internal_snprintf(buf, sizeof(buf), "%.*s", 6, "12345"); in TEST()
Dsanitizer_libc_test.cc83 internal_snprintf(buf, bufsize, "%s/%s%d", tmpdir, prefix, uid); in temp_file_name()
Dsanitizer_linux_test.cc245 internal_snprintf(full_name, ARRAY_SIZE(full_name), "%s%s%s.so", in TEST()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_mac.cc56 internal_snprintf(pid_str_, sizeof(pid_str_), "%d", parent_pid); in AtosSymbolizerProcess()
139 internal_snprintf(command, sizeof(command), "0x%zx\n", addr); in SymbolizePC()
155 internal_snprintf(command, sizeof(command), "0x%zx\n", addr); in SymbolizeData()
Dsanitizer_coverage_mapping_libcdep.cc95 uptr res = internal_snprintf((char *)tmp_path.data(), tmp_path.size(), in CovUpdateMapping()
113 res = internal_snprintf((char *)path.data(), path.size(), "%s/%zd.sancov.map", in CovUpdateMapping()
Dsanitizer_printf.cc264 needed_length += internal_snprintf(buffer, buffer_size, in SharedPrintfCode()
268 needed_length += internal_snprintf(buffer + needed_length, in SharedPrintfCode()
315 int internal_snprintf(char *buffer, uptr length, const char *format, ...) { in internal_snprintf() function
Dsanitizer_common.cc57 internal_snprintf(full_path, kMaxPathLength, "%s.%s.%zu", path_prefix, in ReopenIfNecessary()
60 internal_snprintf(full_path, kMaxPathLength, "%s.%zu", path_prefix, pid); in ReopenIfNecessary()
92 internal_snprintf(path_prefix, kMaxPathLength, "%s", path); in SetReportPath()
Dsanitizer_procmaps_freebsd.cc76 internal_snprintf(filename, in Next()
Dsanitizer_libc.h57 int internal_snprintf(char *buffer, uptr length, const char *format, ...);
Dsanitizer_posix_libcdep.cc247 internal_snprintf(shmname, sizeof(shmname), "%zu [%s]", internal_getpid(), in GetNamedMappingFd()
Dsanitizer_symbolizer_posix_libcdep.cc312 internal_snprintf(buffer, kBufferSize, "0x%zx\n0x%zx\n", in SendCommand()
Dsanitizer_symbolizer_libcdep.cc345 internal_snprintf(buffer_, kBufferSize, "%s\"%s\" 0x%zx\n", in SendCommand()
Dsanitizer_posix.cc192 internal_snprintf(mem_type, sizeof(mem_type), "memory at address 0x%zx", in MmapFixedOrDie()
Dsanitizer_linux.cc743 internal_snprintf(task_directory_path, sizeof(task_directory_path), in ThreadLister()
832 module_name_len = internal_snprintf(buf, buf_len, "%s", in ReadBinaryName()
Dsanitizer_win.cc198 internal_snprintf(mem_type, sizeof(mem_type), "memory at address 0x%zx", in MmapFixedOrDie()
Dsanitizer_coverage_libcdep.cc191 internal_snprintf((char *)path.data(), path.size(), "%s/%zd.sancov.raw", in DirectOpen()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_platform_linux.cc118 internal_snprintf(buf, buf_size, in WriteMemoryProfile()
157 internal_snprintf(name, sizeof(name), "%s/tsan.rodata.%d", in MapRodata()
Dtsan_rtl.cc71 internal_snprintf(name, sizeof(name), "trace %u", tid); in CreateThreadContext()
74 internal_snprintf(name, sizeof(name), "trace header %u", tid); in CreateThreadContext()
Dtsan_report.cc80 internal_snprintf(buf, kThreadBufSize, "thread T%d", tid); in thread_name()
/external/compiler-rt/lib/dfsan/
Ddfsan.cc333 internal_snprintf(buf, sizeof(buf), "%u %u %u ", l, in dfsan_dump_labels()
/external/compiler-rt/lib/asan/
Dasan_report.cc919 internal_snprintf(bug_type, sizeof(bug_type), "%s-param-overlap", function); in ReportStringFunctionMemoryRangesOverlap()