Lines Matching refs:dictionary
488 If a preset dictionary is needed after this call (see inflateSetDictionary
489 below), inflate sets strm->adler to the Adler-32 checksum of the dictionary
508 preset dictionary is needed at this point, Z_DATA_ERROR if the input data was
614 const Bytef *dictionary,
617 Initializes the compression dictionary from the given byte sequence
625 compressor and decompressor must use exactly the same dictionary (see
628 The dictionary should consist of strings (byte sequences) that are likely
630 used strings preferably put towards the end of the dictionary. Using a
631 dictionary is most useful when the data to be compressed is short and can be
633 with the default empty dictionary.
636 deflateInit or deflateInit2, a part of the dictionary may in effect be
637 discarded, for example if the dictionary is larger than the window size
639 useful should be put at the end of the dictionary
641 size minus 262 bytes of the provided dictionary.
644 of the dictionary; the decompressor may later use this value to determine
645 which dictionary has been used by the compressor. (The Adler-32 value
646 applies to the whole dictionary even if only a subset of the dictionary is
651 parameter is invalid (e.g. dictionary being Z_NULL) or the stream state is
658 Bytef *dictionary,
661 Returns the sliding dictionary being maintained by deflate. dictLength is
662 set to the number of bytes in the dictionary, and that many bytes are copied
663 to dictionary. dictionary must have enough space, where 32768 bytes is
664 always enough. If deflateGetDictionary() is called with dictionary equal to
665 Z_NULL, then only the dictionary length is returned, and nothing is copied.
891 const Bytef *dictionary,
894 Initializes the decompression dictionary from the given uncompressed byte
896 if that call returned Z_NEED_DICT. The dictionary chosen by the compressor
898 The compressor and decompressor must use exactly the same dictionary (see
900 time to set the dictionary. If the provided dictionary is smaller than the
901 window and there is already data in the window, then the provided dictionary
902 will amend what's there. The application must insure that the dictionary
906 parameter is invalid (e.g. dictionary being Z_NULL) or the stream state is
907 inconsistent, Z_DATA_ERROR if the given dictionary doesn't match the
914 Bytef *dictionary,
917 Returns the sliding dictionary being maintained by inflate. dictLength is
918 set to the number of bytes in the dictionary, and that many bytes are copied
919 to dictionary. dictionary must have enough space, where 32768 bytes is
920 always enough. If inflateGetDictionary() is called with dictionary equal to
921 Z_NULL, then only the dictionary length is returned, and nothing is copied.