Home
last modified time | relevance | path

Searched refs:magic (Results 1 – 8 of 8) sorted by relevance

/test/vts/drivers/hal/libcodecoverage/
DGcdaFile.cpp130 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()
DGcdaParser.cpp30 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()
DGcdaFile.h66 int Magic(unsigned magic, unsigned expected);
/test/vts/utils/python/coverage/
Dparser_test.py41 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)
Dsancov_parser.py82 magic = struct.unpack('L', self._sancov_file.read(8))[0];
83 if magic == MAGIC64:
86 elif magic == MAGIC32:
Dparser.py43 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/
DDexFileReader.java34 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/
DVtsFirmwareDtboVerification.py88 (magic, total_size, header_size, dt_entry_size, dt_entry_count,