Home
last modified time | relevance | path

Searched refs:file_ (Results 1 – 8 of 8) sorted by relevance

/art/compiler/linker/
Dfile_output_stream.cc27 FileOutputStream::FileOutputStream(File* file) : OutputStream(file->GetPath()), file_(file) {} in FileOutputStream()
30 return file_->WriteFully(buffer, byte_count); in WriteFully()
34 return lseek(file_->Fd(), offset, static_cast<int>(whence)); in Seek()
38 return file_->Flush() == 0; in Flush()
Dfile_output_stream.h40 File* const file_;
/art/tools/breakpoint-logger/
Dbreakpoint_logger.cc111 file_(nullptr), in ScopedClassInfo()
118 jvmti_env_->Deallocate(reinterpret_cast<unsigned char*>(file_)); in ~ScopedClassInfo()
129 jvmtiError ret1 = jvmti_env_->GetSourceFileName(class_, &file_); in Init()
157 if (file_ == nullptr) { in GetSourceFileName()
160 return file_; in GetSourceFileName()
169 char* file_; member in breakpoint_logger::ScopedClassInfo
/art/runtime/
Dcommon_runtime_test.cc87 file_.reset(new File(fd, GetFilename(), true)); in ScratchFile()
96 file_.reset(new File(fd, GetFilename(), true)); in ScratchFile()
102 file_.reset(file); in ScratchFile()
112 std::swap(file_, other.file_); in operator =()
122 return file_->Fd(); in GetFd()
126 if (file_.get() != nullptr) { in Close()
127 if (file_->FlushCloseOrErase() != 0) { in Close()
Doat_file_assistant.cc677 : file_(file), in Dex2oatFileWrapper()
682 if (unlink_file_at_destruction_ && (file_ != nullptr)) { in ~Dex2oatFileWrapper()
683 file_->Erase(/*unlink*/ true); in ~Dex2oatFileWrapper()
687 File* GetFile() { return file_.get(); } in GetFile()
694 std::unique_ptr<File> file_; member in art::Dex2oatFileWrapper
1157 file_.reset(OatFile::Open(zip_fd_, in GetFile()
1169 file_.reset(OatFile::Open(/* zip_fd */ -1, in GetFile()
1179 if (file_.get() == nullptr) { in GetFile()
1185 return file_.get(); in GetFile()
1242 file_.reset(); in Reset()
[all …]
Dcommon_runtime_test.h79 return file_.get(); in GetFile()
89 std::unique_ptr<File> file_; variable
Doat_file_assistant.h428 std::unique_ptr<OatFile> file_; variable
/art/test/ti-stress/
Dstress.cc156 file_(nullptr), in ScopedClassInfo()
163 jvmtienv_->Deallocate(reinterpret_cast<unsigned char*>(file_)); in ~ScopedClassInfo()
174 jvmtiError ret1 = jvmtienv_->GetSourceFileName(class_, &file_); in Init()
201 if (file_ == nullptr) { in GetSourceFileName()
204 return file_; in GetSourceFileName()
213 char* file_; member in art::ScopedClassInfo