/external/valgrind/main/coregrind/ |
D | pub_core_tooliface.h | 125 Bool (*tool_read_extra_suppression_info) (Int, Char**, SizeT*, Supp*); 150 void* (*tool_malloc) (ThreadId, SizeT); 151 void* (*tool___builtin_new) (ThreadId, SizeT); 152 void* (*tool___builtin_vec_new) (ThreadId, SizeT); 153 void* (*tool_memalign) (ThreadId, SizeT, SizeT); 154 void* (*tool_calloc) (ThreadId, SizeT, SizeT); 158 void* (*tool_realloc) (ThreadId, void*, SizeT); 159 SizeT (*tool_malloc_usable_size) (ThreadId, void*); 160 SizeT tool_client_redzone_szB; 169 void (*track_new_mem_startup) (Addr, SizeT, Bool, Bool, Bool, ULong); [all …]
|
D | pub_core_aspacemgr.h | 93 ( Addr start, SizeT len, UInt prot ); 152 ( Addr start, SizeT len, /*OUT*/Bool* ok ); 159 ( Addr a, SizeT len, UInt prot, UInt flags, Int fd, Off64T offset ); 162 ( Addr a, SizeT len, UInt prot, UInt flags, HChar* fileName, Off64T offset ); 168 extern Bool VG_(am_notify_client_shmat)( Addr a, SizeT len, UInt prot ); 179 extern Bool VG_(am_notify_mprotect)( Addr start, SizeT len, UInt prot ); 187 extern Bool VG_(am_notify_munmap)( Addr start, SizeT len ); 195 ( Addr start, SizeT length, UInt prot, UInt flags, Int fd, Off64T offset); 209 ( Addr start, SizeT length, UInt prot, Int fd, Off64T offset ); 211 ( Addr start, SizeT length, UInt prot, Int fd, Off64T offset, const HChar *name ); [all …]
|
D | m_mallocfree.c | 66 #define MAX_PSZB (~((SizeT)0x0)) 180 SizeT n_payload_bytes; 183 ((sizeof(struct _Superblock*) + sizeof(SizeT)) % 195 SizeT rz_szB; // Red zone size in bytes 196 SizeT min_sblock_szB; // Minimum superblock size in bytes 197 SizeT min_unsplittable_sblock_szB; 216 SizeT sblocks_size; 217 SizeT sblocks_used; 225 SizeT stats__bytes_on_loan; 226 SizeT stats__bytes_mmaped; [all …]
|
D | pub_core_replacemalloc.h | 43 void* (*tl_malloc) (ThreadId tid, SizeT n); 44 void* (*tl___builtin_new) (ThreadId tid, SizeT n); 45 void* (*tl___builtin_vec_new) (ThreadId tid, SizeT n); 46 void* (*tl_memalign) (ThreadId tid, SizeT align, SizeT n); 47 void* (*tl_calloc) (ThreadId tid, SizeT nmemb, SizeT n); 51 void* (*tl_realloc) (ThreadId tid, void* p, SizeT size); 52 SizeT (*tl_malloc_usable_size) (ThreadId tid, void* payload);
|
D | m_tooliface.c | 233 Bool (*read_extra) (Int, Char**, SizeT*, Supp*), in VG_() 293 void* (*malloc) ( ThreadId, SizeT ), in VG_() 294 void* (*__builtin_new) ( ThreadId, SizeT ), in VG_() 295 void* (*__builtin_vec_new) ( ThreadId, SizeT ), in VG_() 296 void* (*memalign) ( ThreadId, SizeT, SizeT ), in VG_() 297 void* (*calloc) ( ThreadId, SizeT, SizeT ), in VG_() 301 void* (*realloc) ( ThreadId, void*, SizeT ), in VG_() 302 SizeT (*malloc_usable_size) ( ThreadId, void* ), in VG_() 303 SizeT client_malloc_redzone_szB in VG_() 351 DEF0(track_new_mem_startup, Addr, SizeT, Bool, Bool, Bool, ULong) [all …]
|
D | pub_core_trampoline.h | 103 extern SizeT VG_(x86_darwin_REDIR_FOR_strlen)( void* ); 104 extern SizeT VG_(x86_darwin_REDIR_FOR_strcmp)( void*, void* ); 107 extern SizeT VG_(x86_darwin_REDIR_FOR_strlcat)( char *s1, const char *s2, 108 SizeT size ); 113 extern SizeT VG_(amd64_darwin_REDIR_FOR_strlen)( void* ); 114 extern SizeT VG_(amd64_darwin_REDIR_FOR_strcmp)( void*, void* ); 117 extern SizeT VG_(amd64_darwin_REDIR_FOR_strlcat)( char *s1, const char *s2, 118 SizeT size );
|
D | pub_core_mallocfree.h | 105 extern void* VG_(arena_malloc) ( ArenaId arena, HChar* cc, SizeT nbytes ); 108 SizeT nmemb, SizeT bytes_per_memb ); 110 void* ptr, SizeT size ); 112 SizeT req_alignB, SizeT req_pszB ); 116 extern SizeT VG_(arena_malloc_usable_size) ( ArenaId aid, void* payload );
|
D | m_libcbase.c | 229 SizeT VG_(strlen) ( const Char* str ) in VG_() 231 SizeT i = 0; in VG_() 245 Char* VG_(strncat) ( Char* dest, const Char* src, SizeT n ) in VG_() 277 void VG_(strncpy_safely) ( Char* dest, const Char* src, SizeT ndest ) in VG_() 279 SizeT i = 0; in VG_() 289 Char* VG_(strncpy) ( Char* dest, const Char* src, SizeT ndest ) in VG_() 291 SizeT i = 0; in VG_() 333 Int VG_(strncmp) ( const Char* s1, const Char* s2, SizeT nmax ) in VG_() 335 SizeT n = 0; in VG_() 349 Int VG_(strncasecmp) ( const Char* s1, const Char* s2, SizeT nmax ) in VG_() [all …]
|
/external/valgrind/main/memcheck/ |
D | mc_include.h | 64 SizeT szB : (sizeof(SizeT)*8)-2; // Size requested; 30 or 62 bits. 75 SizeT rzB; // pool red-zone size 83 Addr p, SizeT size, SizeT align, 92 Addr addr, SizeT size ); 94 void MC_(mempool_trim) ( Addr pool, Addr addr, SizeT size ); 96 void MC_(mempool_change) ( Addr pool, Addr addrA, Addr addrB, SizeT size ); 114 Bool MC_(check_mem_is_noaccess)( Addr a, SizeT len, Addr* bad_addr ); 115 void MC_(make_mem_noaccess) ( Addr a, SizeT len ); 116 void MC_(make_mem_undefined_w_otag)( Addr a, SizeT len, UInt otag ); 117 void MC_(make_mem_defined) ( Addr a, SizeT len ); [all …]
|
D | mc_replace_strmem.c | 108 Bool is_overlap ( void* dst, const void* src, SizeT dstlen, SizeT srclen ) in is_overlap() 267 ( char* dst, const char* src, SizeT n ); \ 269 ( char* dst, const char* src, SizeT n ) \ 273 SizeT m = 0; \ 308 SizeT VG_REPLACE_FUNCTION_EZU(20050,soname,fnname) \ 309 ( char* dst, const char* src, SizeT n ); \ 310 SizeT VG_REPLACE_FUNCTION_EZU(20050,soname,fnname) \ 311 ( char* dst, const char* src, SizeT n ) \ 315 SizeT m = 0; \ 351 SizeT VG_REPLACE_FUNCTION_EZU(20060,soname,fnname) \ [all …]
|
D | mc_leakcheck.c | 428 SizeT indirect_szB : (sizeof(SizeT)*8)-3; // If Unreached, how many bytes 465 static SizeT lc_scanned_szB; 468 SizeT MC_(bytes_leaked) = 0; 469 SizeT MC_(bytes_indirect) = 0; 470 SizeT MC_(bytes_dubious) = 0; 471 SizeT MC_(bytes_reachable) = 0; 472 SizeT MC_(bytes_suppressed) = 0; 474 SizeT MC_(blocks_leaked) = 0; 475 SizeT MC_(blocks_indirect) = 0; 476 SizeT MC_(blocks_dubious) = 0; [all …]
|
/external/valgrind/main/include/ |
D | pub_tool_tooliface.h | 322 Bool (*read_extra_suppression_info)(Int fd, Char** bufpp, SizeT* nBufp, 448 void* (*pmalloc) ( ThreadId tid, SizeT n ), 449 void* (*p__builtin_new) ( ThreadId tid, SizeT n ), 450 void* (*p__builtin_vec_new) ( ThreadId tid, SizeT n ), 451 void* (*pmemalign) ( ThreadId tid, SizeT align, SizeT n ), 452 void* (*pcalloc) ( ThreadId tid, SizeT nmemb, SizeT size1 ), 456 void* (*prealloc) ( ThreadId tid, void* p, SizeT new_size ), 457 SizeT (*pmalloc_usable_size) ( ThreadId tid, void* p), 458 SizeT client_malloc_redzone_szB 512 void VG_(track_new_mem_startup) (void(*f)(Addr a, SizeT len, [all …]
|
D | pub_tool_libcbase.h | 85 extern SizeT VG_(strlen) ( const Char* str ); 87 extern Char* VG_(strncat) ( Char* dest, const Char* src, SizeT n ); 90 extern Char* VG_(strncpy) ( Char* dest, const Char* src, SizeT ndest ); 93 extern Int VG_(strncmp) ( const Char* s1, const Char* s2, SizeT nmax ); 94 extern Int VG_(strncasecmp) ( const Char* s1, const Char* s2, SizeT nmax ); 99 extern SizeT VG_(strspn) ( const Char* s, const Char* accpt ); 100 extern SizeT VG_(strcspn) ( const Char* s, const char* reject ); 114 extern void VG_(strncpy_safely) ( Char* dest, const Char* src, SizeT ndest ); 120 extern void* VG_(memcpy) ( void *d, const void *s, SizeT sz ); 121 extern void* VG_(memmove)( void *d, const void *s, SizeT sz ); [all …]
|
D | pub_tool_mallocfree.h | 40 extern void* VG_(malloc) ( HChar* cc, SizeT nbytes ); 42 extern void* VG_(calloc) ( HChar* cc, SizeT n, SizeT bytes_per_elem ); 43 extern void* VG_(realloc) ( HChar* cc, void* p, SizeT size ); 48 extern SizeT VG_(malloc_usable_size)( void* p ); 53 extern void VG_(out_of_memory_NORETURN) ( HChar* who, SizeT szB );
|
D | pub_tool_replacemalloc.h | 41 extern void* VG_(cli_malloc) ( SizeT align, SizeT nbytes ); 53 SizeT size, SizeT rz_szB );
|
/external/valgrind/main/exp-sgcheck/ |
D | h_main.h | 52 SizeT Seg__size(Seg* seg); 59 void* h_replace_malloc ( ThreadId tid, SizeT n ); 60 void* h_replace___builtin_new ( ThreadId tid, SizeT n ); 61 void* h_replace___builtin_vec_new ( ThreadId tid, SizeT n ); 62 void* h_replace_memalign ( ThreadId tid, SizeT align, SizeT n ); 63 void* h_replace_calloc ( ThreadId tid, SizeT nmemb, SizeT size1 ); 67 void* h_replace_realloc ( ThreadId tid, void* p_old, SizeT new_size ); 68 SizeT h_replace_malloc_usable_size ( ThreadId tid, void* p );
|
D | h_intercepts.c | 103 SizeT VG_REPLACE_FUNCTION_ZU(soname,fnname) ( const char* str, SizeT n ); \ 104 SizeT VG_REPLACE_FUNCTION_ZU(soname,fnname) ( const char* str, SizeT n ) \ 106 SizeT i = 0; \ 119 SizeT VG_REPLACE_FUNCTION_ZU(soname,fnname)( const char* str ); \ 120 SizeT VG_REPLACE_FUNCTION_ZU(soname,fnname)( const char* str ) \ 122 SizeT i = 0; \ 158 ( const char* s1, const char* s2, SizeT nmax ); \ 160 ( const char* s1, const char* s2, SizeT nmax ) \ 162 SizeT n = 0; \ 213 void* VG_REPLACE_FUNCTION_ZU(soname,fnname) (const void *s, int c, SizeT n); \ [all …]
|
/external/valgrind/main/drd/ |
D | drd_malloc_wrappers.c | 51 SizeT size; // size requested 61 static SizeT s_cmalloc_n_mallocs = 0; 62 static SizeT s_cmalloc_n_frees = 0; 63 static SizeT s_cmalloc_bs_mallocd = 0; 71 static void* new_block(ThreadId tid, SizeT size, SizeT align, Bool is_zeroed) in new_block() 90 void DRD_(malloclike_block)(const ThreadId tid, const Addr p, const SizeT size) in DRD_() 147 static void* drd_malloc(ThreadId tid, SizeT n) in drd_malloc() 153 static void* drd_memalign(ThreadId tid, SizeT align, SizeT n) in drd_memalign() 159 static void* drd_calloc(ThreadId tid, SizeT nmemb, SizeT size1) in drd_calloc() 179 static void* drd_realloc(ThreadId tid, void* p_old, SizeT new_size) in drd_realloc() [all …]
|
D | drd_strmem_intercepts.c | 43 SizeT VG_REPLACE_FUNCTION_ZU(soname,fnname) ( const char* str, SizeT n ); \ 44 SizeT VG_REPLACE_FUNCTION_ZU(soname,fnname) ( const char* str, SizeT n ) \ 46 SizeT i = 0; \ 63 SizeT VG_REPLACE_FUNCTION_ZU(soname,fnname)( const char* str ); \ 64 SizeT VG_REPLACE_FUNCTION_ZU(soname,fnname)( const char* str ) \ 66 SizeT i = 0; \
|
D | drd_main.c | 259 const SizeT size) in drd_pre_mem_read() 273 SizeT size = 0; in drd_pre_mem_read_asciiz() 298 const SizeT size) in drd_post_mem_write() 308 void drd_start_using_mem(const Addr a1, const SizeT len, in drd_start_using_mem() 335 const SizeT len, in drd_start_using_mem_w_ecu() 342 const SizeT len, in drd_start_using_mem_w_tid() 349 void drd_stop_using_mem(const Addr a1, const SizeT len, in drd_stop_using_mem() 375 void drd_stop_using_nonstack_mem(const Addr a1, const SizeT len) in drd_stop_using_nonstack_mem() 384 void DRD_(clean_memory)(const Addr a1, const SizeT len) in DRD_() 401 static void DRD_(suppress_relocation_conflicts)(const Addr a, const SizeT len) in DRD_() [all …]
|
/external/valgrind/main/coregrind/m_replacemalloc/ |
D | vg_replace_malloc.c | 202 void* VG_REPLACE_FUNCTION_EZU(10010,soname,fnname) (SizeT n); \ 203 void* VG_REPLACE_FUNCTION_EZU(10010,soname,fnname) (SizeT n) \ 217 void* VG_REPLACE_FUNCTION_EZU(10020,soname,fnname) (void *zone, SizeT n); \ 218 void* VG_REPLACE_FUNCTION_EZU(10020,soname,fnname) (void *zone, SizeT n) \ 237 void* VG_REPLACE_FUNCTION_EZU(10030,soname,fnname) (SizeT n); \ 238 void* VG_REPLACE_FUNCTION_EZU(10030,soname,fnname) (SizeT n) \ 523 ( void *zone, SizeT nmemb, SizeT size ); \ 525 ( void *zone, SizeT nmemb, SizeT size ) \ 540 ( SizeT nmemb, SizeT size ); \ 542 ( SizeT nmemb, SizeT size ) \ [all …]
|
/external/valgrind/main/coregrind/m_debuginfo/ |
D | priv_readdwarf3.h | 45 UChar* debug_info_img, SizeT debug_info_sz, 46 UChar* debug_abbv_img, SizeT debug_abbv_sz, 47 UChar* debug_line_img, SizeT debug_line_sz, 48 UChar* debug_str_img, SizeT debug_str_sz, 49 UChar* debug_ranges_img, SizeT debug_ranges_sz, 50 UChar* debug_loc_img, SizeT debug_loc_sz
|
D | priv_storage.h | 440 SizeT rx_map_size; /* and map address of the r?x mapping we believe */ 444 SizeT rw_map_size; /* .data segment mapping */ 451 SizeT ro_map_size; 656 SizeT text_size; 664 SizeT data_size; 672 SizeT sdata_size; 680 SizeT rodata_size; 688 SizeT bss_size; 696 SizeT sbss_size; 703 SizeT plt_size; [all …]
|
/external/valgrind/main/helgrind/ |
D | libhb.h | 117 void zsm_sapplyNN_f__msmcwrite ( Thr* thr, Addr a, SizeT len ); 123 void zsm_sapplyNN_f__msmcread ( Thr* thr, Addr a, SizeT len ); 129 void libhb_srange_new ( Thr*, Addr, SizeT ); 130 void libhb_srange_untrack ( Thr*, Addr, SizeT ); 131 void libhb_srange_noaccess_NoFX ( Thr*, Addr, SizeT ); /* IS IGNORED */ 132 void libhb_srange_noaccess_AHAE ( Thr*, Addr, SizeT ); /* IS NOT IGNORED */ 141 void libhb_copy_shadow_state ( Thr* thr, Addr src, Addr dst, SizeT len ); 150 /*OUT*/SizeT* resSzB, 153 Thr* thr, Addr a, SizeT szB, Bool isW );
|
/external/valgrind/main/massif/ |
D | ms_main.c | 276 static SizeT heap_szB = 0; // Live heap size 277 static SizeT heap_extra_szB = 0; // Live heap extra size -- slop + admin bytes 278 static SizeT stacks_szB = 0; // Live stacks size 282 static SizeT peak_snapshot_total_szB = 0; 547 SizeT szB; 570 SizeT szB; // memory size for the node, be it Sig or Insig 596 static void* perm_malloc(SizeT n_bytes) in perm_malloc() 677 static SXPt* dup_XTree(XPt* xpt, SizeT total_szB) in dup_XTree() 680 SizeT sig_child_threshold_szB; in dup_XTree() 701 sig_child_threshold_szB = (SizeT)((total_szB * clo_threshold) / 100); in dup_XTree() [all …]
|