Home | History | Annotate | Download | only in examples

Lines Matching refs:DICT

33    foo.dict -- dictionary of the last 32K of data for next compression
191 - Compress the data with the dictionary in foo.dict, and write to the
193 compressed block. If there is no foo.dict, proceed anyway with the
194 compression at slightly reduced efficiency. (For the foo.dict file to be
207 - Replace foo.dict with foo.temp.
269 #define DICT 32768U
564 /* Replace the foo.dict file with the foo.temp file. Also delete the foo.add
581 /* rename foo.name to foo.dict, replacing foo.dict if it exists */
582 strcpy(log->end, ".dict");
612 ssize_t dict;
615 unsigned char buf[DICT];
628 strcpy(log->end, ".dict");
631 dict = read(fd, buf, DICT);
633 if (dict < 0) {
637 if (dict)
638 deflateSetDictionary(&strm, buf, (uint)dict);
659 strm.avail_out = DICT;
662 got = DICT - strm.avail_out;
843 strcpy(log->end, ".dict");
966 next = DICT > len ? len : DICT;