Home | History | Annotate | Download | only in zlib

Lines Matching refs:dictionary

430      If a preset dictionary is needed after this call (see inflateSetDictionary

431 below), inflate sets strm->adler to the adler32 checksum of the dictionary
449 preset dictionary is needed at this point, Z_DATA_ERROR if the input data was
539 const Bytef *dictionary,
542 Initializes the compression dictionary from the given byte sequence
546 dictionary (see inflateSetDictionary).
548 The dictionary should consist of strings (byte sequences) that are likely
550 used strings preferably put towards the end of the dictionary. Using a
551 dictionary is most useful when the data to be compressed is short and can be
553 with the default empty dictionary.
556 deflateInit or deflateInit2, a part of the dictionary may in effect be
557 discarded, for example if the dictionary is larger than the window size in
559 put at the end of the dictionary, not at the front. In addition, the
561 262 bytes of the provided dictionary.
564 of the dictionary; the decompressor may later use this value to determine
565 which dictionary has been used by the compressor. (The adler32 value
566 applies to the whole dictionary even if only a subset of the dictionary is
571 parameter is invalid (such as NULL dictionary) or the stream state is
737 const Bytef *dictionary,
740 Initializes the decompression dictionary from the given uncompressed byte
742 if that call returned Z_NEED_DICT. The dictionary chosen by the compressor
744 The compressor and decompressor must use exactly the same dictionary (see
747 inflate() to set the dictionary. The application must insure that the
748 dictionary that was used for compression is provided.
751 parameter is invalid (such as NULL dictionary) or the stream state is
752 inconsistent, Z_DATA_ERROR if the given dictionary doesn't match the