Home
last modified time | relevance | path

Searched refs:alloc_func (Results 1 - 25 of 87) sorted by relevance

1234

/third_party/libexif/libexif/
H A 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 (d in exif_mem_alloc()
[all...]
/third_party/node/deps/brotli/c/enc/
H A Dmemory.c31 MemoryManager* m, brotli_alloc_func alloc_func, brotli_free_func free_func, in BrotliInitMemoryManager()
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()
30 BrotliInitMemoryManager( MemoryManager* m, brotli_alloc_func alloc_func, brotli_free_func free_func, void* opaque) BrotliInitMemoryManager() argument
H A Dmemory.h27 brotli_alloc_func alloc_func; member
40 MemoryManager* m, brotli_alloc_func alloc_func, brotli_free_func free_func,
/third_party/skia/third_party/externals/brotli/c/enc/
H A Dmemory.c31 MemoryManager* m, brotli_alloc_func alloc_func, brotli_free_func free_func, in BrotliInitMemoryManager()
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()
30 BrotliInitMemoryManager( MemoryManager* m, brotli_alloc_func alloc_func, brotli_free_func free_func, void* opaque) BrotliInitMemoryManager() argument
H A Dmemory.h27 brotli_alloc_func alloc_func; member
40 MemoryManager* m, brotli_alloc_func alloc_func, brotli_free_func free_func,
/third_party/node/deps/brotli/c/dec/
H A Dstate.c19 brotli_alloc_func alloc_func, brotli_free_func free_func, void* opaque) { in BrotliDecoderStateInit()
20 if (!alloc_func) { in BrotliDecoderStateInit()
21 s->alloc_func = BrotliDefaultAllocFunc; in BrotliDecoderStateInit()
25 s->alloc_func = alloc_func; in BrotliDecoderStateInit()
18 BrotliDecoderStateInit(BrotliDecoderState* s, brotli_alloc_func alloc_func, brotli_free_func free_func, void* opaque) BrotliDecoderStateInit() argument
H A 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)
/third_party/skia/third_party/externals/brotli/c/dec/
H A Dstate.c19 brotli_alloc_func alloc_func, brotli_free_func free_func, void* opaque) { in BrotliDecoderStateInit()
20 if (!alloc_func) { in BrotliDecoderStateInit()
21 s->alloc_func = BrotliDefaultAllocFunc; in BrotliDecoderStateInit()
25 s->alloc_func = alloc_func; in BrotliDecoderStateInit()
18 BrotliDecoderStateInit(BrotliDecoderState* s, brotli_alloc_func alloc_func, brotli_free_func free_func, void* opaque) BrotliDecoderStateInit() argument
H A 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)
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkSemaphore.cpp240 ALLOC_FUNC alloc_func, in importPayload()
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()
239 importPayload(bool temporaryImport, ALLOC_FUNC alloc_func, IMPORT_FUNC import_func) importPayload() argument
H A DVkSemaphore.hpp160 // |alloc_func| is callable that allocates a new External instance of the
167 ALLOC_FUNC alloc_func,
171 // |alloc_func| is a callable that allocates a new External instance of
176 VkResult exportPayload(ALLOC_FUNC alloc_func, EXPORT_FUNC export_func);
/third_party/node/deps/v8/third_party/zlib/google/
H A 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()
/third_party/node/deps/zlib/google/
H A 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()
/third_party/skia/third_party/externals/zlib/google/
H A 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()
/third_party/skia/third_party/externals/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 */
/third_party/mesa3d/src/panfrost/lib/
H A Dpan_pool.h66 #define PAN_POOL_ALLOCATOR(pool_subclass, alloc_func) \
71 return alloc_func(pool, sz, alignment); \
/third_party/skia/third_party/externals/imgui/misc/freetype/
H A Dimgui_freetype.h43 IMGUI_API void SetAllocatorFunctions(void* (*alloc_func)(size_t sz, void* user_data), void (*free_func)(void* ptr, void* user_data), void* user_data = NULL);
/third_party/libwebsockets/win32port/zlib/
H A Duncompr.c42 stream.zalloc = (alloc_func)0;
H A Dcompress.c42 stream.zalloc = (alloc_func)0;
/third_party/zlib/test/
H A Dexample.c51 static alloc_func zalloc = myalloc;
56 static alloc_func zalloc = (alloc_func)0;
/third_party/node/deps/v8/third_party/zlib/
H A Duncompr.c51 stream.zalloc = (alloc_func)0;
H A Dcompress.c37 stream.zalloc = (alloc_func)0;
/third_party/node/deps/zlib/
H A Duncompr.c47 stream.zalloc = (alloc_func)0; in uncompress2()
H A Dcompress.c32 stream.zalloc = (alloc_func)0; in compress2()
/third_party/node/deps/brotli/c/include/brotli/
H A Dencode.h251 * @p alloc_func and @p free_func @b MUST be both zero or both non-zero. In the
253 * passed to @p alloc_func and @p free_func when they are called. @p free_func
256 * @param alloc_func custom memory allocation function
263 brotli_alloc_func alloc_func, brotli_free_func free_func, void* opaque);

Completed in 11 milliseconds

1234