Home
last modified time | relevance | path

Searched refs:prev_match (Results 1 – 18 of 18) sorted by relevance

/external/angle/third_party/zlib/patches/
D0006-fix-check_match.patch4 Subject: [PATCH] Avoid crashing in check_match when prev_match == -1
6 prev_match can be set to -1 after sliding the window. In that case, the
29 - check_match(s, s->strstart-1, s->prev_match, s->prev_length);
30 + if (s->prev_match == -1) {
33 + check_match(s, s->strstart, s->prev_match+1, s->prev_length-1);
35 + check_match(s, s->strstart-1, s->prev_match, s->prev_length);
38 _tr_tally_dist(s, s->strstart -1 - s->prev_match,
/external/zlib/patches/
D0006-fix-check_match.patch4 Subject: [PATCH] Avoid crashing in check_match when prev_match == -1
6 prev_match can be set to -1 after sliding the window. In that case, the
29 - check_match(s, s->strstart-1, s->prev_match, s->prev_length);
30 + if (s->prev_match == -1) {
33 + check_match(s, s->strstart, s->prev_match+1, s->prev_length-1);
35 + check_match(s, s->strstart-1, s->prev_match, s->prev_length);
38 _tr_tally_dist(s, s->strstart -1 - s->prev_match,
/external/curl/tests/
Dobjnames-test08.sh191 prev_match="no"
197 if test "x$prev_match" != "xyes"; then
200 prev_match="yes"
205 prev_match="no"
Dobjnames-test10.sh191 prev_match="no"
197 if test "x$prev_match" != "xyes"; then
200 prev_match="yes"
205 prev_match="no"
/external/rust/crates/libz-sys/src/zlib-ng/
Ddeflate_slow.c48 s->prev_match = (Pos)s->match_start; in deflate_slow()
73 check_match(s, s->strstart-1, s->prev_match, s->prev_length); in deflate_slow()
75 … bflush = zng_tr_tally_dist(s, s->strstart -1 - s->prev_match, s->prev_length - MIN_MATCH); in deflate_slow()
Ddeflate.h168 Pos prev_match; /* previous match */ member
/external/zopfli/src/zopfli/
Dlz77.c383 unsigned prev_match = 0; in ZopfliLZ77Greedy() local
405 prevlengthscore = GetLengthScore(prev_length, prev_match); in ZopfliLZ77Greedy()
413 prev_match = dist; in ZopfliLZ77Greedy()
419 dist = prev_match; in ZopfliLZ77Greedy()
435 prev_match = dist; in ZopfliLZ77Greedy()
/external/libwebsockets/win32port/zlib/
Ddeflate.h154 IPos prev_match; /* previous match */ member
Ddeflate.c1660 s->prev_length = s->match_length, s->prev_match = s->match_start;
1692 check_match(s, s->strstart-1, s->prev_match, s->prev_length);
1694 _tr_tally_dist(s, s->strstart -1 - s->prev_match,
/external/rust/crates/libz-sys/src/zlib/
Ddeflate.h160 IPos prev_match; /* previous match */ member
Ddeflate.c1958 s->prev_length = s->match_length, s->prev_match = s->match_start;
1990 check_match(s, s->strstart-1, s->prev_match, s->prev_length);
1992 _tr_tally_dist(s, s->strstart -1 - s->prev_match,
/external/python/cpython2/Modules/zlib/
Ddeflate.h160 IPos prev_match; /* previous match */ member
Ddeflate.c1958 s->prev_length = s->match_length, s->prev_match = s->match_start;
1990 check_match(s, s->strstart-1, s->prev_match, s->prev_length);
1992 _tr_tally_dist(s, s->strstart -1 - s->prev_match,
/external/zlib/
Ddeflate.h160 IPos prev_match; /* previous match */ member
Ddeflate.c2034 s->prev_length = s->match_length, s->prev_match = s->match_start;
2066 if (s->prev_match == -1) {
2069 check_match(s, s->strstart, s->prev_match+1, s->prev_length-1);
2071 check_match(s, s->strstart-1, s->prev_match, s->prev_length);
2074 _tr_tally_dist(s, s->strstart -1 - s->prev_match,
/external/angle/third_party/zlib/
Ddeflate.h160 IPos prev_match; /* previous match */ member
Ddeflate.c2034 s->prev_length = s->match_length, s->prev_match = s->match_start;
2066 if (s->prev_match == -1) {
2069 check_match(s, s->strstart, s->prev_match+1, s->prev_length-1);
2071 check_match(s, s->strstart-1, s->prev_match, s->prev_length);
2074 _tr_tally_dist(s, s->strstart -1 - s->prev_match,
/external/rust/crates/libz-sys/src/zlib-ng/test/abi/
Dzlib-v1.2.11-x86_64-linux-gnu.abi294 …<var-decl name='prev_match' type-id='type-id-36' visibility='default' filepath='src.d/deflate.h' l…