Searched refs:XZ_SIG_SIZE (Results 1 – 5 of 5) sorted by relevance
/external/lzma/C/ |
D | Xz.h | 60 #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)
|
D | Xz.c | 11 const Byte XZ_SIG[XZ_SIG_SIZE] = { 0xFD, '7', 'z', 'X', 'Z', 0 };
|
D | XzEnc.c | 60 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()
|
D | XzIn.c | 22 if (memcmp(sig, XZ_SIG, XZ_SIG_SIZE) != 0) in Xz_ReadHeader()
|
D | XzDec.c | 757 *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()
|