Home
last modified time | relevance | path

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

123

/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_printf_test.cpp23 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/
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()
/external/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/
Dsanitizer_symbolize.cpp27 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/
Dsanitizer_flag_parser.h39 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()
Dsanitizer_symbolizer_mac.cpp95 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()
Dsanitizer_file.cpp56 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()
Dsanitizer_symbolizer_markup.cpp43 internal_snprintf(buffer, sizeof(buffer), kFormatDemangle, name); in Demangle()
68 internal_snprintf(buffer, sizeof(buffer), kFormatFunction, addr); in SymbolizePC()
Dsanitizer_printf.cpp278 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
Dsanitizer_procmaps_solaris.cpp56 internal_snprintf(proc_path, sizeof(proc_path), "/proc/self/path/%s", in Next()
Dsanitizer_libc.h52 int internal_snprintf(char *buffer, uptr length, const char *format, ...);
Dsanitizer_procmaps_bsd.cpp96 internal_snprintf(segment->filename, in Next()
Dsanitizer_posix.cpp125 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()
Dsanitizer_coverage_fuchsia.cpp140 internal_snprintf(vmo_name_, sizeof(vmo_name_), "%s.%zu", kSancovSinkName, in Setup()
/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, ...);
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_descriptions.cpp37 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/
Dxray_utils.cpp103 internal_snprintf(VmoName, sizeof(VmoName), "%s.%zu", ProfileSinkName, in Open()
172 int NeededLength = internal_snprintf(
/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()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_errors.cpp81 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/
Dtsan_platform_linux.cpp134 internal_snprintf(buf, buf_size, in WriteMemoryProfile()
173 internal_snprintf(name, sizeof(name), "%s/tsan.rodata.%d", in MapRodata()
Dtsan_external.cpp81 internal_snprintf(header, sizeof(header), "race on %s", object_type); in __tsan_external_register_tag()

123