Searched defs:alloc_func (Results 1 - 21 of 21) sorted by relevance

/external/brotli/c/enc/
H A Dmemory.h25 brotli_alloc_func alloc_func; member in struct:MemoryManager
38 MemoryManager* m, brotli_alloc_func alloc_func, brotli_free_func free_func,
H A Dmemory.c42 MemoryManager* m, brotli_alloc_func alloc_func, brotli_free_func free_func,
44 if (!alloc_func) {
45 m->alloc_func = DefaultAllocFunc;
49 m->alloc_func = alloc_func;
64 void* result = m->alloc_func(m->opaque, n);
150 void* result = m->alloc_func(m->opaque, n);
41 BrotliInitMemoryManager( MemoryManager* m, brotli_alloc_func alloc_func, brotli_free_func free_func, void* opaque) argument
H A Dencode.c721 BrotliEncoderState* BrotliEncoderCreateInstance(brotli_alloc_func alloc_func, argument
725 if (!alloc_func && !free_func) {
727 } else if (alloc_func && free_func) {
728 state = (BrotliEncoderState*)alloc_func(opaque, sizeof(BrotliEncoderState));
735 &state->memory_manager_, alloc_func, free_func, opaque);
/external/opencv/cxcore/src/
H A Dcxalloc.cpp80 CV_IMPL void cvSetMemoryManager( CvAllocFunc alloc_func, CvFreeFunc free_func, void* userdata ) argument
86 if( (alloc_func == 0) ^ (free_func == 0) )
89 p_cvAlloc = alloc_func ? alloc_func : icvDefaultAlloc;
/external/tensorflow/tensorflow/core/common_runtime/
H A Dallocator_retry.cc29 alloc_func,
39 ptr = alloc_func(alignment, num_bytes, false);
51 return alloc_func(alignment, num_bytes, true);
26 AllocateRaw( std::function<void*(size_t alignment, size_t num_bytes, bool verbose_failure)> alloc_func, int max_millis_to_wait, size_t alignment, size_t num_bytes) argument
/external/libexif/libexif/
H A Dexif-mem.c7 ExifMemAllocFunc alloc_func; member in struct:_ExifMem
34 exif_mem_new (ExifMemAllocFunc alloc_func, ExifMemReallocFunc realloc_func, argument
39 if (!alloc_func && !realloc_func)
41 mem = alloc_func ? alloc_func (sizeof (ExifMem)) :
46 mem->alloc_func = alloc_func;
82 if (mem->alloc_func || mem->realloc_func)
83 return mem->alloc_func ? mem->alloc_func (d
[all...]
/external/brotli/c/dec/
H A Dstate.c33 brotli_alloc_func alloc_func, brotli_free_func free_func, void* opaque) {
34 if (!alloc_func) {
35 s->alloc_func = DefaultAllocFunc;
39 s->alloc_func = alloc_func;
32 BrotliDecoderStateInitWithCustomAllocators(BrotliDecoderState* s, brotli_alloc_func alloc_func, brotli_free_func free_func, void* opaque) argument
H A Dstate.h106 brotli_alloc_func alloc_func; member in struct:BrotliDecoderStateStruct
233 BrotliDecoderState* s, brotli_alloc_func alloc_func,
H A Ddecode.c72 brotli_alloc_func alloc_func, brotli_free_func free_func, void* opaque) {
74 if (!alloc_func && !free_func) {
76 } else if (alloc_func && free_func) {
77 state = (BrotliDecoderState*)alloc_func(opaque, sizeof(BrotliDecoderState));
84 state, alloc_func, free_func, opaque);
71 BrotliDecoderCreateInstance( brotli_alloc_func alloc_func, brotli_free_func free_func, void* opaque) argument
/external/freetype/src/bzip2/
H A Dftbzip2.c65 typedef void *(* alloc_func)(void*, int, int); typedef
175 bzstream->bzalloc = (alloc_func)ft_bzip2_alloc;
/external/freetype/src/gzip/
H A Dzlib.h63 typedef voidpf (*alloc_func) OF((voidpf opaque, uInt items, uInt size)); typedef
80 alloc_func zalloc; /* used to allocate the internal state */
/external/python/cpython2/Modules/zlib/
H A Dzlib.h80 typedef voidpf (*alloc_func) OF((voidpf opaque, uInt items, uInt size)); typedef
97 alloc_func zalloc; /* used to allocate the internal state */
H A Dzconf.h130 # define alloc_func z_alloc_func macro
/external/python/cpython3/Modules/zlib/
H A Dzlib.h81 typedef voidpf (*alloc_func) OF((voidpf opaque, uInt items, uInt size)); typedef
98 alloc_func zalloc; /* used to allocate the internal state */
H A Dzconf.h143 # define alloc_func z_alloc_func macro
/external/syslinux/com32/include/
H A Dzlib.h80 typedef voidpf (*alloc_func) OF((voidpf opaque, uInt items, uInt size)); typedef
97 alloc_func zalloc; /* used to allocate the internal state */
H A Dzconf.h111 # define alloc_func z_alloc_func macro
/external/zlib/src/
H A Dzlib.h81 typedef voidpf (*alloc_func) OF((voidpf opaque, uInt items, uInt size)); typedef
98 alloc_func zalloc; /* used to allocate the internal state */
H A Dzconf.h143 # define alloc_func z_alloc_func macro
/external/zlib/
H A Dzlib.h81 typedef voidpf (*alloc_func) OF((voidpf opaque, uInt items, uInt size)); typedef
98 alloc_func zalloc; /* used to allocate the internal state */
H A Dzconf.h143 # define alloc_func z_alloc_func macro

Completed in 984 milliseconds