HomeSort by relevance Sort by last modified time
    Searched refs:Printf (Results 1 - 25 of 43) sorted by null

1 2

  /external/clang/test/SemaCXX/
printf-cstr.cpp 6 extern int printf(const char *restrict, ...);
33 printf("%d: %s\n", n, hcs.c_str());
34 printf("%d: %s\n", n, hcs); // expected-warning{{cannot pass non-POD object of type 'HasCStr' to variadic function; expected type from format string was 'char *'}} expected-note{{did you mean to call the c_str() method?}}
35 printf("%d: %s\n", n, hncs); // expected-warning{{cannot pass non-POD object of type 'HasNoCStr' to variadic function; expected type from format string was 'char *'}}
38 printf(formatString, hcs, hncs); // expected-warning{{cannot pass object of non-POD type 'HasCStr' through variadic function}} expected-warning{{cannot pass object of non-POD type 'HasNoCStr' through variadic function}}
39 printf(extstr, hcs, n); // expected-warning{{cannot pass object of non-POD type 'HasCStr' through variadic function}}
42 struct Printf {
43 Printf();
44 Printf(const Printf&)
    [all...]
  /external/compiler-rt/lib/asan/
asan_stats.cc 29 Printf("%s", prefix);
32 Printf("%zu:%zu; ", i, array[i]);
34 Printf("\n");
38 Printf("Stats: %zuM malloced (%zuM for red zones) by %zu calls\n",
40 Printf("Stats: %zuM realloced by %zu calls\n", realloced>>20, reallocs);
41 Printf("Stats: %zuM freed by %zu calls\n", freed>>20, frees);
42 Printf("Stats: %zuM really freed by %zu calls\n",
44 Printf("Stats: %zuM (%zuM-%zuM) mmaped; %zu maps, %zu unmaps\n",
52 Printf("Stats: malloc large: %zu small slow: %zu\n",
65 Printf("Stats: StackDepot: %zd ids; %zdM mapped\n"
    [all...]
asan_report.cc 104 Printf("%s%s%x%x%s%s", before,
112 Printf("%s%p:", before, bytes);
120 Printf("\n");
124 Printf("Shadow byte legend (one shadow byte represents %d "
127 Printf(" Partially addressable: ");
130 Printf("\n");
152 Printf("Shadow bytes around the buggy address:\n");
167 Printf("malloc_zone_from_ptr(%p) = %p, which is %s\n",
170 Printf("malloc_zone_from_ptr(%p) = %p, which doesn't have a name\n",
174 Printf("malloc_zone_from_ptr(%p) = 0\n", ptr)
    [all...]
asan_rtl.cc 304 Printf("AddressSanitizer exit stats:\n");
309 Printf("asan_mapping.h:%zd -- %zd\n", i, AsanMappingProfile[i]);
338 Printf("|| `[%p, %p]` || HighMem ||\n",
340 Printf("|| `[%p, %p]` || HighShadow ||\n",
343 Printf("|| `[%p, %p]` || ShadowGap3 ||\n",
345 Printf("|| `[%p, %p]` || MidMem ||\n",
347 Printf("|| `[%p, %p]` || ShadowGap2 ||\n",
349 Printf("|| `[%p, %p]` || MidShadow ||\n",
352 Printf("|| `[%p, %p]` || ShadowGap ||\n",
355 Printf("|| `[%p, %p]` || LowShadow ||\n"
    [all...]
asan_globals.cc 112 Printf("DynInitPoison : %s\n", g->name);
123 Printf("DynInitUnpoison: %s\n", g->name);
  /external/compiler-rt/lib/tsan/rtl/
tsan_report.cc 64 Printf(" [failed to restore the stack]\n\n");
68 Printf(" #%d %s %s:%d", i, ent->func, ent->file, ent->line);
70 Printf(":%d", ent->col);
72 Printf(" (%s+%p)\n", ent->module, (void*)ent->offset);
74 Printf(" (%p)\n", (void*)ent->pc);
76 Printf("\n");
82 Printf(" (mutexes:");
84 Printf(" %s M%llu", m.write ? "write" : "read", m.id);
85 Printf(i == mset.Size() - 1 ? ")" : ",");
98 Printf(" %s of size %d at %p by %s"
    [all...]
tsan_mutex.cc 101 Printf("Can lock graph:\n");
104 Printf("%d ", CanLockAdj[i][j]);
106 Printf("\n");
108 Printf("Can lock graph closure:\n");
111 Printf("%d ", CanLockAdj2[i][j]);
113 Printf("\n");
119 Printf("Mutex %d participates in a cycle\n", i);
132 // Printf("LOCK %d @%zu\n", t, seq_ + 1);
149 // Printf(" last %d @%zu\n", max_idx, max_seq);
151 Printf("ThreadSanitizer: internal deadlock detected\n")
    [all...]
tsan_platform_mac.cc 60 Printf("FATAL: ThreadSanitizer can not mmap the shadow memory\n");
61 Printf("FATAL: Make sure to compile with -fPIE and "
tsan_suppressions.cc 43 Printf("ThreadSanitizer: failed to open suppressions file '%s'\n",
49 Printf("ThreadSanitizer: failed to stat suppressions file '%s'\n",
55 Printf("ThreadSanitizer: failed to read suppressions file '%s'\n",
119 Printf("ThreadSanitizer: failed to parse suppressions file\n");
tsan_symbolize_addr2line_linux.cc 53 Printf("ThreadSanitizer: outfd pipe() failed (%d)\n", errno);
58 Printf("ThreadSanitizer: infd pipe() failed (%d)\n", errno);
77 Printf("ThreadSanitizer: failed to fork symbolizer\n");
158 Printf("ThreadSanitizer: can't write from symbolizer (%d, %d)\n",
165 Printf("ThreadSanitizer: can't read from symbolizer (%d, %d)\n",
tsan_platform_linux.cc 155 Printf("FATAL: ThreadSanitizer can not protect [%zx,%zx]\n", beg, end);
156 Printf("FATAL: Make sure you are not using unlimited stack\n");
167 Printf("FATAL: ThreadSanitizer can not mmap the shadow memory\n");
168 Printf("FATAL: Make sure to compile with -fPIE and "
204 Printf("FATAL: ThreadSanitizer can not mmap the shadow memory ("
207 Printf("FATAL: Make sure to compile with -fPIE"
tsan_flags.cc 98 Printf("ThreadSanitizer: incorrect value for history_size"
104 Printf("ThreadSanitizer: incorrect value for io_sync"
tsan_rtl.cc 122 Printf("Failed to open memory profile file '%s'\n", &filename[0]);
159 Printf("FATAL: ThreadSanitizer can not mmap thread trace\n");
200 Printf("Failed to start external symbolizer: '%s'\n",
210 Printf("***** Running under ThreadSanitizer v2 (pid %d) *****\n",
221 Printf("ThreadSanitizer is suspended at startup (pid %d)."
250 Printf("ThreadSanitizer: reported %d warnings\n", ctx->nreported);
252 Printf("Found %d data race(s)\n", ctx->nreported);
258 Printf("ThreadSanitizer: missed %d expected races\n",
444 Printf("Access to non app mem %zx\n", addr);
448 Printf("Bad shadow addr %p (%zx)\n", shadow_mem, addr)
    [all...]
tsan_rtl_mutex.cc 97 Printf("ThreadSanitizer WARNING: double lock\n");
126 Printf("ThreadSanitizer WARNING: unlock of unlocked mutex\n");
132 Printf("ThreadSanitizer WARNING: mutex unlock by another thread\n");
162 Printf("ThreadSanitizer WARNING: read lock of a write locked mutex\n");
183 Printf("ThreadSanitizer WARNING: read unlock of a write "
234 Printf("ThreadSanitizer WARNING: mutex unlock by another thread\n");
tsan_interface_ann.cc 241 Printf("==================\n");
242 Printf("WARNING: ThreadSanitizer: missed expected data race\n");
243 Printf(" %s addr=%zx %s:%d\n",
245 Printf("==================\n");
  /external/compiler-rt/lib/ubsan/
ubsan_diag.cc 56 /// Hexadecimal printing for numbers too large for Printf to handle directly.
59 Printf("0x%08x%08x%08x%08x",
74 Printf("<unknown>:");
76 Printf("%s:%d:", SLoc.getFilename(), SLoc.getLine());
78 Printf("%d:", SLoc.getColumn());
83 Printf("%s:0x%zx:", Loc.getModuleLocation().getModuleName(),
87 Printf("%p:", Loc.getMemoryLocation());
90 Printf("<unknown>:");
103 Printf(Buffer);
109 Printf("%s", A.String)
    [all...]
  /external/compiler-rt/lib/msan/
msan_report.cc 55 Printf(" raw origin id: %d\n", origin);
61 Printf("%s", d.Origin());
62 Printf(" %sUninitialized value was created by an allocation of '%s%s%s'"
70 Printf(" %sUninitialized value was created by a heap allocation%s\n",
95 Printf("%s", d.Warning());
97 Printf("%s", d.End());
108 Printf(" WARNING: Expected use of uninitialized value not found\n");
114 Printf("%s", d.Warning());
115 Printf("MemorySanitizer: %d warnings reported.\n", msan_report_count);
116 Printf("%s", d.End())
    [all...]
msan_linux.cc 49 Printf("__msan_init %p\n", &__msan_init);
50 Printf("Memory : %p %p\n", kMemBeg, kMemEnd);
51 Printf("Bad2 : %p %p\n", kBad2Beg, kBad2End);
52 Printf("Origins : %p %p\n", kOriginsBeg, kOriginsEnd);
53 Printf("Shadow : %p %p\n", kShadowBeg, kShadowEnd);
54 Printf("Bad1 : %p %p\n", kBad1Beg, kBad1End);
59 Printf("FATAL: Shadow memory range is not available.\n");
msan.cc 122 Printf("Exit code not in [0, 128) range: %d\n", f->exit_code);
193 // Printf("Expected UMR\n");
209 Printf(" ORIGIN: invalid (%x). Might be a bug in MemorySanitizer, "
231 Printf("Exiting\n");
250 Printf("Unlimited stack, doing reexec\n");
258 Printf("MSAN_OPTIONS: %s\n", msan_options ? msan_options : "<empty>");
263 Printf("msan_track_origins\n");
267 Printf("FATAL: MemorySanitizer can not mmap the shadow memory.\n");
268 Printf("FATAL: Make sure to compile with -fPIE and to link with -pie.\n");
269 Printf("FATAL: Disabling ASLR is known to cause this error.\n")
    [all...]
  /external/clang/lib/Basic/
Builtins.cpp 87 const char *Printf = strpbrk(GetRecord(ID).Attributes, "pP");
88 if (!Printf)
91 HasVAListArg = (*Printf == 'P');
93 ++Printf;
94 assert(*Printf == ':' && "p or P specifier must have be followed by a ':'");
95 ++Printf;
97 assert(strchr(Printf, ':') && "printf specifier must end with a ':'");
98 FormatIdx = strtol(Printf, 0, 10);
116 assert(strchr(Scanf, ':') && "printf specifier must end with a ':'")
    [all...]
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_printf_test.cc 22 TEST(Printf, Basic) {
41 TEST(Printf, OverflowStr) {
55 TEST(Printf, OverflowInt) {
68 TEST(Printf, OverflowUint) {
87 TEST(Printf, OverflowPtr) {
116 TEST(Printf, MinMax) {
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_stacktrace.cc 45 Printf(" #%zu 0x%zx", frame_num, pc);
51 Printf(" %s", StripPathPrefix(file, strip_file_prefix));
53 Printf(":%d", line);
55 Printf(":%d", column);
61 Printf(" (%s+0x%zx)", StripPathPrefix(module, strip_file_prefix), offset);
84 Printf(" %s\n", StripPathPrefix(buff.data(), strip_file_prefix));
96 Printf(" in %s", info.function);
105 Printf("\n");
120 Printf("\n");
181 // Printf("C pc[%zu] %zx\n", i, pc)
    [all...]
  /external/chromium/third_party/libjingle/source/talk/examples/call/
callclient.cc 204 console_->Printf(
406 console_->Printf("Incoming call from '%s'", jid.Str().c_str());
481 console_->Printf("Adding to roster: %s", key.c_str());
484 console_->Printf("Removing from roster: %s", key.c_str());
493 console_->Printf("Roster contains %d callable", roster_->size());
496 console_->Printf("%s - %s",
520 console_->Printf("Invalid JID. JIDs should be in the form user@domain\n");
529 console_->Printf("Requesting to befriend %s.\n", name.c_str());
576 console_->Printf("Found %s '%s'", options.is_muc ? "room" : "online friend",
580 console_->Printf("Could not find online friend '%s'", name.c_str())
    [all...]
console.h 58 printf("\n(%s) ", prompt_.c_str());
65 void Printf(const char* format, ...);
console.cc 114 printf("\n%s", str);
116 printf("\n(%s) ", prompt_.c_str());
123 void Console::Printf(const char* format, ...) {

Completed in 691 milliseconds

1 2