Lines Matching refs:dict
118 const void* dict, size_t dictSize, in ZSTD_initDDict_internal() argument
122 if ((dictLoadMethod == ZSTD_dlm_byRef) || (!dict) || (!dictSize)) { in ZSTD_initDDict_internal()
124 ddict->dictContent = dict; in ZSTD_initDDict_internal()
125 if (!dict) dictSize = 0; in ZSTD_initDDict_internal()
131 ZSTD_memcpy(internalBuffer, dict, dictSize); in ZSTD_initDDict_internal()
142 ZSTD_DDict* ZSTD_createDDict_advanced(const void* dict, size_t dictSize, in ZSTD_createDDict_advanced() argument
153 dict, dictSize, in ZSTD_createDDict_advanced()
167 ZSTD_DDict* ZSTD_createDDict(const void* dict, size_t dictSize) in ZSTD_createDDict() argument
170 return ZSTD_createDDict_advanced(dict, dictSize, ZSTD_dlm_byCopy, ZSTD_dct_auto, allocator); in ZSTD_createDDict()
186 const void* dict, size_t dictSize, in ZSTD_initStaticDDict() argument
194 assert(dict != NULL); in ZSTD_initStaticDDict()
198 ZSTD_memcpy(ddict+1, dict, dictSize); /* local copy */ in ZSTD_initStaticDDict()
199 dict = ddict+1; in ZSTD_initStaticDDict()
202 dict, dictSize, in ZSTD_initStaticDDict()