Home
last modified time | relevance | path

Searched refs:File (Results 1 – 25 of 57) sorted by relevance

123

/art/runtime/
Dos_linux.cc30 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()
Dos.h26 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);
Delf_file.h43 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_;
Dcommon_runtime_test.h44 explicit ScratchFile(File* file);
52 File* GetFile() const { in GetFile()
63 std::unique_ptr<File> file_;
Dzip_archive_test.cc44 std::unique_ptr<File> file(new File(tmp.GetFd(), tmp.GetFilename(), false)); in TEST_F()
Doat_file.h61 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/
Dpatchoat.h45 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);
Dpatchoat.cc112 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/
Dscoped_flock.h43 bool Init(File* file, std::string* error_msg);
46 File* GetFile();
54 std::unique_ptr<File> file_;
Dscoped_flock.cc64 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/
Delf_writer.h40 static void GetOatElfInformation(File* file,
48 ElfWriter(const CompilerDriver& driver, File* elf_file) in ElfWriter()
61 File* const elf_file_;
Dfile_output_stream.h28 explicit FileOutputStream(File* file);
37 File* const file_;
Doutput_stream_test.cc63 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()
Delf_writer_mclinker.h43 static bool Create(File* file,
60 ElfWriterMclinker(const CompilerDriver& driver, File* elf_file);
Delf_writer_quick.h29 static bool Create(File* file,
46 ElfWriterQuick(const CompilerDriver& driver, File* elf_file) in ElfWriterQuick()
213 File* elf_file,
252 File* elf_file_;
Delf_stripper.h31 static bool Strip(File* file, std::string* error_msg);
Dfile_output_stream.cc26 FileOutputStream::FileOutputStream(File* file) : OutputStream(file->GetPath()), file_(file) {} in FileOutputStream()
Delf_fixup.h33 static bool Fixup(File* file, uintptr_t oat_data_begin);
Delf_writer.cc41 void ElfWriter::GetOatElfInformation(File* file, in GetOatElfInformation()
/art/test/099-vmdebug/src/
DMain.java17 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/
DMain.java17 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/
DFancyLoader.java17 import java.io.File;
141 File path = new File(pathName); in findClassNonDalvik()
/art/test/071-dexfile/src/
DMain.java17 import java.io.File;
33 return new File(ODEX_DIR).isDirectory() ? ODEX_DIR : ODEX_ALT; in getOdexDir()
/art/test/122-secondarydex/src/
DMain.java17 import java.io.File;
/art/test/131-structural-change/src/
DMain.java17 import java.io.File;

123