HomeSort by relevance Sort by last modified time
    Searched refs:alloc_fn (Results 1 - 9 of 9) sorted by null

  /system/bt/osi/include/
allocator.h 25 typedef void* (*alloc_fn)(size_t size); typedef
29 alloc_fn alloc;
  /external/valgrind/coregrind/
m_poolalloc.c 39 void* (*alloc_fn)(const HChar*, SizeT); /* pool allocator */ member in struct:_PoolAlloc
53 void* (*alloc_fn)(const HChar*, SizeT),
61 vg_assert(alloc_fn);
64 pa = alloc_fn(cc, sizeof(*pa));
70 pa->alloc_fn = alloc_fn;
73 pa->pools = VG_(newXA)( alloc_fn, cc, free_fn, sizeof(void*) );
98 pool = pa->alloc_fn( pa->cc, pa->elemSzB * pa->nPerPool );
m_deduppoolalloc.c 45 void* (*alloc_fn)(const HChar*, SizeT); /* pool allocator */ member in struct:_DedupPoolAlloc
85 void* (*alloc_fn)(const HChar*, SizeT),
93 vg_assert(alloc_fn);
96 ddpa = alloc_fn(cc, sizeof(*ddpa));
101 ddpa->alloc_fn = alloc_fn;
104 ddpa->pools = VG_(newXA)( alloc_fn, cc, free_fn, sizeof(void*) );
109 alloc_fn,
148 UChar *newpool = ddpa->alloc_fn (ddpa->cc, 2 * curpool_size);
172 ddpa->curpool = ddpa->alloc_fn( ddpa->cc, ddpa->poolSzB)
    [all...]
m_rangemap.c 51 void* (*alloc_fn) ( const HChar*, SizeT ); /* alloc fn (nofail) */ member in struct:_RangeMap
65 RangeMap* VG_(newRangeMap) ( void*(*alloc_fn)(const HChar*,SizeT),
71 vg_assert(alloc_fn);
73 RangeMap* rm = alloc_fn(cc, sizeof(RangeMap));
74 rm->alloc_fn = alloc_fn;
77 rm->ranges = VG_(newXA)( alloc_fn, cc, free_fn, sizeof(Range) );
m_xarray.c 41 void* (*alloc_fn) ( const HChar*, SizeT ); /* alloc fn (nofail) */ member in struct:_XArray
53 XArray* VG_(newXA) ( void*(*alloc_fn)(const HChar*,SizeT),
65 vg_assert(alloc_fn);
68 xa = alloc_fn( cc, sizeof(struct _XArray) );
69 xa->alloc_fn = alloc_fn;
86 vg_assert(xa->alloc_fn);
90 nyu = xa->alloc_fn( nyu_cc, sizeof(struct _XArray) );
104 nyu->arr = nyu->alloc_fn( nyu->cc, nyu->totsizeE * nyu->elemSzB );
152 xa->arr = xa->alloc_fn(xa->cc, n * xa->elemSzB)
    [all...]
m_oset.c 115 OSetAlloc_t alloc_fn; // allocator member in struct:_OSet
289 OSetAlloc_t alloc_fn, const HChar* cc,
298 vg_assert(alloc_fn);
302 t = alloc_fn(cc, sizeof(AvlTree));
305 t->alloc_fn = alloc_fn;
318 OSetAlloc_t alloc_fn, const HChar* cc,
325 t = VG_(OSetGen_Create) (keyOff, cmp, alloc_fn, cc, free_fn);
333 t->alloc_fn,
347 t = os->alloc_fn(os->cc, sizeof(AvlTree))
    [all...]
  /external/valgrind/include/
pub_tool_oset.h 94 // - alloc_fn The allocation function used internally for allocating the
106 extern OSet* VG_(OSetWord_Create) ( OSetAlloc_t alloc_fn, const HChar* cc,
167 // - alloc_fn The allocation function used for allocating the OSet itself;
207 OSetAlloc_t alloc_fn, const HChar* cc,
212 OSetAlloc_t alloc_fn,
pub_tool_rangemap.h 46 alloc_fn must not return NULL (that is, if it returns it must have
50 RangeMap* VG_(newRangeMap) ( void*(*alloc_fn)(const HChar*,SizeT),
pub_tool_xarray.h 54 for elements of the specified size. alloc_fn must not return NULL (that
57 extern XArray* VG_(newXA) ( void*(*alloc_fn)(const HChar*,SizeT),

Completed in 524 milliseconds