Home
last modified time | relevance | path

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

/external/lzma/C/
DXz.h59 #define XZ_SIG_SIZE 6 macro
62 extern Byte XZ_SIG[XZ_SIG_SIZE];
68 #define XZ_STREAM_HEADER_SIZE (XZ_SIG_SIZE + XZ_STREAM_FLAGS_SIZE + XZ_STREAM_CRC_SIZE)
DXzEnc.c45 memcpy(header, XZ_SIG, XZ_SIG_SIZE); in Xz_WriteHeader()
46 header[XZ_SIG_SIZE] = (Byte)(f >> 8); in Xz_WriteHeader()
47 header[XZ_SIG_SIZE + 1] = (Byte)(f & 0xFF); in Xz_WriteHeader()
48 crc = CrcCalc(header + XZ_SIG_SIZE, XZ_STREAM_FLAGS_SIZE); in Xz_WriteHeader()
49 SetUi32(header + XZ_SIG_SIZE + XZ_STREAM_FLAGS_SIZE, crc); in Xz_WriteHeader()
DXz.c9 Byte XZ_SIG[XZ_SIG_SIZE] = { 0xFD, '7', 'z', 'X', 'Z', 0 };
DXzDec.c484 *p = (CXzStreamFlags)GetBe16(buf + XZ_SIG_SIZE); in Xz_ParseHeader()
485 if (CrcCalc(buf + XZ_SIG_SIZE, XZ_STREAM_FLAGS_SIZE) != in Xz_ParseHeader()
486 GetUi32(buf + XZ_SIG_SIZE + XZ_STREAM_FLAGS_SIZE)) in Xz_ParseHeader()
671 if (p->pos < XZ_SIG_SIZE && *src != XZ_SIG[p->pos]) in XzUnpacker_Code()
DXzIn.c14 if (memcmp(sig, XZ_SIG, XZ_SIG_SIZE) != 0) in Xz_ReadHeader()