Searched refs:customAlloc (Results 1 – 15 of 15) sorted by relevance
58 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()
123 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()
67 typedef struct { ZSTDv07_allocFunction customAlloc; ZSTDv07_freeFunction customFree; void* opaque; … member2981 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 …]
150 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createDDict_advanced()
290 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL; in ZSTD_createDCtx_internal()
672 LZ4F_AllocFunction customAlloc; member
107 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()
1587 typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD… member
113 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()
927 if ((cMem.customAlloc!=NULL) ^ (cMem.customFree!=NULL)) in ZSTDMT_createCCtx_advanced_internal()
58542 ZSTD_allocFunction customAlloc; member
90898 ZSTD_allocFunction customAlloc; member
57612 ZSTD_allocFunction customAlloc; member