Searched refs:ZSTD_MAGIC_DICTIONARY (Results 1 – 6 of 6) sorted by relevance
103 if (magic != ZSTD_MAGIC_DICTIONARY) { in ZSTD_loadEntropy_intoDDict()
1075 assert(MEM_readLE32(dict) == ZSTD_MAGIC_DICTIONARY); /* dict must be valid */ in ZSTD_loadDEntropy()1159 if (magic != ZSTD_MAGIC_DICTIONARY) { in ZSTD_decompress_insertDictionary()1238 if (MEM_readLE32(dict) != ZSTD_MAGIC_DICTIONARY) return 0; in ZSTD_getDictID_fromDict()
100 if (MEM_readLE32(dictBuffer) != ZSTD_MAGIC_DICTIONARY) return 0; in ZDICT_getDictID()107 …if (dictSize <= 8 || MEM_readLE32(dictBuffer) != ZSTD_MAGIC_DICTIONARY) return ERROR(dictionary_co… in ZDICT_getDictHeaderSize()905 MEM_writeLE32(header, ZSTD_MAGIC_DICTIONARY); in ZDICT_finalizeDictionary()958 MEM_writeLE32(dictBuffer, ZSTD_MAGIC_DICTIONARY); in ZDICT_addEntropyTablesFromBuffer_advanced()
104 #define ZSTD_MAGIC_DICTIONARY 0xEC30A437 /* valid since v0.7.0 */ macro
3283 assert(MEM_readLE32(dictPtr) == ZSTD_MAGIC_DICTIONARY); in ZSTD_loadZstdDictionary()3323 if (MEM_readLE32(dict) != ZSTD_MAGIC_DICTIONARY) { in ZSTD_compress_insertDictionary()
2060 MEM_writeLE32((char*)rawDictBuffer, ZSTD_MAGIC_DICTIONARY); in basicUnitTests()