Searched refs:internalBuffer (Results 1 – 2 of 2) sorted by relevance
127 void* const internalBuffer = ZSTD_customMalloc(dictSize, ddict->cMem); in ZSTD_initDDict_internal() local128 ddict->dictBuffer = internalBuffer; in ZSTD_initDDict_internal()129 ddict->dictContent = internalBuffer; in ZSTD_initDDict_internal()130 if (!internalBuffer) return ERROR(memory_allocation); in ZSTD_initDDict_internal()131 ZSTD_memcpy(internalBuffer, dict, dictSize); in ZSTD_initDDict_internal()
4683 …void *internalBuffer = ZSTD_cwksp_reserve_object(&cdict->workspace, ZSTD_cwksp_align(dictSize, siz… in ZSTD_initCDict_internal() local4684 RETURN_ERROR_IF(!internalBuffer, memory_allocation, "NULL pointer!"); in ZSTD_initCDict_internal()4685 cdict->dictContent = internalBuffer; in ZSTD_initCDict_internal()4686 ZSTD_memcpy(internalBuffer, dictBuffer, dictSize); in ZSTD_initCDict_internal()