/art/runtime/ |
H A D | dex_method_iterator_test.cc | 2 * Copyright (C) 2011 The Android Open Source Project 28 dex_files.push_back(DexFile::Open(GetDexFileName("core"), GetDexFileName("core"))); 29 dex_files.push_back(DexFile::Open(GetDexFileName("conscrypt"), GetDexFileName("conscrypt"))); 30 dex_files.push_back(DexFile::Open(GetDexFileName("okhttp"), GetDexFileName("okhttp"))); 31 dex_files.push_back(DexFile::Open(GetDexFileName("core-junit"), GetDexFileName("core-junit"))); 32 dex_files.push_back(DexFile::Open(GetDexFileName("bouncycastle"), GetDexFileName("bouncycastle")));
|
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_test.cc | 2 * Copyright (C) 2011 The Android Open Source Project 32 UniquePtr<ZipArchive> zip_archive(ZipArchive::Open(GetLibCoreDexFileName()));
|
H A D | zip_archive.h | 2 * Copyright (C) 2008 The Android Open Source Project 112 static ZipArchive* Open(const std::string& filename);
|
H A D | oat_file.cc | 2 * Copyright (C) 2011 The Android Open Source Project 60 OatFile* OatFile::Open(const std::string& filename, function in class:art::OatFile 167 elf_file_.reset(ElfFile::Open(file, writable, true)); 377 return DexFile::Open(dex_file_pointer_, FileSize(), dex_file_location_,
|
H A D | dex_file_test.cc | 2 * Copyright (C) 2011 The Android Open Source Project 26 TEST_F(DexFileTest, Open) { 76 const DexFile* dex_file = DexFile::Open(location, location);
|
H A D | common_test.h | 2 * Copyright (C) 2011 The Android Open Source Project 285 java_lang_dex_file_ = DexFile::Open(GetLibCoreDexFileName(), GetLibCoreDexFileName()); 289 conscrypt_file_ = DexFile::Open(GetConscryptFileName(), GetConscryptFileName()); 435 const DexFile* dex_file = DexFile::Open(filename, filename);
|
H A D | elf_file.h | 2 * Copyright (C) 2012 The Android Open Source Project 38 static ElfFile* Open(File* file, bool writable, bool program_header_only);
|
H A D | oat_file.h | 2 * Copyright (C) 2011 The Android Open Source Project 43 // Open an oat file. Returns NULL on failure. Requested base can 45 static OatFile* Open(const std::string& filename, 50 // Open an oat file from an already opened File. 57 // Open an oat file backed by a std::vector with the given location.
|
H A D | dex_file.h | 2 * Copyright (C) 2011 The Android Open Source Project 353 static const DexFile* Open(const std::string& filename, 357 static const DexFile* Open(const uint8_t* base, size_t size, function in class:art::DexFile 364 static const DexFile* Open(const ZipArchive& zip_archive, const std::string& location);
|
/art/runtime/base/unix_file/ |
H A D | mapped_file_test.cc | 2 * Copyright (C) 2008 The Android Open Source Project 48 CHECK(f->Open(good_path_, MappedFile::kReadWriteMode)); 65 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); 85 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); 97 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadWriteMode)); 113 ASSERT_TRUE(file.Open(new_path, MappedFile::kReadWriteMode)); 132 EXPECT_FALSE(file.Open(bad_path, MappedFile::kReadOnlyMode)); 138 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); 144 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); 151 ASSERT_TRUE(file.Open(good_path [all...] |
H A D | fd_file_test.cc | 2 * Copyright (C) 2009 The Android Open Source Project 52 ASSERT_TRUE(file.Open(good_path, O_CREAT | O_WRONLY)); 58 EXPECT_TRUE(file.Open(good_path, O_RDONLY));
|
H A D | fd_file.h | 2 * Copyright (C) 2009 The Android Open Source Project 46 bool Open(const std::string& file_path, int flags); 47 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 46 bool FdFile::Open(const std::string& path, int flags) { function in class:unix_file::FdFile 47 return Open(path, flags, 0640); 50 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_test.cc | 2 * Copyright (C) 2011 The Android Open Source Project 68 UniquePtr<ElfFile> ef(ElfFile::Open(file.get(), false, false)); 75 UniquePtr<ElfFile> ef(ElfFile::Open(file.get(), false, false)); 82 UniquePtr<ElfFile> ef(ElfFile::Open(file.get(), false, true));
|
H A D | elf_writer.cc | 2 * Copyright (C) 2012 The Android Open Source Project 50 UniquePtr<ElfFile> elf_file(ElfFile::Open(file, false, false));
|
H A D | elf_stripper.cc | 2 * Copyright (C) 2012 The Android Open Source Project 31 UniquePtr<ElfFile> elf_file(ElfFile::Open(file, true, false));
|
H A D | image_test.cc | 2 * Copyright (C) 2011 The Android Open Source Project 113 UniquePtr<const DexFile> dex(DexFile::Open(GetLibCoreDexFileName(), GetLibCoreDexFileName()));
|
H A D | oat_test.cc | 2 * Copyright (C) 2011 The Android Open Source Project 103 UniquePtr<OatFile> oat_file(OatFile::Open(tmp.GetFilename(), tmp.GetFilename(), NULL, false));
|
H A D | elf_fixup.cc | 2 * Copyright (C) 2012 The Android Open Source Project 30 UniquePtr<ElfFile> elf_file(ElfFile::Open(file, true, false));
|
/art/runtime/mirror/ |
H A D | dex_cache_test.cc | 2 * Copyright (C) 2011 The Android Open Source Project 32 TEST_F(DexCacheTest, Open) {
|
/art/runtime/native/ |
H A D | java_lang_VMClassLoader.cc | 2 * Copyright (C) 2008 The Android Open Source Project 75 UniquePtr<ZipArchive> zip_archive(ZipArchive::Open(location));
|
H A D | dalvik_system_DexFile.cc | 2 * Copyright (C) 2008 The Android Open Source Project 230 UniquePtr<const OatFile> oat_file(OatFile::Open(odex_filename, odex_filename, NULL, false)); 260 oat_file.reset(OatFile::Open(cache_location, filename.c_str(), NULL, false));
|
/art/dex2oat/ |
H A D | dex2oat.cc | 2 * Copyright (C) 2011 The Android Open Source Project 205 UniquePtr<ZipArchive> zip_archive(ZipArchive::Open(zip_filename)); 371 const DexFile* dex_file = DexFile::Open(parsed[i], parsed[i]); 424 const DexFile* dex_file = DexFile::Open(dex_filename, dex_location); 915 const DexFile* dex_file = DexFile::Open(*zip_archive.get(), zip_location);
|
/art/runtime/gc/space/ |
H A D | image_space.cc | 2 * Copyright (C) 2011 The Android Open Source Project 257 OatFile* oat_file = OatFile::Open(oat_filename, oat_filename, image_header.GetOatDataBegin(),
|