Searched refs:magic (Results 1 – 8 of 8) sorted by relevance
/test/vts/drivers/hal/libcodecoverage/ |
D | GcdaFile.cpp | 130 int GcdaFile::Magic(unsigned magic, unsigned expected) { in Magic() argument 131 if (magic == expected) return 1; in Magic() 132 magic = (magic >> 16) | (magic << 16); in Magic() 133 magic = ((magic & 0xff00ff) << 8) | ((magic >> 8) & 0xff00ff); in Magic() 134 if (magic == expected) { in Magic()
|
D | GcdaParser.cpp | 30 unsigned magic = gcda_file_->ReadUnsigned(); in ParseMagic() local 36 if ((endianness = gcda_file_->Magic(magic, GCOV_DATA_MAGIC))) { in ParseMagic() 45 GCOV_UNSIGNED2STRING(m, magic); in ParseMagic()
|
D | GcdaFile.h | 66 int Magic(unsigned magic, unsigned expected);
|
/test/vts/utils/python/coverage/ |
D | parser_test.py | 41 def __init__(self, magic=MAGIC, format='<'): argument 43 self.magic = magic 45 self.content = struct.pack(format + 'III', magic, version, 0) 62 s = MockStream(stream.magic, stream.format) 83 s = MockStream(stream.magic, stream.format) 110 s = MockStream(stream.magic, stream.format)
|
D | sancov_parser.py | 82 magic = struct.unpack('L', self._sancov_file.read(8))[0]; 83 if magic == MAGIC64: 86 elif magic == MAGIC32:
|
D | parser.py | 43 def __init__(self, stream, magic): argument 61 if tag != magic: 63 if tag == magic: # switch endianness
|
/test/suite_harness/tools/dex-tools/src/dex/reader/ |
D | DexFileReader.java | 34 private byte[] magic = new byte[8]; field in DexFileReader 108 b.readBytes(magic); in readMagic() 109 assert Arrays.equals(magic, REF_MAGIC) : "Not a DEX file"; in readMagic()
|
/test/vts/testcases/host/verify_dtbo/ |
D | VtsFirmwareDtboVerification.py | 88 (magic, total_size, header_size, dt_entry_size, dt_entry_count,
|