Lines Matching defs:copy
4 See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
101 0 - 15: insert length code 0, copy length code 0 - 15, same distance
102 16 - 39: insert length code 0, copy length code 0 - 23
103 40 - 63: insert length code 0 - 23, copy length code 0
882 has a `tail' that holds a copy of the beginning,) so we
893 The ring-buffer has a "tail" that holds a copy of the beginning,
939 /* The copy length is at most the metablock size, and thus expressible. */
1763 /* Directly copy input to output. */
1764 uint32_t copy = (uint32_t)BROTLI_MIN(
1766 memcpy(*next_out, *next_in, copy);
1767 *next_in += copy;
1768 *available_in -= copy;
1769 s->remaining_metadata_bytes_ -= copy;
1770 *next_out += copy;
1771 *available_out -= copy;
1774 uint32_t copy = BROTLI_MIN(uint32_t, s->remaining_metadata_bytes_, 16);
1776 memcpy(s->next_out_, *next_in, copy);
1777 *next_in += copy;
1778 *available_in -= copy;
1779 s->remaining_metadata_bytes_ -= copy;
1780 s->available_out_ = copy;