Searched refs:OpenFileForReading (Results 1 – 12 of 12) sorted by relevance
33 static File* OpenFileForReading(const char* name);
30 File* OS::OpenFileForReading(const char* name) { in OpenFileForReading() function in art::OS
870 std::unique_ptr<File> file(OS::OpenFileForReading(elf_filename.c_str())); in Load()
824 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()
297 auto map_file = std::unique_ptr<File>(OS::OpenFileForReading(file_name.c_str())); in DumpImageDiffMap()349 zygote_map_file.reset(OS::OpenFileForReading(zygote_file_name.c_str())); in DumpImageDiffMap()360 auto page_map_file = std::unique_ptr<File>(OS::OpenFileForReading(page_map_file_name.c_str())); in DumpImageDiffMap()369 OS::OpenFileForReading(clean_page_map_file_name)); in DumpImageDiffMap()375 auto kpage_flags_file = std::unique_ptr<File>(OS::OpenFileForReading("/proc/kpageflags")); in DumpImageDiffMap()381 auto kpage_count_file = std::unique_ptr<File>(OS::OpenFileForReading("/proc/kpagecount")); in DumpImageDiffMap()
63 std::unique_ptr<File> file(OS::OpenFileForReading(elf_filename.c_str())); in TEST_F()
192 std::unique_ptr<File> file(OS::OpenFileForReading(image_file.GetFilename().c_str())); in TestWriteRead()
193 std::unique_ptr<File> input_image(OS::OpenFileForReading(input_image_filename.c_str())); in Patch()237 std::unique_ptr<File> input_oat_file(OS::OpenFileForReading(input_oat_filename.c_str())); in Patch()952 file.reset(OS::OpenFileForReading(name)); in ReadBaseDelta()1113 input_oat.reset(OS::OpenFileForReading(input_oat_filename.c_str())); in patchoat_oat()
181 std::unique_ptr<File> image_file(OS::OpenFileForReading(filename)); in ReadSpecificImageHeader()1171 file.reset(OS::OpenFileForReading(image_filename)); in Init()
1787 std::unique_ptr<File> in(OS::OpenFileForReading(oat_filenames_[i])); in CopyStrippedToUnstripped()
1446 std::unique_ptr<File> file(OS::OpenFileForReading(image_filename.c_str())); in Dump()