Searched refs:internalBuffer (Results 1 – 2 of 2) sorted by relevance
130 void* const internalBuffer = ZSTD_customMalloc(dictSize, ddict->cMem); in ZSTD_initDDict_internal() local131 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()
4802 …void *internalBuffer = ZSTD_cwksp_reserve_object(&cdict->workspace, ZSTD_cwksp_align(dictSize, siz… in ZSTD_initCDict_internal() local4803 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()