Searched refs:magic_bytes (Results 1 – 4 of 4) sorted by relevance
24 magic_bytes = f.read(_num_magic_bytes)26 return magic_bytes in [35 return magic_bytes == b'MZ'37 return magic_bytes == b'\x7FELF'
27 magic_bytes = f.read(_num_magic_bytes)29 return magic_bytes in [38 return magic_bytes == b'MZ'40 return magic_bytes == b'\x7FELF'
116 const unsigned char magic_bytes[5] = { in parsing_supported() local122 for (std::size_t i = 0; i < sizeof(magic_bytes); ++i) { in parsing_supported()124 if (ch != magic_bytes[i]) { in parsing_supported()
172 …static const uint32_t magic_bytes = (sizeof(AddressOffsetT) <= sizeof(uint32_t) ? 0xfeedface : 0xf… in parsing_supported() local177 return (magic_bytes == magic); in parsing_supported()