Home | History | Annotate | Download | only in zlib-1.2.3

Lines Matching refs:strategy

216 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy,
223 int strategy;
267 strategy < 0 || strategy > Z_FIXED) {
308 s->strategy = strategy;
416 int ZEXPORT deflateParams(strm, level, strategy)
419 int strategy;
433 if (level < 0 || level > 9 || strategy < 0 || strategy > Z_FIXED) {
449 s->strategy = strategy;
591 (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2 ?
608 (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2 ?
628 if (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2)
1173 * Optimized version for level == 1 or strategy == Z_RLE only
1485 if ((s->strategy != Z_HUFFMAN_ONLY && s->strategy != Z_RLE) ||
1486 (s->strategy == Z_RLE && s->strstart - hash_head == 1)) {
1490 if (s->strategy != Z_HUFFMAN_ONLY && s->strategy != Z_RLE) {
1492 } else if (s->strategy == Z_RLE && s->strstart - hash_head == 1) {
1594 if (s->strategy != Z_HUFFMAN_ONLY && s->strategy != Z_RLE) {
1596 } else if (s->strategy == Z_RLE && s->strstart - hash_head == 1) {
1601 if (s->match_length <= 5 && (s->strategy == Z_FILTERED