/art/runtime/ |
D | os_linux.cc | 30 File* OS::OpenFileForReading(const char* name) { in OpenFileForReading() 34 File* OS::OpenFileReadWrite(const char* name) { in OpenFileReadWrite() 38 File* OS::CreateEmptyFile(const char* name) { in CreateEmptyFile() 42 File* OS::OpenFileWithFlags(const char* name, int flags) { in OpenFileWithFlags() 44 std::unique_ptr<File> file(new File); in OpenFileWithFlags()
|
D | os.h | 26 typedef ::unix_file::FdFile File; typedef 33 static File* OpenFileForReading(const char* name); 36 static File* OpenFileReadWrite(const char* name); 39 static File* CreateEmptyFile(const char* name); 42 static File* OpenFileWithFlags(const char* name, int flags);
|
D | elf_file.h | 43 static ElfFile* Open(File* file, bool writable, bool program_header_only, std::string* error_msg, 47 static ElfFile* Open(File* file, int mmap_prot, int mmap_flags, std::string* error_msg); 52 const File& GetFile() const { in GetFile() 115 ElfFile(File* file, bool writable, bool program_header_only, uint8_t* requested_base); 171 const File* const file_;
|
D | common_runtime_test.h | 44 explicit ScratchFile(File* file); 52 File* GetFile() const { in GetFile() 63 std::unique_ptr<File> file_;
|
D | zip_archive_test.cc | 44 std::unique_ptr<File> file(new File(tmp.GetFd(), tmp.GetFilename(), false)); in TEST_F()
|
D | oat_file.h | 61 static OatFile* OpenWritable(File* file, const std::string& location, std::string* error_msg); 63 static OatFile* OpenReadable(File* file, const std::string& location, std::string* error_msg); 300 static OatFile* OpenElfFile(File* file, 310 bool ElfFileOpen(File* file, byte* requested_base,
|
/art/patchoat/ |
D | patchoat.h | 45 static bool Patch(File* oat_in, off_t delta, File* oat_out, TimingLogger* timings, 50 static bool Patch(const std::string& art_location, off_t delta, File* art_out, InstructionSet isa, 54 static bool Patch(File* oat_in, const std::string& art_location, 55 off_t delta, File* oat_out, File* art_out, InstructionSet isa, 116 bool WriteElf(File* out); 117 bool WriteImage(File* out);
|
D | patchoat.cc | 112 File* output_image, InstructionSet isa, in Patch() 127 std::unique_ptr<File> input_image(OS::OpenFileForReading(image_filename.c_str())); in Patch() 194 bool PatchOat::Patch(File* input_oat, const std::string& image_location, off_t delta, in Patch() 195 File* output_oat, File* output_image, InstructionSet isa, in Patch() 224 std::unique_ptr<File> input_image(OS::OpenFileForReading(image_filename.c_str())); in Patch() 325 bool PatchOat::WriteElf(File* out) { in WriteElf() 340 bool PatchOat::WriteImage(File* out) { in WriteImage() 563 bool PatchOat::Patch(File* input_oat, off_t delta, File* output_oat, TimingLogger* timings, in Patch() 854 std::unique_ptr<File> file; in ReadBaseDelta() 879 static File* CreateOrOpen(const char* name, bool* created) { in CreateOrOpen() [all …]
|
/art/runtime/base/ |
D | scoped_flock.h | 43 bool Init(File* file, std::string* error_msg); 46 File* GetFile(); 54 std::unique_ptr<File> file_;
|
D | scoped_flock.cc | 64 bool ScopedFlock::Init(File* file, std::string* error_msg) { in Init() 65 file_.reset(new File(dup(file->Fd()), true)); in Init() 80 File* ScopedFlock::GetFile() { in GetFile()
|
/art/compiler/ |
D | elf_writer.h | 40 static void GetOatElfInformation(File* file, 48 ElfWriter(const CompilerDriver& driver, File* elf_file) in ElfWriter() 61 File* const elf_file_;
|
D | file_output_stream.h | 28 explicit FileOutputStream(File* file); 37 File* const file_;
|
D | output_stream_test.cc | 63 TEST_F(OutputStreamTest, File) { in TEST_F() argument 68 std::unique_ptr<File> in(OS::OpenFileForReading(tmp.GetFilename().c_str())); in TEST_F() 83 std::unique_ptr<File> in(OS::OpenFileForReading(tmp.GetFilename().c_str())); in TEST_F()
|
D | elf_writer_mclinker.h | 43 static bool Create(File* file, 60 ElfWriterMclinker(const CompilerDriver& driver, File* elf_file);
|
D | elf_writer_quick.h | 29 static bool Create(File* file, 46 ElfWriterQuick(const CompilerDriver& driver, File* elf_file) in ElfWriterQuick() 213 File* elf_file, 252 File* elf_file_;
|
D | elf_stripper.h | 31 static bool Strip(File* file, std::string* error_msg);
|
D | file_output_stream.cc | 26 FileOutputStream::FileOutputStream(File* file) : OutputStream(file->GetPath()), file_(file) {} in FileOutputStream()
|
D | elf_fixup.h | 33 static bool Fixup(File* file, uintptr_t oat_data_begin);
|
D | elf_writer.cc | 41 void ElfWriter::GetOatElfInformation(File* file, in GetOatElfInformation()
|
/art/test/099-vmdebug/src/ |
D | Main.java | 17 import java.io.File; 32 File tempFile; in testMethodTracing() 34 tempFile = File.createTempFile("test", ".trace"); in testMethodTracing() 37 tempFile = File.createTempFile("test", ".trace"); in testMethodTracing()
|
/art/test/074-gc-thrash/src/ |
D | Main.java | 17 import java.io.File; 92 File tmpDir = new File("/tmp"); in getDumpFileName() 97 File sdcard = new File("/sdcard"); in getDumpFileName()
|
/art/test/068-classloader/src/ |
D | FancyLoader.java | 17 import java.io.File; 141 File path = new File(pathName); in findClassNonDalvik()
|
/art/test/071-dexfile/src/ |
D | Main.java | 17 import java.io.File; 33 return new File(ODEX_DIR).isDirectory() ? ODEX_DIR : ODEX_ALT; in getOdexDir()
|
/art/test/122-secondarydex/src/ |
D | Main.java | 17 import java.io.File;
|
/art/test/131-structural-change/src/ |
D | Main.java | 17 import java.io.File;
|