Home
last modified time | relevance | path

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

12

/external/compiler-rt/lib/tsan/rtl/
Dtsan_report.cc64 Printf(" [failed to restore the stack]\n\n"); in PrintStack()
68 Printf(" #%d %s %s:%d", i, ent->func, ent->file, ent->line); in PrintStack()
70 Printf(":%d", ent->col); in PrintStack()
72 Printf(" (%s+%p)\n", ent->module, (void*)ent->offset); in PrintStack()
74 Printf(" (%p)\n", (void*)ent->pc); in PrintStack()
76 Printf("\n"); in PrintStack()
82 Printf(" (mutexes:"); in PrintMutexSet()
84 Printf(" %s M%llu", m.write ? "write" : "read", m.id); in PrintMutexSet()
85 Printf(i == mset.Size() - 1 ? ")" : ","); in PrintMutexSet()
98 Printf(" %s of size %d at %p by %s", in PrintMop()
[all …]
Dtsan_mutex.cc101 Printf("Can lock graph:\n"); in InitializeMutex()
104 Printf("%d ", CanLockAdj[i][j]); in InitializeMutex()
106 Printf("\n"); in InitializeMutex()
108 Printf("Can lock graph closure:\n"); in InitializeMutex()
111 Printf("%d ", CanLockAdj2[i][j]); in InitializeMutex()
113 Printf("\n"); in InitializeMutex()
119 Printf("Mutex %d participates in a cycle\n", i); in InitializeMutex()
151 Printf("ThreadSanitizer: internal deadlock detected\n"); in Lock()
152 Printf("ThreadSanitizer: can't lock %d while under %zu\n", in Lock()
Dtsan_platform_linux.cc155 Printf("FATAL: ThreadSanitizer can not protect [%zx,%zx]\n", beg, end); in ProtectRange()
156 Printf("FATAL: Make sure you are not using unlimited stack\n"); in ProtectRange()
167 Printf("FATAL: ThreadSanitizer can not mmap the shadow memory\n"); in InitializeShadowMemory()
168 Printf("FATAL: Make sure to compile with -fPIE and " in InitializeShadowMemory()
204 Printf("FATAL: ThreadSanitizer can not mmap the shadow memory (" in CheckPIE()
207 Printf("FATAL: Make sure to compile with -fPIE" in CheckPIE()
Dtsan_suppressions.cc43 Printf("ThreadSanitizer: failed to open suppressions file '%s'\n", in ReadFile()
49 Printf("ThreadSanitizer: failed to stat suppressions file '%s'\n", in ReadFile()
55 Printf("ThreadSanitizer: failed to read suppressions file '%s'\n", in ReadFile()
119 Printf("ThreadSanitizer: failed to parse suppressions file\n"); in SuppressionParse()
Dtsan_symbolize_addr2line_linux.cc53 Printf("ThreadSanitizer: outfd pipe() failed (%d)\n", errno); in InitModule()
58 Printf("ThreadSanitizer: infd pipe() failed (%d)\n", errno); in InitModule()
77 Printf("ThreadSanitizer: failed to fork symbolizer\n"); in InitModule()
158 Printf("ThreadSanitizer: can't write from symbolizer (%d, %d)\n", in SymbolizeCodeAddr2Line()
165 Printf("ThreadSanitizer: can't read from symbolizer (%d, %d)\n", in SymbolizeCodeAddr2Line()
Dtsan_rtl.cc122 Printf("Failed to open memory profile file '%s'\n", &filename[0]); in InitializeMemoryProfile()
159 Printf("FATAL: ThreadSanitizer can not mmap thread trace\n"); in MapThreadTrace()
200 Printf("Failed to start external symbolizer: '%s'\n", in Initialize()
210 Printf("***** Running under ThreadSanitizer v2 (pid %d) *****\n", in Initialize()
221 Printf("ThreadSanitizer is suspended at startup (pid %d)." in Initialize()
250 Printf("ThreadSanitizer: reported %d warnings\n", ctx->nreported); in Finalize()
252 Printf("Found %d data race(s)\n", ctx->nreported); in Finalize()
258 Printf("ThreadSanitizer: missed %d expected races\n", in Finalize()
444 Printf("Access to non app mem %zx\n", addr); in MemoryAccess()
448 Printf("Bad shadow addr %p (%zx)\n", shadow_mem, addr); in MemoryAccess()
Dtsan_platform_mac.cc60 Printf("FATAL: ThreadSanitizer can not mmap the shadow memory\n"); in InitializeShadowMemory()
61 Printf("FATAL: Make sure to compile with -fPIE and " in InitializeShadowMemory()
Dtsan_rtl_mutex.cc97 Printf("ThreadSanitizer WARNING: double lock\n"); in MutexLock()
126 Printf("ThreadSanitizer WARNING: unlock of unlocked mutex\n"); in MutexUnlock()
132 Printf("ThreadSanitizer WARNING: mutex unlock by another thread\n"); in MutexUnlock()
162 Printf("ThreadSanitizer WARNING: read lock of a write locked mutex\n"); in MutexReadLock()
183 Printf("ThreadSanitizer WARNING: read unlock of a write " in MutexReadUnlock()
234 Printf("ThreadSanitizer WARNING: mutex unlock by another thread\n"); in MutexReadOrWriteUnlock()
Dtsan_flags.cc98 Printf("ThreadSanitizer: incorrect value for history_size" in InitializeFlags()
104 Printf("ThreadSanitizer: incorrect value for io_sync" in InitializeFlags()
Dtsan_interface_ann.cc241 Printf("==================\n"); in ReportMissedExpectedRace()
242 Printf("WARNING: ThreadSanitizer: missed expected data race\n"); in ReportMissedExpectedRace()
243 Printf(" %s addr=%zx %s:%d\n", in ReportMissedExpectedRace()
245 Printf("==================\n"); in ReportMissedExpectedRace()
Dtsan_rtl_thread.cc288 Printf("Access to non app mem %zx\n", addr); in MemoryAccessRange()
292 Printf("Access to non app mem %zx\n", addr + size - 1); in MemoryAccessRange()
296 Printf("Bad shadow addr %p (%zx)\n", shadow_mem, addr); in MemoryAccessRange()
300 Printf("Bad shadow addr %p (%zx)\n", in MemoryAccessRange()
/external/compiler-rt/lib/asan/
Dasan_report.cc104 Printf("%s%s%x%x%s%s", before, in PrintShadowByte()
112 Printf("%s%p:", before, bytes); in PrintShadowBytes()
120 Printf("\n"); in PrintShadowBytes()
124 Printf("Shadow byte legend (one shadow byte represents %d " in PrintLegend()
127 Printf(" Partially addressable: "); in PrintLegend()
130 Printf("\n"); in PrintLegend()
152 Printf("Shadow bytes around the buggy address:\n"); in PrintShadowMemoryForAddress()
167 Printf("malloc_zone_from_ptr(%p) = %p, which is %s\n", in PrintZoneForPointer()
170 Printf("malloc_zone_from_ptr(%p) = %p, which doesn't have a name\n", in PrintZoneForPointer()
174 Printf("malloc_zone_from_ptr(%p) = 0\n", ptr); in PrintZoneForPointer()
[all …]
Dasan_stats.cc29 Printf("%s", prefix); in PrintMallocStatsArray()
32 Printf("%zu:%zu; ", i, array[i]); in PrintMallocStatsArray()
34 Printf("\n"); in PrintMallocStatsArray()
38 Printf("Stats: %zuM malloced (%zuM for red zones) by %zu calls\n", in Print()
40 Printf("Stats: %zuM realloced by %zu calls\n", realloced>>20, reallocs); in Print()
41 Printf("Stats: %zuM freed by %zu calls\n", freed>>20, frees); in Print()
42 Printf("Stats: %zuM really freed by %zu calls\n", in Print()
44 Printf("Stats: %zuM (%zuM-%zuM) mmaped; %zu maps, %zu unmaps\n", in Print()
52 Printf("Stats: malloc large: %zu small slow: %zu\n", in Print()
65 Printf("Stats: StackDepot: %zd ids; %zdM mapped\n", in PrintAccumulatedStats()
Dasan_rtl.cc304 Printf("AddressSanitizer exit stats:\n"); in asan_atexit()
309 Printf("asan_mapping.h:%zd -- %zd\n", i, AsanMappingProfile[i]); in asan_atexit()
338 Printf("|| `[%p, %p]` || HighMem ||\n", in PrintAddressSpaceLayout()
340 Printf("|| `[%p, %p]` || HighShadow ||\n", in PrintAddressSpaceLayout()
343 Printf("|| `[%p, %p]` || ShadowGap3 ||\n", in PrintAddressSpaceLayout()
345 Printf("|| `[%p, %p]` || MidMem ||\n", in PrintAddressSpaceLayout()
347 Printf("|| `[%p, %p]` || ShadowGap2 ||\n", in PrintAddressSpaceLayout()
349 Printf("|| `[%p, %p]` || MidShadow ||\n", in PrintAddressSpaceLayout()
352 Printf("|| `[%p, %p]` || ShadowGap ||\n", in PrintAddressSpaceLayout()
355 Printf("|| `[%p, %p]` || LowShadow ||\n", in PrintAddressSpaceLayout()
[all …]
/external/compiler-rt/lib/ubsan/
Dubsan_diag.cc59 Printf("0x%08x%08x%08x%08x", in PrintHex()
74 Printf("<unknown>:"); in renderLocation()
76 Printf("%s:%d:", SLoc.getFilename(), SLoc.getLine()); in renderLocation()
78 Printf("%d:", SLoc.getColumn()); in renderLocation()
83 Printf("%s:0x%zx:", Loc.getModuleLocation().getModuleName(), in renderLocation()
87 Printf("%p:", Loc.getMemoryLocation()); in renderLocation()
90 Printf("<unknown>:"); in renderLocation()
103 Printf(Buffer); in renderText()
109 Printf("%s", A.String); in renderText()
112 Printf("'%s'", Demangle(A.String)); in renderText()
[all …]
/external/compiler-rt/lib/msan/
Dmsan_report.cc55 Printf(" raw origin id: %d\n", origin); in DescribeOrigin()
61 Printf("%s", d.Origin()); in DescribeOrigin()
62 Printf(" %sUninitialized value was created by an allocation of '%s%s%s'" in DescribeOrigin()
70 Printf(" %sUninitialized value was created by a heap allocation%s\n", in DescribeOrigin()
95 Printf("%s", d.Warning()); in ReportUMR()
97 Printf("%s", d.End()); in ReportUMR()
108 Printf(" WARNING: Expected use of uninitialized value not found\n"); in ReportExpectedUMRNotFound()
114 Printf("%s", d.Warning()); in ReportAtExitStatistics()
115 Printf("MemorySanitizer: %d warnings reported.\n", msan_report_count); in ReportAtExitStatistics()
116 Printf("%s", d.End()); in ReportAtExitStatistics()
Dmsan.cc122 Printf("Exit code not in [0, 128) range: %d\n", f->exit_code); in ParseFlagsFromString()
209 Printf(" ORIGIN: invalid (%x). Might be a bug in MemorySanitizer, " in PrintWarningWithOrigin()
231 Printf("Exiting\n"); in __msan_warning_noreturn()
250 Printf("Unlimited stack, doing reexec\n"); in __msan_init()
258 Printf("MSAN_OPTIONS: %s\n", msan_options ? msan_options : "<empty>"); in __msan_init()
263 Printf("msan_track_origins\n"); in __msan_init()
267 Printf("FATAL: MemorySanitizer can not mmap the shadow memory.\n"); in __msan_init()
268 Printf("FATAL: Make sure to compile with -fPIE and to link with -pie.\n"); in __msan_init()
269 Printf("FATAL: Disabling ASLR is known to cause this error.\n"); in __msan_init()
270 Printf("FATAL: If running under GDB, try " in __msan_init()
[all …]
Dmsan_linux.cc49 Printf("__msan_init %p\n", &__msan_init); in InitShadow()
50 Printf("Memory : %p %p\n", kMemBeg, kMemEnd); in InitShadow()
51 Printf("Bad2 : %p %p\n", kBad2Beg, kBad2End); in InitShadow()
52 Printf("Origins : %p %p\n", kOriginsBeg, kOriginsEnd); in InitShadow()
53 Printf("Shadow : %p %p\n", kShadowBeg, kShadowEnd); in InitShadow()
54 Printf("Bad1 : %p %p\n", kBad1Beg, kBad1End); in InitShadow()
59 Printf("FATAL: Shadow memory range is not available.\n"); in InitShadow()
/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/chromium/net/base/
Dssl_cipher_suite_names_generate.go88 fmt.Printf("static const struct {\n char name[%d];\n} %s[%d] = {\n", maxLen+1, name, len(d))
90 fmt.Printf(" {\"%s\"}, // %d\n", m.name, m.v)
93 fmt.Printf("};\n\n")
110 fmt.Printf("Cannot open input: %s\n", err)
117 fmt.Printf("Error parsing XML: %s\n", err)
130 fmt.Printf("Didn't find tls-parameters-4 registry\n")
141 fmt.Printf("struct CipherSuite {\n uint16 cipher_suite, encoded;\n};\n\n")
142 fmt.Printf("static const struct CipherSuite kCipherSuites[] = {\n")
181 fmt.Printf(" {0x%x, 0x%x}, // %s\n", value, encoded, r.Description)
184 fmt.Printf("};\n\n")
/external/clang/lib/Basic/
DBuiltins.cpp87 const char *Printf = strpbrk(GetRecord(ID).Attributes, "pP"); in isPrintfLike() local
88 if (!Printf) in isPrintfLike()
91 HasVAListArg = (*Printf == 'P'); in isPrintfLike()
93 ++Printf; in isPrintfLike()
94 assert(*Printf == ':' && "p or P specifier must have be followed by a ':'"); in isPrintfLike()
95 ++Printf; in isPrintfLike()
97 assert(strchr(Printf, ':') && "printf specifier must end with a ':'"); in isPrintfLike()
98 FormatIdx = strtol(Printf, 0, 10); in isPrintfLike()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_printf_test.cc22 TEST(Printf, Basic) { in TEST() argument
41 TEST(Printf, OverflowStr) { in TEST() argument
55 TEST(Printf, OverflowInt) { in TEST() argument
68 TEST(Printf, OverflowUint) { in TEST() argument
87 TEST(Printf, OverflowPtr) { in TEST() argument
116 TEST(Printf, MinMax) { in TEST() argument
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stacktrace.cc45 Printf(" #%zu 0x%zx", frame_num, pc); in PrintStackFramePrefix()
51 Printf(" %s", StripPathPrefix(file, strip_file_prefix)); in PrintSourceLocation()
53 Printf(":%d", line); in PrintSourceLocation()
55 Printf(":%d", column); in PrintSourceLocation()
61 Printf(" (%s+0x%zx)", StripPathPrefix(module, strip_file_prefix), offset); in PrintModuleAndOffset()
84 Printf(" %s\n", StripPathPrefix(buff.data(), strip_file_prefix)); in PrintStack()
96 Printf(" in %s", info.function); in PrintStack()
105 Printf("\n"); in PrintStack()
120 Printf("\n"); in PrintStack()
211 Printf("res %zu check_stack.size %zu; c_size %zu\n", res, in CompressStack()
Dsanitizer_allocator.h148 Printf("\n"); in Print()
153 Printf("c%02zd => s: %zd diff: +%zd %02zd%% l %zd " in Print()
159 Printf("Total cached: %zd\n", total_cached); in Print()
407 Printf("Stats: SizeClassAllocator64: %zdM mapped in %zd allocations; " in PrintStats()
413 Printf(" %02zd (%zd): total: %zd K allocs: %zd remains: %zd\n", in PrintStats()
538 Printf("%s: Out of memory. Dying. ", SanitizerToolName); in PopulateFreeList()
539 Printf("The process has exhausted %zuMB for size class %zu.\n", in PopulateFreeList()
1023 Printf("Stats: LargeMmapAllocator: allocated %zd times, " in PrintStats()
1030 Printf("%zd:%zd; ", i, c); in PrintStats()
1032 Printf("\n"); in PrintStats()
/external/chromium/third_party/libjingle/source/talk/examples/call/
Dcallclient.cc204 console_->Printf( in ParseLine()
406 console_->Printf("Incoming call from '%s'", jid.Str().c_str()); in OnSessionState()
481 console_->Printf("Adding to roster: %s", key.c_str()); in OnStatusUpdate()
484 console_->Printf("Removing from roster: %s", key.c_str()); in OnStatusUpdate()
493 console_->Printf("Roster contains %d callable", roster_->size()); in PrintRoster()
496 console_->Printf("%s - %s", in PrintRoster()
520 console_->Printf("Invalid JID. JIDs should be in the form user@domain\n"); in InviteFriend()
529 console_->Printf("Requesting to befriend %s.\n", name.c_str()); in InviteFriend()
576 console_->Printf("Found %s '%s'", options.is_muc ? "room" : "online friend", in MakeCallTo()
580 console_->Printf("Could not find online friend '%s'", name.c_str()); in MakeCallTo()
[all …]

12