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 | 45 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()
|
D | Xz.c | 9 Byte XZ_SIG[XZ_SIG_SIZE] = { 0xFD, '7', 'z', 'X', 'Z', 0 };
|
D | XzDec.c | 484 *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()
|
D | XzIn.c | 14 if (memcmp(sig, XZ_SIG, XZ_SIG_SIZE) != 0) in Xz_ReadHeader()
|