/external/valgrind/include/ |
D | pub_tool_libcbase.h | 40 extern Bool VG_(isspace) ( HChar c ); 41 extern Bool VG_(isdigit) ( HChar c ); 42 extern HChar VG_(tolower) ( HChar c ); 61 extern Long VG_(strtoll10) ( const HChar* str, HChar** endptr ); 62 extern Long VG_(strtoll16) ( const HChar* str, HChar** endptr ); 63 extern ULong VG_(strtoull10) ( const HChar* str, HChar** endptr ); 64 extern ULong VG_(strtoull16) ( const HChar* str, HChar** endptr ); 70 extern double VG_(strtod) ( const HChar* str, HChar** endptr ); 82 extern SizeT VG_(strlen) ( const HChar* str ); 83 extern HChar* VG_(strcat) ( HChar* dest, const HChar* src ); [all …]
|
D | pub_tool_libcprint.h | 52 extern UInt VG_(sprintf) ( HChar* buf, const HChar* format, ... ) 55 extern UInt VG_(vsprintf) ( HChar* buf, const HChar* format, va_list vargs ) 58 extern UInt VG_(snprintf) ( HChar* buf, Int size, 59 const HChar *format, ... ) 62 extern UInt VG_(vsnprintf)( HChar* buf, Int size, 63 const HChar *format, va_list vargs ) 93 extern UInt VG_(printf) ( const HChar *format, ... ) 95 extern UInt VG_(vprintf) ( const HChar *format, va_list vargs ) 98 extern UInt VG_(printf_xml) ( const HChar *format, ... ) 101 extern UInt VG_(vprintf_xml) ( const HChar *format, va_list vargs ) [all …]
|
D | pub_tool_libcfile.h | 74 extern SysRes VG_(mknod) ( const HChar* pathname, Int mode, UWord dev ); 75 extern SysRes VG_(open) ( const HChar* pathname, Int flags, Int mode ); 78 extern Int VG_(fd_open) (const HChar* pathname, Int flags, Int mode); 85 extern SysRes VG_(stat) ( const HChar* file_name, struct vg_stat* buf ); 89 extern Int VG_(rename) ( const HChar* old_name, const HChar* new_name ); 90 extern Int VG_(unlink) ( const HChar* file_name ); 94 extern SSizeT VG_(readlink)( const HChar* path, HChar* buf, SizeT bufsiz); 100 extern const HChar* VG_(basename)( const HChar* path ); 101 extern const HChar* VG_(dirname) ( const HChar* path ); 104 extern const HChar* VG_(tmpdir)(void); [all …]
|
D | pub_tool_debuginfo.h | 47 extern Bool VG_(get_filename) ( Addr a, const HChar** filename ); 48 extern Bool VG_(get_fnname) ( Addr a, const HChar** fnname ); 51 ( Addr a, const HChar** fnname ); 69 /*OUT*/const HChar** filename, 70 /*OUT*/const HChar** dirname, 80 extern Bool VG_(get_fnname_if_entry) ( Addr a, const HChar** fnname ); 90 extern Vg_FnNameKind VG_(get_fnname_kind) ( const HChar* name ); 100 /*OUT*/const HChar** dname, 124 extern Bool VG_(get_objname) ( Addr a, const HChar** objname ); 153 extern const HChar* VG_(describe_IP)(Addr eip, const InlIPCursor* iipc); [all …]
|
D | pub_tool_libcproc.h | 42 extern HChar** VG_(client_envp); 45 extern HChar* VG_(getenv) ( const HChar* name ); 48 extern const HChar *VG_(libdir); 52 extern const HChar* VG_(LD_PRELOAD_var_name); 58 extern void VG_(client_fname)(HChar *buffer, SizeT buf_size, 64 extern void VG_(client_cmd_and_args)(HChar *buffer, SizeT buf_size); 71 extern Int VG_(system) ( const HChar* cmd ); 72 extern Int VG_(spawn) ( const HChar *filename, const HChar **argv ); 74 extern void VG_(execv) ( const HChar* filename, const HChar** argv );
|
/external/valgrind/coregrind/ |
D | m_libcbase.c | 48 static void ML_(libcbase_assert_fail)( const HChar *expr, 49 const HChar *file, 51 const HChar *fn ) 66 Bool VG_(isspace) ( HChar c ) in VG_() 72 Bool VG_(isdigit) ( HChar c ) in VG_() 81 static Bool is_dec_digit(HChar c, Long* digit) in is_dec_digit() 87 static Bool is_hex_digit(HChar c, Long* digit) in is_hex_digit() 95 Long VG_(strtoll10) ( const HChar* str, HChar** endptr ) in VG_() 99 const HChar* str0 = str; in VG_() 117 *endptr = CONST_CAST(HChar *,str); // Record first failing character. in VG_() [all …]
|
D | m_options.c | 53 HChar *VG_(clo_error_markers)[2] = {NULL, NULL}; 66 const HChar *VG_(clo_vgdb_prefix) = NULL; 67 const HChar *VG_(arg_vgdb_prefix) = NULL; 75 const HChar* VG_(clo_xml_user_comment) = NULL; 77 const HChar* VG_(clo_soname_synonyms) = NULL; 79 const HChar* VG_(clo_trace_children_skip) = NULL; 80 const HChar* VG_(clo_trace_children_skip_by_arg) = NULL; 82 const HChar* VG_(clo_log_fname_expanded) = NULL; 83 const HChar* VG_(clo_xml_fname_expanded) = NULL; 89 const HChar* VG_(clo_extra_debuginfo_path) = NULL; [all …]
|
D | m_redir.c | 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() [all …]
|
D | m_libcprint.c | 62 void send_bytes_to_logging_sink ( OutputSink* sink, const HChar* msg, Int nbytes ) in send_bytes_to_logging_sink() 95 HChar buf[512]; 103 static void add_to__printf_buf ( HChar c, void *p ) in add_to__printf_buf() 117 const HChar *format, va_list vargs ) in vprintf_to_buf() 128 const HChar *format, va_list vargs ) in vprintf_WRK() 143 UInt VG_(vprintf) ( const HChar *format, va_list vargs ) in VG_() 148 UInt VG_(printf) ( const HChar *format, ... ) in VG_() 158 UInt VG_(vprintf_xml) ( const HChar *format, va_list vargs ) in VG_() 163 UInt VG_(printf_xml) ( const HChar *format, ... ) in VG_() 173 static UInt emit_WRK ( const HChar* format, va_list vargs ) in emit_WRK() [all …]
|
D | m_commandline.c | 46 static void add_string ( XArray* /* of HChar* */xa, HChar* str ) in add_string() 56 static HChar* read_dot_valgrindrc ( const HChar* dir ) in read_dot_valgrindrc() 61 HChar* f_clo = NULL; in read_dot_valgrindrc() 62 const HChar dot_valgrindrc[] = ".valgrindrc"; in read_dot_valgrindrc() 66 HChar filename[VG_(strlen)(dir) + 1 + VG_(strlen)(dot_valgrindrc) + 1]; in read_dot_valgrindrc() 97 static void add_args_from_string ( HChar* s ) in add_args_from_string() 99 HChar* tmp; in add_args_from_string() 100 HChar* cp = s; in add_args_from_string() 155 void VG_(split_up_argv)( Int argc, HChar** argv ) in VG_() 169 VG_(free), sizeof(HChar*) ); in VG_() [all …]
|
D | m_libcproc.c | 64 HChar** VG_(client_envp) = NULL; 67 const HChar *VG_(libdir) = VG_LIBDIR; 69 const HChar *VG_(LD_PRELOAD_var_name) = 80 HChar *VG_(getenv)(const HChar *varname) in VG_() 86 HChar* s = VG_(client_envp)[i]; in VG_() 95 void VG_(env_unsetenv) ( HChar **env, const HChar *varname, in VG_() 98 HChar **from, **to; in VG_() 116 HChar **VG_(env_setenv) ( HChar ***envp, const HChar* varname, in VG_() 117 const HChar *val ) in VG_() 119 HChar **env = (*envp); in VG_() [all …]
|
D | pub_core_trampoline.h | 165 extern SizeT VG_(x86_solaris_REDIR_FOR_strcmp)(const HChar *, const HChar *); 166 extern SizeT VG_(x86_solaris_REDIR_FOR_strlen)(const HChar *); 170 extern HChar *VG_(amd64_solaris_REDIR_FOR_strcpy)(HChar *, const HChar *); 171 extern HChar *VG_(amd64_solaris_REDIR_FOR_strncpy)(HChar *, const HChar *, 173 extern Int VG_(amd64_solaris_REDIR_FOR_strcmp)(const HChar *, const HChar *); 174 extern HChar *VG_(amd64_solaris_REDIR_FOR_strcat)(HChar *, const HChar *); 175 extern SizeT VG_(amd64_solaris_REDIR_FOR_strlen)(const HChar *);
|
D | m_seqmatch.c | 68 const HChar *currPatt, *currInput; in VG_() 84 currPatt = havePatt ? ((const HChar*)patt) + szbPatt * ixPatt : NULL; in VG_() 86 ((const HChar*)input) + szbInput * ixInput : NULL; in VG_() 170 static Bool charIsStar ( const void* pV ) { return *(const HChar*)pV == '*'; } in charIsStar() 171 static Bool charIsQuery ( const void* pV ) { return *(const HChar*)pV == '?'; } in charIsQuery() 174 HChar p = *(const HChar*)pV; in char_p_EQ_i() 175 HChar c = *(const HChar*)cV; in char_p_EQ_i() 179 Bool VG_(string_match) ( const HChar* patt, const HChar* input ) in VG_() 183 patt, sizeof(HChar), VG_(strlen)(patt), 0, in VG_() 184 input, sizeof(HChar), VG_(strlen)(input), 0, in VG_()
|
D | pub_core_initimg.h | 75 const HChar* toolname; 79 HChar** argv; 80 HChar** envp; 99 const HChar* toolname; 103 HChar** argv; 104 HChar** envp; 111 HChar* executable_path; /* path passed to execve() */ 128 const HChar* toolname; 132 HChar** argv; 133 HChar** envp;
|
D | pub_core_libcproc.h | 72 extern HChar **VG_(env_setenv) ( HChar ***envp, const HChar* varname, 73 const HChar *val ); 74 extern void VG_(env_unsetenv) ( HChar **env, const HChar *varname, 76 extern void VG_(env_remove_valgrind_env_stuff) ( HChar** env, 79 extern HChar **VG_(env_clone) ( HChar **env_clone );
|
/external/valgrind/VEX/priv/ |
D | s390_disasm.c | 42 static const HChar * 43 mnemonic(const HChar *mnm) in mnemonic() 47 static HChar buf[S390_MAX_MNEMONIC_LEN + 1]; in mnemonic() 56 static const HChar * 59 static const HChar names[16][5] = { in gpr_operand() 73 static const HChar * 76 static const HChar names[16][5] = { in fpr_operand() 90 static const HChar * 93 static const HChar names[16][5] = { in ar_operand() 109 static const HChar * [all …]
|
D | main_util.h | 66 extern void vex_assert_fail ( const HChar* expr, const HChar* file, 67 Int line, const HChar* fn ); 69 extern void vpanic ( const HChar* str ); 72 extern void vfatal ( const HChar* format, ... ); 78 extern UInt vex_printf ( const HChar *format, ... ); 81 extern UInt vex_sprintf ( HChar* buf, const HChar *format, ... ); 86 extern Bool vex_streq ( const HChar* s1, const HChar* s2 ); 87 extern SizeT vex_strlen ( const HChar* str ); 116 extern HChar* private_LibVEX_alloc_first; 117 extern HChar* private_LibVEX_alloc_curr; [all …]
|
D | main_util.c | 57 static HChar temporary[N_TEMPORARY_BYTES] __attribute__((aligned(REQ_ALIGN))); 58 static HChar* temporary_first = &temporary[0]; 59 static HChar* temporary_curr = &temporary[0]; 60 static HChar* temporary_last = &temporary[N_TEMPORARY_BYTES-1]; 66 static HChar permanent[N_PERMANENT_BYTES] __attribute__((aligned(REQ_ALIGN))); 67 static HChar* permanent_first = &permanent[0]; 68 static HChar* permanent_curr = &permanent[0]; 69 static HChar* permanent_last = &permanent[N_PERMANENT_BYTES-1]; 71 HChar* private_LibVEX_alloc_first = &temporary[0]; 72 HChar* private_LibVEX_alloc_curr = &temporary[0]; [all …]
|
/external/valgrind/coregrind/m_initimg/ |
D | initimg-darwin.c | 64 const HChar* exe_name; in load_client() 116 static HChar** setup_client_env ( HChar** origenv, const HChar* toolname) in setup_client_env() 118 const HChar* preload_core = "vgpreload_core"; in setup_client_env() 119 const HChar* ld_preload = "DYLD_INSERT_LIBRARIES="; in setup_client_env() 120 const HChar* dyld_cache = "DYLD_SHARED_REGION="; in setup_client_env() 121 const HChar* dyld_cache_value= "avoid"; in setup_client_env() 122 const HChar* v_launcher = VALGRIND_LAUNCHER "="; in setup_client_env() 130 HChar** cpp; in setup_client_env() 131 HChar** ret; in setup_client_env() 132 HChar* preload_tool_path; in setup_client_env() [all …]
|
D | initimg-pathscan.c | 55 static Bool scan_colsep(HChar *colsep, Bool (*func)(const HChar *)) in scan_colsep() argument 57 HChar *cp, *entry; in scan_colsep() 70 HChar save = *cp; in scan_colsep() 87 static const HChar *executable_name_in; 88 static HChar *executable_name_out; 90 static Bool match_executable(const HChar *entry) in match_executable() 96 HChar buf[VG_(strlen)(entry) + 1 + VG_(strlen)(executable_name_in) + 1]; in match_executable() 122 const HChar* ML_(find_executable) ( const HChar* exec ) in ML_() 135 HChar* path = VG_(getenv)("PATH"); in ML_()
|
D | initimg-solaris.c | 66 /*OUT*/HChar *out_exe_name, SizeT out_exe_name_size) in load_client() 68 const HChar *exe_name; in load_client() 135 static HChar **setup_client_env(HChar **origenv, const HChar *toolname) in setup_client_env() 137 const HChar *ld_preload = "LD_PRELOAD="; in setup_client_env() 142 HChar **cpp; in setup_client_env() 143 HChar **ret; in setup_client_env() 144 HChar *preload_tool_path; in setup_client_env() 161 HChar *preload_string = VG_(malloc)("initimg-solaris.sce.1", in setup_client_env() 196 ret = VG_(malloc)("initimg-solaris.sce.3", sizeof(HChar*) * (envc + 1 + 1)); in setup_client_env() 213 HChar *cp = VG_(malloc)("initimg-solaris.sce.4", size); in setup_client_env() [all …]
|
/external/valgrind/coregrind/m_aspacemgr/ |
D | priv_aspacemgr.h | 71 extern void ML_(am_barf) ( const HChar* what ); 73 extern void ML_(am_barf_toolow) ( const HChar* what ); 76 extern void ML_(am_assert_fail) ( const HChar* expr, 77 const HChar* file, 79 const HChar* fn ); 91 extern UInt ML_(am_sprintf) ( HChar* buf, const HChar *format, ... ); 112 extern SysRes ML_(am_open) ( const HChar* pathname, Int flags, Int mode ); 115 extern Int ML_(am_readlink) ( const HChar* path, HChar* buf, UInt bufsiz ); 126 Bool ML_(am_resolve_filename) ( Int fd, /*OUT*/HChar* buf, Int nbuf ); 136 void ML_(am_show_segnames)(Int logLevel, const HChar *prefix); [all …]
|
/external/valgrind/callgrind/ |
D | events.h | 51 const HChar* name[0]; 55 EventGroup* CLG_(register_event_group) (int id, const HChar*); 56 EventGroup* CLG_(register_event_group2)(int id, const HChar*, const HChar*); 57 EventGroup* CLG_(register_event_group3)(int id, const HChar*, const HChar*, 58 const HChar*); 59 EventGroup* CLG_(register_event_group4)(int id, const HChar*, const HChar*, 60 const HChar*, const HChar*); 123 void CLG_(append_event)(EventMapping*, const HChar*); 127 HChar *CLG_(eventmapping_as_string)(const EventMapping*); 131 HChar *CLG_(mappingcost_as_string)(const EventMapping*, const ULong*);
|
/external/valgrind/exp-sgcheck/ |
D | pc_common.h | 41 HChar* expect, HChar* actual, HChar* delta ); 45 void h_record_arith_error( Seg* seg1, Seg* seg2, HChar* opname ); 47 void h_record_sysparam_error( ThreadId tid, CorePart part, const HChar* s, 54 Bool pc_is_recognised_suppression ( const HChar* name, Supp *su ); 55 Bool pc_read_extra_suppression_info ( Int fd, HChar** bufpp, 58 const HChar* pc_get_error_name ( const Error* err ); 60 /*OUT*/HChar* buf, Int nBuf ); 62 /*OUT*/HChar* buf, Int nBuf ); 69 Bool pc_process_cmd_line_options(const HChar* arg);
|
/external/valgrind/exp-sgcheck/tests/ |
D | bad_percentify.c | 15 typedef char HChar; typedef 33 void(*send)(HChar,void*), 35 const HChar* format, 51 void send_bytes_to_logging_sink ( OutputSink* sink, HChar* msg, Int nbytes ) in send_bytes_to_logging_sink() 62 HChar buf[512]; 70 static void add_to__printf_buf ( HChar c, void *p ) in add_to__printf_buf() 85 const HChar *format, va_list vargs ) in vprintf_to_buf() 97 const HChar *format, va_list vargs ) in vprintf_WRK() 113 UInt VG_(vprintf) ( const HChar *format, va_list vargs ) in VG_() 119 UInt VG_(printf) ( const HChar *format, ... ) in VG_() [all …]
|