/art/runtime/ |
H A D | zip_archive.cc | 2 * Copyright (C) 2008 The Android Open Source Project 91 ZipArchive* ZipArchive::Open(const char* filename, std::string* error_msg) { function in class:art::ZipArchive
|
H A D | oat_file.cc | 2 * Copyright (C) 2011 The Android Open Source Project 51 // Whether OatFile::Open will try DlOpen() first. Fallback is our own ELF loader. 54 // Whether OatFile::Open will try DlOpen() on the host. On the host we're not linking against 60 // For debugging, Open will print DlOpen error message if set to true. 102 OatFile* OatFile::Open(const std::string& filename, function in class:art::OatFile 330 elf_file_.reset(ElfFile::Open(file, writable, /*program_header_only*/true, error_msg, 620 return DexFile::Open(dex_file_pointer_, FileSize(), dex_file_location_,
|
H A D | dex_file.cc | 2 * Copyright (C) 2011 The Android Open Source Project 130 bool DexFile::Open(const char* filename, const char* location, std::string* error_msg, function in class:art::DexFile 132 DCHECK(dex_files != nullptr) << "DexFile::Open: out-param is nullptr"; 285 std::unique_ptr<const DexFile> DexFile::Open(const ZipArchive& zip_archive, const char* entry_name, function in class:art::DexFile 335 std::unique_ptr<const DexFile> dex_file(Open(zip_archive, kClassesDex, location, error_msg, 351 std::unique_ptr<const DexFile> next_dex_file(Open(zip_archive, name.c_str(), fake_location,
|
H A D | elf_file.cc | 2 * Copyright (C) 2012 The Android Open Source Project 140 ElfFileImpl<ElfTypes>* ElfFileImpl<ElfTypes>::Open( function in class:art::ElfFileImpl 161 ElfFileImpl<ElfTypes>* ElfFileImpl<ElfTypes>::Open( function in class:art::ElfFileImpl 453 // We'd also like to confirm a shstrtab in program_header_only_ mode (else Open() does this for 473 // MemMap::Open should have already set an error. 817 // TODO: we need to change this to calculate base_address_ in ::Open, 1208 // TODO: base_address_ needs to be calculated in ::Open, otherwise 1463 Open(const_cast<File*>(file_), PROT_READ | PROT_WRITE, MAP_PRIVATE, &error_msg)); 1771 ElfFile* ElfFile::Open(File* file, bool writable, bool program_header_only, std::string* error_msg, function in class:art::ElfFile 1785 ElfFileImpl64* elf_file_impl = ElfFileImpl64::Open(fil 1806 ElfFile* ElfFile::Open(File* file, int mmap_prot, int mmap_flags, std::string* error_msg) { function in class:art::ElfFile [all...] |
H A D | dex_file.h | 2 * Copyright (C) 2011 The Android Open Source Project 388 static bool Open(const char* filename, const char* location, std::string* error_msg, 392 // If this function returns false, Open will not succeed. The inverse is not true, however. 396 static std::unique_ptr<const DexFile> Open(const uint8_t* base, size_t size, function in class:art::DexFile 404 // Open all classesXXX.dex files from a zip archive. 942 static std::unique_ptr<const DexFile> Open(const ZipArchive& zip_archive, const char* entry_name,
|
/art/runtime/base/unix_file/ |
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
|