/external/valgrind/main/helgrind/ |
hg_wordset.c | 285 have = VG_(lookupFM)( wsu->vec2ix, 301 VG_(addToFM)( wsu->vec2ix, (Word)wv_new, (Word)wsu->ix2vec_used ); 302 if (0) VG_(printf)("aodW %d\n", (Int)wsu->ix2vec_used ); 319 VG_(memset)( wsu, 0, sizeof(WordSetU) ); 323 wsu->vec2ix = VG_(newFM)( alloc_nofail, cc, 342 VG_(deleteFM)( wsu->vec2ix, delete_WV_for_FM, NULL/*val-finalizer*/ ); 490 VG_(printf)("{"); 492 VG_(printf)("%p", (void*)wv->words[i]); 494 VG_(printf)(","); 496 VG_(printf)("}") [all...] |
/external/valgrind/main/coregrind/m_syswrap/ |
syswrap-linux.c | 38 #include "pub_core_debuginfo.h" // VG_(di_notify_*) 39 #include "pub_core_transtab.h" // VG_(discard_translations) 68 ThreadState* tst = VG_(get_ThreadState)(tid); 70 VG_(debugLog)(1, "syswrap-linux", 77 VG_(acquire_BigLock)(tid, "thread_wrapper(starting new thread)"); 80 VG_(printf)("thread tid %d started: stack = %p\n", 85 tst->os_state.lwpid = VG_(gettid)(); 89 tst->os_state.threadgroup = VG_(getpid)(); 94 ret = VG_(scheduler)(tid); 96 vg_assert(VG_(is_exiting)(tid)) [all...] |
priv_syswrap-darwin.h | 51 void VG_(show_open_ports)(void);
|
/external/valgrind/main/memcheck/ |
mc_translate.c | 37 #include "pub_tool_machine.h" // VG_(fnptr_to_fnentry) 222 from VG_(indexXA)(mce->tmpMap) are invalidated. */ 231 newIx = VG_(addToXA)( mce->tmpMap, &ent ); 242 /* VG_(indexXA) range-checks 'orig', hence no need to check 244 ent = (TempMapEnt*)VG_(indexXA)( mce->tmpMap, (Word)orig ); 250 from VG_(indexXA) are invalid. */ 251 ent = (TempMapEnt*)VG_(indexXA)( mce->tmpMap, (Word)orig ); 272 /* VG_(indexXA) range-checks 'orig', hence no need to check 274 ent = (TempMapEnt*)VG_(indexXA)( mce->tmpMap, (Word)orig ); 280 from VG_(indexXA) are invalid. * [all...] |
mc_machine.c | 291 VG_(printf)("MC_(get_otrack_shadow_offset)(ppc64)(off=%d,sz=%d)\n", 450 VG_(printf)("MC_(get_otrack_shadow_offset)(ppc32)(off=%d,sz=%d)\n", 571 VG_(printf)("MC_(get_otrack_shadow_offset)(amd64)(off=%d,sz=%d)\n", 679 VG_(printf)("MC_(get_otrack_shadow_offset)(x86)(off=%d,sz=%d)\n", [all...] |
/external/valgrind/main/callgrind/ |
costs.c | 75 VG_(free)(cc);
|
sim.c | 185 c->line_size_bits = VG_(log2)(c->line_size); 186 c->tag_shift = c->line_size_bits + VG_(log2)(c->sets); 194 VG_(sprintf)(c->desc_line, "%d B, %d B, direct-mapped%s", 198 VG_(sprintf)(c->desc_line, "%d B, %d B, %d-way associative%s", 221 VG_(printf)("%8x ", c->tags[i]); 223 VG_(printf)("\n"); 298 VG_(printf)("addr: %lx size: %u sets: %d %d", a, size, set1, set2); 299 VG_(tool_panic)("item straddles more than two cache sets"); 404 VG_(printf)("addr: %lx size: %u sets: %d %d", a, size, set1, set2); 405 VG_(tool_panic)("item straddles more than two cache sets") [all...] |
clo.c | 282 VG_(printf)("%s", sp+40-depth); 283 if (hash >=0) VG_(printf)(" [hash %2d]", hash); 284 else if (hash == -2) VG_(printf)(" [wildc ?]"); 285 else if (hash == -3) VG_(printf)(" [wildc *]"); 286 VG_(printf)(" '%s' (len %d)\n", node->name, node->length); 371 if (VG_(strncmp)(name, n->name, n->length)==0) break; 473 UInt n = VG_(strtoll10)(arg+12, &s); 488 UInt n = VG_(strtoll10)(arg+10, &s); 497 UInt n = VG_(strtoll10)(arg+18, &s); 506 UInt n = VG_(strtoll10)(arg+15, &s) [all...] |
bbcc.c | 232 VG_(free)(current_bbccs.table); 348 p = VG_(sprintf)(mangled, "%s", cxt->fn[0]->name); 350 p += VG_(sprintf)(mangled+p, "'%d", rec_index +1); 352 p += VG_(sprintf)(mangled+p, "'%s", cxt->fn[i]->name); 570 tid = VG_(get_running_tid)(); 574 CLG_ASSERT(VG_(get_running_tid)() == CLG_(current_tid)); 577 sp = VG_(get_SP)(tid); 713 VG_(printf)("Conditional"); 715 VG_(printf)("None"); 719 VG_(printf)(" %08lx -> %08lx, SP %08lx\n" [all...] |
events.c | 208 pos += VG_(sprintf)(buf + pos, "%s", eg->name[j]); 453 pos = VG_(sprintf)(buf, "%llu", c[0]); 465 pos += VG_(sprintf)(buf+pos, "%llu", c[i]); 503 if (VG_(strcmp)(n, eg->name[j])!=0) 529 pos += VG_(sprintf)(buf + pos, "%s", eg->name[em->entry[i].index]); 544 pos = VG_(sprintf)(buf, "%llu", c[em->entry[0].offset]); 557 pos += VG_(sprintf)(buf+pos, "%llu", c[em->entry[i].offset]);
|
context.c | 127 VG_(free)(cxts.table); 226 VG_(printf)(" new_cxt ox%p: ", cxt); 310 VG_(free)(CLG_(current_fn_stack).bottom);
|
jumps.c | 123 VG_(free)(current_jccs.table); 181 VG_(printf)(" new_jcc (now %d): %p\n",
|
threads.c | 186 VG_(sprintf)(buf, "--dump-every-bb=%llu", CLG_(clo).dump_every_bb);
|
/external/valgrind/main/coregrind/ |
m_sparsewa.c | 123 // if (0) VG_(printf)("PUSH, old sp = %d\n", sp); 138 // if (0) VG_(printf)("POP, old sp = %d\n", sp+1); 152 VG_(memset)(levelN, 0, sizeof(*levelN)); 161 VG_(memset)(level0, 0, sizeof(*level0)); 169 void VG_(initIterSWA) ( SparseWA* swa ) 176 Bool VG_(nextIterSWA)( SparseWA* swa, 234 SparseWA* VG_(newSWA) ( void*(*alloc_nofail)(HChar* cc, SizeT), 243 VG_(memset)(swa, 0, sizeof(*swa)); 268 void VG_(deleteSWA) ( SparseWA* swa ) 276 Bool VG_(lookupSWA) ( SparseWA* swa [all...] |
pub_core_initimg.h | 53 IIFinaliseImageInfo VG_(ii_create_image)( IICreateImageInfo ); 59 VG_(ii_create_image). */ 61 void VG_(ii_finalise_image)( IIFinaliseImageInfo ); 99 /* NOTE: VG_(ppc32/64_aix5_do_preloads_then_start_client) has 160 to it are set up by VG_(ii_create_image). */
|
m_vki.c | 61 requirement bites us is in the VG_(sigfillset) etc functions in 64 void VG_(vki_do_initial_consistency_checks) ( void )
|
m_debuglog.c | 735 VG_(debugLog_vprintf) ( 896 // if (VG_(get_fnname_w_offset)(a, cp, sizeof(buf)-4)) { 898 // cp += VG_(strlen)(cp); 925 void VG_(debugLog_startup) ( Int level, HChar* who ) 930 VG_(debugLog)(1, "debuglog", 937 VG_(debugLog_startup), or zero if there have been no such calls so 940 Int VG_(debugLog_getLevel) ( void ) 971 void VG_(debugLog) ( Int level, const HChar* modulename, 1006 ret = VG_(debugLog_vprintf) ( add_to_buf, &buf, format, vargs );
|
/external/valgrind/main/drd/tests/ |
unit_bitmap.c | 25 void* VG_(malloc)(HChar* cc, SizeT nbytes) 27 void VG_(free)(void* p) 29 void VG_(assert_fail)(Bool isCore, const Char* assertion, const Char* file, 45 void* VG_(memset)(void *s, Int c, SizeT sz) 47 void* VG_(memcpy)(void *d, const void *s, SizeT sz) 49 Int VG_(memcmp)(const void* s1, const void* s2, SizeT n) 51 UInt VG_(printf)(const HChar *format, ...) 53 UInt VG_(message)(VgMsgKind kind, const HChar* format, ...) 98 VG_(printf)("Bitmaps are different.\n"); 153 VG_(printf)("Deleting bitmap bm\n") [all...] |
/external/valgrind/tsan/ |
ts_util.cc | 58 return VG_(read_millisecond_timer)(); 80 if (VG_(get_datasym_and_offset)(addr, reinterpret_cast<Char*>(buff), 144 VG_(vprintf)(format, args); 203 return VG_(strtoll16)((Char*)str, (Char**)end); 205 return VG_(strtoll10)((Char*)str, (Char**)end); 453 SysRes sres = VG_(open)((const Char*)file_name.c_str(),
|
common_util.cc | 99 SysRes sres = VG_(open)((const Char*)file_name.c_str(), VKI_O_RDONLY, 0);
|
/external/valgrind/main/drd/ |
drd_bitmap.h | 511 bm2 = VG_(OSetGen_Lookup)(bm->oset, &a1); 536 bm2 = VG_(OSetGen_Lookup)(bm->oset, &a1); 549 VG_(memset)(&bm2->bm1, 0, sizeof(bm2->bm1)); 571 bm2 = VG_(OSetGen_AllocNode)(bm->oset, sizeof(*bm2)); 573 VG_(OSetGen_Insert)(bm->oset, bm2); 587 VG_(memcpy)(&bm2_copy->bm1, &bm2->bm1, sizeof(bm2->bm1)); 617 bm2 = VG_(OSetGen_Lookup)(bm->oset, &a1); 651 bm2 = VG_(OSetGen_Remove)(bm->oset, &a1); 652 VG_(OSetGen_FreeNode)(bm->oset, bm2);
|
/external/valgrind/main/cachegrind/ |
cg_branchpred.c | 104 if (0) VG_(printf)("index = %d\n", (Int)indx);
|
/external/valgrind/main/include/ |
pub_tool_basics.h | 60 // VG_ is for symbols exported from modules. ML_ (module-local) is 65 // Likewise it is a mistake for a VG_ name to appear in a priv_*.h 70 #define VG_(str) VGAPPEND(vgPlain_, str) 138 /* ThreadIds are simply indices into the VG_(threads)[] array. */
|
/external/valgrind/main/coregrind/m_debuginfo/ |
priv_storage.h | 362 the global VG_(clo_blah) flags. */ 372 VG_(di_notify_mmap) and its immediate helpers. */ 432 The caching of DiCfSI searches is done in VG_(use_CF_info). The 762 if (di->trace_symtab) { VG_(printf)(format, ## args); }
|
/external/valgrind/main/exp-ptrcheck/tests/ |
hackedbz2.c | 1253 if (VG_(get_fnname_w_offset)(a, cp, sizeof(buf)-4)) { 1255 cp += VG_(strlen)(cp); [all...] |