Lines Matching refs:elemSzB
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()
172 else if (xa->elemSzB == 2) newsz = 4; in ensureSpaceXA()
180 tmp = xa->alloc_fn(xa->cc, newsz * xa->elemSzB); in ensureSpaceXA()
182 VG_(memcpy)(tmp, xa->arr, xa->usedsizeE * xa->elemSzB); in ensureSpaceXA()
199 VG_(memcpy)( ((UChar*)xa->arr) + xa->usedsizeE * xa->elemSzB, in VG_()
200 elem, xa->elemSzB ); in VG_()
210 vg_assert(xa->elemSzB == 1); in VG_()
230 VG_(ssort)( xa->arr, xa->usedsizeE, xa->elemSzB, xa->cmpFn ); in VG_()
313 ((char*)xa->arr) + n * xa->elemSzB, in VG_()
314 (xa->usedsizeE - n) * xa->elemSzB ); in VG_()
324 VG_(memmove)( ((char*)xa->arr) + (n+0) * xa->elemSzB, in VG_()
325 ((char*)xa->arr) + (n+1) * xa->elemSzB, in VG_()
326 (xa->usedsizeE - n - 1) * xa->elemSzB ); in VG_()
341 VG_(memmove) ( ((char*)xa->arr) + (n+1) * xa->elemSzB, in VG_()
342 ((char*)xa->arr) + (n+0) * xa->elemSzB, in VG_()
343 (xa->usedsizeE - n) * xa->elemSzB ); in VG_()
345 VG_(memcpy)( ((UChar*)xa->arr) + n * xa->elemSzB, in VG_()
346 elem, xa->elemSzB ); in VG_()