Home
last modified time | relevance | path

Searched refs:XZ_SIG_SIZE (Results 1 – 5 of 5) sorted by relevance

/external/lzma/C/
DXz.h60 #define XZ_SIG_SIZE 6 macro
63 extern const Byte XZ_SIG[XZ_SIG_SIZE];
75 #define XZ_STREAM_HEADER_SIZE (XZ_SIG_SIZE + XZ_STREAM_FLAGS_SIZE + XZ_STREAM_CRC_SIZE)
DXz.c11 const Byte XZ_SIG[XZ_SIG_SIZE] = { 0xFD, '7', 'z', 'X', 'Z', 0 };
DXzEnc.c60 memcpy(header, XZ_SIG, XZ_SIG_SIZE); in Xz_WriteHeader()
61 header[XZ_SIG_SIZE] = (Byte)(f >> 8); in Xz_WriteHeader()
62 header[XZ_SIG_SIZE + 1] = (Byte)(f & 0xFF); in Xz_WriteHeader()
63 crc = CrcCalc(header + XZ_SIG_SIZE, XZ_STREAM_FLAGS_SIZE); in Xz_WriteHeader()
64 SetUi32(header + XZ_SIG_SIZE + XZ_STREAM_FLAGS_SIZE, crc); in Xz_WriteHeader()
DXzIn.c22 if (memcmp(sig, XZ_SIG, XZ_SIG_SIZE) != 0) in Xz_ReadHeader()
DXzDec.c757 *p = (CXzStreamFlags)GetBe16(buf + XZ_SIG_SIZE); in Xz_ParseHeader()
758 if (CrcCalc(buf + XZ_SIG_SIZE, XZ_STREAM_FLAGS_SIZE) != in Xz_ParseHeader()
759 GetUi32(buf + XZ_SIG_SIZE + XZ_STREAM_FLAGS_SIZE)) in Xz_ParseHeader()
1101 if (p->pos < XZ_SIG_SIZE && *src != XZ_SIG[p->pos]) in XzUnpacker_Code()