Home
last modified time | relevance | path

Searched refs:kqueue_ (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/files/
Dfile_path_watcher_kqueue.cc27 FilePathWatcherKQueue::FilePathWatcherKQueue() : kqueue_(-1) {} in FilePathWatcherKQueue()
211 int count = HANDLE_EINTR(kevent(kqueue_, &events_[0], valid, &updates[0], in UpdateWatches()
235 DCHECK_EQ(fd, kqueue_); in OnFileCanReadWithoutBlocking()
243 int count = HANDLE_EINTR(kevent(kqueue_, NULL, 0, &updates[0], updates.size(), in OnFileCanReadWithoutBlocking()
320 DCHECK_EQ(kqueue_, -1); in Watch()
334 kqueue_ = kqueue(); in Watch()
335 if (kqueue_ == -1) { in Watch()
345 int count = HANDLE_EINTR(kevent(kqueue_, &events_[0], last_entry, in Watch()
357 kqueue_, true, MessageLoopForIO::WATCH_READ, &kqueue_watcher_, this); in Watch()
379 if (IGNORE_EINTR(close(kqueue_)) != 0) { in CancelOnMessageLoopThread()
[all …]
Dfile_path_watcher_kqueue.h126 int kqueue_; variable