Home
last modified time | relevance | path

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

123

/external/compiler-rt/lib/tsan/rtl/
Dtsan_report.cc67 Printf(" [failed to restore the stack]\n\n"); in PrintStack()
71 Printf(" #%d %s %s:%d", i, ent->func, ent->file, ent->line); in PrintStack()
73 Printf(":%d", ent->col); in PrintStack()
75 Printf(" (%s+%p)\n", ent->module, (void*)ent->offset); in PrintStack()
77 Printf(" (%p)\n", (void*)ent->pc); in PrintStack()
79 Printf("\n"); in PrintStack()
85 Printf(" (mutexes:"); in PrintMutexSet()
87 Printf(" %s M%llu", m.write ? "write" : "read", m.id); in PrintMutexSet()
88 Printf(i == mset.Size() - 1 ? ")" : ","); in PrintMutexSet()
101 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_suppressions.cc45 Printf("ThreadSanitizer: failed to open suppressions file '%s'\n", in ReadFile()
52 Printf("ThreadSanitizer: failed to stat suppressions file '%s'\n", in ReadFile()
58 Printf("ThreadSanitizer: failed to read suppressions file '%s'\n", in ReadFile()
93 Printf("ThreadSanitizer: unknown report type %d\n", typ), in conv()
146 Printf("ThreadSanitizer: Matched %d suppressions (pid=%d):\n", hit_count, in PrintMatchedSuppressions()
149 Printf("%d %s:%s\n", matched[i]->hit_count, in PrintMatchedSuppressions()
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()
159 Printf("ThreadSanitizer: can't write from symbolizer (%d, %d)\n", in SymbolizeCodeAddr2Line()
166 Printf("ThreadSanitizer: can't read from symbolizer (%d, %d)\n", in SymbolizeCodeAddr2Line()
/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.cc30 Printf("%s", prefix); in PrintMallocStatsArray()
33 Printf("%zu:%zu; ", i, array[i]); in PrintMallocStatsArray()
35 Printf("\n"); in PrintMallocStatsArray()
39 Printf("Stats: %zuM malloced (%zuM for red zones) by %zu calls\n", in Print()
41 Printf("Stats: %zuM realloced by %zu calls\n", realloced>>20, reallocs); in Print()
42 Printf("Stats: %zuM freed by %zu calls\n", freed>>20, frees); in Print()
43 Printf("Stats: %zuM really freed by %zu calls\n", in Print()
45 Printf("Stats: %zuM (%zuM-%zuM) mmaped; %zu maps, %zu unmaps\n", in Print()
53 Printf("Stats: malloc large: %zu small slow: %zu\n", in Print()
66 Printf("Stats: StackDepot: %zd ids; %zdM mapped\n", in PrintAccumulatedStats()
Dasan_rtl.cc320 Printf("AddressSanitizer exit stats:\n"); in asan_atexit()
325 Printf("asan_mapping.h:%zd -- %zd\n", i, AsanMappingProfile[i]); in asan_atexit()
344 Printf("|| `[%p, %p]` || HighMem ||\n", in PrintAddressSpaceLayout()
346 Printf("|| `[%p, %p]` || HighShadow ||\n", in PrintAddressSpaceLayout()
349 Printf("|| `[%p, %p]` || ShadowGap3 ||\n", in PrintAddressSpaceLayout()
351 Printf("|| `[%p, %p]` || MidMem ||\n", in PrintAddressSpaceLayout()
353 Printf("|| `[%p, %p]` || ShadowGap2 ||\n", in PrintAddressSpaceLayout()
355 Printf("|| `[%p, %p]` || MidShadow ||\n", in PrintAddressSpaceLayout()
358 Printf("|| `[%p, %p]` || ShadowGap ||\n", in PrintAddressSpaceLayout()
361 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/chromium_org/ppapi/native_client/tests/nacl_browser/manifest_file/
Dpm_pre_init_manifest_file_test.cc59 sb.Printf("Srpc client channel ctor failed\n"); in TestManifestContents()
63 sb.Printf("NaClSrpcClientCtor succeeded\n"); in TestManifestContents()
71 sb.Printf("nameservice lookup failed, status %d\n", status); in TestManifestContents()
75 sb.Printf("Got manifest descriptor %d\n", manifest); in TestManifestContents()
84 sb.Printf("got manifest connection %d\n", manifest_conn); in TestManifestContents()
86 sb.Printf("could not connect\n"); in TestManifestContents()
93 sb.Printf("could not build srpc client\n"); in TestManifestContents()
100 sb.Printf("Invoking name service lookup\n"); in TestManifestContents()
106 sb.Printf("manifest lookup RPC failed\n"); in TestManifestContents()
113 sb.Printf("File Contents:\n"); in TestManifestContents()
[all …]
Dpm_manifest_file_test.cc184 sb->Printf("EnumerateNames: initial malloc failed\n"); in EnumerateNames()
194 sb->Printf("NaClSrpcInvokeBySignature failed\n"); in EnumerateNames()
197 sb->Printf("EnumerateNames: in_out_nbytes %d\n", in_out_nbytes); in EnumerateNames()
204 sb->Printf("EnumerateNames: out of memory during realloc\n"); in EnumerateNames()
212 sb->Printf("nbytes = %u\n", (size_t) nbytes); in EnumerateNames()
214 sb->Printf("Insufficent space for namespace enumeration\n"); in EnumerateNames()
222 sb->Printf("%s\n", p); in EnumerateNames()
421 sb->Printf("Srpc client channel ctor failed\n"); in InitializeChannel()
425 sb->Printf("NaClSrpcClientCtor succeeded\n"); in InitializeChannel()
450 sb->Printf("nameservice lookup failed, status %d\n", status); in ManifestListTest()
[all …]
/external/compiler-rt/lib/msan/
Dmsan_report.cc56 Printf(" raw origin id: %d\n", origin); in DescribeOrigin()
62 Printf("%s", d.Origin()); in DescribeOrigin()
63 Printf(" %sUninitialized value was created by an allocation of '%s%s%s'" in DescribeOrigin()
71 Printf(" %sUninitialized value was created by a heap allocation%s\n", in DescribeOrigin()
97 Printf("%s", d.Warning()); in ReportUMR()
99 Printf("%s", d.End()); in ReportUMR()
110 Printf(" WARNING: Expected use of uninitialized value not found\n"); in ReportExpectedUMRNotFound()
118 Printf("%s", d.Warning()); in ReportAtExitStatistics()
119 Printf("MemorySanitizer: %d warnings reported.\n", msan_report_count); in ReportAtExitStatistics()
120 Printf("%s", d.End()); in ReportAtExitStatistics()
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()
Dmsan.cc126 Printf("Exit code not in [0, 128) range: %d\n", f->exit_code); in ParseFlagsFromString()
218 Printf(" ORIGIN: invalid (%x). Might be a bug in MemorySanitizer, " in PrintWarningWithOrigin()
239 Printf("Exiting\n"); in __msan_warning()
248 Printf("Exiting\n"); in __msan_warning_noreturn()
269 Printf("Unlimited stack, doing reexec\n"); in __msan_init()
277 Printf("MSAN_OPTIONS: %s\n", msan_options ? msan_options : "<empty>"); in __msan_init()
282 Printf("msan_track_origins\n"); in __msan_init()
286 Printf("FATAL: MemorySanitizer can not mmap the shadow memory.\n"); in __msan_init()
287 Printf("FATAL: Make sure to compile with -fPIE and to link with -pie.\n"); in __msan_init()
288 Printf("FATAL: Disabling ASLR is known to cause this error.\n"); in __msan_init()
[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/chromium_org/ppapi/native_client/tests/nacl_browser/fault_injection/
Dfault_pm_nameservice_test.cc68 sb->Printf("\n%04x:", ix); in dump_output()
70 sb->Printf(" "); in dump_output()
72 sb->Printf("%02x", bytes[ix]); in dump_output()
74 sb->Printf("\n"); in dump_output()
84 sb->Printf("NaClSrpcInvokeBySignature failed\n"); in EnumerateNames()
87 sb->Printf("nbytes = %u\n", (size_t) nbytes); in EnumerateNames()
89 sb->Printf("Insufficent space for namespace enumeration\n"); in EnumerateNames()
98 sb->Printf("%s\n", p); in EnumerateNames()
113 sb->Printf("Srpc client channel ctor failed\n"); in Initialize()
116 sb->Printf("NaClSrpcClientCtor succeeded\n"); in Initialize()
[all …]
/external/chromium_org/ppapi/native_client/tests/nacl_browser/nameservice/
Dpm_nameservice_test.cc68 sb->Printf("\n%04x:", ix); in dump_output()
70 sb->Printf(" "); in dump_output()
72 sb->Printf("%02x", bytes[ix]); in dump_output()
74 sb->Printf("\n"); in dump_output()
84 sb->Printf("NaClSrpcInvokeBySignature failed\n"); in EnumerateNames()
87 sb->Printf("nbytes = %u\n", (size_t) nbytes); in EnumerateNames()
89 sb->Printf("Insufficent space for namespace enumeration\n"); in EnumerateNames()
98 sb->Printf("%s\n", p); in EnumerateNames()
113 sb->Printf("Srpc client channel ctor failed\n"); in Initialize()
116 sb->Printf("NaClSrpcClientCtor succeeded\n"); in Initialize()
[all …]
/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.cpp100 const char *Printf = strpbrk(GetRecord(ID).Attributes, "pP"); in isPrintfLike() local
101 if (!Printf) in isPrintfLike()
104 HasVAListArg = (*Printf == 'P'); in isPrintfLike()
106 ++Printf; in isPrintfLike()
107 assert(*Printf == ':' && "p or P specifier must have be followed by a ':'"); in isPrintfLike()
108 ++Printf; in isPrintfLike()
110 assert(strchr(Printf, ':') && "printf specifier must end with a ':'"); in isPrintfLike()
111 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
126 TEST(Printf, Padding) { 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/sanitizer_common/
Dsanitizer_stacktrace.cc46 Printf(" #%zu 0x%zx", frame_num, pc); in PrintStackFramePrefix()
52 Printf(" %s", StripPathPrefix(file, strip_file_prefix)); in PrintSourceLocation()
54 Printf(":%d", line); in PrintSourceLocation()
56 Printf(":%d", column); in PrintSourceLocation()
62 Printf(" (%s+0x%zx)", StripPathPrefix(module, strip_file_prefix), offset); in PrintModuleAndOffset()
85 Printf(" %s\n", StripPathPrefix(buff.data(), strip_file_prefix)); in PrintStack()
97 Printf(" in %s", info.function); in PrintStack()
106 Printf("\n"); in PrintStack()
121 Printf("\n"); in PrintStack()
214 Printf("res %zu check_stack.size %zu; c_size %zu\n", res, in CompressStack()
/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 …]
/external/compiler-rt/lib/lsan/
Dlsan_common.cc85 Printf("LeakSanitizer: failed to read suppressions file '%s'\n", in InitializeSuppressions()
307 Printf("%s leaked %zu byte object at %p.\n", in PrintLeakedCb()
319 Printf("%s\n", line); in PrintMatchedSuppressions()
320 Printf("Suppressions used:\n"); in PrintMatchedSuppressions()
321 Printf(" count bytes template\n"); in PrintMatchedSuppressions()
323 Printf("%7zu %10zu %s\n", static_cast<uptr>(matched[i]->hit_count), in PrintMatchedSuppressions()
325 Printf("%s\n\n", line); in PrintMatchedSuppressions()
329 Printf("\n"); in PrintLeaked()
330 Printf("Reporting individual objects:\n"); in PrintLeaked()
375 Printf("\n" in DoLeakCheck()
[all …]
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
Draw_printer_test.cc20 printer.Printf("foo"); in TEST()
29 printer.Printf("%s %s", "hello", "world"); in TEST()
38 printer.Printf("%d", 12345678); in TEST()
47 printer.Printf("%s %s", "hello", "world"); in TEST()
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
Draw_printer_test.cc20 printer.Printf("foo"); in TEST()
29 printer.Printf("%s %s", "hello", "world"); in TEST()
38 printer.Printf("%d", 12345678); in TEST()
47 printer.Printf("%s %s", "hello", "world"); in TEST()

123