Home
last modified time | relevance | path

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

/external/lzma/xz-embedded/
Dxz_dec_stream.c409 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()
Dxz_stream.h29 #define HEADER_MAGIC_SIZE 6 macro
/external/toybox/toys/pending/
Dxzcat.c2316 #define HEADER_MAGIC_SIZE 6 macro
2726 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()