Searched refs:OpenFileForReading (Results 1 – 18 of 18) sorted by relevance
35 static File* OpenFileForReading(const char* name);
32 File* OS::OpenFileForReading(const char* name) { in OpenFileForReading() function in art::OS
72 std::unique_ptr<File> in(OS::OpenFileForReading(tmp.GetFilename().c_str())); in TEST_F()87 std::unique_ptr<File> in(OS::OpenFileForReading(tmp.GetFilename().c_str())); in TEST_F()
66 std::unique_ptr<File> file(OS::OpenFileForReading(elf_filename.c_str())); in TEST_F()128 std::unique_ptr<File> file(OS::OpenFileForReading(elf_filename.c_str())); in TEST_F()
33 std::unique_ptr<File> file(OS::OpenFileForReading(image_file.GetFilename().c_str())); in TestWriteRead()
139 std::unique_ptr<File> file(OS::OpenFileForReading(image_file.GetFilename().c_str())); in GetImageObjectSectionSizes()
509 std::unique_ptr<File> file(OS::OpenFileForReading(app_image_file.c_str())); in CheckResult()675 std::unique_ptr<File> file(OS::OpenFileForReading(image_file_name.c_str())); in GetImageObjectSectionSize()817 std::unique_ptr<File> file(OS::OpenFileForReading(app_image_file_name.c_str())); in CheckResult()1111 std::unique_ptr<File> unload_oat(OS::OpenFileForReading(unload_oat_name.c_str())); in TEST_F()1112 std::unique_ptr<File> unload_vdex(OS::OpenFileForReading(unload_vdex_name.c_str())); in TEST_F()1128 std::unique_ptr<File> no_unload_oat(OS::OpenFileForReading(no_unload_oat_name.c_str())); in TEST_F()1129 std::unique_ptr<File> no_unload_vdex(OS::OpenFileForReading(no_unload_vdex_name.c_str())); in TEST_F()1755 std::unique_ptr<File> vdex_file(OS::OpenFileForReading(vdex_location.c_str())); in TEST_F()1921 std::unique_ptr<File> dex_file(OS::OpenFileForReading(zip_location.c_str())); in TEST_F()2007 std::unique_ptr<File> zip_file(OS::OpenFileForReading(zip_location.c_str())); in TEST_F()
119 std::unique_ptr<File> vdex_file(OS::OpenFileForReading(vdex.c_str())); in CreateDexMetadata()
146 std::unique_ptr<File> file1(OS::OpenFileForReading(filename1.c_str())); in CompareFiles()147 std::unique_ptr<File> file2(OS::OpenFileForReading(filename2.c_str())); in CompareFiles()
2382 profile_file.reset(OS::OpenFileForReading(profile_file_.c_str())); in LoadProfile()
150 std::unique_ptr<File> input_file(OS::OpenFileForReading(input_filename)); in Main()
182 std::unique_ptr<File> file(OS::OpenFileForReading(filename.c_str())); in ReadFile()
85 vdex_file.reset(OS::OpenFileForReading(vdex_filename.c_str())); in OpenAtAddress()
1571 std::unique_ptr<File> file(OS::OpenFileForReading(elf_filename.c_str())); in Load()
164 std::unique_ptr<File> image_file(OS::OpenFileForReading(filename)); in ReadSpecificImageHeader()602 file.reset(OS::OpenFileForReading(image_filename)); in Init()1888 std::unique_ptr<File> profile_file(OS::OpenFileForReading(profile_filename.c_str())); in CompileExtension()
744 std::unique_ptr<File> file(OS::OpenFileForReading(location.c_str())); in VerifySystemServerArtifactsAreUpToDate()
769 std::unique_ptr<const File> file(OS::OpenFileForReading(vdex_filename.c_str())); in OpenVdex()1852 std::unique_ptr<File> file(OS::OpenFileForReading(image_filename.c_str())); in Dump()
1165 file->reset(OS::OpenFileForReading(file_name)); in Init()