Home
last modified time | relevance | path

Searched refs:ZSTD_MAGIC_DICTIONARY (Results 1 – 6 of 6) sorted by relevance

/external/zstd/lib/decompress/
Dzstd_ddict.c103 if (magic != ZSTD_MAGIC_DICTIONARY) { in ZSTD_loadEntropy_intoDDict()
Dzstd_decompress.c1075 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()
/external/zstd/lib/dictBuilder/
Dzdict.c100 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()
/external/zstd/lib/
Dzstd.h104 #define ZSTD_MAGIC_DICTIONARY 0xEC30A437 /* valid since v0.7.0 */ macro
/external/zstd/lib/compress/
Dzstd_compress.c3283 assert(MEM_readLE32(dictPtr) == ZSTD_MAGIC_DICTIONARY); in ZSTD_loadZstdDictionary()
3323 if (MEM_readLE32(dict) != ZSTD_MAGIC_DICTIONARY) { in ZSTD_compress_insertDictionary()
/external/zstd/tests/
Dfuzzer.c2060 MEM_writeLE32((char*)rawDictBuffer, ZSTD_MAGIC_DICTIONARY); in basicUnitTests()