Home
last modified time | relevance | path

Searched refs:dictionary (Results 1 – 4 of 4) sorted by relevance

/lib/lz4/
Dlz4_compress.c192 const BYTE * const dictionary = dictPtr->dictionary; in LZ4_compress_generic() local
193 const BYTE * const dictEnd = dictionary + dictPtr->dictSize; in LZ4_compress_generic()
272 lowLimit = dictionary; in LZ4_compress_generic()
339 && (lowLimit == dictionary)) { in LZ4_compress_generic()
407 lowLimit = dictionary; in LZ4_compress_generic()
776 const char *dictionary, int dictSize) in LZ4_loadDict() argument
779 const BYTE *p = (const BYTE *)dictionary; in LZ4_loadDict()
790 dict->dictionary = NULL; in LZ4_loadDict()
799 dict->dictionary = p; in LZ4_loadDict()
820 const BYTE *dictEnd = LZ4_dict->dictionary + LZ4_dict->dictSize; in LZ4_renormDictT()
[all …]
Dlz4hc_compress.c626 const char *dictionary, in LZ4_loadDictHC() argument
632 dictionary += dictSize - 64 * KB; in LZ4_loadDictHC()
635 LZ4HC_init(ctxPtr, (const BYTE *)dictionary); in LZ4_loadDictHC()
637 LZ4HC_Insert(ctxPtr, (const BYTE *)dictionary + (dictSize - 3)); in LZ4_loadDictHC()
638 ctxPtr->end = (const BYTE *)dictionary + dictSize; in LZ4_loadDictHC()
Dlz4_decompress.c565 const char *dictionary, int dictSize) in LZ4_setStreamDecode() argument
571 lz4sd->prefixEnd = (const BYTE *) dictionary + dictSize; in LZ4_setStreamDecode()
/lib/xz/
Dxz_dec_lzma2.c44 struct dictionary { struct
268 struct dictionary dict;
290 static void dict_reset(struct dictionary *dict, struct xz_buf *b) in dict_reset()
304 static void dict_limit(struct dictionary *dict, size_t out_max) in dict_limit()
313 static inline bool dict_has_space(const struct dictionary *dict) in dict_has_space()
324 static inline uint32_t dict_get(const struct dictionary *dict, uint32_t dist) in dict_get()
337 static inline void dict_put(struct dictionary *dict, uint8_t byte) in dict_put()
350 static bool dict_repeat(struct dictionary *dict, uint32_t *len, uint32_t dist) in dict_repeat()
378 static void dict_uncompressed(struct dictionary *dict, struct xz_buf *b, in dict_uncompressed()
437 static uint32_t dict_flush(struct dictionary *dict, struct xz_buf *b) in dict_flush()