Lines Matching full:controller
137 FileDescriptorWatcher* controller,
140 DCHECK(controller);
155 std::unique_ptr<event> evt(controller->ReleaseEvent());
157 // Ownership is transferred to the controller.
171 // same |controller|.
179 event_set(evt.get(), fd, event_mask, OnLibeventNotification, controller);
191 // Transfer ownership of evt to controller.
192 controller->Init(evt.release());
194 controller->set_watcher(delegate);
195 controller->set_pump(this);
316 FileDescriptorWatcher* controller =
318 DCHECK(controller);
320 "src_file", controller->created_from_location().file_name(),
321 "src_func", controller->created_from_location().function_name());
323 controller->created_from_location().file_name());
325 MessagePumpLibevent* pump = controller->pump();
329 // Both callbacks will be called. It is necessary to check that |controller|
332 controller->was_destroyed_ = &controller_was_destroyed;
333 controller->OnFileCanWriteWithoutBlocking(fd, pump);
335 controller->OnFileCanReadWithoutBlocking(fd, pump);
337 controller->was_destroyed_ = nullptr;
339 controller->OnFileCanWriteWithoutBlocking(fd, pump);
341 controller->OnFileCanReadWithoutBlocking(fd, pump);