Searched refs:file_ (Results 1 – 11 of 11) sorted by relevance
/art/libelffile/stream/ |
D | file_output_stream.cc | 26 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()
|
D | file_output_stream.h | 39 File* const file_;
|
/art/libelffile/elf/ |
D | elf_debug_reader.h | 62 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/ |
D | breakpoint_logger.cc | 111 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/ |
D | common_art_test.cc | 89 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()
|
D | common_art_test.h | 84 return file_.get(); in GetFile() 94 std::unique_ptr<File> file_; variable
|
/art/tools/jvmti-agents/ti-alloc-sample/ |
D | ti_alloc_sample.cc | 92 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/ |
D | oat_file_assistant.cc | 821 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()
|
D | oat_file_assistant.h | 356 std::unique_ptr<OatFile> file_; variable
|
/art/test/ti-stress/ |
D | stress.cc | 160 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/ |
D | tifast.cc | 169 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
|