HomeSort by: relevance | last modified time | path
    Searched refs:customAlloc (Results 1 - 8 of 8) sorted by relevancy

  /src/external/bsd/zstd/dist/lib/common/
allocations.h 28 if (customMem.customAlloc)
29 return customMem.customAlloc(customMem.opaque, size);
35 if (customMem.customAlloc) {
38 void* const ptr = customMem.customAlloc(customMem.opaque, size);
  /src/external/bsd/zstd/dist/zlibWrapper/
zstd_zlibwrapper.c 123 if (customMem.customAlloc)
124 return customMem.customAlloc(customMem.opaque, size);
130 if (customMem.customAlloc) {
133 void* const ptr = customMem.customAlloc(customMem.opaque, size);
187 customMem.customAlloc = ZWRAP_allocFunction;
547 customMem.customAlloc = ZWRAP_allocFunction;
  /src/external/bsd/zstd/dist/lib/decompress/
zstd_ddict.c 150 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL;
zstd_decompress.c 295 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL;
  /src/external/bsd/zstd/dist/lib/legacy/
zstd_v07.c 68 typedef struct { ZSTDv07_allocFunction customAlloc; ZSTDv07_freeFunction customFree; void* opaque; } ZSTDv07_customMem;
2926 if (!customMem.customAlloc && !customMem.customFree)
2929 if (!customMem.customAlloc || !customMem.customFree)
2932 dctx = (ZSTDv07_DCtx*) customMem.customAlloc(customMem.opaque, sizeof(ZSTDv07_DCtx));
4136 if (!customMem.customAlloc && !customMem.customFree)
4139 if (!customMem.customAlloc || !customMem.customFree)
4142 { ZSTDv07_DDict* const ddict = (ZSTDv07_DDict*) customMem.customAlloc(customMem.opaque, sizeof(*ddict));
4143 void* const dictContent = customMem.customAlloc(customMem.opaque, dictSize);
4289 if (!customMem.customAlloc && !customMem.customFree)
4292 if (!customMem.customAlloc || !customMem.customFree
    [all...]
  /src/external/bsd/zstd/dist/lib/
zstd.h 1794 typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD_customMem;
  /src/external/bsd/zstd/dist/lib/compress/
zstd_compress.c 117 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL;
339 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL;
5486 if ((!customMem.customAlloc) ^ (!customMem.customFree)) return NULL;
5544 if (!customMem.customAlloc ^ !customMem.customFree) return NULL;
zstdmt_compress.c 943 if ((cMem.customAlloc!=NULL) ^ (cMem.customFree!=NULL))

Completed in 60 milliseconds