Searched refs:elemSzB (Results 1 – 5 of 5) sorted by relevance
/external/valgrind/coregrind/ |
D | m_xarray.c | 45 Word elemSzB; /* element size in bytes */ member 56 Word elemSzB ) in VG_() 67 vg_assert(elemSzB > 0); in VG_() 73 xa->elemSzB = elemSzB; in VG_() 88 vg_assert(xa->elemSzB >= 1); in VG_() 104 nyu->arr = nyu->alloc_fn( nyu->cc, nyu->totsizeE * nyu->elemSzB ); in VG_() 105 VG_(memcpy)( nyu->arr, xa->arr, nyu->totsizeE * nyu->elemSzB ); in VG_() 135 return ((char*)xa->arr) + n * xa->elemSzB; in VG_() 152 xa->arr = xa->alloc_fn(xa->cc, n * xa->elemSzB); in VG_() 171 if (xa->elemSzB == 1) newsz = 8; in ensureSpaceXA() [all …]
|
D | m_poolalloc.c | 37 UWord elemSzB; /* element size */ member 51 PoolAlloc* VG_(newPA) ( UWord elemSzB, in VG_() 58 vg_assert(0 == (elemSzB % sizeof(UWord))); in VG_() 59 vg_assert(elemSzB >= sizeof(UWord)); in VG_() 67 pa->elemSzB = elemSzB; in VG_() 98 pool = pa->alloc_fn( pa->cc, pa->elemSzB * pa->nPerPool ); in pal_add_new_pool() 103 UChar* elemC = ((UChar*)pool) + i * pa->elemSzB; in pal_add_new_pool()
|
/external/valgrind/include/ |
D | pub_tool_poolalloc.h | 57 extern PoolAlloc* VG_(newPA) ( UWord elemSzB,
|
D | pub_tool_xarray.h | 60 Word elemSzB );
|
/external/valgrind/memcheck/ |
D | mc_translate.c | 5738 Int elemSzB; in do_shadow_CAS_single() local 5749 case Ity_I8: elemSzB = 1; opCasCmpEQ = Iop_CasCmpEQ8; break; in do_shadow_CAS_single() 5750 case Ity_I16: elemSzB = 2; opCasCmpEQ = Iop_CasCmpEQ16; break; in do_shadow_CAS_single() 5751 case Ity_I32: elemSzB = 4; opCasCmpEQ = Iop_CasCmpEQ32; break; in do_shadow_CAS_single() 5752 case Ity_I64: elemSzB = 8; opCasCmpEQ = Iop_CasCmpEQ64; break; in do_shadow_CAS_single() 5793 gen_load_b(mce, elemSzB, cas->addr, 0/*addr bias*/)); in do_shadow_CAS_single() 5814 gen_store_b( mce, elemSzB, cas->addr, 0/*offset*/, in do_shadow_CAS_single() 5832 Int elemSzB, memOffsLo, memOffsHi; in do_shadow_CAS_double() local 5845 elemSzB = 1; zero = mkU8(0); in do_shadow_CAS_double() 5849 elemSzB = 2; zero = mkU16(0); in do_shadow_CAS_double() [all …]
|