Home
last modified time | relevance | path

Searched refs:customAlloc (Results 1 – 15 of 15) sorted by relevance

/external/zstd/lib/common/
Dzstd_common.c58 if (customMem.customAlloc) in ZSTD_customMalloc()
59 return customMem.customAlloc(customMem.opaque, size); in ZSTD_customMalloc()
65 if (customMem.customAlloc) { in ZSTD_customCalloc()
68 void* const ptr = customMem.customAlloc(customMem.opaque, size); in ZSTD_customCalloc()
/external/zstd/zlibWrapper/
Dzstd_zlibwrapper.c123 if (customMem.customAlloc) in ZWRAP_customMalloc()
124 return customMem.customAlloc(customMem.opaque, size); in ZWRAP_customMalloc()
130 if (customMem.customAlloc) { in ZWRAP_customCalloc()
133 void* const ptr = customMem.customAlloc(customMem.opaque, size); in ZWRAP_customCalloc()
187 customMem.customAlloc = ZWRAP_allocFunction; in ZWRAP_createCCtx()
547 customMem.customAlloc = ZWRAP_allocFunction; in ZWRAP_createDCtx()
/external/zstd/lib/legacy/
Dzstd_v07.c67 typedef struct { ZSTDv07_allocFunction customAlloc; ZSTDv07_freeFunction customFree; void* opaque; … member
2981 if (!customMem.customAlloc && !customMem.customFree) in ZSTDv07_createDCtx_advanced()
2984 if (!customMem.customAlloc || !customMem.customFree) in ZSTDv07_createDCtx_advanced()
2987 dctx = (ZSTDv07_DCtx*) customMem.customAlloc(customMem.opaque, sizeof(ZSTDv07_DCtx)); in ZSTDv07_createDCtx_advanced()
4188 if (!customMem.customAlloc && !customMem.customFree) in ZSTDv07_createDDict_advanced()
4191 if (!customMem.customAlloc || !customMem.customFree) in ZSTDv07_createDDict_advanced()
4194 …{ ZSTDv07_DDict* const ddict = (ZSTDv07_DDict*) customMem.customAlloc(customMem.opaque, sizeof(*… in ZSTDv07_createDDict_advanced()
4195 void* const dictContent = customMem.customAlloc(customMem.opaque, dictSize); in ZSTDv07_createDDict_advanced()
4341 if (!customMem.customAlloc && !customMem.customFree) in ZBUFFv07_createDCtx_advanced()
4344 if (!customMem.customAlloc || !customMem.customFree) in ZBUFFv07_createDCtx_advanced()
[all …]
/external/zstd/lib/decompress/
Dzstd_ddict.c150 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createDDict_advanced()
Dzstd_decompress.c290 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createDCtx_internal()
/external/lz4/lib/
Dlz4frame.h672 LZ4F_AllocFunction customAlloc; member
Dlz4frame.c107 if (cmem.customAlloc == NULL) { in LZ4F_calloc()
111 { void* const p = cmem.customAlloc(cmem.opaqueState, s); in LZ4F_calloc()
119 if (cmem.customAlloc != NULL) { in LZ4F_malloc()
120 return cmem.customAlloc(cmem.opaqueState, s); in LZ4F_malloc()
/external/zstd/lib/
Dzstd.h1587 typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD… member
/external/zstd/lib/compress/
Dzstd_compress.c113 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createCCtx_advanced()
305 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createCCtxParams_advanced()
4848 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createCDict_advanced_internal()
4906 if (!customMem.customAlloc ^ !customMem.customFree) return NULL; in ZSTD_createCDict_advanced2()
Dzstdmt_compress.c927 if ((cMem.customAlloc!=NULL) ^ (cMem.customFree!=NULL)) in ZSTDMT_createCCtx_advanced_internal()
/external/libbpf/.github/actions/build-selftests/
Dvmlinux.h58542 ZSTD_allocFunction customAlloc; member
/external/bcc/libbpf-tools/powerpc/
Dvmlinux_510.h90898 ZSTD_allocFunction customAlloc; member
Dvmlinux.h90898 ZSTD_allocFunction customAlloc; member
/external/bcc/libbpf-tools/arm64/
Dvmlinux.h57612 ZSTD_allocFunction customAlloc; member
Dvmlinux_510.h57612 ZSTD_allocFunction customAlloc; member