Searched refs:szB (Results 1 - 25 of 63) sorted by relevance

123

/external/valgrind/main/memcheck/tests/
H A Dcalloc-overflow.c13 size_t szB = 0x1000000010000001ULL; local
15 size_t szB = 0x10000001UL; local
17 x = calloc(szB, 0x10);
/external/valgrind/main/tests/
H A Dmalloc.h14 static void* memalign16(size_t szB) argument
19 x = malloc(szB);
21 x = memalign(16, szB);
/external/valgrind/main/memcheck/
H A Dmc_malloc_wrappers.c78 MC_Chunk* create_MC_Chunk ( ThreadId tid, 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 ( ThreadId tid, Addr p, SizeT szB, argument
195 mc->szB = szB;
241 if (found_mc->szB !
366 new_block( ThreadId tid, Addr p, SizeT szB, SizeT alignB, Bool is_zeroed, MC_AllocKind kind, VgHashTable table) argument
854 mempool_alloc(ThreadId tid, Addr pool, Addr addr, SizeT szB) argument
918 mempool_trim(Addr pool, Addr addr, SizeT szB) argument
1054 mempool_change(Addr pool, Addr addrA, Addr addrB, SizeT szB) argument
[all...]
H A Dmc_leakcheck.c272 a_hi = ((Addr)chunks[i]->data) + chunks[i]->szB;
300 a_mid_hi = chunks[mid]->data + chunks[mid]->szB;
307 if (chunks[mid]->szB == 0)
379 if (mc->szB > 1) {
380 m = find_chunk_for(mc->data + (mc->szB - 1), mallocs, n_mallocs);
547 tl_assert(ptr < ch->data + ch->szB + (ch->szB==0 ? 1 : 0));
566 VG_(printf)("pushing %#lx-%#lx\n", ch->data, ch->data + ch->szB);
698 if (3 * sizeof(SizeT) + capacity + 1 == ch->szB
734 if (nr_elts > 0 && (ch->szB
943 lc_scan_memory(Addr start, SizeT len, Bool is_prior_definite, Int clique, Int cur_clique, Addr searched, SizeT szB) argument
1581 scan_memory_root_set(Addr searched, SizeT szB) argument
1856 who_points_at( Addr address, SizeT szB) argument
[all...]
H A Dmc_errors.c93 SizeT szB; // size of value in bytes member in struct:_MC_Error::__anon33008::__anon33009
115 SizeT szB; // not used for exec (jump) errors member in struct:_MC_Error::__anon33008::__anon33012
166 SizeT szB; // Size in bytes; 0 if unused. member in struct:_MC_Error::__anon33008::__anon33019
306 lr->szB + lr->indirect_szB,
310 lr->szB,
329 lr->szB + lr->indirect_szB, d_bytes,
330 lr->szB, d_direct_bytes,
337 lr->szB + lr->indirect_szB );
344 lr->szB, d_direct_bytes,
348 emit( " <leakedbytes>%ld</leakedbytes>\n", lr->szB);
686 record_address_error( ThreadId tid, Addr a, Int szB, Bool isWrite ) argument
712 record_value_error( ThreadId tid, Int szB, UInt otag ) argument
[all...]
/external/valgrind/main/include/
H A Dpub_tool_gdbserver.h112 extern Bool VG_(is_watched)(PointKind kind, Addr addr, Int szB);
182 If no size in the string, keeps the current value of szB.
186 set *address and *szB to 0,
190 SizeT* szB,
H A Dpub_tool_mallocfree.h55 extern void VG_(out_of_memory_NORETURN) ( const HChar* who, SizeT szB );
H A Dpub_tool_debuginfo.h141 SizeT szB; /* size in bytes */ member in struct:__anon32881
162 SizeT szB; member in struct:__anon32882
/external/valgrind/main/helgrind/
H A Dhg_addrdescr.h63 /*OUT*/SizeT* szB,
H A Dhg_errors.c295 Int szB; member in struct:__anon32822::__anon32823::__anon32824
419 Int acc_szB = xe->XE.Race.szB;
456 Addr data_addr, Int szB, Bool isWrite,
484 xe.XE.Race.szB = szB;
488 tl_assert(szB == 8 || szB == 4 || szB == 2 || szB == 1);
651 return xe1->XE.Race.szB
455 record_error_Race( Thread* thr, Addr data_addr, Int szB, Bool isWrite, Thread* h1_ct, ExeContext* h1_ct_segstart, ExeContext* h1_ct_mbsegendEC ) argument
1135 Int szB; local
[all...]
H A Dhg_errors.h55 Addr data_addr, Int szB, Bool isWrite,
/external/valgrind/main/exp-sgcheck/
H A Dsg_main.c175 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 1
474 SizeT szB; /* copied from .descr->szB */ member in struct:__anon32801
628 SizeT szB; /* copied from .descr->szB */ member in struct:__anon32802
824 SizeT szB; member in struct:__anon32804::__anon32805::__anon32808
903 SizeT szB = 0; local
1002 SizeT szB; member in struct:__anon32811
1508 classify_address( Invar* inv, ThreadId tid, Addr ea, Addr sp, Addr fp, UWord szB, XArray* thisInstrBlocks ) argument
1768 UWord szB; local
2117 instrument_mem_access( struct _SGEnv* sge, IRSB* bbOut, IRExpr* addr, Int szB, Bool isStore, Int hWordTy_szB, Addr curr_IP, VexGuestLayout* layout ) argument
[all...]
H A Dh_main.c95 SizeT szB; /* may be zero */ member in struct:_Seg
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/
H A Dpriv_tytypes.h105 Int szB; member in struct:__anon32441::__anon32442::__anon32450
109 Int szB; member in struct:__anon32441::__anon32442::__anon32451
118 UWord szB; member in struct:__anon32441::__anon32442::__anon32453
126 Int szB; member in struct:__anon32441::__anon32442::__anon32454
H A Dreaddwarf3.c208 return c->sli_next >= c->sli.ioff + c->sli.szB;
222 return c->sli.ioff + c->sli.szB - c->sli_next;
239 if (c->sli_next + sizeof(UChar) > c->sli.ioff + c->sli.szB) {
251 if (c->sli_next + sizeof(UShort) > c->sli.ioff + c->sli.szB) {
263 if (c->sli_next + sizeof(UInt) > c->sli.ioff + c->sli.szB) {
275 if (c->sli_next + sizeof(ULong) > c->sli.ioff + c->sli.szB) {
494 /* The use of escn_debug_{info,types}.szB seems safe to me even if
496 sections were not found), because DiSlice_INVALID.szB is always
499 if (die >= cc->escn_debug_info.szB) {
500 if (die >= cc->escn_debug_info.szB
1079 Long szB; // 1, 2, 4, 8 or non-positive values only. member in struct:__anon32474
[all...]
H A Dreadmacho.c99 Bool ML_(is_macho_object_file)( const void* buf, SizeT szB )
118 if (szB < sizeof(struct fat_header))
123 if (szB < sizeof(struct MACH_HEADER))
224 sli.szB = arch.size;
240 if (sli.szB < sizeof(struct MACH_HEADER)) {
245 if (sli.szB > ML_(img_size)(sli.img)) {
250 if (sli.ioff >= 0 && sli.ioff + sli.szB <= ML_(img_size)(sli.img)) {
267 if (sli.szB < sizeof(struct MACH_HEADER) + mh.sizeofcmds) {
277 vg_assert(sli.szB > 0);
278 vg_assert(sli.ioff + sli.szB <
[all...]
H A Dtytypes.c127 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, te
[all...]
H A Dmisc.c45 void* ML_(dinfo_zalloc) ( const 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);
H A Dpriv_misc.h42 void* ML_(dinfo_zalloc)( const HChar* cc, SizeT szB );
/external/valgrind/main/massif/
H A Dms_main.c541 SizeT szB; member in struct:_XPt
564 SizeT szB; // memory size for the node, be it Sig or Insig member in struct:_SXPt
595 xpt->szB = 0;
639 return ( sxpt1->szB < sxpt2->szB ? 1
640 : sxpt1->szB > sxpt2->szB ? -1
679 if (xpt->children[i]->szB >= sig_child_threshold_szB) {
690 sxpt->szB = xpt->szB;
1982 SizeT szB = argv[2]; local
[all...]
H A Dms_print258 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,
[all...]
H A Dms_print.in258 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,
[all...]
/external/valgrind/main/exp-dhat/
H A Ddh_main.c620 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, align
800 addMemEvent(IRSB* sbOut, Bool isWrite, Int szB, IRExpr* addr, Int goff_sp) argument
[all...]
/external/valgrind/main/coregrind/m_aspacemgr/
H A Daspacemgr-common.c371 Int szB; local
378 szB = VG_STACK_GUARD_SZB
381 sres = VG_(am_mmap_anon_float_valgrind)( szB );
387 aspacem_assert(VG_IS_PAGE_ALIGNED(szB));
423 (ULong)(Addr)stack, szB);
430 (void)ML_(am_do_munmap_NO_NOTIFY)( (Addr)stack, szB );
/external/valgrind/main/VEX/priv/
H A Dhost_arm64_defs.h123 ARM64am_RI12, /* reg + uimm12 * szB (iow, scaled by access size) */
139 UChar szB; /* 1, 2, 4, 8 (16 ?) */ member in struct:__anon31732::__anon31733::__anon31735
150 extern ARM64AMode* ARM64AMode_RI12 ( HReg reg, Int uimm12, UChar szB );
764 Int szB; /* 1, 2, 4 or 8 */ member in struct:__anon31763::__anon31764::__anon31785
768 Int szB; /* 1, 2, 4 or 8 */ member in struct:__anon31763::__anon31764::__anon31786
1011 UInt szB; // 16=mov qD,qS; 8=mov dD,dS; 4=mov sD,sS member in struct:__anon31763::__anon31764::__anon31809
1057 extern ARM64Instr* ARM64Instr_LdrEX ( Int szB );
1058 extern ARM64Instr* ARM64Instr_StrEX ( Int szB );
1103 extern ARM64Instr* ARM64Instr_VMov ( UInt szB, HReg dst, HReg src );

Completed in 311 milliseconds

123