Home
last modified time | relevance | path

Searched refs:kOatMagic (Results 1 – 3 of 3) sorted by relevance

/art/runtime/
Doat.cc28 constexpr uint8_t OatHeader::kOatMagic[4]; member in art::OatHeader
84 static_assert(sizeof(magic_) == sizeof(kOatMagic), in OatHeader()
89 memcpy(magic_, kOatMagic, sizeof(kOatMagic)); in OatHeader()
99 if (memcmp(magic_, kOatMagic, sizeof(kOatMagic)) != 0) { in IsValid()
118 if (memcmp(magic_, kOatMagic, sizeof(kOatMagic)) != 0) { in GetValidationErrorMessage()
119 static_assert(sizeof(kOatMagic) == 4, "kOatMagic has unexpected length"); in GetValidationErrorMessage()
121 kOatMagic[0], kOatMagic[1], kOatMagic[2], kOatMagic[3], in GetValidationErrorMessage()
Doat.h34 static constexpr uint8_t kOatMagic[] = { 'o', 'a', 't', '\n' };
/art/compiler/
Doat_test.cc779 oat_header->UpdateChecksum(OatHeader::kOatMagic, sizeof(OatHeader::kOatMagic)); in TEST_F()
786 oat_header->UpdateChecksum(OatHeader::kOatMagic, sizeof(OatHeader::kOatMagic)); in TEST_F()