Home
last modified time | relevance | path

Searched refs:ML_ (Results 1 – 25 of 81) sorted by relevance

1234

/external/valgrind/main/coregrind/m_debuginfo/
Dpriv_image.h62 DiImage* ML_(img_from_local_file)(const HChar* fullpath);
71 DiImage* ML_(img_from_di_server)(const HChar* filename,
75 void ML_(img_done)(DiImage*);
78 DiOffT ML_(img_size)(DiImage* img);
81 Bool ML_(img_valid)(DiImage* img, DiOffT offset, SizeT size);
85 void ML_(img_get)(/*OUT*/void* dst,
96 SizeT ML_(img_get_some)(/*OUT*/void* dst,
102 HChar* ML_(img_strdup)(DiImage* img, const HChar* cc, DiOffT offset);
106 Int ML_(img_strcmp)(DiImage* img, DiOffT off1, DiOffT off2);
110 Int ML_(img_strcmp_c)(DiImage* img, DiOffT off1, const HChar* str2);
[all …]
Dpriv_misc.h42 void* ML_(dinfo_zalloc)( const HChar* cc, SizeT szB );
43 void ML_(dinfo_free)( void* v );
44 HChar* ML_(dinfo_strdup)( const HChar* cc, const HChar* str );
45 void* ML_(dinfo_memdup)( const HChar* cc, void* str, SizeT nStr );
48 Short ML_(read_Short)( UChar* data );
49 Int ML_(read_Int)( UChar* data );
50 Long ML_(read_Long)( UChar* data );
51 UShort ML_(read_UShort)( UChar* data );
52 UWord ML_(read_UWord)( UChar* data );
53 UInt ML_(read_UInt)( UChar* data );
[all …]
Dreaddwarf.c81 ML_(dinfo_free)(wa->tab); in free_WordArray()
103 new_tab = ML_(dinfo_zalloc)("di.aWA.1", new_size * sizeof(Word)); in addto_WordArray()
109 ML_(dinfo_free)(wa->tab); in addto_WordArray()
221 byte = ML_(cur_step_UChar)(data); in step_leb128()
262 UInt w32 = ML_(cur_step_UInt)(p_img); in step_initial_length_field()
265 return ML_(cur_step_ULong)(p_img); in step_initial_length_field()
339 UChar op_code = ML_(cur_step_UChar)(data); in process_extended_line_op()
358 ML_(addLineInfo) ( in process_extended_line_op()
376 Addr adr = ML_(cur_step_Addr)(data); in process_extended_line_op()
385 HChar* name = ML_(cur_step_strdup)(data, "di.pelo.1"); in process_extended_line_op()
[all …]
Dreadmacho.c99 Bool ML_(is_macho_object_file)( const void* buf, SizeT szB ) in ML_() function
136 if (ML_(sli_is_valid)(*sli)) { in unmap_image()
137 ML_(img_done)(sli->img); in unmap_image()
154 DiImage* mimg = ML_(img_from_local_file)(filename); in map_image_aboard()
172 sli = ML_(sli_from_img)(mimg); in map_image_aboard()
176 if (ML_(img_size)(sli.img) < sizeof(struct fat_header)) { in map_image_aboard()
177 ML_(symerr)(di, True, "Invalid Mach-O file (0 too small)."); in map_image_aboard()
182 ML_(img_get)(&fh_be, sli.img, fh_be_ioff, sizeof(fh_be)); in map_image_aboard()
188 if (ML_(img_size)(sli.img) < sizeof(struct fat_header) in map_image_aboard()
190 ML_(symerr)(di, True, "Invalid Mach-O file (1 too small)."); in map_image_aboard()
[all …]
Dmisc.c45 void* ML_(dinfo_zalloc) ( const HChar* cc, SizeT szB ) { in ML_() function
54 void ML_(dinfo_free) ( void* v ) { in ML_() function
58 HChar* ML_(dinfo_strdup) ( const HChar* cc, const HChar* str ) { in ML_() function
62 void* ML_(dinfo_memdup) ( const HChar* cc, void* str, SizeT nStr ) { in ML_() function
75 Short ML_(read_Short)( UChar* data ) { in ML_() function
87 Int ML_(read_Int) ( UChar* data ) { in ML_() function
103 Long ML_(read_Long) ( UChar* data ) { in ML_() function
127 UShort ML_(read_UShort) ( UChar* data ) { in ML_() function
139 UChar *ML_(write_UShort) ( UChar* ptr, UShort val ) { in ML_() function
150 UWord ML_(read_UWord) ( UChar* data ) { in ML_() function
[all …]
Dreadelf.c112 Bool ML_(is_elf_object_file)( void* image, SizeT n_image, Bool rel_ok ) in ML_() function
148 if (!ML_(img_valid)(img, 0, sizeof(ehdr))) in is_elf_object_file_by_DiImage()
151 ML_(img_get)(&ehdr, img, 0, sizeof(ehdr)); in is_elf_object_file_by_DiImage()
152 return ML_(is_elf_object_file)( &ehdr, sizeof(ehdr), rel_ok ); in is_elf_object_file_by_DiImage()
187 sym_name = ML_(img_strdup)(strtab_img, "di.sres.1", sym_name_ioff); in show_raw_elf_symbol()
192 ML_(dinfo_free)(sym_name); in show_raw_elf_symbol()
399 ML_(img_get_UChar)(escn_strtab->img, sym_name_ioff) == '\0') { in get_elf_symbol_info()
401 HChar* sym_name = ML_(img_strdup)(escn_strtab->img, in get_elf_symbol_info()
404 if (sym_name) ML_(dinfo_free)(sym_name); in get_elf_symbol_info()
427 HChar* sym_name = ML_(img_strdup)(escn_strtab->img, in get_elf_symbol_info()
[all …]
Dpriv_tytypes.h148 Bool ML_(TyEnt__is_type)( TyEnt* );
151 void ML_(pp_TyEnt)( TyEnt* );
154 void ML_(pp_TyEnts)( XArray* tyents, const HChar* who );
157 void ML_(pp_TyEnt_C_ishly)( XArray* /* of TyEnt */ tyents,
162 Word ML_(TyEnt__cmp_by_cuOff_only) ( const TyEnt* te1, const TyEnt* te2 );
166 Word ML_(TyEnt__cmp_by_all_except_cuOff) ( const TyEnt* te1, const TyEnt* te2 );
171 void ML_(TyEnt__make_EMPTY) ( TyEnt* te );
176 MaybeULong ML_(sizeOfType)( XArray* /* of TyEnt */ tyents,
181 XArray* /*UChar*/ ML_(describe_type)( /*OUT*/PtrdiffT* residual_offset,
210 void ML_(TyEntIndexCache__invalidate) ( TyEntIndexCache* cache );
[all …]
Dpriv_storage.h402 extern Int ML_(CfiExpr_Undef) ( XArray* dst );
403 extern Int ML_(CfiExpr_Deref) ( XArray* dst, Int ixAddr );
404 extern Int ML_(CfiExpr_Const) ( XArray* dst, UWord con );
405 extern Int ML_(CfiExpr_Unop) ( XArray* dst, CfiUnop op, Int ix );
406 extern Int ML_(CfiExpr_Binop) ( XArray* dst, CfiBinop op, Int ixL, Int ixR );
407 extern Int ML_(CfiExpr_CfiReg)( XArray* dst, CfiReg reg );
408 extern Int ML_(CfiExpr_DwReg) ( XArray* dst, Int reg );
410 extern void ML_(ppCfiExpr)( XArray* src, Int ix );
458 ML_(cmp_for_DiAddrRange_range) ( const void* keyV, const void* elemV );
871 extern void ML_(addSym) ( struct _DebugInfo* di, DiSym* sym );
[all …]
Dd3basics.c53 const HChar* ML_(pp_DW_children) ( DW_children hashch ) in ML_() function
62 const HChar* ML_(pp_DW_TAG) ( DW_TAG tag ) in ML_() function
157 const HChar* ML_(pp_DW_FORM) ( DW_FORM form ) in ML_() function
191 const HChar* ML_(pp_DW_AT) ( DW_AT attr ) in ML_() function
474 GXResult ML_(evaluate_Dwarf3_Expr) ( UChar* expr, UWord exprszB, in ML_() function
573 a1 = ML_(read_Addr)(expr); in ML_()
587 fbval = ML_(evaluate_GX)(fbGX, NULL, regs, di); in ML_()
675 uw1 = ML_(read_UWord)((void *)uw1); in ML_()
688 case 1: uw1 = ML_(read_UChar)((void*)uw1); break; in ML_()
689 case 2: uw1 = ML_(read_UShort)((void*)uw1); break; in ML_()
[all …]
/external/valgrind/main/coregrind/m_syswrap/
Dsyscall-amd64-darwin.S197 .globl ML_(do_syscall_for_client_unix_WRK)
198 ML_(do_syscall_for_client_unix_WRK):
201 .globl ML_(do_syscall_for_client_mach_WRK)
202 ML_(do_syscall_for_client_mach_WRK):
205 .globl ML_(do_syscall_for_client_mdep_WRK)
206 ML_(do_syscall_for_client_mdep_WRK):
219 .globl ML_(blksys_setup_MACH)
220 .globl ML_(blksys_restart_MACH)
221 .globl ML_(blksys_complete_MACH)
222 .globl ML_(blksys_committed_MACH)
[all …]
Dsyscall-x86-darwin.S195 .globl ML_(do_syscall_for_client_unix_WRK)
196 ML_(do_syscall_for_client_unix_WRK):
199 .globl ML_(do_syscall_for_client_mach_WRK)
200 ML_(do_syscall_for_client_mach_WRK):
203 .globl ML_(do_syscall_for_client_mdep_WRK)
204 ML_(do_syscall_for_client_mdep_WRK):
217 .globl ML_(blksys_setup_MACH)
218 .globl ML_(blksys_restart_MACH)
219 .globl ML_(blksys_complete_MACH)
220 .globl ML_(blksys_committed_MACH)
[all …]
Dpriv_syswrap-generic.h42 Bool ML_(valid_client_addr)(Addr start, SizeT size, ThreadId tid,
48 extern Bool ML_(safe_to_deref) ( void* start, SizeT size );
51 extern Bool ML_(client_signal_OK)(Int sigNo);
55 Bool ML_(fd_allowed)(Int fd, const HChar *syscallname, ThreadId tid,
58 extern void ML_(record_fd_open_named) (ThreadId tid, Int fd);
59 extern void ML_(record_fd_open_nameless) (ThreadId tid, Int fd);
60 extern void ML_(record_fd_open_with_given_name)(ThreadId tid, Int fd,
66 Bool ML_(do_sigkill)(Int pid, Int tgid);
71 ML_(notify_core_and_tool_of_mmap) ( Addr a, SizeT len, UInt prot,
74 ML_(notify_core_and_tool_of_munmap) ( Addr a, SizeT len );
[all …]
Dsyscall-ppc64-linux.S77 .globl ML_(do_syscall_for_client_WRK)
80 ML_(do_syscall_for_client_WRK):
81 .quad .ML_(do_syscall_for_client_WRK),.TOC.@tocbase,0
83 .type .ML_(do_syscall_for_client_WRK),@function
84 .globl .ML_(do_syscall_for_client_WRK)
85 .ML_(do_syscall_for_client_WRK):
153 .globl ML_(blksys_setup)
154 .globl ML_(blksys_restart)
155 .globl ML_(blksys_complete)
156 .globl ML_(blksys_committed)
[all …]
Dsyscall-mips64-linux.S71 .globl ML_(do_syscall_for_client_WRK)
72 ML_(do_syscall_for_client_WRK):
137 .globl ML_(blksys_setup)
138 .globl ML_(blksys_restart)
139 .globl ML_(blksys_complete)
140 .globl ML_(blksys_committed)
141 .globl ML_(blksys_finished)
142 ML_(blksys_setup): .quad 1b
143 ML_(blksys_restart): .quad 2b
144 ML_(blksys_complete): .quad 3b
[all …]
Dsyscall-ppc32-linux.S76 .globl ML_(do_syscall_for_client_WRK)
77 ML_(do_syscall_for_client_WRK):
145 .globl ML_(blksys_setup)
146 .globl ML_(blksys_restart)
147 .globl ML_(blksys_complete)
148 .globl ML_(blksys_committed)
149 .globl ML_(blksys_finished)
150 ML_(blksys_setup): .long 1b
151 ML_(blksys_restart): .long 2b
152 ML_(blksys_complete): .long 3b
[all …]
Dsyscall-arm-linux.S76 .globl ML_(do_syscall_for_client_WRK)
77 ML_(do_syscall_for_client_WRK):
133 .globl ML_(blksys_setup)
134 .globl ML_(blksys_restart)
135 .globl ML_(blksys_complete)
136 .globl ML_(blksys_committed)
137 .globl ML_(blksys_finished)
138 ML_(blksys_setup): .long 1b
139 ML_(blksys_restart): .long 2b
140 ML_(blksys_complete): .long 3b
[all …]
Dsyscall-x86-linux.S79 .globl ML_(do_syscall_for_client_WRK)
80 ML_(do_syscall_for_client_WRK):
156 .globl ML_(blksys_setup)
157 .globl ML_(blksys_restart)
158 .globl ML_(blksys_complete)
159 .globl ML_(blksys_committed)
160 .globl ML_(blksys_finished)
161 ML_(blksys_setup): .long 1b
162 ML_(blksys_restart): .long 2b
163 ML_(blksys_complete): .long 3b
[all …]
Dsyscall-s390x-linux.S88 .globl ML_(do_syscall_for_client_WRK)
89 ML_(do_syscall_for_client_WRK):
150 .globl ML_(blksys_setup)
151 .globl ML_(blksys_restart)
152 .globl ML_(blksys_complete)
153 .globl ML_(blksys_committed)
154 .globl ML_(blksys_finished)
158 ML_(blksys_setup): .quad 1b
159 ML_(blksys_restart): .quad 2b
160 ML_(blksys_complete): .quad 3b
[all …]
Dsyscall-mips32-linux.S77 .globl ML_(do_syscall_for_client_WRK)
78 ML_(do_syscall_for_client_WRK):
195 .globl ML_(blksys_setup)
196 .globl ML_(blksys_restart)
197 .globl ML_(blksys_complete)
198 .globl ML_(blksys_committed)
199 .globl ML_(blksys_finished)
200 ML_(blksys_setup): .long 1b
201 ML_(blksys_restart): .long 2b
202 ML_(blksys_complete): .long 3b
[all …]
Dsyscall-amd64-linux.S78 .globl ML_(do_syscall_for_client_WRK)
79 ML_(do_syscall_for_client_WRK):
196 .globl ML_(blksys_setup)
197 .globl ML_(blksys_restart)
198 .globl ML_(blksys_complete)
199 .globl ML_(blksys_committed)
200 .globl ML_(blksys_finished)
201 ML_(blksys_setup): .quad 1b
202 ML_(blksys_restart): .quad 2b
203 ML_(blksys_complete): .quad 3b
[all …]
Dsyscall-arm64-linux.S77 .globl ML_(do_syscall_for_client_WRK)
78 ML_(do_syscall_for_client_WRK):
160 .globl ML_(blksys_setup)
161 .globl ML_(blksys_restart)
162 .globl ML_(blksys_complete)
163 .globl ML_(blksys_committed)
164 .globl ML_(blksys_finished)
165 ML_(blksys_setup): .quad 1b
166 ML_(blksys_restart): .quad 2b
167 ML_(blksys_complete): .quad 3b
[all …]
/external/valgrind/main/coregrind/m_aspacemgr/
Dpriv_aspacemgr.h67 extern void ML_(am_exit) ( Int status );
68 extern void ML_(am_barf) ( const HChar* what );
69 extern void ML_(am_barf_toolow) ( const HChar* what );
72 extern void ML_(am_assert_fail) ( const HChar* expr,
79 (ML_(am_assert_fail)(#expr, \
84 extern Int ML_(am_getpid)( void );
87 extern UInt ML_(am_sprintf) ( HChar* buf, const HChar *format, ... );
91 extern SysRes ML_(am_do_munmap_NO_NOTIFY)(Addr start, SizeT length);
94 extern SysRes ML_(am_do_extend_mapping_NO_NOTIFY)(
100 extern SysRes ML_(am_do_relocate_nooverlap_mapping_NO_NOTIFY)(
[all …]
Daspacemgr-common.c55 void ML_(am_exit)( Int status ) in ML_() function
67 void ML_(am_barf) ( const HChar* what ) in ML_() function
71 ML_(am_exit)(1); in ML_()
74 void ML_(am_barf_toolow) ( const HChar* what ) in ML_() function
80 ML_(am_exit)(1); in ML_()
83 void ML_(am_assert_fail)( const HChar* expr, in ML_() function
93 ML_(am_exit)(1); in ML_()
96 Int ML_(am_getpid)( void ) in ML_() function
128 UInt ML_(am_sprintf) ( HChar* buf, const HChar *format, ... ) in ML_() function
194 SysRes ML_(am_do_munmap_NO_NOTIFY)(Addr start, SizeT length) in ML_() function
[all …]
/external/valgrind/main/coregrind/m_scheduler/
Dsched-lock.c39 &ML_(generic_sched_lock_ops);
42 [sched_lock_generic] = &ML_(generic_sched_lock_ops),
44 [sched_lock_ticket] = &ML_(linux_ticket_lock_ops),
57 Bool ML_(set_sched_lock_impl)(const enum SchedLockType t) in ML_() function
68 const HChar *ML_(get_sched_lock_name)(void) in ML_() function
73 struct sched_lock *ML_(create_sched_lock)(void) in ML_() function
78 void ML_(destroy_sched_lock)(struct sched_lock *p) in ML_() function
83 int ML_(get_sched_lock_owner)(struct sched_lock *p) in ML_() function
88 void ML_(acquire_sched_lock)(struct sched_lock *p) in ML_() function
93 void ML_(release_sched_lock)(struct sched_lock *p) in ML_() function
Dpriv_sched-lock.h41 Bool ML_(set_sched_lock_impl)(const enum SchedLockType t);
42 const HChar *ML_(get_sched_lock_name)(void);
43 struct sched_lock *ML_(create_sched_lock)(void);
44 void ML_(destroy_sched_lock)(struct sched_lock *p);
45 int ML_(get_sched_lock_owner)(struct sched_lock *p);
46 void ML_(acquire_sched_lock)(struct sched_lock *p);
47 void ML_(release_sched_lock)(struct sched_lock *p);

1234