Home
last modified time | relevance | path

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

/art/libelffile/stream/
Dfile_output_stream.cc26 FileOutputStream::FileOutputStream(File* file) : OutputStream(file->GetPath()), file_(file) {} in FileOutputStream()
29 return file_->WriteFully(buffer, byte_count); in WriteFully()
33 return lseek(file_->Fd(), offset, static_cast<int>(whence)); in Seek()
37 return file_->Flush() == 0; in Flush()
Dfile_output_stream.h39 File* const file_;
/art/libelffile/elf/
Delf_debug_reader.h62 explicit ElfDebugReader(ArrayRef<const uint8_t> file) : file_(file) { in ElfDebugReader()
153 DCHECK_LE(offset + sizeof(T), file_.size()); in Read()
154 return reinterpret_cast<const T*>(file_.data() + offset); in Read()
159 DCHECK_LE(offset + count * sizeof(T), file_.size()); in Read()
163 ArrayRef<const uint8_t> const file_; variable
/art/libartbase/base/
Dcommon_art_test.cc58 file_.reset(new File(fd, GetFilename(), true)); in ScratchFile()
67 file_.reset(new File(fd, GetFilename(), true)); in ScratchFile()
73 file_.reset(file); in ScratchFile()
83 std::swap(file_, other.file_); in operator =()
93 return file_->Fd(); in GetFd()
97 if (file_.get() != nullptr) { in Close()
98 if (file_->FlushCloseOrErase() != 0) { in Close()
Dcommon_art_test.h81 return file_.get(); in GetFile()
91 std::unique_ptr<File> file_; variable
/art/tools/jvmti-agents/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/
Doat_file_assistant.cc862 file_.reset(OatFile::Open(zip_fd_, in GetFile()
873 file_.reset(OatFile::Open(/*zip_fd=*/ -1, in GetFile()
882 if (file_.get() == nullptr) { in GetFile()
890 return file_.get(); in GetFile()
949 file_.reset(); in Reset()
969 return std::move(file_); in ReleaseFile()
Doat_file_assistant.h361 std::unique_ptr<OatFile> file_; variable
/art/test/ti-stress/
Dstress.cc160 file_(nullptr), in ScopedClassInfo()
166 jvmtienv_->Deallocate(reinterpret_cast<unsigned char*>(file_)); in ~ScopedClassInfo()
176 jvmtiError ret1 = jvmtienv_->GetSourceFileName(class_, &file_); in Init()
200 if (file_ == nullptr) { in GetSourceFileName()
203 return file_; in GetSourceFileName()
211 char* file_; member in art::ScopedClassInfo
/art/tools/jvmti-agents/ti-fast/
Dtifast.cc172 jvmtienv_->Deallocate(reinterpret_cast<unsigned char*>(file_)); in ~ScopedClassInfo()
183 jvmtiError ret1 = jvmtienv_->GetSourceFileName(class_, &file_); in Init()
218 if (file_ == nullptr) { in GetSourceFileName()
221 return file_; in GetSourceFileName()
230 char* file_ = nullptr; member in tifast::__anon4fd488430111::ScopedClassInfo