Home
last modified time | relevance | path

Searched refs:HEADER_MAGIC_SIZE (Results 1 – 3 of 3) sorted by relevance

/external/xz-embedded/linux/lib/xz/
Dxz_dec_stream.c410 if (!memeq(s->temp.buf, HEADER_MAGIC, HEADER_MAGIC_SIZE)) in dec_stream_header()
413 if (xz_crc32(s->temp.buf + HEADER_MAGIC_SIZE, 2, 0) in dec_stream_header()
414 != get_le32(s->temp.buf + HEADER_MAGIC_SIZE + 2)) in dec_stream_header()
417 if (s->temp.buf[HEADER_MAGIC_SIZE] != 0) in dec_stream_header()
427 if (s->temp.buf[HEADER_MAGIC_SIZE + 1] > XZ_CHECK_MAX) in dec_stream_header()
430 s->check_type = s->temp.buf[HEADER_MAGIC_SIZE + 1]; in dec_stream_header()
Dxz_stream.h29 #define HEADER_MAGIC_SIZE 6 macro
/external/toybox/toys/pending/
Dxzcat.c2309 #define HEADER_MAGIC_SIZE 6 macro
2719 if (!memeq(s->temp.buf, HEADER_MAGIC, HEADER_MAGIC_SIZE)) in dec_stream_header()
2722 if (xz_crc32(s->temp.buf + HEADER_MAGIC_SIZE, 2, 0) in dec_stream_header()
2723 != get_le32(s->temp.buf + HEADER_MAGIC_SIZE + 2)) in dec_stream_header()
2726 if (s->temp.buf[HEADER_MAGIC_SIZE] != 0) in dec_stream_header()
2736 s->check_type = s->temp.buf[HEADER_MAGIC_SIZE + 1]; in dec_stream_header()