Searched refs:internalBuffer (Results 1 – 2 of 2) sorted by relevance
2054 void *const internalBuffer = ZSTD_malloc(dictSize, customMem); in ZSTD_createDDict_advanced() local2055 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()
2866 void *const internalBuffer = ZSTD_malloc(dictSize, customMem); in ZSTD_createCDict_advanced() local2867 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()