• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/contrib/zlib/

Lines Matching refs:dictionary

485      If a preset dictionary is needed after this call (see inflateSetDictionary
486 below), inflate sets strm->adler to the Adler-32 checksum of the dictionary
505 preset dictionary is needed at this point, Z_DATA_ERROR if the input data was
612 const Bytef *dictionary,
615 Initializes the compression dictionary from the given byte sequence
623 compressor and decompressor must use exactly the same dictionary (see
626 The dictionary should consist of strings (byte sequences) that are likely
628 used strings preferably put towards the end of the dictionary. Using a
629 dictionary is most useful when the data to be compressed is short and can be
631 with the default empty dictionary.
634 deflateInit or deflateInit2, a part of the dictionary may in effect be
635 discarded, for example if the dictionary is larger than the window size
637 useful should be put at the end of the dictionary, not at the front. In
639 size minus 262 bytes of the provided dictionary.
642 of the dictionary; the decompressor may later use this value to determine
643 which dictionary has been used by the compressor. (The Adler-32 value
644 applies to the whole dictionary even if only a subset of the dictionary is
649 parameter is invalid (e.g. dictionary being Z_NULL) or the stream state is
656 Bytef *dictionary,
659 Returns the sliding dictionary being maintained by deflate. dictLength is
660 set to the number of bytes in the dictionary, and that many bytes are copied
661 to dictionary. dictionary must have enough space, where 32768 bytes is
662 always enough. If deflateGetDictionary() is called with dictionary equal to
663 Z_NULL, then only the dictionary length is returned, and nothing is copied.
886 const Bytef *dictionary,
889 Initializes the decompression dictionary from the given uncompressed byte
891 if that call returned Z_NEED_DICT. The dictionary chosen by the compressor
893 The compressor and decompressor must use exactly the same dictionary (see
895 time to set the dictionary. If the provided dictionary is smaller than the
896 window and there is already data in the window, then the provided dictionary
897 will amend what's there. The application must insure that the dictionary
901 parameter is invalid (e.g. dictionary being Z_NULL) or the stream state is
902 inconsistent, Z_DATA_ERROR if the given dictionary doesn't match the
909 Bytef *dictionary,
912 Returns the sliding dictionary being maintained by inflate. dictLength is
913 set to the number of bytes in the dictionary, and that many bytes are copied
914 to dictionary. dictionary must have enough space, where 32768 bytes is
915 always enough. If inflateGetDictionary() is called with dictionary equal to
916 Z_NULL, then only the dictionary length is returned, and nothing is copied.