HomeSort by relevance Sort by last modified time
    Searched refs:szB (Results 1 - 25 of 50) sorted by null

1 2

  /external/valgrind/main/memcheck/tests/
calloc-overflow.c 13 size_t szB = 0x1000000010000001ULL;
15 size_t szB = 0x10000001UL;
17 x = calloc(szB, 0x10);
  /external/valgrind/main/tests/
malloc.h 14 static void* memalign16(size_t szB)
19 x = malloc(szB);
21 x = memalign(16, szB);
  /external/valgrind/main/memcheck/
mc_malloc_wrappers.c 78 MC_Chunk* create_MC_Chunk ( ExeContext* ec, Addr p, SizeT szB,
102 const int l = (mc->szB >= MC_(clo_freelist_big_blocks) ? 0 : 1);
113 if (mc->szB >= MC_(clo_freelist_vol)) {
122 VG_(free_queue_volume) += (Long)mc->szB;
149 VG_(free_queue_volume) -= (Long)mc1->szB;
178 if (VG_(addr_is_in_block)( a, mc->data, mc->szB,
190 MC_Chunk* create_MC_Chunk ( ExeContext* ec, Addr p, SizeT szB,
195 mc->szB = szB;
253 Addr p, SizeT szB, SizeT alignB
    [all...]
mc_leakcheck.c 270 a_hi = ((Addr)chunks[i]->data) + chunks[i]->szB;
298 a_mid_hi = chunks[mid]->data + chunks[mid]->szB;
305 if (chunks[mid]->szB == 0)
377 if (mc->szB > 1) {
378 m = find_chunk_for(mc->data + (mc->szB - 1), mallocs, n_mallocs);
524 tl_assert(ptr < ch->data + ch->szB + (ch->szB==0 ? 1 : 0));
543 VG_(printf)("pushing %#lx-%#lx\n", ch->data, ch->data + ch->szB);
643 ch_no, clique, (unsigned long)ch->szB,
647 ch_no, clique, (unsigned long)ch->szB);
    [all...]
mc_errors.c 167 SizeT szB; // size of value in bytes
189 SizeT szB; // not used for exec (jump) errors
240 Int szB; // Size in bytes; 0 if unused.
461 lr->szB + lr->indirect_szB,
465 lr->szB,
484 lr->szB + lr->indirect_szB, d_bytes,
485 lr->szB, d_direct_bytes,
492 lr->szB + lr->indirect_szB );
499 lr->szB, d_direct_bytes,
503 emit( " <leakedbytes>%ld</leakedbytes>\n", lr->szB);
    [all...]
mc_include.h 68 SizeT szB : (sizeof(SizeT)*8)-2; // Size requested; 30 or 62 bits.
151 Int MC_(get_otrack_shadow_offset) ( Int offset, Int szB );
309 SizeT szB; // Sum of all MC_Chunk.szB values.
340 // the given range [address, address+szB[ is found.
341 void MC_(who_points_at) ( Addr address, SizeT szB);
388 void MC_(record_address_error) ( ThreadId tid, Addr a, Int szB,
391 void MC_(record_value_error) ( ThreadId tid, Int szB, UInt otag );
399 Addr src, Addr dst, SizeT szB );
mc_machine.c 94 /* Let (offset,szB) describe a reference to the guest state section
95 [offset, offset+szB).
126 static Int get_otrack_shadow_offset_wrk ( Int offset, Int szB ); /*fwds*/
128 Int MC_(get_otrack_shadow_offset) ( Int offset, Int szB )
130 Int cand = get_otrack_shadow_offset_wrk( offset, szB );
139 static Int get_otrack_shadow_offset_wrk ( Int offset, Int szB )
147 # define SZB(_fieldname) \
150 Int sz = szB;
255 tl_assert(SZB(VSR0) == 16);
279 if (o >= GOF(VSR0) && o+sz <= GOF(VSR0) +SZB(VSR0)) return 0+ GOF(VSR0)
    [all...]
  /external/valgrind/main/include/
pub_tool_gdbserver.h 111 extern Bool VG_(is_watched)(PointKind kind, Addr addr, Int szB);
168 If no size in the string, keeps the current value of szB.
169 Returns address 0 and szB 0 if there is an error. Reports to the
172 SizeT* szB,
pub_tool_mallocfree.h 61 extern void VG_(out_of_memory_NORETURN) ( HChar* who, SizeT szB );
pub_tool_debuginfo.h 139 SizeT szB; /* size in bytes */
160 SizeT szB;
pub_tool_oset.h 80 typedef void* (*OSetAlloc_t) ( HChar* cc, SizeT szB );
  /external/valgrind/main/exp-sgcheck/
sg_main.c 175 if (fb1->szB < fb2->szB) return -1;
176 if (fb1->szB > fb2->szB) return 1;
188 /* Returns True if all fields except .szB are the same. szBs may or
230 " StackBlock{ off %ld szB %lu spRel:%c isVec:%c \"%s\" }\n",
231 sb->base, sb->szB, sb->spRel ? 'Y' : 'N',
300 /* StackBlock{ off 16 szB 66 spRel:Y isVec:Y "sz" }
301 StackBlock{ off 16 szB 130 spRel:Y isVec:Y "sz" }
302 StackBlock{ off 208 szB 16 spRel:Y isVec:Y "ar"
    [all...]
h_main.c 95 SizeT szB; /* may be zero */
110 } else if (a < seg->addr + seg->szB && seg->szB > 0) {
115 *n = a - (seg->addr + seg->szB);
136 return seg->szB;
291 seg->szB = size;
419 if (new_size <= seg->szB) {
436 VG_(memcpy)((void*)p_new, p_old, seg->szB);
458 return ( seg ? seg->szB : 0 );
  /external/valgrind/main/coregrind/m_debuginfo/
priv_tytypes.h 101 Int szB;
105 Int szB;
114 UWord szB;
121 Int szB;
tytypes.c 127 te->Te.TyBase.szB, te->Te.TyBase.enc,
132 VG_(printf)("Te_TyPtr(%d,0x%05lx)", te->Te.TyPorR.szB,
136 VG_(printf)("Te_TyRef(%d,0x%05lx)", te->Te.TyPorR.szB,
140 VG_(printf)("Te_TyMbr(%d,0x%05lx)", te->Te.TyPorR.szB,
144 VG_(printf)("Te_TyRvalRef(%d,0x%05lx)", te->Te.TyPorR.szB,
156 te->Te.TyStOrUn.szB,
170 te->Te.TyEnum.szB, te->Te.TyEnum.atomRs,
525 r = Int__cmp(te1->Te.TyBase.szB, te2->Te.TyBase.szB);
533 r = Int__cmp(te1->Te.TyPorR.szB, te2->Te.TyPorR.szB)
    [all...]
misc.c 45 void* ML_(dinfo_zalloc) ( HChar* cc, SizeT szB ) {
47 vg_assert(szB > 0);
48 v = VG_(arena_malloc)( VG_AR_DINFO, cc, szB );
50 VG_(memset)(v, 0, szB);
priv_misc.h 41 void* ML_(dinfo_zalloc)( HChar* cc, SizeT szB );
  /external/valgrind/main/helgrind/
hg_errors.h 52 Addr data_addr, Int szB, Bool isWrite,
86 /*OUT*/SizeT* szB,
hg_main.c     [all...]
  /external/valgrind/main/massif/
ms_main.c 547 SizeT szB;
570 SizeT szB; // memory size for the node, be it Sig or Insig
623 xpt->szB = 0;
667 return ( sxpt1->szB < sxpt2->szB ? 1
668 : sxpt1->szB > sxpt2->szB ? -1
707 if (xpt->children[i]->szB >= sig_child_threshold_szB) {
718 sxpt->szB = xpt->szB;
    [all...]
ms_print.in 258 my ($szB, $szB_scaled) = @_;
260 # For the label, if $szB is 999B or below, we print it as an integer.
272 if ($szB < 1000) { return sprintf("%5d", $szB); }
302 my ($szB) = @_;
306 my $szB_scaled = $szB;
320 return (max_label_2($szB, $szB_scaled), $unit);
326 my ($szB) = @_;
331 my $szB_scaled = $szB;
336 return (max_label_2($szB, $szB_scaled), $unit)
    [all...]
  /external/valgrind/main/coregrind/m_aspacemgr/
aspacemgr-common.c 355 Int szB;
362 szB = VG_STACK_GUARD_SZB
365 sres = VG_(am_mmap_anon_float_valgrind)( szB );
371 aspacem_assert(VG_IS_PAGE_ALIGNED(szB));
407 (ULong)(Addr)stack, szB);
414 (void)ML_(am_do_munmap_NO_NOTIFY)( (Addr)stack, szB );
  /external/valgrind/main/exp-dhat/
dh_main.c 620 static void* dh_malloc ( ThreadId tid, SizeT szB )
622 return new_block( tid, NULL, szB, VG_(clo_alignment), /*is_zeroed*/False );
625 static void* dh___builtin_new ( ThreadId tid, SizeT szB )
627 return new_block( tid, NULL, szB, VG_(clo_alignment), /*is_zeroed*/False );
630 static void* dh___builtin_vec_new ( ThreadId tid, SizeT szB )
632 return new_block( tid, NULL, szB, VG_(clo_alignment), /*is_zeroed*/False );
635 static void* dh_calloc ( ThreadId tid, SizeT m, SizeT szB )
637 return new_block( tid, NULL, m*szB, VG_(clo_alignment), /*is_zeroed*/True );
640 static void *dh_memalign ( ThreadId tid, SizeT alignB, SizeT szB )
642 return new_block( tid, NULL, szB, alignB, False )
    [all...]
  /external/valgrind/main/coregrind/m_initimg/
initimg-linux.c 918 SizeT szB = (SizeT)VG_(client_rlimit_stack).rlim_cur;
919 if (szB < m1) szB = m1;
920 if (szB > m16) szB = m16;
921 if (VG_(clo_main_stacksize) > 0) szB = VG_(clo_main_stacksize);
922 if (szB < m1) szB = m1;
923 szB = VG_PGROUNDUP(szB);
    [all...]
  /external/valgrind/main/coregrind/m_gdbserver/
m_gdbserver.c 393 Bool VG_(is_watched)(PointKind kind, Addr addr, Int szB)
406 Addr to = addr + szB; // semi-open interval [addr, to[
411 dlog(1, "tid %d VG_(is_watched) %s addr %p szB %d\n",
412 tid, VG_(ppPointKind) (kind), C2v(addr), szB);
    [all...]

Completed in 338 milliseconds

1 2