Searched refs:magic (Results 1 – 4 of 4) sorted by relevance
397 final int magic = f.readInt(); in assertMagic() local398 if (magic != MAGIC_NUMBER) { in assertMagic()399 throw new ProtocolException("Bad magic number: " + Integer.toHexString(magic)); in assertMagic()
63 unsigned int magic; /* command ^ 0xffffffff */ member514 msg_send.magic = msg_send.command ^ 0xffffffff; in DeviceHandShake()545 printf("\n magic = %08X", msg_rcv.magic); in DeviceHandShake()546 printf(" (%s)", (msg_rcv.magic == (msg_rcv.command ^ 0xffffffff)) ? in DeviceHandShake()
342 String magic = readAsciiLine(in); in readJournal() local347 if (!MAGIC.equals(magic) in readJournal()353 + magic + ", " + version + ", " + valueCountString + ", " + blank + "]"); in readJournal()
1003 if header.magic == b'dex\n':1114 magic, version = struct.unpack_from('4s4s', buf)1117 if magic != b'vdex':