Home
last modified time | relevance | path

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

123456

/third_party/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()
/third_party/skia/third_party/externals/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,
/third_party/node/deps/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,
/third_party/node/deps/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)
/third_party/skia/third_party/externals/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)
/third_party/skia/third_party/externals/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);
/third_party/skia/third_party/externals/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()
/third_party/node/deps/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()
/third_party/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 */
/third_party/skia/third_party/externals/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 */
/third_party/flutter/skia/third_party/externals/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 */
/third_party/boost/libs/multiprecision/performance/
Dsf_performance.cpp15 void* alloc_func(size_t n) in alloc_func() function
80 mp_set_memory_functions(&alloc_func, &realloc_func, &free_func); in main()
/third_party/mesa3d/src/panfrost/lib/
Dpan_pool.h66 #define PAN_POOL_ALLOCATOR(pool_subclass, alloc_func) \ argument
71 return alloc_func(pool, sz, alignment); \
/third_party/flutter/skia/third_party/externals/zlib/google/
Dcompression_utils.cc53 stream.zalloc = static_cast<alloc_func>(0); in GzipCompressHelper()
102 stream.zalloc = static_cast<alloc_func>(0); in GzipUncompressHelper()
/third_party/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
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/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
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/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
/third_party/skia/third_party/externals/imgui/misc/freetype/
Dimgui_freetype.h43 …IMGUI_API void SetAllocatorFunctions(void* (*alloc_func)(size_t sz, void* use…
/third_party/libwebsockets/win32port/zlib/
Duncompr.c42 stream.zalloc = (alloc_func)0;
Dcompress.c42 stream.zalloc = (alloc_func)0;

123456