Searched refs:kProfileMagic (Results 1 – 3 of 3) sorted by relevance
/art/libprofile/profile/ |
D | profile_compilation_info.cc | 70 const uint8_t ProfileCompilationInfo::kProfileMagic[] = { 'p', 'r', 'o', '\0' }; member in art::ProfileCompilationInfo 301 static_assert(sizeof(magic_) == sizeof(kProfileMagic)); in FileHeader() 304 memcpy(magic_, kProfileMagic, sizeof(kProfileMagic)); in FileHeader() 311 return memcmp(magic_, kProfileMagic, sizeof(kProfileMagic)) == 0 && in IsValid() 346 if (memcmp(magic_, kProfileMagic, sizeof(kProfileMagic)) != 0) { in InvalidHeaderMessage() 2498 size_t byte_count = sizeof(kProfileMagic); in IsProfileFile() 2499 uint8_t buffer[sizeof(kProfileMagic)]; in IsProfileFile() 2511 return memcmp(buffer, kProfileMagic, byte_count) == 0; in IsProfileFile()
|
D | profile_compilation_info_test.cc | 427 ProfileCompilationInfo::kProfileMagic, kProfileMagicSize)); in TEST_F() 439 ProfileCompilationInfo::kProfileMagic, kProfileMagicSize)); in TEST_F() 454 ProfileCompilationInfo::kProfileMagic, kProfileMagicSize)); in TEST_F() 921 ProfileCompilationInfo::kProfileMagic, kProfileMagicSize)); in TEST_F()
|
D | profile_compilation_info.h | 89 static const uint8_t kProfileMagic[];
|