Home
last modified time | relevance | path

Searched refs:file_ (Results 1 – 11 of 11) 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/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/libartbase/base/
Dcommon_art_test.cc89 file_.reset(new File(fd, GetFilename(), true)); in ScratchFile()
98 file_.reset(new File(fd, GetFilename(), true)); in ScratchFile()
104 file_.reset(file); in ScratchFile()
114 std::swap(file_, other.file_); in operator =()
124 return file_->Fd(); in GetFd()
128 if (file_.get() != nullptr) { in Close()
129 if (file_->FlushCloseOrErase() != 0) { in Close()
Dcommon_art_test.h84 return file_.get(); in GetFile()
94 std::unique_ptr<File> file_; variable
/art/tools/jvmti-agents/ti-alloc-sample/
Dti_alloc_sample.cc92 jvmtienv_->Deallocate(reinterpret_cast<unsigned char*>(file_)); in ~ScopedClassInfo()
103 jvmtiError ret1 = jvmtienv_->GetSourceFileName(class_, &file_); in Init()
138 if (file_ == nullptr) { in GetSourceFileName()
141 return file_; in GetSourceFileName()
150 char* file_ = nullptr; member in tifast::__anon9d4dc8ac0111::ScopedClassInfo
/art/runtime/
Doat_file_assistant.cc821 file_.reset(OatFile::Open(zip_fd_, in GetFile()
832 file_.reset(OatFile::Open(/*zip_fd=*/ -1, in GetFile()
840 if (file_.get() == nullptr) { in GetFile()
848 return file_.get(); in GetFile()
916 file_.reset(); in Reset()
936 return std::move(file_); in ReleaseFile()
Doat_file_assistant.h356 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.cc169 jvmtienv_->Deallocate(reinterpret_cast<unsigned char*>(file_)); in ~ScopedClassInfo()
180 jvmtiError ret1 = jvmtienv_->GetSourceFileName(class_, &file_); in Init()
215 if (file_ == nullptr) { in GetSourceFileName()
218 return file_; in GetSourceFileName()
227 char* file_ = nullptr; member in tifast::__anon4fd488430111::ScopedClassInfo