Lines Matching refs:strategy
222 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy, in deflateInit2_() argument
229 int strategy;
273 strategy < 0 || strategy > Z_FIXED) {
314 s->strategy = strategy;
422 int ZEXPORT deflateParams(strm, level, strategy) in deflateParams() argument
425 int strategy;
439 if (level < 0 || level > 9 || strategy < 0 || strategy > Z_FIXED) {
455 s->strategy = strategy;
597 (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2 ?
614 (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2 ?
634 if (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2)
1491 if ((s->strategy != Z_HUFFMAN_ONLY && s->strategy != Z_RLE) ||
1492 (s->strategy == Z_RLE && s->strstart - hash_head == 1)) {
1496 if (s->strategy != Z_HUFFMAN_ONLY && s->strategy != Z_RLE) {
1498 } else if (s->strategy == Z_RLE && s->strstart - hash_head == 1) {
1600 if (s->strategy != Z_HUFFMAN_ONLY && s->strategy != Z_RLE) {
1602 } else if (s->strategy == Z_RLE && s->strstart - hash_head == 1) {
1607 if (s->match_length <= 5 && (s->strategy == Z_FILTERED