Searched refs:HEADER_MAGIC_SIZE (Results 1 – 3 of 3) sorted by relevance
409 if (!memeq(s->temp.buf, HEADER_MAGIC, HEADER_MAGIC_SIZE)) in dec_stream_header()412 if (xz_crc32(s->temp.buf + HEADER_MAGIC_SIZE, 2, 0) in dec_stream_header()413 != get_le32(s->temp.buf + HEADER_MAGIC_SIZE + 2)) in dec_stream_header()416 if (s->temp.buf[HEADER_MAGIC_SIZE] != 0) in dec_stream_header()426 s->check_type = s->temp.buf[HEADER_MAGIC_SIZE + 1]; in dec_stream_header()
29 #define HEADER_MAGIC_SIZE 6 macro
2316 #define HEADER_MAGIC_SIZE 6 macro2726 if (!memeq(s->temp.buf, HEADER_MAGIC, HEADER_MAGIC_SIZE)) in dec_stream_header()2729 if (xz_crc32(s->temp.buf + HEADER_MAGIC_SIZE, 2, 0) in dec_stream_header()2730 != get_le32(s->temp.buf + HEADER_MAGIC_SIZE + 2)) in dec_stream_header()2733 if (s->temp.buf[HEADER_MAGIC_SIZE] != 0) in dec_stream_header()2743 s->check_type = s->temp.buf[HEADER_MAGIC_SIZE + 1]; in dec_stream_header()