Lines Matching defs:bytes
23 /* A RingBuffer(window_bits, tail_bits) contains `1 << window_bits' bytes of
27 first `1 << tail_bits' bytes:
29 and another copy of the last two bytes:
42 /* The actual ring buffer containing the copy of the last two bytes, the data,
94 const uint8_t* bytes, size_t n, RingBuffer* rb) {
99 memcpy(&rb->buffer_[p], bytes,
104 /* Push bytes into the ring buffer. */
106 MemoryManager* m, const uint8_t* bytes, size_t n, RingBuffer* rb) {
117 memcpy(rb->buffer_, bytes, n);
124 /* Initialize the last two bytes to zero, so that we don't have to worry
125 later when we copy the last two bytes to the first two positions. */
136 RingBufferWriteTail(bytes, n, rb);
139 memcpy(&rb->buffer_[masked_pos], bytes, n);
143 memcpy(&rb->buffer_[masked_pos], bytes,
146 memcpy(&rb->buffer_[0], bytes + (rb->size_ - masked_pos),