Home
last modified time | relevance | path

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

12345

/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/c/enc/
Dmemory.c31 MemoryManager* m, brotli_alloc_func alloc_func, brotli_free_func free_func, in BrotliInitMemoryManager() argument
33 if (!alloc_func) { in BrotliInitMemoryManager()
34 m->alloc_func = BrotliDefaultAllocFunc; in BrotliInitMemoryManager()
38 m->alloc_func = alloc_func; in BrotliInitMemoryManager()
53 void* result = m->alloc_func(m->opaque, n); in BrotliAllocate()
139 void* result = m->alloc_func(m->opaque, n); in BrotliAllocate()
Dmemory.h27 brotli_alloc_func alloc_func; member
40 MemoryManager* m, brotli_alloc_func alloc_func, brotli_free_func free_func,
/external/tensorflow/tensorflow/core/common_runtime/
Dallocator_retry.cc54 alloc_func, in AllocateRaw()
64 ptr = alloc_func(alignment, num_bytes, false); in AllocateRaw()
77 return alloc_func(alignment, num_bytes, true); in AllocateRaw()
Dallocator_retry.h40 alloc_func,
/external/brotli/c/dec/
Dstate.c19 brotli_alloc_func alloc_func, brotli_free_func free_func, void* opaque) { in BrotliDecoderStateInit() argument
20 if (!alloc_func) { in BrotliDecoderStateInit()
21 s->alloc_func = BrotliDefaultAllocFunc; in BrotliDecoderStateInit()
25 s->alloc_func = alloc_func; in BrotliDecoderStateInit()
Dstate.h244 brotli_alloc_func alloc_func; member
345 brotli_alloc_func alloc_func, brotli_free_func free_func, void* opaque);
354 #define BROTLI_DECODER_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/llvm-project/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/swiftshader/src/Vulkan/
DVkSemaphore.cpp240 ALLOC_FUNC alloc_func, in importPayload() argument
249 ext = alloc_func(); in importPayload()
274 VkResult BinarySemaphore::exportPayload(ALLOC_FUNC alloc_func, EXPORT_FUNC export_func) in exportPayload() argument
286 External *ext = alloc_func(); in exportPayload()
DVkSemaphore.hpp167 ALLOC_FUNC alloc_func,
176 VkResult exportPayload(ALLOC_FUNC alloc_func, EXPORT_FUNC export_func);
/external/llvm-project/compiler-rt/test/tsan/
Ddebug_alloc_stack.cpp21 void alloc_func() { mem = (char *)malloc(10); } in alloc_func() function
32 alloc_func(); in AllocThread()
/external/angle/third_party/zlib/google/
Dcompression_utils_portable.cc120 stream.zalloc = static_cast<alloc_func>(zalloc); in CompressHelper()
124 stream.zalloc = static_cast<alloc_func>(0); in CompressHelper()
185 stream.zalloc = static_cast<alloc_func>(0); in UncompressHelper()
/external/zlib/google/
Dcompression_utils_portable.cc120 stream.zalloc = static_cast<alloc_func>(zalloc); in CompressHelper()
124 stream.zalloc = static_cast<alloc_func>(0); in CompressHelper()
185 stream.zalloc = static_cast<alloc_func>(0); in UncompressHelper()
/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/rust/crates/libz-sys/src/zlib/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/libwebsockets/win32port/zlib/
Duncompr.c42 stream.zalloc = (alloc_func)0;
Dcompress.c42 stream.zalloc = (alloc_func)0;
/external/brotli/c/include/brotli/
Dencode.h263 brotli_alloc_func alloc_func, brotli_free_func free_func, void* opaque);
/external/angle/third_party/zlib/
Dcompress.c37 stream.zalloc = (alloc_func)0;
/external/rust/crates/libz-sys/src/zlib/
Dcompress.c37 stream.zalloc = (alloc_func)0;
/external/python/cpython2/Modules/zlib/
Dcompress.c37 stream.zalloc = (alloc_func)0;
/external/zlib/
Dcompress.c37 stream.zalloc = (alloc_func)0;
Duncompr.c51 stream.zalloc = (alloc_func)0;

12345