Lines Matching refs:uint8_t
38 lz4raw_decode_buffer(uint8_t * __restrict dst_buffer, size_t dst_size, in lz4raw_decode_buffer()
39 const uint8_t * __restrict src_buffer, size_t src_size, in lz4raw_decode_buffer()
42 const uint8_t * src = src_buffer; in lz4raw_decode_buffer()
43 uint8_t * dst = dst_buffer; in lz4raw_decode_buffer()
89 lz4_fill16(uint8_t * ptr) in lz4_fill16()
97 lz4_nmatch4(const uint8_t * a, const uint8_t * b) in lz4_nmatch4()
105 lz4_nmatch8(const uint8_t * a, const uint8_t * b) in lz4_nmatch8()
113 lz4_nmatch16(const uint8_t * a, const uint8_t * b) in lz4_nmatch16()
121 lz4_nmatch32(const uint8_t * a, const uint8_t * b) in lz4_nmatch32()
129 lz4_nmatch64(const uint8_t * a, const uint8_t * b) in lz4_nmatch64()
137 lz4_nmatch(int N, const uint8_t * a, const uint8_t * b) in lz4_nmatch()
152 static inline uint8_t *
153 lz4_store_length(uint8_t * dst, const uint8_t * const end, uint32_t L) in lz4_store_length()
175 static inline uint8_t *
176 copy_literal(uint8_t *dst, const uint8_t * restrict src, uint32_t L) in copy_literal()
178 uint8_t *end = dst + L; in copy_literal()
186 static uint8_t *
188 uint8_t * restrict dst, in lz4_emit_match()
189 const uint8_t * const end, in lz4_emit_match()
190 const uint8_t * restrict src) in lz4_emit_match()
237 lz4_encode_2gb(uint8_t ** dst_ptr, in lz4_encode_2gb()
239 const uint8_t ** src_ptr, in lz4_encode_2gb()
240 const uint8_t * src_begin, in lz4_encode_2gb()
245 uint8_t *dst = *dst_ptr; // current output stream position in lz4_encode_2gb()
246 uint8_t *end = dst + dst_size - LZ4_GOFAST_SAFETY_MARGIN; in lz4_encode_2gb()
247 const uint8_t *src = *src_ptr; // current input stream literal to encode in lz4_encode_2gb()
248 const uint8_t *src_end = src + src_size - LZ4_GOFAST_SAFETY_MARGIN; in lz4_encode_2gb()
249 const uint8_t *match_begin = 0; // first byte of matched sequence in lz4_encode_2gb()
250 const uint8_t *match_end = 0; // first byte after matched sequence in lz4_encode_2gb()
252 uint8_t * const dst_begin = dst; in lz4_encode_2gb()
268 const uint8_t *c0 = src_begin + hash_table[i0].offset; in lz4_encode_2gb()
269 const uint8_t *c1 = src_begin + hash_table[i1].offset; in lz4_encode_2gb()
270 const uint8_t *c2 = src_begin + hash_table[i2].offset; in lz4_encode_2gb()
271 const uint8_t *c3 = src_begin + hash_table[i3].offset; in lz4_encode_2gb()
343 *dst++ = (uint8_t)(src_remaining << 4); in lz4_encode_2gb()
361 const uint8_t * ref_end = match_end - match_distance; in lz4_encode_2gb()
375 const uint8_t * match_begin_min = src_begin + match_distance; in lz4_encode_2gb()
377 const uint8_t * ref_begin = match_begin - match_distance; in lz4_encode_2gb()
402 lz4raw_encode_buffer(uint8_t * __restrict dst_buffer, size_t dst_size, in lz4raw_encode_buffer()
403 const uint8_t * __restrict src_buffer, size_t src_size, in lz4raw_encode_buffer()
409 const uint8_t * src = src_buffer; in lz4raw_encode_buffer()
410 uint8_t * dst = dst_buffer; in lz4raw_encode_buffer()
438 uint8_t * dst_start = dst; in lz4raw_encode_buffer()
439 const uint8_t * src_start = src; in lz4raw_encode_buffer()
465 lz4_decode(uint8_t ** dst_ptr, in lz4_decode()
466 uint8_t * dst_begin, in lz4_decode()
467 uint8_t * dst_end, in lz4_decode()
468 const uint8_t ** src_ptr, in lz4_decode()
469 const uint8_t * src_end) in lz4_decode()
471 uint8_t * dst = *dst_ptr; in lz4_decode()
472 const uint8_t * src = *src_ptr; in lz4_decode()
484 …uint8_t cmd = *src++; // 1 byte encoding literal+(match-4) … in lz4_decode()
490 uint8_t s; in lz4_decode()
554 uint8_t * ref = dst - matchDistance; in lz4_decode()
565 uint8_t s; in lz4_decode()