Lines Matching refs:strategy
243 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy,
250 int strategy;
296 strategy < 0 || strategy > Z_FIXED) {
337 s->strategy = strategy;
445 int ZEXPORT deflateParams(strm, level, strategy)
448 int strategy;
462 if (level < 0 || level > 9 || strategy < 0 || strategy > Z_FIXED) {
478 s->strategy = strategy;
620 (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2 ?
637 (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2 ?
657 if (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2)
1202 * Optimized version for level == 1 or strategy == Z_RLE only
1514 if ((s->strategy != Z_HUFFMAN_ONLY && s->strategy != Z_RLE) ||
1515 (s->strategy == Z_RLE && s->strstart - hash_head == 1)) {
1519 if (s->strategy != Z_HUFFMAN_ONLY && s->strategy != Z_RLE) {
1521 } else if (s->strategy == Z_RLE && s->strstart - hash_head == 1) {
1623 if (s->strategy != Z_HUFFMAN_ONLY && s->strategy != Z_RLE) {
1625 } else if (s->strategy == Z_RLE && s->strstart - hash_head == 1) {
1630 if (s->match_length <= 5 && (s->strategy == Z_FILTERED