Home
last modified time | relevance | path

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

/art/libprofile/profile/
Dprofile_compilation_info.cc961 SafeBuffer safe_buffer_version(kMagicVersionSize); in ReadProfileHeader() local
963 ProfileLoadStatus status = safe_buffer_version.Fill(source, "ReadProfileHeaderVersion", error); in ReadProfileHeader()
968 if (!safe_buffer_version.CompareAndAdvance(kProfileMagic, sizeof(kProfileMagic))) { in ReadProfileHeader()
972 if (safe_buffer_version.CountUnreadBytes() < kProfileVersionSize) { in ReadProfileHeader()
976 memcpy(version_, safe_buffer_version.GetCurrentPtr(), kProfileVersionSize); in ReadProfileHeader()