/art/runtime/base/unix_file/ |
D | mapped_file_test.cc | 54 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 …]
|
D | fd_file_test.cc | 53 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()
|
D | fd_file.h | 46 bool Open(const std::string& file_path, int flags); 47 bool Open(const std::string& file_path, int flags, mode_t mode);
|
D | fd_file.cc | 46 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/ |
D | elf_writer_test.cc | 91 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()
|
D | elf_writer.cc | 45 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, false, false, &error_msg)); in GetOatElfInformation()
|
D | elf_stripper.cc | 33 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, true, false, error_msg)); in Strip()
|
D | elf_fixup.cc | 33 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, true, false, &error_msg)); in Fixup()
|
D | oat_test.cc | 138 std::unique_ptr<OatFile> oat_file(OatFile::Open(tmp.GetFilename(), tmp.GetFilename(), NULL, false, in TEST_F()
|
/art/runtime/ |
D | elf_file.h | 43 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);
|
D | os_linux.cc | 45 if (!file->Open(name, flags, 0666)) { in OpenFileWithFlags()
|
D | zip_archive.h | 61 static ZipArchive* Open(const char* filename, std::string* error_msg);
|
D | zip_archive_test.cc | 35 …std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(GetLibCoreDexFileName().c_str(), &error_m… in TEST_F()
|
D | dex_file_verifier_test.cc | 123 bool success = DexFile::Open(location, location, error_msg, &tmp); in OpenDexFileBase64() 185 if (!DexFile::Open(location, location, error_msg, &tmp)) { in FixChecksumAndOpen()
|
D | zip_archive.cc | 90 ZipArchive* ZipArchive::Open(const char* filename, std::string* error_msg) { in Open() function in art::ZipArchive
|
D | common_runtime_test.cc | 171 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()
|
D | oat_file.cc | 67 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()
|
D | dex_file_test.cc | 32 TEST_F(DexFileTest, Open) { in TEST_F() argument 155 bool success = DexFile::Open(location, location, &error_msg, &tmp); in OpenDexFileBase64()
|
D | oat_file.h | 49 static OatFile* Open(const std::string& filename,
|
D | dex_file.cc | 121 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()
|
D | dex_file.h | 385 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/ |
D | dex_cache_test.cc | 34 TEST_F(DexCacheTest, Open) { in TEST_F() argument
|
/art/test/097-duplicate-method/src/ |
D | Test.j | 1 ; Copyright (C) 2012 The Android Open Source Project
|
/art/runtime/native/ |
D | java_lang_VMClassLoader.cc | 86 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(location.c_str(), &error_msg)); in VMClassLoader_getBootClassPathResource()
|
/art/compiler/llvm/ |
D | art_module.ll | 2 ;; Copyright (C) 2012 The Android Open Source Project
|