Lines Matching refs:HChar
232 HChar* from_sopatt; /* from soname pattern */
233 HChar* from_fnpatt; /* from fnname pattern */
242 const HChar** mandatory; /* non-NULL ==> abort V and print the
305 static void* dinfo_zalloc(const HChar* ec, SizeT);
307 static HChar* dinfo_strdup(const HChar* ec, const HChar*);
310 static void show_redir_state ( const HChar* who );
311 static void show_active ( const HChar* left, const Active* act );
313 static void handle_maybe_load_notifier( const HChar* soname,
314 const HChar* symbol, Addr addr );
337 static const HChar** alloc_symname_array ( const HChar* pri_name, in alloc_symname_array()
338 const HChar** sec_names, in alloc_symname_array()
339 const HChar** twoslots ) in alloc_symname_array()
350 const HChar** pp = sec_names; in alloc_symname_array()
353 const HChar** arr = dinfo_zalloc("redir.asa.1", (n_req+1) * sizeof(HChar*)); in alloc_symname_array()
365 static void free_symname_array ( const HChar** names, const HChar** twoslots ) in free_symname_array()
371 static HChar const* advance_to_equal ( HChar const* c ) { in advance_to_equal()
377 static HChar const* advance_to_comma ( HChar const* c ) { in advance_to_comma()
397 const HChar* sym_name_pri; in VG_()
398 const HChar** sym_names_sec; in VG_()
400 const HChar* demangled_sopatt; in VG_()
401 const HChar* demangled_fnpatt; in VG_()
404 const HChar* newdi_soname; in VG_()
406 const HChar* const pthread_soname = "libpthread.so.0"; in VG_()
407 const HChar* const pthread_stack_cache_actsize_varname in VG_()
411 const HChar* const vg_preload_core_soname = "vgpreload_core.so.0"; in VG_()
412 const HChar* const vg_vfork_fildes_varname = "vg_vfork_fildes"; in VG_()
448 const HChar* newdi_filename = VG_(DebugInfo_get_filename)(newdi); in VG_()
449 const HChar* newdi_basename = VG_(basename) (newdi_filename); in VG_()
463 HChar in_vglib_filename[VG_(strlen)(VG_(libdir)) + 1 + in VG_()
523 const HChar* twoslots[2]; in VG_()
524 const HChar** names_init = in VG_()
526 const HChar** names; in VG_()
575 HChar *replaced_sopatt = NULL; in VG_()
588 HChar const* last = VG_(clo_soname_synonyms); in VG_()
591 HChar const* first = last; in VG_()
657 const HChar* twoslots[2]; in VG_()
658 const HChar** names_init = in VG_()
660 const HChar** names; in VG_()
792 const HChar* sym_name_pri; in generate_and_add_actives()
793 const HChar** sym_names_sec; in generate_and_add_actives()
817 const HChar* twoslots[2]; in generate_and_add_actives()
818 const HChar** names_init = in generate_and_add_actives()
820 const HChar** names; in generate_and_add_actives()
871 const HChar** strp; in generate_and_add_actives()
872 const HChar* v = "valgrind: "; in generate_and_add_actives()
917 const HChar* what = NULL; in maybe_add_active()
1200 static void add_hardwired_spec (const HChar* sopatt, const HChar* fnpatt, in add_hardwired_spec()
1202 const HChar** mandatory ) in add_hardwired_spec()
1219 spec->from_sopatt = CONST_CAST(HChar *,sopatt); in add_hardwired_spec()
1220 spec->from_fnpatt = CONST_CAST(HChar *,fnpatt); in add_hardwired_spec()
1234 static const HChar* complain_about_stripped_glibc_ldso[]
1273 const HChar** mandatory; in VG_()
1581 static void* dinfo_zalloc(const HChar* ec, SizeT n) { in dinfo_zalloc()
1594 static HChar* dinfo_strdup(const HChar* ec, const HChar* str) in dinfo_strdup()
1616 void handle_maybe_load_notifier( const HChar* soname, in handle_maybe_load_notifier()
1617 const HChar* symbol, Addr addr ) in handle_maybe_load_notifier()
1667 VG_(free), sizeof(HChar*) ); in handle_require_text_symbols()
1670 const HChar* di_soname = VG_(DebugInfo_get_soname)(di); in handle_require_text_symbols()
1674 const HChar* clo_spec = *(HChar**) VG_(indexXA)(VG_(clo_req_tsyms), i); in handle_require_text_symbols()
1677 HChar *spec = VG_(strdup)("m_redir.hrts.1", clo_spec); in handle_require_text_symbols()
1678 HChar sep = spec[0]; in handle_require_text_symbols()
1679 HChar* sopatt = &spec[1]; in handle_require_text_symbols()
1680 HChar* fnpatt = VG_(strchr)(sopatt, sep); in handle_require_text_symbols()
1687 HChar *pattern = VG_(strdup)("m_redir.hrts.2", fnpatt); in handle_require_text_symbols()
1707 *(HChar**) VG_(indexXA)(fnpatts, i)); in handle_require_text_symbols()
1714 const HChar* fnpatt = *(HChar**) VG_(indexXA)(fnpatts, i); in handle_require_text_symbols()
1718 const HChar* sym_name_pri = NULL; in handle_require_text_symbols()
1719 const HChar** sym_names_sec = NULL; in handle_require_text_symbols()
1723 const HChar* twoslots[2]; in handle_require_text_symbols()
1724 const HChar** names_init = in handle_require_text_symbols()
1726 const HChar** names; in handle_require_text_symbols()
1744 const HChar* v = "valgrind: "; in handle_require_text_symbols()
1773 static void show_spec ( const HChar* left, const Spec* spec ) in show_spec()
1784 static void show_active ( const HChar* left, const Active* act ) in show_active()
1787 const HChar *buf; in show_active()
1792 HChar name1[VG_(strlen)(buf) + 1]; in show_active()
1795 const HChar *name2; in show_active()
1807 static void show_redir_state ( const HChar* who ) in show_redir_state()