/external/chromium/base/files/ |
file_path_watcher_linux.cc | 75 const int inotify_fd_; member in class:base::files::__anon1365::InotifyReader 155 inotify_fd_(inotify_fd), 163 FD_SET(inotify_fd_, &rfds); 168 HANDLE_EINTR(select(std::max(inotify_fd_, shutdown_fd_) + 1, 180 int ioctl_result = HANDLE_EINTR(ioctl(inotify_fd_, FIONREAD, 190 ssize_t bytes_read = HANDLE_EINTR(read(inotify_fd_, &buffer[0], 211 int inotify_fd_; member in class:base::files::__anon1365::InotifyReaderTask 222 inotify_fd_(inotify_init()), 226 if (inotify_fd_ >= 0 && pipe(shutdown_pipe_) == 0 && thread_.Start()) { 228 FROM_HERE, new InotifyReaderTask(this, inotify_fd_, shutdown_pipe_[0])) [all...] |
/external/chromium/net/proxy/ |
proxy_config_service_linux.cc | 436 : inotify_fd_(-1), notify_delegate_(NULL), indirect_manual_(false), 495 // inotify_fd_ should have been closed before now, from 502 if (inotify_fd_ >= 0) 504 DCHECK(inotify_fd_ < 0); 511 DCHECK(inotify_fd_ < 0); 512 inotify_fd_ = inotify_init(); 513 if (inotify_fd_ < 0) { 517 int flags = fcntl(inotify_fd_, F_GETFL); 518 if (fcntl(inotify_fd_, F_SETFL, flags | O_NONBLOCK) < 0) { 520 close(inotify_fd_); 886 int inotify_fd_; member in namespace:net::__anon2856 [all...] |
/external/chromium_org/base/files/ |
file_path_watcher_linux.cc | 76 const int inotify_fd_; member in class:base::__anon3460::InotifyReader 218 inotify_fd_(inotify_init()), 220 if (inotify_fd_ < 0) 225 if (inotify_fd_ >= 0 && pipe(shutdown_pipe_) == 0 && thread_.Start()) { 227 FROM_HERE, Bind(&InotifyReaderCallback, this, inotify_fd_, 242 if (inotify_fd_ >= 0) 243 close(inotify_fd_); 257 Watch watch = inotify_add_watch(inotify_fd_, path.value().c_str(), 281 return (inotify_rm_watch(inotify_fd_, watch) == 0);
|
/external/chromium_org/net/proxy/ |
proxy_config_service_linux.cc | 848 : inotify_fd_(-1), notify_delegate_(NULL), indirect_manual_(false), 1315 int inotify_fd_; member in namespace:net::__anon9224 [all...] |