Searched refs:XZ_SIG_SIZE (Results 1 – 5 of 5) sorted by relevance
/external/lzma/C/ |
D | Xz.h | 59 #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)
|
D | XzEnc.c | 49 memcpy(header, XZ_SIG, XZ_SIG_SIZE); in Xz_WriteHeader() 50 header[XZ_SIG_SIZE] = (Byte)(f >> 8); in Xz_WriteHeader() 51 header[XZ_SIG_SIZE + 1] = (Byte)(f & 0xFF); in Xz_WriteHeader() 52 crc = CrcCalc(header + XZ_SIG_SIZE, XZ_STREAM_FLAGS_SIZE); in Xz_WriteHeader() 53 SetUi32(header + XZ_SIG_SIZE + XZ_STREAM_FLAGS_SIZE, crc); in Xz_WriteHeader()
|
D | Xz.c | 11 Byte XZ_SIG[XZ_SIG_SIZE] = { 0xFD, '7', 'z', 'X', 'Z', 0 };
|
D | XzDec.c | 499 *p = (CXzStreamFlags)GetBe16(buf + XZ_SIG_SIZE); in Xz_ParseHeader() 500 if (CrcCalc(buf + XZ_SIG_SIZE, XZ_STREAM_FLAGS_SIZE) != in Xz_ParseHeader() 501 GetUi32(buf + XZ_SIG_SIZE + XZ_STREAM_FLAGS_SIZE)) in Xz_ParseHeader() 693 if (p->pos < XZ_SIG_SIZE && *src != XZ_SIG[p->pos]) in XzUnpacker_Code()
|
D | XzIn.c | 16 if (memcmp(sig, XZ_SIG, XZ_SIG_SIZE) != 0) in Xz_ReadHeader()
|