Lines Matching defs:dictionary

53  * in which the dictionary variables address the actual output
56 struct dictionary {
67 * How full dictionary is. This is used to detect corrupt input that
76 * End of the dictionary buffer. In multi-call mode, this is
77 * the same as the dictionary size. In single-call mode, this
83 * Size of the dictionary as specified in Block Header. This is used
90 * Amount of memory allocated for the dictionary. A special
92 * where the output buffer works as the dictionary.
249 * True if dictionary reset is needed. This is false before
270 struct dictionary dict;
280 * Reset the dictionary state. When in single-call mode, set up the beginning
281 * of the dictionary to point to the actual output buffer.
283 static void dict_reset(struct dictionary *dict, struct xz_buf *b)
295 /* Set dictionary write limit */
296 static void dict_limit(struct dictionary *dict, size_t out_max)
304 /* Return true if at least one byte can be written into the dictionary. */
305 static inline bool dict_has_space(const struct dictionary *dict)
311 * Get a byte from the dictionary at the given distance. The distance is
312 * assumed to valid, or as a special case, zero when the dictionary is
317 const struct dictionary *dict, uint32_t dist)
328 * Put one byte into the dictionary. It is assumed that there is space for it.
330 static inline void dict_put(struct dictionary *dict, uint8_t byte)
344 struct dictionary *dict, uint32_t *len, uint32_t dist)
371 /* Copy uncompressed data as is from input to dictionary and output buffers. */
373 struct dictionary *dict, struct xz_buf *b, uint32_t *left)
411 * Flush pending data from dictionary to b->out. It is assumed that there is
413 * before decoding data into the dictionary.
415 static uint32_t dict_flush(struct dictionary *dict, struct xz_buf *b)
726 * If the dictionary was reached during the previous call, try to
727 * finish the possibly pending repeat in the dictionary.
764 * here, because LZMA state may be reset without resetting the dictionary.
945 * 0x02 Uncompressed chunk (no dictionary reset)
951 * by LZMA compressed chunk (no dictionary
955 * dictionary reset)
956 * 0x80 LZMA chunk (no dictionary or state reset)
962 * A new LZMA2 stream must begin with a dictionary
1057 * Set dictionary limit to indicate how much we want
1059 * dictionary. Flush the new data from dictionary to
1061 * In case the dictionary got full but we didn't fill
1113 /* Maximum supported dictionary by this implementation is 3 GiB. */
1142 /* This limits dictionary size to 3 GiB (39) to keep parsing simpler. */
1152 /* enlarge dictionary buffer */