Home
last modified time | relevance | path

Searched refs:match_length (Results 1 – 25 of 31) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dnotchlc.c80 unsigned reference_pos, match_length, delta, pos = 0; in lz4_decompress() local
115 match_length = 4 + (token & 0x0F); in lz4_decompress()
116 if (match_length == 4 + 0x0F) { in lz4_decompress()
121 match_length += current; in lz4_decompress()
125 if (pos + match_length < HISTORY_SIZE && reference_pos + match_length < HISTORY_SIZE) { in lz4_decompress()
126 if (pos >= reference_pos + match_length || reference_pos >= pos + match_length) { in lz4_decompress()
127 memcpy(history + pos, history + reference_pos, match_length); in lz4_decompress()
128 pos += match_length; in lz4_decompress()
130 while (match_length-- > 0) in lz4_decompress()
134 while (match_length-- > 0) { in lz4_decompress()
/third_party/libwebsockets/win32port/zlib/
Ddeflate.c1051 s->match_length = s->prev_length = MIN_MATCH-1;
1569 s->match_length = longest_match (s, hash_head);
1572 if (s->match_length >= MIN_MATCH) {
1573 check_match(s, s->strstart, s->match_start, s->match_length);
1576 s->match_length - MIN_MATCH, bflush);
1578 s->lookahead -= s->match_length;
1584 if (s->match_length <= s->max_insert_length &&
1586 s->match_length--; /* string at strstart already in table */
1593 } while (--s->match_length != 0);
1598 s->strstart += s->match_length;
[all …]
Ddeflate.h153 uInt match_length; /* length of best match */ member
/third_party/uboot/u-boot-2020.01/lib/zlib/
Ddeflate.c1038 s->match_length = s->prev_length = MIN_MATCH-1;
1556 s->match_length = longest_match (s, hash_head);
1559 if (s->match_length >= MIN_MATCH) {
1560 check_match(s, s->strstart, s->match_start, s->match_length);
1563 s->match_length - MIN_MATCH, bflush);
1565 s->lookahead -= s->match_length;
1571 if (s->match_length <= s->max_insert_length &&
1573 s->match_length--; /* string at strstart already in table */
1580 } while (--s->match_length != 0);
1585 s->strstart += s->match_length;
[all …]
Ddeflate.h153 uInt match_length; /* length of best match */ member
/third_party/zlib/
Ddeflate.c473 s->match_length = s->prev_length = MIN_MATCH-1;
1246 s->match_length = s->prev_length = MIN_MATCH-1;
1895 s->match_length = longest_match (s, hash_head);
1898 if (s->match_length >= MIN_MATCH) {
1899 check_match(s, s->strstart, s->match_start, s->match_length);
1902 s->match_length - MIN_MATCH, bflush);
1904 s->lookahead -= s->match_length;
1910 if (s->match_length <= s->max_insert_length &&
1912 s->match_length--; /* string at strstart already in table */
1919 } while (--s->match_length != 0);
[all …]
Ddeflate.h159 uInt match_length; /* length of best match */ member
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/
Ddeflate.c436 s->match_length = s->prev_length = MIN_MATCH-1;
1212 s->match_length = s->prev_length = MIN_MATCH-1;
1861 s->match_length = longest_match (s, hash_head);
1864 if (s->match_length >= MIN_MATCH) {
1865 check_match(s, s->strstart, s->match_start, s->match_length);
1868 s->match_length - MIN_MATCH, bflush);
1870 s->lookahead -= s->match_length;
1876 if (s->match_length <= s->max_insert_length &&
1878 s->match_length--; /* string at strstart already in table */
1885 } while (--s->match_length != 0);
[all …]
Ddeflate.h159 uInt match_length; /* length of best match */ member
/third_party/node/deps/zlib/
Ddeflate.c473 s->match_length = s->prev_length = MIN_MATCH-1;
1248 s->match_length = s->prev_length = MIN_MATCH-1;
1909 s->match_length = longest_match (s, hash_head);
1912 if (s->match_length >= MIN_MATCH) {
1913 check_match(s, s->strstart, s->match_start, s->match_length);
1916 s->match_length - MIN_MATCH, bflush);
1918 s->lookahead -= s->match_length;
1924 if (s->match_length <= s->max_insert_length &&
1926 s->match_length--; /* string at strstart already in table */
1933 } while (--s->match_length != 0);
[all …]
Ddeflate.h159 uInt match_length; /* length of best match */ member
/third_party/skia/third_party/externals/zlib/
Ddeflate.c482 s->match_length = s->prev_length = MIN_MATCH-1;
1257 s->match_length = s->prev_length = MIN_MATCH-1;
1937 s->match_length = longest_match (s, hash_head);
1940 if (s->match_length >= MIN_MATCH) {
1941 check_match(s, s->strstart, s->match_start, s->match_length);
1944 s->match_length - MIN_MATCH, bflush);
1946 s->lookahead -= s->match_length;
1952 if (s->match_length <= s->max_insert_length &&
1954 s->match_length--; /* string at strstart already in table */
1961 } while (--s->match_length != 0);
[all …]
Ddeflate.h159 uInt match_length; /* length of best match */ member
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/
Ddeflate.c436 s->match_length = s->prev_length = MIN_MATCH-1;
1212 s->match_length = s->prev_length = MIN_MATCH-1;
1861 s->match_length = longest_match (s, hash_head);
1864 if (s->match_length >= MIN_MATCH) {
1865 check_match(s, s->strstart, s->match_start, s->match_length);
1868 s->match_length - MIN_MATCH, bflush);
1870 s->lookahead -= s->match_length;
1876 if (s->match_length <= s->max_insert_length &&
1878 s->match_length--; /* string at strstart already in table */
1885 } while (--s->match_length != 0);
[all …]
Ddeflate.h159 uInt match_length; /* length of best match */ member
/third_party/flutter/skia/third_party/externals/zlib/
Ddeflate.c522 s->match_length = s->prev_length = MIN_MATCH-1;
1297 s->match_length = s->prev_length = MIN_MATCH-1;
1958 s->match_length = longest_match (s, hash_head);
1961 if (s->match_length >= MIN_MATCH) {
1962 check_match(s, s->strstart, s->match_start, s->match_length);
1965 s->match_length - MIN_MATCH, bflush);
1967 s->lookahead -= s->match_length;
1973 if (s->match_length <= s->max_insert_length &&
1975 s->match_length--; /* string at strstart already in table */
1982 } while (--s->match_length != 0);
[all …]
Ddeflate.h159 uInt match_length; /* length of best match */ member
/third_party/harfbuzz/src/
Dhb-aat-layout-morx-table.hh449 match_length (0) {} in driver_context_t()
465 …if (match_length && match_positions[(match_length - 1u) % ARRAY_LENGTH (match_positions)] == buffe… in transition()
466 match_length--; in transition()
468 match_positions[match_length++ % ARRAY_LENGTH (match_positions)] = buffer->out_len; in transition()
474 DEBUG_MSG (APPLY, nullptr, "Perform action with %u", match_length); in transition()
477 if (unlikely (!match_length)) in transition()
483 unsigned int cursor = match_length; in transition()
497 match_length = 0; in transition()
530 … unsigned int lig_end = match_positions[(match_length - 1u) % ARRAY_LENGTH (match_positions)] + 1u; in transition()
532 while (match_length - 1u > cursor) in transition()
[all …]
Dhb-ot-layout-gsubgpos.hh1053 unsigned int match_length, in ligate_input() argument
1061 buffer->merge_clusters (buffer->idx, buffer->idx + match_length); in ligate_input()
1321 unsigned int match_length) in apply_lookup() argument
1332 end = bl + match_length; in apply_lookup()
1523 unsigned int match_length = 0; in context_apply_lookup() local
1528 &match_length, match_positions) in context_apply_lookup()
1529 && (c->buffer->unsafe_to_break (c->buffer->idx, c->buffer->idx + match_length), in context_apply_lookup()
1533 match_length)); in context_apply_lookup()
2415 unsigned int start_index = 0, match_length = 0, end_index = 0; in chain_context_apply_lookup() local
2420 &match_length, match_positions) in chain_context_apply_lookup()
[all …]
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-aat-layout-morx-table.hh449 match_length (0) {} in driver_context_t()
465 …if (match_length && match_positions[(match_length - 1u) % ARRAY_LENGTH (match_positions)] == buffe… in transition()
466 match_length--; in transition()
468 match_positions[match_length++ % ARRAY_LENGTH (match_positions)] = buffer->out_len; in transition()
474 DEBUG_MSG (APPLY, nullptr, "Perform action with %u", match_length); in transition()
477 if (unlikely (!match_length)) in transition()
483 unsigned int cursor = match_length; in transition()
497 match_length = 0; in transition()
530 … unsigned int lig_end = match_positions[(match_length - 1u) % ARRAY_LENGTH (match_positions)] + 1u; in transition()
532 while (match_length - 1u > cursor) in transition()
[all …]
Dhb-ot-layout-gsubgpos.hh897 unsigned int match_length, in ligate_input() argument
905 buffer->merge_clusters (buffer->idx, buffer->idx + match_length); in ligate_input()
1084 unsigned int match_length) in apply_lookup() argument
1095 end = bl + match_length; in apply_lookup()
1278 unsigned int match_length = 0; in context_apply_lookup() local
1283 &match_length, match_positions) in context_apply_lookup()
1284 && (c->buffer->unsafe_to_break (c->buffer->idx, c->buffer->idx + match_length), in context_apply_lookup()
1288 match_length)); in context_apply_lookup()
1911 unsigned int start_index = 0, match_length = 0, end_index = 0; in chain_context_apply_lookup() local
1916 &match_length, match_positions) in chain_context_apply_lookup()
[all …]
Dhb-ot-layout-gsub-table.hh713 unsigned int match_length = 0; in apply() local
720 &match_length, in apply()
728 match_length, in apply()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-aat-layout-morx-table.hh460 match_length (0) {} in driver_context_t()
476 …if (match_length && match_positions[(match_length - 1u) % ARRAY_LENGTH (match_positions)] == buffe… in transition()
477 match_length--; in transition()
479 match_positions[match_length++ % ARRAY_LENGTH (match_positions)] = buffer->out_len; in transition()
485 DEBUG_MSG (APPLY, nullptr, "Perform action with %u", match_length); in transition()
488 if (unlikely (!match_length)) in transition()
494 unsigned int cursor = match_length; in transition()
508 match_length = 0; in transition()
541 … unsigned int lig_end = match_positions[(match_length - 1u) % ARRAY_LENGTH (match_positions)] + 1u; in transition()
543 while (match_length - 1u > cursor) in transition()
[all …]
Dhb-ot-layout-gsubgpos.hh1053 unsigned int match_length, in ligate_input() argument
1061 buffer->merge_clusters (buffer->idx, buffer->idx + match_length); in ligate_input()
1338 unsigned int match_length) in apply_lookup() argument
1349 end = bl + match_length; in apply_lookup()
1540 unsigned int match_length = 0; in context_apply_lookup() local
1545 &match_length, match_positions) in context_apply_lookup()
1546 && (c->buffer->unsafe_to_break (c->buffer->idx, c->buffer->idx + match_length), in context_apply_lookup()
1550 match_length)); in context_apply_lookup()
2442 unsigned int start_index = 0, match_length = 0, end_index = 0; in chain_context_apply_lookup() local
2447 &match_length, match_positions) in chain_context_apply_lookup()
[all …]
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-regexp-object.c1849 lit_utf8_size_t match_length; in ecma_regexp_exec_helper() local
1855 match_length = (lit_utf8_size_t) (match_end_p - match_begin_p); in ecma_regexp_exec_helper()
1859 match_length = lit_utf8_string_length (match_begin_p, in ecma_regexp_exec_helper()
1865 ecma_make_uint32_value (index + match_length), in ecma_regexp_exec_helper()
2248 uint32_t match_length; in ecma_regexp_split_helper() local
2249 result = ecma_op_object_get_length (match_array_p, &match_length); in ecma_regexp_split_helper()
2257 match_length = (match_length > 0) ? match_length - 1 : match_length; in ecma_regexp_split_helper()
2260 while (match_index <= match_length) in ecma_regexp_split_helper()

12