Lines Matching refs:dictionary
486 If a preset dictionary is needed after this call (see inflateSetDictionary
487 below), inflate sets strm->adler to the Adler-32 checksum of the dictionary
506 preset dictionary is needed at this point, Z_DATA_ERROR if the input data was
615 const Bytef *dictionary,
618 Initializes the compression dictionary from the given byte sequence
626 compressor and decompressor must use exactly the same dictionary (see
629 The dictionary should consist of strings (byte sequences) that are likely
631 used strings preferably put towards the end of the dictionary. Using a
632 dictionary is most useful when the data to be compressed is short and can be
634 with the default empty dictionary.
637 deflateInit or deflateInit2, a part of the dictionary may in effect be
638 discarded, for example if the dictionary is larger than the window size
640 useful should be put at the end of the dictionary, not at the front. In
642 size minus 262 bytes of the provided dictionary.
645 of the dictionary; the decompressor may later use this value to determine
646 which dictionary has been used by the compressor. (The Adler-32 value
647 applies to the whole dictionary even if only a subset of the dictionary is
652 parameter is invalid (e.g. dictionary being Z_NULL) or the stream state is
659 Bytef *dictionary,
662 Returns the sliding dictionary being maintained by deflate. dictLength is
663 set to the number of bytes in the dictionary, and that many bytes are copied
664 to dictionary. dictionary must have enough space, where 32768 bytes is
665 always enough. If deflateGetDictionary() is called with dictionary equal to
666 Z_NULL, then only the dictionary length is returned, and nothing is copied.
904 const Bytef *dictionary,
907 Initializes the decompression dictionary from the given uncompressed byte
909 if that call returned Z_NEED_DICT. The dictionary chosen by the compressor
911 The compressor and decompressor must use exactly the same dictionary (see
913 time to set the dictionary. If the provided dictionary is smaller than the
914 window and there is already data in the window, then the provided dictionary
915 will amend what's there. The application must insure that the dictionary
919 parameter is invalid (e.g. dictionary being Z_NULL) or the stream state is
920 inconsistent, Z_DATA_ERROR if the given dictionary doesn't match the
927 Bytef *dictionary,
930 Returns the sliding dictionary being maintained by inflate. dictLength is
931 set to the number of bytes in the dictionary, and that many bytes are copied
932 to dictionary. dictionary must have enough space, where 32768 bytes is
933 always enough. If inflateGetDictionary() is called with dictionary equal to
934 Z_NULL, then only the dictionary length is returned, and nothing is copied.