Home
last modified time | relevance | path

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

/art/runtime/jit/
Dprofile_compilation_info.cc949 SafeBuffer safe_buffer(kMagicVersionSize); in ReadProfileHeader() local
951 ProfileLoadStatus status = safe_buffer.Fill(source, "ReadProfileHeader", error); in ReadProfileHeader()
956 if (!safe_buffer.CompareAndAdvance(kProfileMagic, sizeof(kProfileMagic))) { in ReadProfileHeader()
960 if (!safe_buffer.CompareAndAdvance(kProfileVersion, sizeof(kProfileVersion))) { in ReadProfileHeader()
964 if (!safe_buffer.ReadUintAndAdvance<uint8_t>(number_of_dex_files)) { in ReadProfileHeader()
968 if (!safe_buffer.ReadUintAndAdvance<uint32_t>(uncompressed_data_size)) { in ReadProfileHeader()
972 if (!safe_buffer.ReadUintAndAdvance<uint32_t>(compressed_data_size)) { in ReadProfileHeader()