Home
last modified time | relevance | path

Searched refs:Printf (Results 1 – 25 of 72) sorted by relevance

123

/external/compiler-rt/lib/tsan/rtl/
Dtsan_report.cc122 Printf(" [failed to restore the stack]\n\n"); in PrintStack()
131 Printf("%s\n", res.data()); in PrintStack()
133 Printf("\n"); in PrintStack()
139 Printf(" (mutexes:"); in PrintMutexSet()
141 Printf(" %s M%llu", m.write ? "write" : "read", m.id); in PrintMutexSet()
142 Printf(i == mset.Size() - 1 ? ")" : ","); in PrintMutexSet()
156 Printf("%s", d.Access()); in PrintMop()
157 Printf(" %s of size %d at %p by %s", in PrintMop()
162 Printf(":\n"); in PrintMop()
163 Printf("%s", d.EndAccess()); in PrintMop()
[all …]
Dtsan_platform_posix.cc33 Printf("FATAL: ThreadSanitizer can not mmap the shadow memory\n"); in InitializeShadowMemory()
34 Printf("FATAL: Make sure to compile with -fPIE and " in InitializeShadowMemory()
91 Printf("FATAL: ThreadSanitizer can not mmap the shadow memory\n"); in InitializeShadowMemory()
92 Printf("FATAL: Make sure to compile with -fPIE and " in InitializeShadowMemory()
109 Printf("FATAL: ThreadSanitizer can not protect [%zx,%zx]\n", beg, end); in ProtectRange()
110 Printf("FATAL: Make sure you are not using unlimited stack\n"); in ProtectRange()
129 Printf("FATAL: ThreadSanitizer: unexpected memory mapping %p-%p\n", p, end); in CheckAndProtect()
Dtsan_mutex.cc104 Printf("Can lock graph:\n"); in InitializeMutex()
107 Printf("%d ", CanLockAdj[i][j]); in InitializeMutex()
109 Printf("\n"); in InitializeMutex()
111 Printf("Can lock graph closure:\n"); in InitializeMutex()
114 Printf("%d ", CanLockAdj2[i][j]); in InitializeMutex()
116 Printf("\n"); in InitializeMutex()
122 Printf("Mutex %d participates in a cycle\n", i); in InitializeMutex()
154 Printf("ThreadSanitizer: internal deadlock detected\n"); in Lock()
155 Printf("ThreadSanitizer: can't lock %d while under %zu\n", in Lock()
Dtsan_rtl_thread.cc182 Printf("ThreadSanitizer: main thread finished with ignores enabled\n"); in ReportIgnoresEnabled()
184 Printf("ThreadSanitizer: thread T%d %s finished with ignores enabled," in ReportIgnoresEnabled()
188 Printf(" One of the following ignores was not ended" in ReportIgnoresEnabled()
191 Printf(" Ignore was enabled at:\n"); in ReportIgnoresEnabled()
344 Printf("Access to non app mem %zx\n", addr); in MemoryAccessRange()
348 Printf("Access to non app mem %zx\n", addr + size - 1); in MemoryAccessRange()
352 Printf("Bad shadow addr %p (%zx)\n", shadow_mem, addr); in MemoryAccessRange()
356 Printf("Bad shadow addr %p (%zx)\n", in MemoryAccessRange()
Dtsan_interface_ann.cc194 Printf("ThreadSanitizer: Matched %d \"benign\" races (pid=%d):\n", in PrintMatchedBenignRaces()
197 Printf("%d %s:%d %s\n", in PrintMatchedBenignRaces()
203 Printf("ThreadSanitizer: Annotated %d \"benign\" races, %d unique" in PrintMatchedBenignRaces()
207 Printf("%d %s:%d %s\n", in PrintMatchedBenignRaces()
215 Printf("==================\n"); in ReportMissedExpectedRace()
216 Printf("WARNING: ThreadSanitizer: missed expected data race\n"); in ReportMissedExpectedRace()
217 Printf(" %s addr=%zx %s:%d\n", in ReportMissedExpectedRace()
219 Printf("==================\n"); in ReportMissedExpectedRace()
/external/compiler-rt/lib/msan/
Dmsan_report.cc45 Printf("%s", d.Origin()); in DescribeStackOrigin()
46 Printf( in DescribeStackOrigin()
68 Printf(" %sUninitialized value was stored to memory at%s\n", d.Origin(), in DescribeOrigin()
80 Printf(" %sUninitialized value was created by a heap allocation%s\n", in DescribeOrigin()
84 Printf(" %sUninitialized value was created by a heap deallocation%s\n", in DescribeOrigin()
88 Printf(" %sMemory was marked as uninitialized%s\n", d.Origin(), in DescribeOrigin()
92 Printf(" %sUninitialized value was created%s\n", d.Origin(), d.End()); in DescribeOrigin()
105 Printf("%s", d.Warning()); in ReportUMR()
107 Printf("%s", d.End()); in ReportUMR()
118 Printf("WARNING: Expected use of uninitialized value not found\n"); in ReportExpectedUMRNotFound()
[all …]
Dmsan.cc190 Printf("MSAN_OPTIONS=exit_code is deprecated! " in InitializeFlags()
201 Printf( in InitializeFlags()
211 Printf( in InitializeFlags()
253 Printf( in PrintWarningWithOrigin()
321 Printf("Exiting\n"); \
357 Printf("Exiting\n"); in __msan_warning()
368 Printf("Exiting\n"); in __msan_warning_noreturn()
401 Printf("FATAL: MemorySanitizer can not mmap the shadow memory.\n"); in __msan_init()
402 Printf("FATAL: Make sure to compile with -fPIE and to link with -pie.\n"); in __msan_init()
403 Printf("FATAL: Disabling ASLR is known to cause this error.\n"); in __msan_init()
[all …]
/external/boringssl/src/crypto/cipher/test/
Dmake_legacy_aead_tests.go278 fmt.Printf("# DIGEST: %s\n", hex.EncodeToString(t.digest))
279 fmt.Printf("KEY: %s\n", hex.EncodeToString(t.key))
280 fmt.Printf("NONCE: %s\n", hex.EncodeToString(t.nonce))
281 fmt.Printf("IN: %s\n", hex.EncodeToString(t.input))
282 fmt.Printf("AD: %s\n", hex.EncodeToString(t.ad))
283 fmt.Printf("CT: %s\n", hex.EncodeToString(t.ciphertext))
284 fmt.Printf("TAG: %s\n", hex.EncodeToString(t.tag))
286 fmt.Printf("NO_SEAL: 01\n")
289 fmt.Printf("FAILS: 01\n")
303 fmt.Printf("# Generated by\n")
[all …]
/external/llvm/lib/Fuzzer/
DFuzzerLoop.cpp40 Printf("ERROR: %s is not defined. Exiting.\n" in MissingWeakApiFunction()
77 Printf("DEATH:\n"); in DeathCallback()
96 Printf("AlarmCallback %zd\n", Seconds); in AlarmCallback()
98 Printf("ALARM: working on the last Unit for %zd seconds\n", Seconds); in AlarmCallback()
99 Printf(" and the timeout value is %d (use -timeout=N to change)\n", in AlarmCallback()
106 Printf("==%d== ERROR: libFuzzer: timeout after %d seconds\n", GetPid(), in AlarmCallback()
110 Printf("SUMMARY: libFuzzer: timeout\n"); in AlarmCallback()
123 Printf("runs,block_cov,bits,cc_cov,corpus,execs_per_sec,tbms,reason\n"); in PrintStats()
125 Printf("%zd,%zd,%zd,%zd,%zd,%zd,%zd,%s\n", TotalNumberOfRuns, in PrintStats()
133 Printf("#%zd\t%s", TotalNumberOfRuns, Where); in PrintStats()
[all …]
DFuzzerDriver.cpp69 Printf("Usage: %s [-flag1=val1 [-flag2=val2 ...] ] [dir1 [dir2 ...] ]\n", in PrintHelp()
71 Printf("\nFlags: (strictly in form -flag=value)\n"); in PrintHelp()
78 Printf(" %s", D.Name); in PrintHelp()
80 Printf(" "); in PrintHelp()
81 Printf("\t"); in PrintHelp()
82 Printf("%d\t%s\n", D.Default, D.Description); in PrintHelp()
84 Printf("\nFlags starting with '--' will be ignored and " in PrintHelp()
102 Printf("WARNING: libFuzzer ignores flags that start with '--'\n"); in ParseOneFlag()
114 Printf("Flag: %s %d\n", Name, Val);; in ParseOneFlag()
120 Printf("Flag: %s %u\n", Name, Val); in ParseOneFlag()
[all …]
DFuzzerUtil.cpp26 Printf("0x%x,", (unsigned) x); in Print()
27 Printf("%s", PrintAfter); in Print()
33 Printf("%c", X); in PrintASCII()
35 Printf("\\x%x", (unsigned)X); in PrintASCII()
37 Printf("%s", PrintAfter); in PrintASCII()
143 Printf("ParseDictionaryFile: file does not exist or is empty\n"); in ParseDictionaryFile()
160 Printf("ParseDictionaryFile: error in line %d\n\t\t%s\n", LineNo, in ParseDictionaryFile()
DFuzzerIO.cpp40 Printf("No such directory: %s; exiting\n", Dir.c_str()); in ListFilesInDir()
54 Printf("No such directory: %s; exiting\n", Path.c_str()); in FileToVector()
68 Printf("%s", FileToString(Path).c_str()); in CopyFileToErr()
94 void Printf(const char *Fmt, ...) { in Printf() function
/external/compiler-rt/lib/asan/
Dasan_report.cc218 Printf("%s", str.data()); in PrintShadowMemoryForAddress()
225 Printf("malloc_zone_from_ptr(%p) = %p, which is %s\n", in PrintZoneForPointer()
228 Printf("malloc_zone_from_ptr(%p) = %p, which doesn't have a name\n", in PrintZoneForPointer()
232 Printf("malloc_zone_from_ptr(%p) = 0\n", ptr); in PrintZoneForPointer()
314 Printf("%s", str.data()); in DescribeAddressRelativeToGlobal()
331 Printf(" registered at:\n"); in DescribeAddressIfGlobal()
347 Printf("Address %p is located in the %s area.\n", addr, area_type); in DescribeAddressIfShadow()
418 Printf("%s", str.data()); in PrintAccessAndVarIntersection()
454 Printf("%s", d.Location()); in DescribeAddressIfStack()
455 Printf("Address %p is located in stack of thread T%d%s", addr, t->tid(), in DescribeAddressIfStack()
[all …]
Dasan_stats.cc35 Printf("%s", prefix); in PrintMallocStatsArray()
38 Printf("%zu:%zu; ", i, array[i]); in PrintMallocStatsArray()
40 Printf("\n"); in PrintMallocStatsArray()
44 Printf("Stats: %zuM malloced (%zuM for red zones) by %zu calls\n", in Print()
46 Printf("Stats: %zuM realloced by %zu calls\n", realloced>>20, reallocs); in Print()
47 Printf("Stats: %zuM freed by %zu calls\n", freed>>20, frees); in Print()
48 Printf("Stats: %zuM really freed by %zu calls\n", in Print()
50 Printf("Stats: %zuM (%zuM-%zuM) mmaped; %zu maps, %zu unmaps\n", in Print()
55 Printf("Stats: malloc large: %zu\n", malloc_large); in Print()
129 Printf("Stats: StackDepot: %zd ids; %zdM allocated\n", in PrintAccumulatedStats()
Dasan_rtl.cc309 Printf("AddressSanitizer exit stats:\n"); in asan_atexit()
314 Printf("asan_mapping.h:%zd -- %zd\n", i, AsanMappingProfile[i]); in asan_atexit()
355 Printf("|| `[%p, %p]` || HighMem ||\n", in PrintAddressSpaceLayout()
357 Printf("|| `[%p, %p]` || HighShadow ||\n", in PrintAddressSpaceLayout()
360 Printf("|| `[%p, %p]` || ShadowGap3 ||\n", in PrintAddressSpaceLayout()
362 Printf("|| `[%p, %p]` || MidMem ||\n", in PrintAddressSpaceLayout()
364 Printf("|| `[%p, %p]` || ShadowGap2 ||\n", in PrintAddressSpaceLayout()
366 Printf("|| `[%p, %p]` || MidShadow ||\n", in PrintAddressSpaceLayout()
369 Printf("|| `[%p, %p]` || ShadowGap ||\n", in PrintAddressSpaceLayout()
372 Printf("|| `[%p, %p]` || LowShadow ||\n", in PrintAddressSpaceLayout()
[all …]
/external/compiler-rt/lib/ubsan/
Dubsan_diag.cc129 Printf("0x%08x%08x%08x%08x", in PrintHex()
173 Printf("%s:", LocBuffer.data()); in renderLocation()
184 Printf(Buffer); in renderText()
190 Printf("%s", A.String); in renderText()
195 Printf("'%s'", A.String); in renderText()
197 Printf("'%s'", Symbolizer::GetOrInit()->Demangle(A.String)); in renderText()
203 Printf("%lld", (long long)A.SInt); in renderText()
209 Printf("%llu", (unsigned long long)A.UInt); in renderText()
222 Printf("%s", Buffer); in renderText()
226 Printf("%p", A.Pointer); in renderText()
[all …]
/external/clang/test/SemaCXX/
Dprintf-cstr.cpp42 struct Printf { struct
43 Printf();
44 Printf(const Printf&);
45 Printf(const char *,...) __attribute__((__format__(__printf__,2,3)));
51Printf p("%s %d %s", str, 10, 10); // expected-warning {{format specifies type 'char *' but the ar… in constructor_test()
52Printf q("%s %d", hcs, 10); // expected-warning {{cannot pass non-POD object of type 'HasCStr' to … in constructor_test()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_printf_test.cc22 TEST(Printf, Basic) { in TEST() argument
38 TEST(Printf, OverflowStr) { in TEST() argument
52 TEST(Printf, OverflowInt) { in TEST() argument
65 TEST(Printf, OverflowUint) { in TEST() argument
84 TEST(Printf, OverflowPtr) { in TEST() argument
118 TEST(Printf, MinMax) { in TEST() argument
130 TEST(Printf, Padding) { in TEST() argument
143 TEST(Printf, Precision) { in TEST() argument
/external/iputils/
Dtraceroute6.c289 #define Printf (void)printf macro
571 Printf("traceroute: unknown addr %s\n", source); in main()
598 Printf("%2d ", ttl); in main()
619 Printf(" %g ms", deltaT(&t1, &t2)); in main()
627 Printf(" !N"); in main()
631 Printf(" !H"); in main()
636 Printf(" !S"); in main()
644 Printf(" *"); in main()
750 Printf("traceroute: wrote %s %d chars, ret=%d\n", hostname, in send_probe()
875 Printf("\n%d bytes from %s to %s", cc, in packet_ok()
[all …]
/external/compiler-rt/lib/lsan/
Dlsan_common.cc378 Printf("%s\n", line); in PrintMatchedSuppressions()
379 Printf("Suppressions used:\n"); in PrintMatchedSuppressions()
380 Printf(" count bytes template\n"); in PrintMatchedSuppressions()
382 Printf("%7zu %10zu %s\n", static_cast<uptr>(atomic_load_relaxed( in PrintMatchedSuppressions()
384 Printf("%s\n\n", line); in PrintMatchedSuppressions()
425 Printf("\n" in CheckForLeaks()
428 Printf("%s", d.Error()); in CheckForLeaks()
430 Printf("%s", d.End()); in CheckForLeaks()
537 Printf("\n"); in ReportTopLeaks()
539 Printf("Too many leaks! Only the first %zu leaks encountered will be " in ReportTopLeaks()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_flag_parser.cc38 Printf("WARNING: found %d unrecognized flag(s):\n", n_unknown_flags_); in Report()
40 Printf(" %s\n", unknown_flags_[i]); in Report()
60 Printf("Available flags for %s:\n", SanitizerToolName); in PrintFlagDescriptions()
62 Printf("\t%s\n\t\t- %s\n", flags_[i].name, flags_[i].desc); in PrintFlagDescriptions()
66 Printf("ERROR: %s\n", err); in fatal_error()
140 Printf("Failed to read options from '%s': error %d\n", path, err); in ParseFile()
Dsanitizer_stacktrace_libcdep.cc24 Printf(" <empty stack>\n\n"); in Print()
40 Printf("%s\n", frame_desc.data()); in Print()
45 Printf("\n"); in Print()
Dsanitizer_flag_parser.h51 Printf("ERROR: Invalid value for bool option: '%s'\n", value); in Parse()
66 if (!ok) Printf("ERROR: Invalid value for int option: '%s'\n", value); in Parse()
75 if (!ok) Printf("ERROR: Invalid value for uptr option: '%s'\n", value); in Parse()
/external/boringssl/src/util/
Dall_tests.go234 fmt.Printf("Failed to parse input: %s\n", err)
241 fmt.Printf("%s\n", strings.Join([]string(test), " "))
246 fmt.Printf("%s failed to complete: %s\n", test[0], err)
250 fmt.Printf("%s failed to print PASS on the last line.\n", test[0])
265 fmt.Printf("\n%d of %d tests failed:\n", len(failed), len(tests))
267 fmt.Printf("\t%s\n", strings.Join([]string(test), " "))
272 fmt.Printf("\nAll tests passed!\n")
/external/compiler-rt/lib/tsan/dd/
Ddd_rtl.cc43 Printf("==============================\n"); in ReportDeadlock()
44 Printf("WARNING: lock-order-inversion (potential deadlock)\n"); in ReportDeadlock()
46 Printf("Thread %d locks mutex %llu while holding mutex %llu:\n", in ReportDeadlock()
50 Printf("Mutex %llu was acquired here:\n", in ReportDeadlock()
55 Printf("==============================\n"); in ReportDeadlock()

123