Searched refs:watch_task (Results 1 – 2 of 2) sorted by relevance
118 WatchTask& watch_task = it.second; in UpdateWatchTasksLocked() local120 if (!watch_task.pending) in UpdateWatchTasksLocked()123 watch_task.poll_fd_index = poll_fds_.size(); in UpdateWatchTasksLocked()213 WatchTask& watch_task = it->second; in RunFileDescriptorWatch() local223 PERFETTO_DCHECK(watch_task.pending); in RunFileDescriptorWatch()224 watch_task.pending = false; in RunFileDescriptorWatch()226 size_t fd_index = watch_task.poll_fd_index; in RunFileDescriptorWatch()231 task = watch_task.callback; in RunFileDescriptorWatch()275 WatchTask& watch_task = watch_tasks_[fd]; in AddFileDescriptorWatch() local276 watch_task.callback = std::move(task); in AddFileDescriptorWatch()[all …]
128 std::function<void()> watch_task) { in AddFileDescriptorWatch() argument129 task_runner_->AddFileDescriptorWatch(handle, std::move(watch_task)); in AddFileDescriptorWatch()