Home
last modified time | relevance | path

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

/external/xz-java/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/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lzma/
DLZMAUtils.java37 private static final byte[] HEADER_MAGIC = { field in LZMAUtils
72 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()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/xz/
DXZUtils.java40 private static final byte[] HEADER_MAGIC = { field in XZUtils
81 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()
DXZCompressorInputStream.java52 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()
/external/xz-java/src/org/tukaani/xz/
DXZ.java20 public static final byte[] HEADER_MAGIC = { field in XZ
DSeekableXZInputStream.java458 byte[] buf = new byte[XZ.HEADER_MAGIC.length]; in SeekableXZInputStream()
460 if (!Arrays.equals(buf, XZ.HEADER_MAGIC)) in SeekableXZInputStream()
DXZOutputStream.java585 out.write(XZ.HEADER_MAGIC); in encodeStreamHeader()
/external/xz-embedded/linux/lib/xz/
Dxz_stream.h28 #define HEADER_MAGIC "\3757zXZ" macro
Dxz_dec_stream.c410 if (!memeq(s->temp.buf, HEADER_MAGIC, HEADER_MAGIC_SIZE)) in dec_stream_header()
/external/arm-trusted-firmware/tools/stm32image/
Dstm32image.c20 #define HEADER_MAGIC __be32_to_cpu(0x53544D32) macro
54 ptr->magic_number = HEADER_MAGIC; in stm32image_default_header()
/external/toybox/toys/pending/
Dxzcat.c2308 #define HEADER_MAGIC "\3757zXZ" macro
2719 if (!memeq(s->temp.buf, HEADER_MAGIC, HEADER_MAGIC_SIZE)) in dec_stream_header()