/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_printf_test.cpp | 23 uptr len = internal_snprintf( in TEST() 36 uptr len = internal_snprintf(buf, 4, "%s", "abcdef"); // NOLINT in TEST() 50 internal_snprintf(buf, 4, "%d", -123456789); // NOLINT in TEST() 69 internal_snprintf(buf, 4, "a%zx", val); // NOLINT in TEST() 88 internal_snprintf(buf, 4, "%p", p); // NOLINT in TEST() 107 uptr len = internal_snprintf(buf, sizeof(buf), fmt, arg1, arg2); in TestAgainstLibc() 141 uptr len = internal_snprintf(buf, sizeof(buf), "%.*s", 3, "12345"); in TEST() 144 len = internal_snprintf(buf, sizeof(buf), "%.*s", 6, "12345"); in TEST() 147 len = internal_snprintf(buf, sizeof(buf), "%-6s", "12345"); in TEST() 152 len = internal_snprintf(buf, 8, "%-10s", "12345"); // NOLINT in TEST()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_printf_test.cc | 24 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()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/ |
D | sanitizer_symbolize.cpp | 27 int internal_snprintf(char *buffer, unsigned long length, const char *format, 56 return __sanitizer::internal_snprintf(Buffer, MaxLength, "%s", in __sanitizer_symbolize_code() 73 return __sanitizer::internal_snprintf(Buffer, MaxLength, "%s", in __sanitizer_symbolize_data() 83 return __sanitizer::internal_snprintf(Buffer, MaxLength, "%s", in __sanitizer_symbolize_demangle()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_flag_parser.h | 39 internal_snprintf(buffer, size, "%s", str_to_use); in FormatString() 100 uptr num_symbols_should_write = internal_snprintf(buffer, size, "%d", *t_); in Format() 126 uptr num_symbols_should_write = internal_snprintf(buffer, size, "%d", *t_); in Format() 141 uptr num_symbols_should_write = internal_snprintf(buffer, size, "%p", *t_); in Format() 156 uptr num_symbols_should_write = internal_snprintf(buffer, size, "%lld", *t_); in Format()
|
D | sanitizer_symbolizer_mac.cpp | 95 internal_snprintf(pid_str_, sizeof(pid_str_), "%d", internal_getpid()); in StartSymbolizerSubprocess() 110 uptr count = internal_snprintf(kAtosMachPortEnvEntry, in StartSymbolizerSubprocess() 208 internal_snprintf(command, sizeof(command), "0x%zx\n", addr); in SymbolizePC() 241 internal_snprintf(command, sizeof(command), "0x%zx\n", addr); in SymbolizeData()
|
D | sanitizer_file.cpp | 56 internal_snprintf(full_path, kMaxPathLength, "%s.%s.%zu", path_prefix, in ReopenIfNecessary() 59 internal_snprintf(full_path, kMaxPathLength, "%s.%zu", path_prefix, pid); in ReopenIfNecessary() 68 internal_snprintf(errmsg, sizeof(errmsg), " (reason: %d)", err); in ReopenIfNecessary() 94 internal_snprintf(path_prefix, kMaxPathLength, "%s", path); in SetReportPath()
|
D | sanitizer_symbolizer_markup.cpp | 43 internal_snprintf(buffer, sizeof(buffer), kFormatDemangle, name); in Demangle() 68 internal_snprintf(buffer, sizeof(buffer), kFormatFunction, addr); in SymbolizePC()
|
D | sanitizer_printf.cpp | 278 needed_length += internal_snprintf(buffer, buffer_size, in SharedPrintfCodeNoBuffer() 282 needed_length += internal_snprintf( in SharedPrintfCodeNoBuffer() 339 int internal_snprintf(char *buffer, uptr length, const char *format, ...) { in internal_snprintf() function
|
D | sanitizer_procmaps_solaris.cpp | 56 internal_snprintf(proc_path, sizeof(proc_path), "/proc/self/path/%s", in Next()
|
D | sanitizer_libc.h | 52 int internal_snprintf(char *buffer, uptr length, const char *format, ...);
|
D | sanitizer_procmaps_bsd.cpp | 96 internal_snprintf(segment->filename, in Next()
|
D | sanitizer_posix.cpp | 125 internal_snprintf(mem_type, sizeof(mem_type), "memory at address 0x%zx", in MmapFixedImpl() 350 internal_snprintf(shmname, sizeof(shmname), "/dev/shm/%zu [%s]", in GetNamedMappingFd()
|
D | sanitizer_coverage_fuchsia.cpp | 140 internal_snprintf(vmo_name_, sizeof(vmo_name_), "%s.%zu", kSancovSinkName, in Setup()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_symbolizer_mac.cc | 56 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()
|
D | sanitizer_coverage_mapping_libcdep.cc | 95 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()
|
D | sanitizer_printf.cc | 264 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
|
D | sanitizer_common.cc | 57 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()
|
D | sanitizer_procmaps_freebsd.cc | 76 internal_snprintf(filename, in Next()
|
D | sanitizer_libc.h | 57 int internal_snprintf(char *buffer, uptr length, const char *format, ...);
|
/external/llvm-project/compiler-rt/lib/memprof/ |
D | memprof_descriptions.cpp | 37 int len = internal_snprintf(name, sizeof(name), "T%d", tid); in Init() 40 internal_snprintf(&name[len], sizeof(name) - len, " (%s)", tname); in Init()
|
/external/llvm-project/compiler-rt/lib/xray/ |
D | xray_utils.cpp | 103 internal_snprintf(VmoName, sizeof(VmoName), "%s.%zu", ProfileSinkName, in Open() 172 int NeededLength = internal_snprintf(
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_platform_linux.cc | 118 internal_snprintf(buf, buf_size, in WriteMemoryProfile() 157 internal_snprintf(name, sizeof(name), "%s/tsan.rodata.%d", in MapRodata()
|
/external/llvm-project/compiler-rt/lib/asan/ |
D | asan_errors.cpp | 81 internal_snprintf(user_alignment_str, sizeof(user_alignment_str), in Print() 83 internal_snprintf(delete_alignment_str, sizeof(delete_alignment_str), in Print() 296 internal_snprintf(bug_type, sizeof(bug_type), "%s-param-overlap", function); in Print()
|
/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_platform_linux.cpp | 134 internal_snprintf(buf, buf_size, in WriteMemoryProfile() 173 internal_snprintf(name, sizeof(name), "%s/tsan.rodata.%d", in MapRodata()
|
D | tsan_external.cpp | 81 internal_snprintf(header, sizeof(header), "race on %s", object_type); in __tsan_external_register_tag()
|