Lines Matching full:magic
21 UF2_MAGIC_START0 = 0x0A324655 # First magic number ('UF2\n')
22 UF2_MAGIC_START1 = 0x9E5D5157 # Second magic number
31 cmd.inf('Skipping block at ' + ptr + '; bad magic')
65 MAGIC = 0xb9863e5a7ea46046 variable in Bindesc
200 magic = struct.pack('>Q' if self.is_big_endian else 'Q', self.MAGIC)
201 index = image.find(magic)
203 self.die('Could not find binary descriptor magic')
245 magic = struct.pack('>Q' if self.is_big_endian else 'Q', self.MAGIC)
246 index = image.find(magic)
248 self.die('Could not find binary descriptor magic')
252 index += len(magic) # index points to first descriptor
294 # Try the elf magic
298 # Try the uf2 magic