Searched refs:Open (Results 1 - 25 of 34) sorted by relevance

12

/art/runtime/
H A Ddex_method_iterator_test.cc2 * 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 Dos_linux.cc2 * Copyright (C) 2010 The Android Open Source Project
45 if (!file->Open(name, flags, 0666)) {
H A Dzip_archive_test.cc2 * Copyright (C) 2011 The Android Open Source Project
32 UniquePtr<ZipArchive> zip_archive(ZipArchive::Open(GetLibCoreDexFileName()));
H A Dzip_archive.h2 * Copyright (C) 2008 The Android Open Source Project
112 static ZipArchive* Open(const std::string& filename);
H A Doat_file.cc2 * 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 Ddex_file_test.cc2 * Copyright (C) 2011 The Android Open Source Project
26 TEST_F(DexFileTest, Open) {
76 const DexFile* dex_file = DexFile::Open(location, location);
H A Dcommon_test.h2 * 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 Delf_file.h2 * Copyright (C) 2012 The Android Open Source Project
38 static ElfFile* Open(File* file, bool writable, bool program_header_only);
H A Doat_file.h2 * 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 Ddex_file.h2 * 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 Dmapped_file_test.cc2 * 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 Dfd_file_test.cc2 * 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 Dfd_file.h2 * 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 Dfd_file.cc2 * 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 Delf_writer_test.cc2 * 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 Delf_writer.cc2 * Copyright (C) 2012 The Android Open Source Project
50 UniquePtr<ElfFile> elf_file(ElfFile::Open(file, false, false));
H A Delf_stripper.cc2 * Copyright (C) 2012 The Android Open Source Project
31 UniquePtr<ElfFile> elf_file(ElfFile::Open(file, true, false));
H A Dimage_test.cc2 * Copyright (C) 2011 The Android Open Source Project
113 UniquePtr<const DexFile> dex(DexFile::Open(GetLibCoreDexFileName(), GetLibCoreDexFileName()));
H A Doat_test.cc2 * Copyright (C) 2011 The Android Open Source Project
103 UniquePtr<OatFile> oat_file(OatFile::Open(tmp.GetFilename(), tmp.GetFilename(), NULL, false));
H A Delf_fixup.cc2 * Copyright (C) 2012 The Android Open Source Project
30 UniquePtr<ElfFile> elf_file(ElfFile::Open(file, true, false));
/art/runtime/mirror/
H A Ddex_cache_test.cc2 * Copyright (C) 2011 The Android Open Source Project
32 TEST_F(DexCacheTest, Open) {
/art/runtime/native/
H A Djava_lang_VMClassLoader.cc2 * Copyright (C) 2008 The Android Open Source Project
75 UniquePtr<ZipArchive> zip_archive(ZipArchive::Open(location));
H A Ddalvik_system_DexFile.cc2 * 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 Ddex2oat.cc2 * 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 Dimage_space.cc2 * Copyright (C) 2011 The Android Open Source Project
257 OatFile* oat_file = OatFile::Open(oat_filename, oat_filename, image_header.GetOatDataBegin(),

Completed in 1795 milliseconds

12