Home
last modified time | relevance | path

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

/linux-4.19.296/lib/zstd/
Ddecompress.c2054 void *const internalBuffer = ZSTD_malloc(dictSize, customMem); in ZSTD_createDDict_advanced() local
2055 if (!internalBuffer) { in ZSTD_createDDict_advanced()
2059 memcpy(internalBuffer, dict, dictSize); in ZSTD_createDDict_advanced()
2060 ddict->dictBuffer = internalBuffer; in ZSTD_createDDict_advanced()
2061 ddict->dictContent = internalBuffer; in ZSTD_createDDict_advanced()
Dcompress.c2866 void *const internalBuffer = ZSTD_malloc(dictSize, customMem); in ZSTD_createCDict_advanced() local
2867 if (!internalBuffer) { in ZSTD_createCDict_advanced()
2872 memcpy(internalBuffer, dictBuffer, dictSize); in ZSTD_createCDict_advanced()
2873 cdict->dictBuffer = internalBuffer; in ZSTD_createCDict_advanced()
2874 cdict->dictContent = internalBuffer; in ZSTD_createCDict_advanced()