Home
last modified time | relevance | path

Searched refs:Open (Results 1 – 25 of 40) sorted by relevance

12

/art/runtime/base/unix_file/
Dmapped_file_test.cc54 CHECK(f->Open(good_path_, MappedFile::kReadWriteMode)); in MakeTestFile()
71 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); in TEST_F()
91 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); in TEST_F()
103 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadWriteMode)); in TEST_F()
119 ASSERT_TRUE(file.Open(new_path, MappedFile::kReadWriteMode)); in TEST_F()
138 EXPECT_FALSE(file.Open(bad_path, MappedFile::kReadOnlyMode)); in TEST_F()
144 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); in TEST_F()
150 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); in TEST_F()
157 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadWriteMode)); in TEST_F()
185 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); in TEST_F()
[all …]
Dfd_file_test.cc53 ASSERT_TRUE(file.Open(good_path, O_CREAT | O_WRONLY)); in TEST_F()
59 EXPECT_TRUE(file.Open(good_path, O_RDONLY)); in TEST_F()
71 ASSERT_TRUE(file.Open(tmp.GetFilename(), O_RDONLY)); in TEST_F()
Dfd_file.h46 bool Open(const std::string& file_path, int flags);
47 bool Open(const std::string& file_path, int flags, mode_t mode);
Dfd_file.cc46 bool FdFile::Open(const std::string& path, int flags) { in Open() function in unix_file::FdFile
47 return Open(path, flags, 0640); in Open()
50 bool FdFile::Open(const std::string& path, int flags, mode_t mode) { in Open() function in unix_file::FdFile
/art/compiler/
Delf_writer_test.cc91 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), false, false, &error_msg)); in TEST_F()
99 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), false, false, &error_msg)); in TEST_F()
107 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), false, true, &error_msg)); in TEST_F()
Delf_writer.cc45 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, false, false, &error_msg)); in GetOatElfInformation()
Delf_stripper.cc33 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, true, false, error_msg)); in Strip()
Delf_fixup.cc33 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, true, false, &error_msg)); in Fixup()
Doat_test.cc138 std::unique_ptr<OatFile> oat_file(OatFile::Open(tmp.GetFilename(), tmp.GetFilename(), NULL, false, in TEST_F()
/art/runtime/
Delf_file.h43 static ElfFile* Open(File* file, bool writable, bool program_header_only, std::string* error_msg);
46 static ElfFile* Open(File* file, int mmap_prot, int mmap_flags, std::string* error_msg);
Dos_linux.cc45 if (!file->Open(name, flags, 0666)) { in OpenFileWithFlags()
Dzip_archive.h61 static ZipArchive* Open(const char* filename, std::string* error_msg);
Dzip_archive_test.cc35 …std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(GetLibCoreDexFileName().c_str(), &error_m… in TEST_F()
Ddex_file_verifier_test.cc123 bool success = DexFile::Open(location, location, error_msg, &tmp); in OpenDexFileBase64()
185 if (!DexFile::Open(location, location, error_msg, &tmp)) { in FixChecksumAndOpen()
Dzip_archive.cc90 ZipArchive* ZipArchive::Open(const char* filename, std::string* error_msg) { in Open() function in art::ZipArchive
Dcommon_runtime_test.cc171 if (!DexFile::Open(location, location, &error_msg, &dex_files)) { in LoadExpectSingleDexFile()
324 bool success = DexFile::Open(filename.c_str(), filename.c_str(), &error_msg, &dex_files); in OpenTestDexFiles()
Doat_file.cc67 OatFile* OatFile::Open(const std::string& filename, in Open() function in art::OatFile
193 elf_file_.reset(ElfFile::Open(file, writable, true, error_msg)); in ElfFileOpen()
453 return DexFile::Open(dex_file_pointer_, FileSize(), dex_file_location_, in OpenDexFile()
Ddex_file_test.cc32 TEST_F(DexFileTest, Open) { in TEST_F() argument
155 bool success = DexFile::Open(location, location, &error_msg, &tmp); in OpenDexFileBase64()
Doat_file.h49 static OatFile* Open(const std::string& filename,
Ddex_file.cc121 bool DexFile::Open(const char* filename, const char* location, std::string* error_msg, in Open() function in art::DexFile
247 const DexFile* DexFile::Open(const ZipArchive& zip_archive, const char* entry_name, in Open() function in art::DexFile
289 std::unique_ptr<const DexFile> dex_file(Open(zip_archive, kClassesDex, location, error_msg, in OpenFromZip()
306 std::unique_ptr<const DexFile> next_dex_file(Open(zip_archive, name.c_str(), fake_location, in OpenFromZip()
Ddex_file.h385 static bool Open(const char* filename, const char* location, std::string* error_msg,
389 static const DexFile* Open(const uint8_t* base, size_t size, in Open() function
909 static const DexFile* Open(const ZipArchive& zip_archive, const char* entry_name,
/art/runtime/mirror/
Ddex_cache_test.cc34 TEST_F(DexCacheTest, Open) { in TEST_F() argument
/art/test/097-duplicate-method/src/
DTest.j1 ; Copyright (C) 2012 The Android Open Source Project
/art/runtime/native/
Djava_lang_VMClassLoader.cc86 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(location.c_str(), &error_msg)); in VMClassLoader_getBootClassPathResource()
/art/compiler/llvm/
Dart_module.ll2 ;; Copyright (C) 2012 The Android Open Source Project

12