Searched refs:OpenFileForReading (Results 1 – 14 of 14) sorted by relevance
33 static File* OpenFileForReading(const char* name);
30 File* OS::OpenFileForReading(const char* name) { in OpenFileForReading() function in art::OS
71 vdex_file.reset(OS::OpenFileForReading(vdex_filename.c_str())); in Open()
980 std::unique_ptr<File> file(OS::OpenFileForReading(elf_filename.c_str())); in Load()
917 std::unique_ptr<File> file(OS::OpenFileForReading(oat_filename.c_str())); in OpenDexFilesFromImage()
71 std::unique_ptr<File> in(OS::OpenFileForReading(tmp.GetFilename().c_str())); in TEST_F()86 std::unique_ptr<File> in(OS::OpenFileForReading(tmp.GetFilename().c_str())); in TEST_F()
61 std::unique_ptr<File> file(OS::OpenFileForReading(elf_filename.c_str())); in TEST_F()112 std::unique_ptr<File> file(OS::OpenFileForReading(elf_filename.c_str())); in TEST_F()
127 std::unique_ptr<File> file(OS::OpenFileForReading(image_file.GetFilename().c_str())); in GetImageObjectSectionSizes()390 std::unique_ptr<File> file(OS::OpenFileForReading(image_file.GetFilename().c_str())); in TestWriteRead()
301 auto map_file = std::unique_ptr<File>(OS::OpenFileForReading(file_name.c_str())); in DumpImageDiffMap()353 zygote_map_file.reset(OS::OpenFileForReading(zygote_file_name.c_str())); in DumpImageDiffMap()364 auto page_map_file = std::unique_ptr<File>(OS::OpenFileForReading(page_map_file_name.c_str())); in DumpImageDiffMap()373 OS::OpenFileForReading(clean_page_map_file_name)); in DumpImageDiffMap()379 auto kpage_flags_file = std::unique_ptr<File>(OS::OpenFileForReading("/proc/kpageflags")); in DumpImageDiffMap()385 auto kpage_count_file = std::unique_ptr<File>(OS::OpenFileForReading("/proc/kpagecount")); in DumpImageDiffMap()
661 std::unique_ptr<File> file(OS::OpenFileForReading(image_file_name.c_str())); in GetImageSize()788 std::unique_ptr<File> file(OS::OpenFileForReading(app_image_file_name.c_str())); in CheckResult()
2026 std::unique_ptr<File> in(OS::OpenFileForReading(oat_filenames_[i])); in CopyStrippedToUnstripped()
159 std::unique_ptr<File> input_image(OS::OpenFileForReading(input_image_filename.c_str())); in Patch()206 std::unique_ptr<File> input_oat_file(OS::OpenFileForReading(input_oat_filename.c_str())); in Patch()
224 std::unique_ptr<File> image_file(OS::OpenFileForReading(filename)); in ReadSpecificImageHeader()528 file.reset(OS::OpenFileForReading(image_filename)); in Init()
1896 std::unique_ptr<File> file(OS::OpenFileForReading(image_filename.c_str())); in Dump()