Home
last modified time | relevance | path

Searched refs:allocFunc (Results 1 – 2 of 2) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/asan/
Dasan_malloc_win.cpp276 FreeFunction freeFunc, AllocFunction allocFunc, in SharedReAlloc() argument
278 CHECK(reallocFunc && heapSizeFunc && freeFunc && allocFunc); in SharedReAlloc()
338 void *replacement_alloc = allocFunc(hHeap, dwFlags, dwBytes); in SharedReAlloc()
/freebsd-12-stable/sys/contrib/zstd/zlibWrapper/
Dzstd_zlibwrapper.c95 z_stream allocFunc; /* copy of zalloc, zfree, opaque */ member
123 memcpy(&zwc->allocFunc, strm, sizeof(z_stream)); in ZWRAP_createCCtx()
124 …STD_customMem const ZWRAP_customMem = { ZWRAP_allocFunction, ZWRAP_freeFunction, &zwc->allocFunc }; in ZWRAP_createCCtx()
444 z_stream allocFunc; /* just to copy zalloc, zfree, opaque */ member
464 zwd->allocFunc = *strm; /* just to copy zalloc, zfree & opaque */ in ZWRAP_createDCtx()
465 …STD_customMem const ZWRAP_customMem = { ZWRAP_allocFunction, ZWRAP_freeFunction, &zwd->allocFunc }; in ZWRAP_createDCtx()