Home
last modified time | relevance | path

Searched refs:alloc_func (Results 1 – 25 of 61) sorted by relevance

123

/external/libexif/libexif/
Dexif-mem.c7 ExifMemAllocFunc alloc_func; member
34 exif_mem_new (ExifMemAllocFunc alloc_func, ExifMemReallocFunc realloc_func, in exif_mem_new() argument
39 if (!alloc_func && !realloc_func) in exif_mem_new()
41 mem = alloc_func ? alloc_func (sizeof (ExifMem)) : in exif_mem_new()
46 mem->alloc_func = alloc_func; in exif_mem_new()
82 if (mem->alloc_func || mem->realloc_func) in exif_mem_alloc()
83 return mem->alloc_func ? mem->alloc_func (ds) : in exif_mem_alloc()
/external/brotli/enc/
Dmemory.c42 MemoryManager* m, brotli_alloc_func alloc_func, brotli_free_func free_func, in BrotliInitMemoryManager() argument
44 if (!alloc_func) { in BrotliInitMemoryManager()
45 m->alloc_func = DefaultAllocFunc; in BrotliInitMemoryManager()
49 m->alloc_func = alloc_func; in BrotliInitMemoryManager()
64 void* result = m->alloc_func(m->opaque, n); in BrotliAllocate()
150 void* result = m->alloc_func(m->opaque, n); in BrotliAllocate()
Dmemory.h25 brotli_alloc_func alloc_func; member
38 MemoryManager* m, brotli_alloc_func alloc_func, brotli_free_func free_func,
/external/brotli/dec/
Dstate.c33 brotli_alloc_func alloc_func, brotli_free_func free_func, void* opaque) { in BrotliDecoderStateInitWithCustomAllocators() argument
34 if (!alloc_func) { in BrotliDecoderStateInitWithCustomAllocators()
35 s->alloc_func = DefaultAllocFunc; in BrotliDecoderStateInitWithCustomAllocators()
39 s->alloc_func = alloc_func; in BrotliDecoderStateInitWithCustomAllocators()
Dstate.h106 brotli_alloc_func alloc_func; member
236 BrotliDecoderState* s, brotli_alloc_func alloc_func,
Dport.h161 #define BROTLI_ALLOC(S, L) S->alloc_func(S->memory_manager_opaque, L)
/external/llvm/test/CodeGen/X86/
Dlocalescape.ll13 %a.i8 = call i8* @llvm.localrecover(i8* bitcast (void(i32)* @alloc_func to i8*), i8* %fp, i32 0)
17 %b.i8 = call i8* @llvm.localrecover(i8* bitcast (void(i32)* @alloc_func to i8*), i8* %fp, i32 1)
60 define void @alloc_func(i32 %n) {
75 ; X64-LABEL: alloc_func:
89 ; X86-LABEL: alloc_func:
105 call void @alloc_func(i32 3)
/external/freetype/src/gzip/
Dzlib.h63 typedef voidpf (*alloc_func) OF((voidpf opaque, uInt items, uInt size));
80 alloc_func zalloc; /* used to allocate the internal state */
/external/zlib/src/contrib/ada/
Dzlib-thin.ads115 type alloc_func is access function
328 Alloc : in alloc_func;
374 zalloc : alloc_func := null; -- used to allocate the internal state
Dzlib-thin.adb102 Alloc : in alloc_func;
/external/pdfium/third_party/zlib_v128/
Duncompr.c42 stream.zalloc = (alloc_func)0; in uncompress()
Dcompress.c42 stream.zalloc = (alloc_func)0; in compress2()
/external/zlib/src/
Duncompr.c42 stream.zalloc = (alloc_func)0;
Dcompress.c42 stream.zalloc = (alloc_func)0;
/external/python/cpython2/Modules/zlib/
Duncompr.c42 stream.zalloc = (alloc_func)0;
Dcompress.c42 stream.zalloc = (alloc_func)0;
Dexample.c72 static alloc_func zalloc = myalloc;
77 static alloc_func zalloc = (alloc_func)0;
/external/syslinux/com32/lib/zlib/
Duncompr.c42 stream.zalloc = (alloc_func)0;
Dcompress.c42 stream.zalloc = (alloc_func)0;
/external/zlib/src/contrib/pascal/
Dzlibpas.pas17 alloc_func = function(opaque: Pointer; items, size: Integer): Pointer; in paque()
40 zalloc: alloc_func; (* used to allocate the internal state *)
/external/curl/lib/
Dcontent_encoding.c177 z->zalloc = (alloc_func)zalloc_cb; in Curl_unencode_deflate_write()
287 z->zalloc = (alloc_func)zalloc_cb; in Curl_unencode_gzip_write()
/external/brotli/include/brotli/
Dencode.h222 brotli_alloc_func alloc_func, brotli_free_func free_func, void* opaque);
Ddecode.h146 brotli_alloc_func alloc_func, brotli_free_func free_func, void* opaque);
/external/zlib/src/test/
Dexample.c72 static alloc_func zalloc = myalloc;
77 static alloc_func zalloc = (alloc_func)0;
/external/python/cpython2/Modules/
Dzlibmodule.c217 zst.zalloc = (alloc_func)NULL; in PyZlib_compress()
304 zst.zalloc = (alloc_func)NULL; in PyZlib_decompress()
394 self->zst.zalloc = (alloc_func)NULL; in PyZlib_compressobj()
430 self->zst.zalloc = (alloc_func)NULL; in PyZlib_decompressobj()

123