Home
last modified time | relevance | path

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

/art/libartbase/base/
Dmem_map_windows.cc89 LARGE_INTEGER file_length; in TargetMMap() local
90 if (!::GetFileSizeEx(file_handle, &file_length)) { in TargetMMap()
96 file_offset + map_length > file_length.QuadPart) { in TargetMMap()
/art/runtime/
Delf_file.cc109 size_t file_length = static_cast<size_t>(temp_file_length); in Setup() local
110 if (file_length < sizeof(Elf_Ehdr)) { in Setup()
112 "%zd bytes: '%s'", file_length, sizeof(Elf_Ehdr), in Setup()
134 if (file_length < program_header_size) { in Setup()
136 "header of %zd bytes: '%s'", file_length, in Setup()
1142 size_t file_length = static_cast<size_t>(temp_file_length); in Load() local
1216 if (file_length < (program_header->p_offset + program_header->p_filesz)) { in Load()
1218 "%d of %" PRIu64 " bytes: '%s'", file_length, i, in Load()
/art/libprofile/profile/
Dprofile_compilation_info_test.cc493 int64_t file_length = profile.GetFile()->GetLength(); in TEST_F() local
494 ASSERT_GT(file_length, 0); in TEST_F()
495 ASSERT_TRUE(profile.GetFile()->PwriteFully(random_data, sizeof(random_data), file_length)); in TEST_F()
499 file_length + static_cast<int64_t>(sizeof(random_data))); in TEST_F()