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

1 2 3

  /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/drd/
drd_bitmap2_node.c 117 void* DRD_(bm2_alloc_node)(HChar* const ec, const SizeT szB)
120 * If szB < sizeof(struct bitmap2) then this function has been called to
125 s_root_node_size = szB;
126 if (szB == s_root_node_size)
127 return VG_(malloc)(ec, szB);
134 s_bm2_node_size = szB;
136 tl_assert(s_bm2_node_size == szB);
  /external/valgrind/main/memcheck/
mc_malloc_wrappers.c 91 const int l = (mc->szB >= MC_(clo_freelist_big_blocks) ? 0 : 1);
102 if (mc->szB >= MC_(clo_freelist_vol)) {
111 VG_(free_queue_volume) += (Long)mc->szB;
137 VG_(free_queue_volume) -= (Long)mc1->szB;
165 if (VG_(addr_is_in_block)( a, mc->data, mc->szB,
177 MC_Chunk* create_MC_Chunk ( ExeContext* ec, Addr p, SizeT szB,
182 mc->szB = szB;
234 Addr p, SizeT szB, SizeT alignB,
246 p = (Addr)VG_(cli_malloc)( alignB, szB );
    [all...]
mc_leakcheck.c 269 a_hi = ((Addr)chunks[i]->data) + chunks[i]->szB;
297 a_mid_hi = chunks[mid]->data + chunks[mid]->szB;
304 if (chunks[mid]->szB == 0)
376 if (mc->szB > 1) {
377 m = find_chunk_for(mc->data + (mc->szB - 1), mallocs, n_mallocs);
506 tl_assert(ptr < ch->data + ch->szB + (ch->szB==0 ? 1 : 0));
525 VG_(printf)("pushing %#lx-%#lx\n", ch->data, ch->data + ch->szB);
570 expected_sz = chunk->szB - sizeof(Addr);
582 if (chunk->szB - 3*sizeof(SizeT) == assumed_capacity + 1
    [all...]
mc_errors.c 168 SizeT szB; // size of value in bytes
190 SizeT szB; // not used for exec (jump) errors
241 Int szB; // Size in bytes; 0 if unused.
480 extra->Err.Value.szB );
489 extra->Err.Value.szB );
636 extra->Err.Addr.szB );
644 extra->Err.Addr.szB );
672 if (extra->Err.Overlap.szB == 0) {
682 extra->Err.Overlap.szB );
686 if (extra->Err.Overlap.szB == 0)
    [all...]
mc_include.h 64 SizeT szB : (sizeof(SizeT)*8)-2; // Size requested; 30 or 62 bits.
142 Int MC_(get_otrack_shadow_offset) ( Int offset, Int szB );
299 SizeT szB; // Sum of all MC_Chunk.szB values.
367 void MC_(record_address_error) ( ThreadId tid, Addr a, Int szB,
370 void MC_(record_value_error) ( ThreadId tid, Int szB, UInt otag );
378 Addr src, Addr dst, SizeT szB );
mc_machine.c 88 /* Let (offset,szB) describe a reference to the guest state section
89 [offset, offset+szB).
120 static Int get_otrack_shadow_offset_wrk ( Int offset, Int szB ); /*fwds*/
122 Int MC_(get_otrack_shadow_offset) ( Int offset, Int szB )
124 Int cand = get_otrack_shadow_offset_wrk( offset, szB );
133 static Int get_otrack_shadow_offset_wrk ( Int offset, Int szB )
141 # define SZB(_fieldname) \
144 Int sz = szB;
248 tl_assert(SZB(VSR0) == 16);
272 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 53 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 98 Int szB;
102 Int szB;
112 UWord szB;
119 Int szB;
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 );
tytypes.c 126 te->Te.TyBase.szB, te->Te.TyBase.enc,
132 te->Te.TyPorR.szB,
145 te->Te.TyStOrUn.szB,
159 te->Te.TyEnum.szB, te->Te.TyEnum.atomRs,
502 r = Int__cmp(te1->Te.TyBase.szB, te2->Te.TyBase.szB);
507 r = Int__cmp(te1->Te.TyPorR.szB, te2->Te.TyPorR.szB);
523 r = UWord__cmp(te1->Te.TyStOrUn.szB, te2->Te.TyStOrUn.szB);
    [all...]
  /external/valgrind/main/helgrind/
hg_errors.h 52 Addr data_addr, Int szB, Bool isWrite,
86 /*OUT*/SizeT* szB,
  /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 907 SizeT szB = (SizeT)VG_(client_rlimit_stack).rlim_cur;
908 if (szB < m1) szB = m1;
909 if (szB > m16) szB = m16;
910 if (VG_(clo_main_stacksize) > 0) szB = VG_(clo_main_stacksize);
911 if (szB < m1) szB = m1;
912 szB = VG_PGROUNDUP(szB);
    [all...]
  /external/valgrind/main/coregrind/m_gdbserver/
m_gdbserver.c 343 Bool VG_(is_watched)(PointKind kind, Addr addr, Int szB)
352 Addr to = addr + szB; // semi-open interval [addr, to[
357 dlog(1, "tid %d VG_(is_watched) %s addr %p szB %d\n",
358 tid, VG_(ppPointKind) (kind), C2v(addr), szB);
    [all...]

Completed in 228 milliseconds

1 2 3