Searched refs:HEADER_MAGIC (Results 1 – 7 of 7) sorted by relevance
37 for (int i = 0; i < XZ.HEADER_MAGIC.length; ++i) in decodeStreamHeader()38 if (buf[i] != XZ.HEADER_MAGIC[i]) in decodeStreamHeader()41 if (!isCRC32Valid(buf, XZ.HEADER_MAGIC.length, 2, in decodeStreamHeader()42 XZ.HEADER_MAGIC.length + 2)) in decodeStreamHeader()46 return decodeStreamFlags(buf, XZ.HEADER_MAGIC.length); in decodeStreamHeader()
20 public static final byte[] HEADER_MAGIC = { field in XZ
315 byte[] buf = new byte[XZ.HEADER_MAGIC.length]; in SeekableXZInputStream()317 if (!Arrays.equals(buf, XZ.HEADER_MAGIC)) in SeekableXZInputStream()
467 out.write(XZ.HEADER_MAGIC); in encodeStreamHeader()
28 #define HEADER_MAGIC "\3757zXZ" macro
409 if (!memeq(s->temp.buf, HEADER_MAGIC, HEADER_MAGIC_SIZE)) in dec_stream_header()
2315 #define HEADER_MAGIC "\3757zXZ" macro2726 if (!memeq(s->temp.buf, HEADER_MAGIC, HEADER_MAGIC_SIZE)) in dec_stream_header()