Searched refs:HEADER_MAGIC (Results 1 – 11 of 11) 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()
37 private static final byte[] HEADER_MAGIC = { field in LZMAUtils72 if (length < HEADER_MAGIC.length) { in matches()76 for (int i = 0; i < HEADER_MAGIC.length; ++i) { in matches()77 if (signature[i] != HEADER_MAGIC[i]) { in matches()
40 private static final byte[] HEADER_MAGIC = { field in XZUtils81 if (length < HEADER_MAGIC.length) { in matches()85 for (int i = 0; i < HEADER_MAGIC.length; ++i) { in matches()86 if (signature[i] != HEADER_MAGIC[i]) { in matches()
52 if (length < XZ.HEADER_MAGIC.length) { in matches()56 for (int i = 0; i < XZ.HEADER_MAGIC.length; ++i) { in matches()57 if (signature[i] != XZ.HEADER_MAGIC[i]) { in matches()
20 public static final byte[] HEADER_MAGIC = { field in XZ
458 byte[] buf = new byte[XZ.HEADER_MAGIC.length]; in SeekableXZInputStream()460 if (!Arrays.equals(buf, XZ.HEADER_MAGIC)) in SeekableXZInputStream()
585 out.write(XZ.HEADER_MAGIC); in encodeStreamHeader()
28 #define HEADER_MAGIC "\3757zXZ" macro
410 if (!memeq(s->temp.buf, HEADER_MAGIC, HEADER_MAGIC_SIZE)) in dec_stream_header()
20 #define HEADER_MAGIC __be32_to_cpu(0x53544D32) macro54 ptr->magic_number = HEADER_MAGIC; in stm32image_default_header()
2308 #define HEADER_MAGIC "\3757zXZ" macro2719 if (!memeq(s->temp.buf, HEADER_MAGIC, HEADER_MAGIC_SIZE)) in dec_stream_header()