Home
last modified time | relevance | path

Searched refs:internalBuffer (Results 1 – 2 of 2) sorted by relevance

/external/zstd/lib/decompress/
Dzstd_ddict.c130 void* const internalBuffer = ZSTD_customMalloc(dictSize, ddict->cMem); in ZSTD_initDDict_internal() local
131 ddict->dictBuffer = internalBuffer; in ZSTD_initDDict_internal()
132 ddict->dictContent = internalBuffer; in ZSTD_initDDict_internal()
133 if (!internalBuffer) return ERROR(memory_allocation); in ZSTD_initDDict_internal()
134 ZSTD_memcpy(internalBuffer, dict, dictSize); in ZSTD_initDDict_internal()
/external/zstd/lib/compress/
Dzstd_compress.c4802 …void *internalBuffer = ZSTD_cwksp_reserve_object(&cdict->workspace, ZSTD_cwksp_align(dictSize, siz… in ZSTD_initCDict_internal() local
4803 RETURN_ERROR_IF(!internalBuffer, memory_allocation, "NULL pointer!"); in ZSTD_initCDict_internal()
4804 cdict->dictContent = internalBuffer; in ZSTD_initCDict_internal()
4805 ZSTD_memcpy(internalBuffer, dictBuffer, dictSize); in ZSTD_initCDict_internal()