Lines Matching defs:magic
16 unsigned char magic[4];
27 char magic[3]; /* 3 byte magic: 0x8e 0xad 0xe8 */
39 if (strncmp((char *) &header.magic, RPM_HEADER_MAGIC, 3) != 0) {
40 bb_error_msg_and_die("invalid RPM header magic"); /* Invalid magic */
57 unsigned char magic[2];
66 if (strncmp((char *) &lead.magic, RPM_MAGIC, 4) != 0) {
67 bb_error_msg_and_die("invalid RPM magic"); /* Just check the magic, the rest is irrelevant */
77 xread(rpm_fd, &magic, 2);
78 if ((magic[0] != 0x1f) || (magic[1] != 0x8b)) {
79 bb_error_msg_and_die("invalid gzip magic");