/external/valgrind/coregrind/ |
D | m_poolalloc.c | 39 void* (*alloc_fn)(const HChar*, SizeT); /* pool allocator */ member 53 void* (*alloc_fn)(const HChar*, SizeT), in VG_() 61 vg_assert(alloc_fn); in VG_() 64 pa = alloc_fn(cc, sizeof(*pa)); in VG_() 70 pa->alloc_fn = alloc_fn; in VG_() 73 pa->pools = VG_(newXA)( alloc_fn, cc, free_fn, sizeof(void*) ); in VG_() 98 pool = pa->alloc_fn( pa->cc, pa->elemSzB * pa->nPerPool ); in pal_add_new_pool()
|
D | m_deduppoolalloc.c | 45 void* (*alloc_fn)(const HChar*, SizeT); /* pool allocator */ member 85 void* (*alloc_fn)(const HChar*, SizeT), in VG_() 93 vg_assert(alloc_fn); in VG_() 96 ddpa = alloc_fn(cc, sizeof(*ddpa)); in VG_() 101 ddpa->alloc_fn = alloc_fn; in VG_() 104 ddpa->pools = VG_(newXA)( alloc_fn, cc, free_fn, sizeof(void*) ); in VG_() 109 alloc_fn, in VG_() 148 UChar *newpool = ddpa->alloc_fn (ddpa->cc, 2 * curpool_size); in ddpa_add_new_pool_or_grow() 172 ddpa->curpool = ddpa->alloc_fn( ddpa->cc, ddpa->poolSzB); in ddpa_add_new_pool_or_grow()
|
D | m_xarray.c | 41 void* (*alloc_fn) ( const HChar*, SizeT ); /* alloc fn (nofail) */ member 53 XArray* VG_(newXA) ( void*(*alloc_fn)(const HChar*,SizeT), in VG_() 65 vg_assert(alloc_fn); in VG_() 68 xa = alloc_fn( cc, sizeof(struct _XArray) ); in VG_() 69 xa->alloc_fn = alloc_fn; in VG_() 86 vg_assert(xa->alloc_fn); in VG_() 90 nyu = xa->alloc_fn( nyu_cc, sizeof(struct _XArray) ); in VG_() 104 nyu->arr = nyu->alloc_fn( nyu->cc, nyu->totsizeE * nyu->elemSzB ); in VG_() 152 xa->arr = xa->alloc_fn(xa->cc, n * xa->elemSzB); in VG_() 180 tmp = xa->alloc_fn(xa->cc, newsz * xa->elemSzB); in ensureSpaceXA()
|
D | m_rangemap.c | 51 void* (*alloc_fn) ( const HChar*, SizeT ); /* alloc fn (nofail) */ member 65 RangeMap* VG_(newRangeMap) ( void*(*alloc_fn)(const HChar*,SizeT), in VG_() 71 vg_assert(alloc_fn); in VG_() 73 RangeMap* rm = alloc_fn(cc, sizeof(RangeMap)); in VG_() 74 rm->alloc_fn = alloc_fn; in VG_() 77 rm->ranges = VG_(newXA)( alloc_fn, cc, free_fn, sizeof(Range) ); in VG_()
|
D | m_oset.c | 115 OSetAlloc_t alloc_fn; // allocator member 289 OSetAlloc_t alloc_fn, const HChar* cc, in VG_() 298 vg_assert(alloc_fn); in VG_() 302 t = alloc_fn(cc, sizeof(AvlTree)); in VG_() 305 t->alloc_fn = alloc_fn; in VG_() 318 OSetAlloc_t alloc_fn, const HChar* cc, in VG_() 325 t = VG_(OSetGen_Create) (keyOff, cmp, alloc_fn, cc, free_fn); in VG_() 333 t->alloc_fn, in VG_() 347 t = os->alloc_fn(os->cc, sizeof(AvlTree)); in VG_() 350 t->alloc_fn = os->alloc_fn; in VG_() [all …]
|
/external/valgrind/include/ |
D | pub_tool_oset.h | 106 extern OSet* VG_(OSetWord_Create) ( OSetAlloc_t alloc_fn, const HChar* cc, 207 OSetAlloc_t alloc_fn, const HChar* cc, 212 OSetAlloc_t alloc_fn,
|
D | pub_tool_rangemap.h | 50 RangeMap* VG_(newRangeMap) ( void*(*alloc_fn)(const HChar*,SizeT),
|
D | pub_tool_xarray.h | 57 extern XArray* VG_(newXA) ( void*(*alloc_fn)(const HChar*,SizeT),
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_interceptors.inc | 4896 int align, void *(*alloc_fn)(uptr arg, uptr sz), 4899 COMMON_INTERCEPTOR_ENTER(ctx, _obstack_begin_1, obstack, sz, align, alloc_fn, 4901 int res = REAL(_obstack_begin_1)(obstack, sz, align, alloc_fn, free_fn); 4906 int align, void *(*alloc_fn)(uptr sz), void (*free_fn)(void *p)) { 4908 COMMON_INTERCEPTOR_ENTER(ctx, _obstack_begin, obstack, sz, align, alloc_fn, 4910 int res = REAL(_obstack_begin)(obstack, sz, align, alloc_fn, free_fn);
|