Home
last modified time | relevance | path

Searched refs:opaque (Results 1 – 4 of 4) sorted by relevance

/lib/zstd/
Dzstd_common.c51 void *ZSTD_stackAllocAll(void *opaque, size_t *size) in ZSTD_stackAllocAll() argument
53 ZSTD_stack *stack = (ZSTD_stack *)opaque; in ZSTD_stackAllocAll()
58 void *ZSTD_stackAlloc(void *opaque, size_t size) in ZSTD_stackAlloc() argument
60 ZSTD_stack *stack = (ZSTD_stack *)opaque; in ZSTD_stackAlloc()
63 void ZSTD_stackFree(void *opaque, void *address) in ZSTD_stackFree() argument
65 (void)opaque; in ZSTD_stackFree()
69 …oc(size_t size, ZSTD_customMem customMem) { return customMem.customAlloc(customMem.opaque, size); } in ZSTD_malloc()
74 customMem.customFree(customMem.opaque, ptr); in ZSTD_free()
Dzstd_internal.h217 typedef void *(*ZSTD_allocFunction)(void *opaque, size_t size);
218 typedef void (*ZSTD_freeFunction)(void *opaque, void *address);
222 void *opaque; member
240 void *ZSTD_stackAllocAll(void *opaque, size_t *size);
241 void *ZSTD_stackAlloc(void *opaque, size_t size);
242 void ZSTD_stackFree(void *opaque, void *address);
Dcompress.c127 cctx->workSpace = ZSTD_stackAllocAll(cctx->customMem.opaque, &cctx->workSpaceSize); in ZSTD_initCCtx()
/lib/
Dbtree.c677 unsigned long *node, unsigned long opaque, in __btree_for_each() argument
678 void (*func)(void *elem, unsigned long opaque, in __btree_for_each()
691 count = __btree_for_each(head, geo, child, opaque, in __btree_for_each()
694 func(child, opaque, bkey(geo, node, i), count++, in __btree_for_each()
702 static void empty(void *elem, unsigned long opaque, unsigned long *key, in empty() argument
707 void visitorl(void *elem, unsigned long opaque, unsigned long *key, in visitorl() argument
712 func(elem, opaque, *key, index); in visitorl()
716 void visitor32(void *elem, unsigned long opaque, unsigned long *__key, in visitor32() argument
722 func(elem, opaque, *key, index); in visitor32()
726 void visitor64(void *elem, unsigned long opaque, unsigned long *__key, in visitor64() argument
[all …]