Home
last modified time | relevance | path

Searched refs:HEADER_MAGIC (Results 1 – 7 of 7) sorted by relevance

/external/lzma/Java/Tukaani/src/org/tukaani/xz/common/
DDecoderUtil.java37 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()
/external/lzma/Java/Tukaani/src/org/tukaani/xz/
DXZ.java20 public static final byte[] HEADER_MAGIC = { field in XZ
DSeekableXZInputStream.java315 byte[] buf = new byte[XZ.HEADER_MAGIC.length]; in SeekableXZInputStream()
317 if (!Arrays.equals(buf, XZ.HEADER_MAGIC)) in SeekableXZInputStream()
DXZOutputStream.java467 out.write(XZ.HEADER_MAGIC); in encodeStreamHeader()
/external/lzma/xz-embedded/
Dxz_stream.h28 #define HEADER_MAGIC "\3757zXZ" macro
Dxz_dec_stream.c409 if (!memeq(s->temp.buf, HEADER_MAGIC, HEADER_MAGIC_SIZE)) in dec_stream_header()
/external/toybox/toys/pending/
Dxzcat.c2315 #define HEADER_MAGIC "\3757zXZ" macro
2726 if (!memeq(s->temp.buf, HEADER_MAGIC, HEADER_MAGIC_SIZE)) in dec_stream_header()