Home
last modified time | relevance | path

Searched refs:dispatchSource (Results 1 – 3 of 3) sorted by relevance

/external/webkit/Source/WebKit2/Platform/gtk/
DWorkQueueGtk.cpp146 …GRefPtr<GSource> dispatchSource = adoptGRef(g_socket_create_source(socket.get(), static_cast<GIOCo… in registerEventSourceHandler() local
147 ASSERT(dispatchSource); in registerEventSourceHandler()
151 …g_source_set_callback(dispatchSource.get(), reinterpret_cast<GSourceFunc>(&WorkQueue::EventSource:… in registerEventSourceHandler()
166 g_source_attach(dispatchSource.get(), m_eventContext); in registerEventSourceHandler()
188 void WorkQueue::scheduleWorkOnSource(GSource* dispatchSource, PassOwnPtr<WorkItem> item, GSourceFun… in scheduleWorkOnSource() argument
192 g_source_set_callback(dispatchSource, sourceCallback, eventSource, in scheduleWorkOnSource()
195 g_source_attach(dispatchSource, m_eventContext); in scheduleWorkOnSource()
200 GRefPtr<GSource> dispatchSource = adoptGRef(g_idle_source_new()); in scheduleWork() local
201 ASSERT(dispatchSource); in scheduleWork()
202 g_source_set_priority(dispatchSource.get(), G_PRIORITY_DEFAULT); in scheduleWork()
[all …]
/external/webkit/Source/WebKit2/Platform/mac/
DWorkQueueMac.cpp62 …EventSource(MachPortEventType eventType, dispatch_source_t dispatchSource, PassOwnPtr<WorkItem> wo… in EventSource() argument
64 , m_dispatchSource(dispatchSource) in EventSource()
69 dispatch_source_t dispatchSource() const { return m_dispatchSource; } in dispatchSource() function in WorkQueue::EventSource
124 …dispatch_source_t dispatchSource = dispatch_source_create(sourceType, machPort, 0, m_dispatchQueue… in registerMachPortEventHandler() local
126 EventSource* eventSource = new EventSource(eventType, dispatchSource, workItem); in registerMachPortEventHandler()
127 dispatch_set_context(dispatchSource, eventSource); in registerMachPortEventHandler()
129 dispatch_source_set_event_handler_f(dispatchSource, &EventSource::eventHandler); in registerMachPortEventHandler()
130 dispatch_source_set_cancel_handler_f(dispatchSource, &EventSource::cancelHandler); in registerMachPortEventHandler()
131 dispatch_set_finalizer_f(dispatchSource, &EventSource::finalizeHandler); in registerMachPortEventHandler()
142 dispatch_resume(dispatchSource); in registerMachPortEventHandler()
[all …]
/external/webkit/Source/WebKit2/
DChangeLog-2011-02-1615980 (WorkQueue::EventSource::dispatchSource):