Lines Matching refs:descriptor_
181 release_descriptor(this->descriptor_, true); in ~File_read()
182 this->descriptor_ = -1; in ~File_read()
195 && this->descriptor_ < 0 in open()
200 this->descriptor_ = open_descriptor(-1, this->name_.c_str(), in open()
203 if (this->descriptor_ >= 0) in open()
207 if (::fstat(this->descriptor_, &s) < 0) in open()
216 return this->descriptor_ >= 0; in open()
226 && this->descriptor_ < 0 in open()
245 this->descriptor_ = open_descriptor(this->descriptor_, in reopen_descriptor()
248 if (this->descriptor_ < 0) in reopen_descriptor()
282 release_descriptor(this->descriptor_, false); in release()
400 bytes = ::pread(this->descriptor_, read_ptr, to_read, read_pos); in do_read()
503 p = ::mmap(NULL, psize, PROT_READ, MAP_PRIVATE, this->descriptor_, poff); in make_view()
678 if (::lseek(this->descriptor_, base + first_offset, SEEK_SET) < 0) in do_readv()
682 ssize_t got = ::readv(this->descriptor_, iov, iov_index); in do_readv()
949 if (fstat(this->descriptor_, &file_stat) < 0) in get_mtime()