/external/valgrind/main/coregrind/ |
H A D | pub_core_threadstate.h | 197 Addr size; member in struct:__anon32719::__anon32720::__anon32725 202 Addr size; member in struct:__anon32719::__anon32720::__anon32726 207 Addr size; member in struct:__anon32719::__anon32720::__anon32727 211 Addr size; member in struct:__anon32719::__anon32720::__anon32728 217 SizeT size; member in struct:__anon32719::__anon32720::__anon32729 221 ULong size; member in struct:__anon32719::__anon32720::__anon32730 225 SizeT size; member in struct:__anon32719::__anon32720::__anon32731 229 Addr size; member in struct:__anon32719::__anon32720::__anon32732 234 Addr size; member in struct:__anon32719::__anon32720::__anon32733 237 ULong size; member in struct:__anon32719::__anon32720::__anon32734 242 ULong size; member in struct:__anon32719::__anon32720::__anon32735 246 ULong size; member in struct:__anon32719::__anon32720::__anon32736 251 ULong size; member in struct:__anon32719::__anon32720::__anon32737 269 vki_size_t size; member in struct:__anon32719::__anon32720::__anon32742 [all...] |
H A D | vgdb.c | 90 void *vmalloc(size_t size) argument 92 void * mem = malloc(size); 98 void *vrealloc(void *ptr,size_t size) argument 100 void * mem = realloc(ptr, size); 171 "error size shared memory file %s.\n" 172 "expecting size %d (64bits) or %d (32bits) got %ld.\n", 178 "error size shared memory file %s.\n" 179 "expecting size %d (32bits) got %ld.\n", 378 /* write size bytes from buf to fd. 380 If notify, then add size t 384 write_buf(int fd, char* buf, int size, const char* desc, Bool notify) argument [all...] |
/external/valgrind/main/drd/ |
H A D | drd_error.h | 88 SizeT size; // ALL member in struct:__anon32761 104 SizeT size; // Size in bytes of conflicting operation. member in struct:__anon32762
|
H A D | drd_load_store.c | 93 void DRD_(trace_mem_access)(const Addr addr, const SizeT size, argument 98 if (DRD_(is_any_traced)(addr, addr + size)) 103 if (access_type == eStore && size <= sizeof(HWord)) { 104 DRD_(trace_msg_w_bt)("store 0x%lx size %ld val %ld/0x%lx (thread %d /" 105 " vc %s)", addr, size, stored_value_lo, 108 } else if (access_type == eStore && size > sizeof(HWord)) { 113 DRD_(trace_msg_w_bt)("store 0x%lx size %ld val %lld/0x%llx (thread %d" 114 " / vc %s)", addr, size, sv, sv, 117 DRD_(trace_msg_w_bt)("%s 0x%lx size %ld (thread %d / vc %s)", 122 addr, size, DRD 130 drd_trace_mem_load(const Addr addr, const SizeT size) argument 135 drd_trace_mem_store(const Addr addr,const SizeT size, const HWord stored_value_hi, const HWord stored_value_lo) argument 143 drd_report_race(const Addr addr, const SizeT size, const BmAccessTypeT access_type) argument 176 trace_load(Addr addr, SizeT size) argument 242 trace_store(Addr addr, SizeT size) argument 350 instr_trace_mem_load(IRSB* const bb, IRExpr* addr_expr, const HWord size, IRExpr* const guard ) argument 379 HWord size; local 473 instrument_load(IRSB* const bb, IRExpr* const addr_expr, const HWord size, IRExpr* const guard ) argument 534 HWord size; local [all...] |
H A D | drd_main.c | 277 const SizeT size) 280 if (size > 0) 282 DRD_(trace_load)(a, size); 292 SizeT size = 0; local 306 size++; 308 if (size > 0) 310 DRD_(trace_load)(a, size); 317 const SizeT size) 320 if (size > 0) 322 DRD_(trace_store)(a, size); 273 drd_pre_mem_read(const CorePart part, const ThreadId tid, const HChar* const s, const Addr a, const SizeT size) argument 314 drd_post_mem_write(const CorePart part, const ThreadId tid, const Addr a, const SizeT size) argument 430 SizeT size; local [all...] |
H A D | drd_malloc_wrappers.c | 50 SizeT size; // size requested member in struct:_DRD_Chunk 70 static void* new_block(ThreadId tid, SizeT size, SizeT align, Bool is_zeroed) argument 74 p = VG_(cli_malloc)(align, size); 78 VG_(memset)(p, 0, size); 80 DRD_(malloclike_block)(tid, (Addr)p, size); 89 void DRD_(malloclike_block)(const ThreadId tid, const Addr p, const SizeT size) argument 95 if (size > 0) 96 s_start_using_mem_callback(p, size, 0/*ec_uniq*/); 100 s_cmalloc_bs_mallocd += size; 316 heap_addrinfo(Addr const a, Addr* const data, SizeT* const size, ExeContext** const where) argument [all...] |
H A D | drd_thread.c | 453 /** Return the maximum stack size for the specified thread. */ 1274 const SizeT size, 1298 if (DRD_(bm_has_conflict_with)(DRD_(sg_bm)(q), addr, addr + size, 1329 const SizeT size, 1338 if (DRD_(bm_has)(DRD_(sg_bm)(p), addr, addr + size, access_type)) 1339 thread_report_conflicting_segments_segment(tid, addr, size, 1272 thread_report_conflicting_segments_segment(const DrdThreadId tid, const Addr addr, const SizeT size, const BmAccessTypeT access_type, const Segment* const p) argument 1327 thread_report_conflicting_segments(const DrdThreadId tid, const Addr addr, const SizeT size, const BmAccessTypeT access_type) argument
|
H A D | drd_vc.c | 42 * Initialize the memory 'vc' points at as a vector clock with size 'size'. 44 * 'size' elements and it becomes the initial value of the vector clock. 48 const unsigned size) 51 vc->size = 0; 54 DRD_(vc_reserve)(vc, size); 55 tl_assert(size == 0 || vc->vc != 0); 58 VG_(memcpy)(vc->vc, vcelem, size * sizeof(vcelem[0])); 59 vc->size = size; 46 vc_init(VectorClock* const vc, const VCElem* const vcelem, const unsigned size) argument 256 unsigned size; local [all...] |
H A D | drd_vc.h | 67 unsigned size; /**< number of elements used of array vc. */ member in struct:__anon32780 75 const unsigned size); 107 for (i = 0; i < vc1->size; i++) 109 while (j < vc2->size && vc2->vc[j].threadid < vc1->vc[i].threadid) 111 if (j >= vc2->size || vc2->vc[j].threadid > vc1->vc[i].threadid) 118 tl_assert(j < vc2->size && vc2->vc[j].threadid == vc1->vc[i].threadid);
|
/external/valgrind/main/drd/tests/ |
H A D | custom_alloc.c | 25 static void* custom_alloc(int size) argument 30 int size2 = size + RZ*2; 41 VALGRIND_MALLOCLIKE_BLOCK( p, size, RZ, /*is_zeroed*/1 );
|
H A D | tsan_thread_wrappers_pthread.h | 514 for (size_t i = 0; i < workers_.size(); i++) { 524 int num_threads() { return workers_.size();} 528 for (size_t i = 0; i < workers_.size(); i++) { 531 for (size_t i = 0; i < workers_.size(); i++) { 607 int posix_memalign(void **out, size_t al, size_t size) { argument 608 *out = memalign(al, size);
|
H A D | tsan_unittest.cpp | 1805 for (size_t i = 0; i < mus.size(); i++) { 5442 const int size = (rand() % (N - begin)) + 1; local 5443 CHECK(size > 0); 5444 CHECK(begin + size <= N); 5445 PublishRange(begin, begin + size); 7192 return vec->size(); 7269 CHECK(vec->size() == 1); 7447 // 4x array size gives us
|
H A D | unit_bitmap.c | 65 void VG_(ssort)( void* base, SizeT nmemb, SizeT size, argument 74 struct { Addr address; SizeT size; BmAccessTypeT access_type; } member in struct:__anon32786 141 s_test1_args[i].address + s_test1_args[i].size, 148 first_address_with_higher_lsb(j) <= s_test1_args[i].size;
|
H A D | unit_vc.c | 15 void* VG_(realloc)(const HChar* cc, void* p, SizeT size) argument 16 { return realloc(p, size); } 43 UInt VG_(snprintf)(HChar* buf, Int size, const HChar *format, ...) argument 44 { UInt ret; va_list vargs; va_start(vargs, format); ret = vsnprintf(buf, size, format, vargs); va_end(vargs); return ret; }
|
/external/valgrind/main/exp-sgcheck/ |
H A D | h_main.c | 286 static Seg* add_new_segment ( ThreadId tid, Addr p, SizeT size ) 291 seg->szB = size; 304 SizeT size, SizeT alignment, Bool is_zeroed ) 308 if ( ((SSizeT)size) < 0) return NULL; 310 p = (Addr)VG_(cli_malloc)(alignment, size); 311 if (is_zeroed) VG_(memset)((void*)p, 0, size); 313 add_new_segment( tid, p, size ); 420 /* new size is smaller: allocate, copy from old to new */ 434 /* new size is bigger: allocate, copy from old to new */ 528 Note that only integer temps of the guest word size ar 303 alloc_and_new_mem_heap( ThreadId tid, SizeT size, SizeT alignment, Bool is_zeroed ) argument [all...] |
H A D | pc_common.c | 178 void h_record_heap_error( Addr a, SizeT size, Seg* vseg, Bool is_write ) argument 181 tl_assert(size > 0); 185 xe.XE.Heap.sszB = is_write ? -size : size; 322 emit( " <what>Invalid %s of size %ld</what>\n", 336 emit( "Invalid %s of size %ld\n", 362 emit( " <what>Invalid %s of size %ld</what>\n", 372 emit( "Invalid %s of size %ld\n", 396 emit( " <what>%s %s of size %ld</what>\n", 406 "a block of size [all...] |
/external/valgrind/main/helgrind/ |
H A D | hg_intercepts.c | 159 static int my_memcmp ( const void* ptr1, const void* ptr2, size_t size) argument 164 for (i = 0; i < size; ++i) {
|
H A D | hg_main.c | 1743 Addr a, SizeT size) { 1745 || (SHOW_EVENTS >= 1 && size != 1)) 1747 (Int)tid, s, (void*)a, size ); 1748 shadow_mem_cread_range( map_threads_lookup(tid), a, size); local 1749 if (size >= SCE_BIGRANGE_T && (HG_(clo_sanity_flags) & SCE_BIGRANGE)) 1774 Addr a, SizeT size ) { 1777 (Int)tid, s, (void*)a, size ); 1778 shadow_mem_cwrite_range( map_threads_lookup(tid), a, size); local 1779 if (size >= SCE_BIGRANGE_T && (HG_(clo_sanity_flags) & SCE_BIGRANGE)) 1849 void evh__mem_help_cread_N(Addr a, SizeT size) { argument 1742 evh__pre_mem_read( CorePart part, ThreadId tid, const HChar* s, Addr a, SizeT size) argument 1884 evh__mem_help_cwrite_N(Addr a, SizeT size) argument 2844 UWord size; /* declared size */ member in struct:__anon32834 [all...] |
H A D | hg_wordset.c | 63 to allow the size of the cache(s) to be set differently for each 138 UWord size; /* Really this should be SizeT */ member in struct:__anon32840 184 /* Create a new WordVec of the given size. */ 193 wv->size = sz; 218 // WordVecs with smaller size are smaller. 219 if (wv1->size < wv2->size) { 222 if (wv1->size > wv2->size) { 227 for (i = 0; i < wv1->size; [all...] |
/external/valgrind/main/include/ |
H A D | pub_tool_libcfile.h | 63 Long size; member in struct:vg_stat 103 /* Copy the working directory at startup into buf[0 .. size-1], or return 105 extern Bool VG_(get_startup_wd) ( HChar* buf, SizeT size );
|
/external/valgrind/main/include/vki/ |
H A D | vki-linux-drm.h | 101 unsigned long size; /**< Requested physical size (bytes) */ member in struct:vki_drm_map 179 int count; /**< Number of buffers of this size */ 180 int size; /**< Size in bytes */ member in struct:vki_drm_buf_desc 206 int total; /**< Buffer size */ 222 int request_size; /**< Desired size for buffers */ 294 unsigned long size; /**< In bytes -- will round to page boundary */ member in struct:vki_drm_agp_buffer 315 unsigned long size; /**< In bytes -- will round to page boundary */ member in struct:vki_drm_scatter_gather 336 __vki_u64 size; member in struct:vki_drm_gem_open 678 int size; member in struct:vki_drm_i915_mem_alloc 687 int size; member in struct:vki_drm_i915_mem_init_heap 709 __vki_u64 size; member in struct:vki_drm_i915_gem_create 717 __vki_u64 size; member in struct:vki_drm_i915_gem_pread 724 __vki_u64 size; member in struct:vki_drm_i915_gem_pwrite 731 __vki_u64 size; member in struct:vki_drm_i915_gem_mmap [all...] |
H A D | vki-linux.h | 38 - for some types, we only care about the size; for a few of them (big 126 /* provoke compile error for invalid uses of size argument */ 258 unsigned long totalram; /* Total usable main memory size */ 259 unsigned long freeram; /* Available memory size */ 262 unsigned long totalswap; /* Total swap space size */ 266 unsigned long totalhigh; /* Total high memory size */ 267 unsigned long freehigh; /* Available high memory size */ 268 unsigned int mem_unit; /* Memory unit size in bytes */ 709 /* Pad to size of `struct sockaddr'. */ 779 unsigned int size; /* Siz member in struct:vki_if_settings 2754 __vki_u32 size; member in struct:vki_perf_event_attr [all...] |
H A D | vki-xen-domctl.h | 291 vki_uint32_t size; /* IN/OUT size of buffer */ member in struct:vki_xen_domctl_hvmcontext 305 vki_xen_uint64_aligned_t size; member in struct:vki_xen_domctl_vcpuextstate 310 vki_uint32_t size; member in struct:vki_xen_domctl_address_size
|
H A D | vki-xen-memory.h | 51 vki_uint16_t size; member in struct:vki_xen_add_to_physmap
|
/external/valgrind/main/lackey/ |
H A D | lk_main.c | 65 // I 0023C790,2 # instruction read at 0x0023C790 of size 2 67 // S BE80199C,4 # data store at 0xBE80199C of size 4 69 // L BE801950,4 # data load at 0xBE801950 of size 4 71 // M 0025747C,1 # data modify at 0x0025747C of size 1 409 Int size; member in struct:__anon32997 425 having the same size and EA can be merged). 451 static VG_REGPARM(2) void trace_instr(Addr addr, SizeT size) argument 453 VG_(printf)("I %08lx,%lu\n", addr, size); 456 static VG_REGPARM(2) void trace_load(Addr addr, SizeT size) argument 458 VG_(printf)(" L %08lx,%lu\n", addr, size); 461 trace_store(Addr addr, SizeT size) argument 466 trace_modify(Addr addr, SizeT size) argument [all...] |