/art/runtime/base/unix_file/ |
H A D | mapped_file_test.cc | 2 * Copyright (C) 2008 The Android Open Source Project 56 CHECK(f->Open(good_path_, MappedFile::kReadWriteMode)); 82 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); 102 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); 114 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadWriteMode)); 131 ASSERT_TRUE(file.Open(new_path, MappedFile::kReadWriteMode)); 151 EXPECT_FALSE(file.Open(bad_path, MappedFile::kReadOnlyMode)); 157 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); 163 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); 170 ASSERT_TRUE(file.Open(good_path [all...] |
H A D | fd_file_test.cc | 2 * Copyright (C) 2009 The Android Open Source Project 53 ASSERT_TRUE(file.Open(good_path, O_CREAT | O_WRONLY)); 60 EXPECT_TRUE(file.Open(good_path, O_RDONLY)); 72 ASSERT_TRUE(file.Open(tmp.GetFilename(), O_RDONLY));
|
H A D | fd_file.h | 2 * Copyright (C) 2009 The Android Open Source Project 49 bool Open(const std::string& file_path, int flags); 50 bool Open(const std::string& file_path, int flags, mode_t mode);
|
H A D | fd_file.cc | 2 * Copyright (C) 2009 The Android Open Source Project 86 bool FdFile::Open(const std::string& path, int flags) { function in class:unix_file::FdFile 87 return Open(path, flags, 0640); 90 bool FdFile::Open(const std::string& path, int flags, mode_t mode) { function in class:unix_file::FdFile
|
/art/compiler/ |
H A D | elf_writer.cc | 2 * Copyright (C) 2012 The Android Open Source Project 45 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, false, false, &error_msg));
|
H A D | elf_writer_test.cc | 2 * Copyright (C) 2011 The Android Open Source Project 67 // We only use dlopen for loading with portable. See OatFile::Open. 91 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), false, false, &error_msg)); 99 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), false, false, &error_msg)); 107 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), false, true, &error_msg));
|
H A D | elf_stripper.cc | 2 * Copyright (C) 2012 The Android Open Source Project 33 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, true, false, error_msg));
|
H A D | elf_fixup.cc | 2 * Copyright (C) 2012 The Android Open Source Project 33 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, true, false, &error_msg));
|
H A D | oat_test.cc | 2 * Copyright (C) 2011 The Android Open Source Project 138 std::unique_ptr<OatFile> oat_file(OatFile::Open(tmp.GetFilename(), tmp.GetFilename(), nullptr,
|
H A D | elf_patcher.cc | 2 * Copyright (C) 2014 The Android Open Source Project 47 oat_file = OatFile::Open(oat_location, oat_location, nullptr, nullptr, false, error_msg);
|
H A D | elf_writer_mclinker.cc | 2 * Copyright (C) 2012 The Android Open Source Project 350 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(elf_file_, true, false, &error_msg));
|
/art/runtime/ |
H A D | os_linux.cc | 2 * Copyright (C) 2010 The Android Open Source Project 45 if (!file->Open(name, flags, 0666)) {
|
H A D | zip_archive.h | 2 * Copyright (C) 2008 The Android Open Source Project 61 static ZipArchive* Open(const char* filename, std::string* error_msg);
|
H A D | zip_archive_test.cc | 2 * Copyright (C) 2011 The Android Open Source Project 35 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(GetLibCoreDexFileName().c_str(), &error_msg));
|
H A D | elf_file.h | 2 * Copyright (C) 2012 The Android Open Source Project 43 static ElfFile* Open(File* file, bool writable, bool program_header_only, std::string* error_msg, 45 // Open with specific mmap flags, Always maps in the whole file, not just the 47 static ElfFile* Open(File* file, int mmap_prot, int mmap_flags, std::string* error_msg);
|
H A D | zip_archive.cc | 2 * Copyright (C) 2008 The Android Open Source Project 90 ZipArchive* ZipArchive::Open(const char* filename, std::string* error_msg) { function in class:art::ZipArchive
|
H A D | dex_file_verifier_test.cc | 2 * Copyright (C) 2011 The Android Open Source Project 126 bool success = DexFile::Open(location, location, error_msg, &tmp); 191 if (!DexFile::Open(location, location, error_msg, &tmp)) {
|
H A D | oat_file.cc | 2 * Copyright (C) 2011 The Android Open Source Project 67 OatFile* OatFile::Open(const std::string& filename, function in class:art::OatFile 199 elf_file_.reset(ElfFile::Open(file, writable, /*program_header_only*/true, error_msg, 460 return DexFile::Open(dex_file_pointer_, FileSize(), dex_file_location_,
|
H A D | common_runtime_test.cc | 2 * Copyright (C) 2012 The Android Open Source Project 180 if (!DexFile::Open(location, location, &error_msg, &dex_files)) { 333 bool success = DexFile::Open(filename.c_str(), filename.c_str(), &error_msg, &dex_files);
|
H A D | dex_file_test.cc | 2 * Copyright (C) 2011 The Android Open Source Project 32 TEST_F(DexFileTest, Open) { 158 bool success = DexFile::Open(location, location, &error_msg, &tmp);
|
H A D | oat_file.h | 2 * Copyright (C) 2011 The Android Open Source Project 47 // Open an oat file. Returns NULL on failure. Requested base can 49 static OatFile* Open(const std::string& filename, 56 // Open an oat file from an already opened File. 65 // Open an oat file backed by a std::vector with the given location.
|
H A D | dex_file.cc | 2 * Copyright (C) 2011 The Android Open Source Project 121 bool DexFile::Open(const char* filename, const char* location, std::string* error_msg, function in class:art::DexFile 248 const DexFile* DexFile::Open(const ZipArchive& zip_archive, const char* entry_name, function in class:art::DexFile 290 std::unique_ptr<const DexFile> dex_file(Open(zip_archive, kClassesDex, location, error_msg, 307 std::unique_ptr<const DexFile> next_dex_file(Open(zip_archive, name.c_str(), fake_location,
|
H A D | dex_file.h | 2 * Copyright (C) 2011 The Android Open Source Project 387 static bool Open(const char* filename, const char* location, std::string* error_msg, 391 static const DexFile* Open(const uint8_t* base, size_t size, function in class:art::DexFile 399 // Open all classesXXX.dex files from a zip archive. 917 static const DexFile* Open(const ZipArchive& zip_archive, const char* entry_name,
|
/art/runtime/mirror/ |
H A D | dex_cache_test.cc | 2 * Copyright (C) 2011 The Android Open Source Project 34 TEST_F(DexCacheTest, Open) {
|
/art/runtime/native/ |
H A D | java_lang_VMClassLoader.cc | 2 * Copyright (C) 2008 The Android Open Source Project 88 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(location.c_str(), &error_msg));
|