Searched refs:customAlloc (Results 1 - 5 of 5) sorted by relevance

/linux-master/lib/zstd/common/
H A Dzstd_common.c58 if (customMem.customAlloc)
59 return customMem.customAlloc(customMem.opaque, size);
65 if (customMem.customAlloc) {
68 void* const ptr = customMem.customAlloc(customMem.opaque, size);
/linux-master/lib/zstd/decompress/
H A Dzstd_ddict.c147 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL;
H A Dzstd_decompress.c280 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL;
/linux-master/include/linux/
H A Dzstd_lib.h1568 typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD_customMem; member in struct:__anon107
/linux-master/lib/zstd/compress/
H A Dzstd_compress.c110 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL;
295 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL;
4729 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL;
4787 if (!customMem.customAlloc ^ !customMem.customFree) return NULL;

Completed in 350 milliseconds