Home
last modified time | relevance | path

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

12

/external/valgrind/tsan/
Dts_stats.h88 Printf(" VTS: created small/big: %'ld / %'ld; " in PrintStats()
92 Printf(" vts_total_create = %'ld; avg=%'ld; delete = %'ld\n", in PrintStats()
96 Printf(" n_seg_hb = %'ld\n", n_seg_hb); in PrintStats()
97 Printf(" n_vts_hb = %'ld\n", n_vts_hb); in PrintStats()
98 Printf(" n_vts_hb_cached = %'ld\n", n_vts_hb_cached); in PrintStats()
99 Printf(" memory access:\n" in PrintStats()
115 Printf(" Publish: set: %'ld; get: %'ld; clear: %'ld\n", in PrintStats()
118 Printf(" PcTo: all: %'ld\n", pc_to_strings); in PrintStats()
120 Printf(" StackTrace: create: %'ld; delete %'ld\n", in PrintStats()
123 Printf(" History segments: same: %'ld; reuse: %'ld; " in PrintStats()
[all …]
Dts_race_verifier.cc143 Printf(" write at %p\n", it->pc); in PrintRaceReportEmpty()
147 Printf(" read at %p\n", it->pc); in PrintRaceReportEmpty()
193 Printf("WARNING: Confirmed a race that was marked as UNVERIFIABLE:\n"); in PrintRaceReport()
195 Printf("WARNING: Confirmed a race:\n"); in PrintRaceReport()
200 Printf("%s", report.c_str()); in PrintRaceReport()
208 Printf("Warning: unexpected race found!\n"); in PrintRaceReport()
234 Printf("[%d] pc %p %s addr %p start\n", thread_id, pc, in RaceVerifierStartAccess()
270 Printf("[%d] pc %p %s addr %p end\n", thread_id, pc, in RaceVerifierEndAccess()
299 Printf("Parse error: %s\n", p); in ParseRaceInfo()
310 Printf("Possible race: %s", raceInfo.c_str()); in ParseRaceInfo()
[all …]
Dts_offline.cc87 Printf("Unknown event type: %s\n", name); in EventNameToEventType()
135 Printf("%s\n", buff + 2); in SkipCommentText()
216 Printf("Unsupported EventType %s %d\n", type, (int)type); in ProcessEvent()
257 Printf("%s\n", str.c_str()); in ReadOneBinEventFromFile()
297 Printf("INFO: ThreadSanitizer write %ld lines.\n", offline_line_n); in DecodeEventsFromFile()
319 Printf("INFO: ThreadSanitizerOffline: %ld events read\n", n_events); in ReadEventsFromFile()
350 Printf("INFO: ThreadSanitizerOffline r%s\n", TS_VERSION); in main()
374 Printf("Error: Unknown input_type value %s\n", G_flags->input_type.c_str()); in main()
Dts_pin.cc78 if (line && G_flags->debug_level >= 5) Printf("++Lock at line %d\n", line); in ScopedReentrantClientLock()
81 if (line_ && G_flags->debug_level >= 5) Printf("--Unlock at line %d\n", line_); in ~ScopedReentrantClientLock()
171 Printf( " %p\n", frames_[i].sp); in Print()
391 Printf("Event: %ld (last: %ld)\n", event, LAST_EVENT); in HandleInnerEvent()
416 Printf("ACHTUNG!!! an event from a dead thread T%d\n", t.tid); in TLEBFlushUnlocked()
658 Printf("Function wrapped: %s (%s %s)\n", name.c_str(), in InformAboutFunctionWrap()
703 Printf("T%d %s pc=%p sp=%p *sp=(%p) arg0=%p stack_size=%ld\n",\
861 Printf("%s T%d sp=%ld pc=%p %s\n", where, tid, sp, pc, in ShowPcAndSp()
866 Printf("T%d Shadow stack (%d)\n", t.tid, (int)t.shadow_stack.size()); in PrintShadowStack()
870 Printf(" sp=%ld pc=%lx %s\n", sp, pc, PcToRtnName(pc, true).c_str()); in PrintShadowStack()
[all …]
Dthread_sanitizer.cc98 do { if ((flag)) Printf(__VA_ARGS__); } while ((void)0, 0)
596 Printf("%p ", arr_[i]); in PrintRaw()
598 Printf("\n"); in PrintRaw()
1332 Printf("%s: %s\n", name, str.c_str()); in print()
1352 Printf("HB = %d\n %s\n %s\n", static_cast<int>(hb), in TestHappensBefore()
1362 Printf("VTS::test();\n"); in Test()
1621 Printf("%s\n", m.ToString().c_str()); in Test()
1623 Printf("%s\n", m.ToString().c_str()); in Test()
1640 Printf("XXXXX %p %p %p b-line=%ld size=%ld a-line=%ld\n", a, b, line, in Add()
1771 Printf("Segment: reused SID %d\n", sid.raw()); in AllocateFreshSegments()
[all …]
Dts_util.h41 extern void Printf(const char *format, ...);
44 Printf("Assertion failed: %s (%s:%d) %s\n", \
51 Printf("ASSERT on line %ld\n", offline_line_n); \
357 extern void Printf(const char *format, ...);
Dts_dynamorio.cc79 #define Printf dr_printf macro
111 Printf("T%d Shadow stack (%d)\n", t.tid, (int)t.shadow_stack.size()); in PrintShadowStack()
114 Printf("%s[%p]\n", g_main_module_path->c_str(), pc); in PrintShadowStack()
119 Printf(" sp=%p pc=%p\n", sp, pc); in PrintShadowStack()
128 Printf("T%d PopShadowStack\n", t.tid); in UpdateShadowStack()
142 Printf("T%d PushShadowStack %p %p %d\n", t.tid, pc, target_pc, sp); in PushShadowStack()
Dts_util.cc140 void Printf(const char *format, ...) { in Printf() function
197 Printf("%s", res.c_str()); in Report()
436 Printf("PANIC: `%s`\n", demangled.c_str()); in NormalizeFunctionName()
444 Printf("PANIC: `%s`\n", demangled.c_str()); in NormalizeFunctionName()
Dcommon_util.cc106 Printf("ERROR: can not open file %s\n", file_name.c_str()); in OpenFileReadOnly()
Dts_events.h127 Printf("T%d: %s [pc=%p; a=%p; i=%p]\n", in Print()
Dts_valgrind.cc80 Printf("%s", s); in puts()
377 Printf(" "); in ShowCallStack()
379 Printf("{pc=%p sp=%p}, ", thr->call_stack[i].pc, thr->call_stack[i].sp); in ShowCallStack()
381 Printf("\n"); in ShowCallStack()
396 Printf("T%d: [%ld]<< pc=%p sp=%p cur_sp=%p %s\n", in UpdateCallStack()
461 Printf("T%d: [%ld]>> pc=%p sp=%p %s\n", in rtn_call()
521 Printf("ThreadSanitizer WARNING: reusing TID %d w/o exiting thread\n", in evh__pre_thread_ll_create()
/external/compiler-rt/lib/asan/
Dasan_report.cc50 Printf("%s%p:", before, (void*)a); in PrintBytes()
52 Printf(" %x%x", bytes[i] >> 4, bytes[i] & 15); in PrintBytes()
54 Printf("\n"); in PrintBytes()
61 Printf("Shadow byte and word:\n"); in PrintShadowMemoryForAddress()
62 Printf(" %p: %x\n", (void*)shadow_addr, *(unsigned char*)shadow_addr); in PrintShadowMemoryForAddress()
65 Printf("More shadow bytes:\n"); in PrintShadowMemoryForAddress()
76 Printf("malloc_zone_from_ptr(%p) = %p, which is %s\n", in PrintZoneForPointer()
79 Printf("malloc_zone_from_ptr(%p) = %p, which doesn't have a name\n", in PrintZoneForPointer()
83 Printf("malloc_zone_from_ptr(%p) = 0\n", ptr); in PrintZoneForPointer()
99 Printf(" '%s' is ascii string '%s'\n", g.name, (char*)g.beg); in PrintGlobalNameIfASCII()
[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 (%zu full pages) mmaped in %zu calls\n", in Print()
52 Printf("Stats: malloc large: %zu small slow: %zu\n", in Print()
Dasan_rtl.cc258 Printf("AddressSanitizer exit stats:\n"); in asan_atexit()
322 Printf("|| `[%p, %p]` || HighMem ||\n", in __asan_init()
324 Printf("|| `[%p, %p]` || HighShadow ||\n", in __asan_init()
326 Printf("|| `[%p, %p]` || ShadowGap ||\n", in __asan_init()
328 Printf("|| `[%p, %p]` || LowShadow ||\n", in __asan_init()
330 Printf("|| `[%p, %p]` || LowMem ||\n", in __asan_init()
332 Printf("MemToShadow(shadow): %p %p %p %p\n", in __asan_init()
337 Printf("red_zone=%zu\n", (uptr)flags()->redzone); in __asan_init()
338 Printf("malloc_context_size=%zu\n", (uptr)flags()->malloc_context_size); in __asan_init()
340 Printf("SHADOW_SCALE: %zx\n", (uptr)SHADOW_SCALE); in __asan_init()
[all …]
Dasan_allocator.cc139 Printf("ASAN_MMAP: [%p, %p)\n", res, res + size); in MmapNewPagesAndPoisonShadow()
232 Printf("%p is located ", (void*)addr); in DescribeAddress()
234 Printf("%zu bytes inside of", offset); in DescribeAddress()
236 Printf("%zu bytes to the left of", offset); in DescribeAddress()
238 Printf("%zu bytes to the right of", offset); in DescribeAddress()
240 Printf(" somewhere around (this is AddressSanitizer bug!)"); in DescribeAddress()
242 Printf(" %zu-byte region [%p,%p)\n", in DescribeAddress()
404 Printf(" MallocInfo: in quarantine: %zu malloced: %zu; ", in PrintStatus()
413 Printf("%zu:%zu ", j, t >> 20); in PrintStatus()
415 Printf("\n"); in PrintStatus()
[all …]
Dasan_poisoning.cc82 Printf("Trying to poison memory region [%p, %p)\n", in __asan_poison_memory_region()
124 Printf("Trying to unpoison memory region [%p, %p)\n", in __asan_unpoison_memory_region()
Dasan_globals.cc124 Printf("DynInitPoison : %s\n", g->name); in PoisonGlobalAndRedzones()
135 Printf("DynInitUnpoison: %s\n", g->name); in UnpoisonGlobal()
/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/tsan/unit_tests/
Dtsan_printf_test.cc21 TEST(Printf, Basic) { in TEST() argument
34 TEST(Printf, OverflowStr) { in TEST() argument
48 TEST(Printf, OverflowInt) { in TEST() argument
61 TEST(Printf, OverflowUint) { in TEST() argument
74 TEST(Printf, OverflowPtr) { in TEST() argument
97 TEST(Printf, MinMax) { in TEST() argument
/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 …]
Dconsole.h65 void Printf(const char* format, ...);
Dconsole.cc123 void Console::Printf(const char* format, ...) { in Printf() function in Console
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stacktrace.cc53 Printf(" #%zu 0x%zx %s\n", frame_num, pc, in PrintStack()
63 Printf(" #%zu 0x%zx", frame_num, pc); in PrintStack()
65 Printf(" in %s", info.function); in PrintStack()
68 Printf(" %s:%d:%d", StripPathPrefix(info.file, strip_file_prefix), in PrintStack()
71 Printf(" (%s+0x%zx)", StripPathPrefix(info.module, strip_file_prefix), in PrintStack()
74 Printf("\n"); in PrintStack()
82 Printf(" #%zu 0x%zx (%s+0x%zx)\n", frame_num, pc, in PrintStack()
85 Printf(" #%zu 0x%zx\n", frame_num, pc); in PrintStack()
168 Printf("res %zu check_stack.size %zu; c_size %zu\n", res, in CompressStack()

12