Home
last modified time | relevance | path

Searched refs:elemSzB (Results 1 – 4 of 4) sorted by relevance

/external/valgrind/main/coregrind/
Dm_xarray.c45 Word elemSzB; /* element size in bytes */ member
56 Word elemSzB ) in VG_()
67 vg_assert(elemSzB > 0); in VG_()
74 xa->elemSzB = elemSzB; in VG_()
90 vg_assert(xa->elemSzB >= 1); in VG_()
107 nyu->arr = nyu->alloc( nyu->cc, nyu->totsizeE * nyu->elemSzB ); in VG_()
112 VG_(memcpy)( nyu->arr, xa->arr, nyu->totsizeE * nyu->elemSzB ); in VG_()
143 return ((char*)xa->arr) + n * xa->elemSzB; in VG_()
161 if (xa->elemSzB == 1) newsz = 8; in ensureSpaceXA()
162 else if (xa->elemSzB == 2) newsz = 4; in ensureSpaceXA()
[all …]
/external/valgrind/main/include/
Dpub_tool_xarray.h55 Word elemSzB );
/external/valgrind/main/memcheck/
Dmc_translate.c4213 Int elemSzB; in do_shadow_CAS_single() local
4224 case Ity_I8: elemSzB = 1; opCasCmpEQ = Iop_CasCmpEQ8; break; in do_shadow_CAS_single()
4225 case Ity_I16: elemSzB = 2; opCasCmpEQ = Iop_CasCmpEQ16; break; in do_shadow_CAS_single()
4226 case Ity_I32: elemSzB = 4; opCasCmpEQ = Iop_CasCmpEQ32; break; in do_shadow_CAS_single()
4227 case Ity_I64: elemSzB = 8; opCasCmpEQ = Iop_CasCmpEQ64; break; in do_shadow_CAS_single()
4267 gen_load_b(mce, elemSzB, cas->addr, 0/*addr bias*/)); in do_shadow_CAS_single()
4288 gen_store_b( mce, elemSzB, cas->addr, 0/*offset*/, in do_shadow_CAS_single()
4306 Int elemSzB, memOffsLo, memOffsHi; in do_shadow_CAS_double() local
4319 elemSzB = 1; zero = mkU8(0); in do_shadow_CAS_double()
4323 elemSzB = 2; zero = mkU16(0); in do_shadow_CAS_double()
[all …]
/external/valgrind/main/helgrind/
Dlibhb_core.c3066 UWord elemSzB; /* element size */ member
3082 UWord elemSzB, in init_GroupAlloc() argument
3088 tl_assert(0 == (elemSzB % sizeof(UWord))); in init_GroupAlloc()
3089 tl_assert(elemSzB >= sizeof(UWord)); in init_GroupAlloc()
3096 ga->elemSzB = elemSzB; in init_GroupAlloc()
3116 group = ga->alloc( ga->cc, ga->elemSzB * ga->nPerGroup ); in gal_add_new_group()
3122 UChar* elemC = ((UChar*)group) + i * ga->elemSzB; in gal_add_new_group()
3146 tl_assert(n == ga->elemSzB); in gal_Alloc_w_size_check()