Home
last modified time | relevance | path

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

/art/runtime/
Dimage.cc60 memcpy(magic_, kImageMagic, sizeof(kImageMagic)); in ImageHeader()
76 if (memcmp(magic_, kImageMagic, sizeof(kImageMagic)) != 0) { in IsValid()
106 return reinterpret_cast<const char*>(magic_); in GetMagic()
Ddex_file.cc385 if (!IsMagicValid(header_->magic_)) { in CheckMagicAndVersion()
388 << " " << header_->magic_[0] in CheckMagicAndVersion()
389 << " " << header_->magic_[1] in CheckMagicAndVersion()
390 << " " << header_->magic_[2] in CheckMagicAndVersion()
391 << " " << header_->magic_[3]; in CheckMagicAndVersion()
395 if (!IsVersionValid(header_->magic_)) { in CheckMagicAndVersion()
398 << " " << header_->magic_[4] in CheckMagicAndVersion()
399 << " " << header_->magic_[5] in CheckMagicAndVersion()
400 << " " << header_->magic_[6] in CheckMagicAndVersion()
401 << " " << header_->magic_[7]; in CheckMagicAndVersion()
[all …]
Doat.cc68 memcpy(magic_, kOatMagic, sizeof(kOatMagic)); in OatHeader()
116 if (memcmp(magic_, kOatMagic, sizeof(kOatMagic)) != 0) { in IsValid()
133 return reinterpret_cast<const char*>(magic_); in GetMagic()
Dimage.h133 byte magic_[4]; variable
Doat.h119 uint8_t magic_[4]; variable
Ddex_file_verifier_test.cc163 const uint32_t non_sum = sizeof(DexFile::Header::magic_) + sizeof(DexFile::Header::checksum_); in FixUpChecksum()
Ddex_file.h78 uint8_t magic_[8]; member
Ddex_file_verifier.cc253 const uint32_t non_sum = sizeof(header_->magic_) + sizeof(header_->checksum_); in CheckHeader()