Home | History | Annotate | Download | only in coregrind

Lines Matching refs:arr

46    void* arr;       /* pointer to elements */
47 Word usedsizeE; /* # used elements in arr */
48 Word totsizeE; /* max size of arr, in elements */
77 xa->arr = NULL;
96 if (nyu->arr) {
104 nyu->arr = nyu->alloc_fn( nyu->cc, nyu->totsizeE * nyu->elemSzB );
105 VG_(memcpy)( nyu->arr, xa->arr, nyu->totsizeE * nyu->elemSzB );
115 if (xa->arr)
116 xa->free_fn(xa->arr);
135 return ((char*)xa->arr) + n * xa->elemSzB;
151 vg_assert(!xa->arr);
152 xa->arr = xa->alloc_fn(xa->cc, n * xa->elemSzB);
162 vg_assert(!xa->arr);
164 vg_assert(xa->arr);
182 VG_(memcpy)(tmp, xa->arr, xa->usedsizeE * xa->elemSzB);
183 if (xa->arr)
184 xa->free_fn(xa->arr);
185 xa->arr = tmp;
198 vg_assert(xa->arr);
199 VG_(memcpy)( ((UChar*)xa->arr) + xa->usedsizeE * xa->elemSzB,
218 vg_assert(xa->arr);
219 * (((UChar*)xa->arr) + xa->usedsizeE) = ((const UChar*)bytesV)[i];
230 VG_(ssort)( xa->arr, xa->usedsizeE, xa->elemSzB, xa->cmpFn );
309 VG_(memcpy)( (char*)xa->arr,
310 ((char*)xa->arr) + n * xa->elemSzB,
321 VG_(memmove)( ((char*)xa->arr) + (n+0) * xa->elemSzB,
322 ((char*)xa->arr) + (n+1) * xa->elemSzB,
336 vg_assert(xa->arr);
338 VG_(memmove) ( ((char*)xa->arr) + (n+1) * xa->elemSzB,
339 ((char*)xa->arr) + (n+0) * xa->elemSzB,
342 VG_(memcpy)( ((UChar*)xa->arr) + n * xa->elemSzB,
353 *ctsP = (void*)xa->arr;