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.c4431 Int elemSzB; in do_shadow_CAS_single() local
4442 case Ity_I8: elemSzB = 1; opCasCmpEQ = Iop_CasCmpEQ8; break; in do_shadow_CAS_single()
4443 case Ity_I16: elemSzB = 2; opCasCmpEQ = Iop_CasCmpEQ16; break; in do_shadow_CAS_single()
4444 case Ity_I32: elemSzB = 4; opCasCmpEQ = Iop_CasCmpEQ32; break; in do_shadow_CAS_single()
4445 case Ity_I64: elemSzB = 8; opCasCmpEQ = Iop_CasCmpEQ64; break; in do_shadow_CAS_single()
4485 gen_load_b(mce, elemSzB, cas->addr, 0/*addr bias*/)); in do_shadow_CAS_single()
4506 gen_store_b( mce, elemSzB, cas->addr, 0/*offset*/, in do_shadow_CAS_single()
4524 Int elemSzB, memOffsLo, memOffsHi; in do_shadow_CAS_double() local
4537 elemSzB = 1; zero = mkU8(0); in do_shadow_CAS_double()
4541 elemSzB = 2; zero = mkU16(0); in do_shadow_CAS_double()
[all …]
/external/valgrind/main/helgrind/
Dlibhb_core.c3824 UWord elemSzB; /* element size */ member
3840 UWord elemSzB, in init_GroupAlloc() argument
3846 tl_assert(0 == (elemSzB % sizeof(UWord))); in init_GroupAlloc()
3847 tl_assert(elemSzB >= sizeof(UWord)); in init_GroupAlloc()
3854 ga->elemSzB = elemSzB; in init_GroupAlloc()
3874 group = ga->alloc( ga->cc, ga->elemSzB * ga->nPerGroup ); in gal_add_new_group()
3880 UChar* elemC = ((UChar*)group) + i * ga->elemSzB; in gal_add_new_group()
3904 tl_assert(n == ga->elemSzB); in gal_Alloc_w_size_check()