Home
last modified time | relevance | path

Searched refs:WorkItem (Results 1 – 25 of 34) sorted by relevance

12

/external/webkit/Source/WebKit2/Platform/
DWorkItem.h31 class WorkItem {
34 static PassOwnPtr<WorkItem> create(C*, void (C::*)());
37 static PassOwnPtr<WorkItem> create(C*, void (C::*)(T0), T0);
40 static PassOwnPtr<WorkItem> create(C*, void (C::*)(T0, T1), T0, T1);
42 static PassOwnPtr<WorkItem> create(void (*)());
44 virtual ~WorkItem() { } in ~WorkItem()
48 WorkItem() { } in WorkItem() function
51 WorkItem(const WorkItem&);
52 WorkItem& operator=(const WorkItem&);
56 class MemberFunctionWorkItem0 : private WorkItem {
[all …]
DWorkQueue.h63 void scheduleWork(PassOwnPtr<WorkItem>);
66 void scheduleWorkAfterDelay(PassOwnPtr<WorkItem>, double delay);
81 void registerMachPortEventHandler(mach_port_t, MachPortEventType, PassOwnPtr<WorkItem>);
84 void registerHandle(HANDLE, PassOwnPtr<WorkItem>);
87 QSocketNotifier* registerSocketEventHandler(int, QSocketNotifier::Type, PassOwnPtr<WorkItem>);
88 void scheduleWorkOnTermination(WebKit::PlatformProcessIdentifier, PassOwnPtr<WorkItem>);
90 void registerEventSourceHandler(int, int, PassOwnPtr<WorkItem>);
92 void scheduleWorkOnTermination(WebKit::PlatformProcessIdentifier, PassOwnPtr<WorkItem>);
114 static PassRefPtr<WorkItemWin> create(PassOwnPtr<WorkItem>, WorkQueue*);
117 WorkItem* item() const { return m_item.get(); } in item()
[all …]
DRunLoop.cpp55 Vector<WorkItem*> workItemQueue; in performWork()
62 OwnPtr<WorkItem> item(workItemQueue[i]); in performWork()
67 void RunLoop::scheduleWork(PassOwnPtr<WorkItem> item) in scheduleWork()
DRunLoop.h44 class WorkItem; variable
58 void scheduleWork(PassOwnPtr<WorkItem>);
140 Vector<WorkItem*> m_workItemQueue;
/external/webkit/Source/WebKit2/Platform/mac/
DWorkQueueMac.cpp37 OwnPtr<WorkItem> workItem(static_cast<WorkItem*>(item)); in executeWorkItem()
48 void WorkQueue::scheduleWork(PassOwnPtr<WorkItem> item) in scheduleWork()
53 void WorkQueue::scheduleWorkAfterDelay(PassOwnPtr<WorkItem> item, double delay) in scheduleWorkAfterDelay()
62 …EventSource(MachPortEventType eventType, dispatch_source_t dispatchSource, PassOwnPtr<WorkItem> wo… in EventSource()
109 OwnPtr<WorkItem> m_workItem;
112 …hPortEventHandler(mach_port_t machPort, MachPortEventType eventType, PassOwnPtr<WorkItem> workItem) in registerMachPortEventHandler()
183 void WorkQueue::scheduleWork(PassOwnPtr<WorkItem> item) in scheduleWork()
187 void WorkQueue::registerMachPortEventHandler(mach_port_t, MachPortEventType, PassOwnPtr<WorkItem>) in registerMachPortEventHandler() argument
DRunLoopMac.mm29 #import "WorkItem.h"
/external/webkit/Source/WebKit2/Platform/qt/
DWorkQueueQt.cpp40 WorkItemQt(WorkQueue* workQueue, WorkItem* workItem) in WorkItemQt()
48 WorkItemQt(WorkQueue* workQueue, QObject* source, const char* signal, WorkItem* workItem) in WorkItemQt()
77 WorkItem* m_workItem;
80 …SocketEventHandler(int socketDescriptor, QSocketNotifier::Type type, PassOwnPtr<WorkItem> workItem) in registerSocketEventHandler()
107 void WorkQueue::scheduleWork(PassOwnPtr<WorkItem> item) in scheduleWork()
114 void WorkQueue::scheduleWorkAfterDelay(PassOwnPtr<WorkItem> item, double delayInSecond) in scheduleWorkAfterDelay()
121 …scheduleWorkOnTermination(WebKit::PlatformProcessIdentifier process, PassOwnPtr<WorkItem> workItem) in scheduleWorkOnTermination()
/external/webkit/Source/WebKit2/Platform/win/
DWorkQueueWin.cpp32 inline WorkQueue::WorkItemWin::WorkItemWin(PassOwnPtr<WorkItem> item, WorkQueue* queue) in WorkItemWin()
38 PassRefPtr<WorkQueue::WorkItemWin> WorkQueue::WorkItemWin::create(PassOwnPtr<WorkItem> item, WorkQu… in create()
47 inline WorkQueue::HandleWorkItem::HandleWorkItem(HANDLE handle, PassOwnPtr<WorkItem> item, WorkQueu… in HandleWorkItem()
55 …Queue::HandleWorkItem::createByAdoptingHandle(HANDLE handle, PassOwnPtr<WorkItem> item, WorkQueue*… in createByAdoptingHandle()
90 void WorkQueue::registerHandle(HANDLE handle, PassOwnPtr<WorkItem> item) in registerHandle()
197 void WorkQueue::scheduleWork(PassOwnPtr<WorkItem> item) in scheduleWork()
217 OwnPtr<WorkItem> item;
242 void WorkQueue::scheduleWorkAfterDelay(PassOwnPtr<WorkItem> item, double delay) in scheduleWorkAfterDelay()
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/state/
DVideoRecorderAppState.java94 private class WorkItem { class in VideoRecorderAppState
100 public WorkItem(int width, int height) { in WorkItem() method in VideoRecorderAppState.WorkItem
114 private LinkedBlockingQueue<WorkItem> freeItems;
115 private LinkedBlockingQueue<WorkItem> usedItems = new LinkedBlockingQueue<WorkItem>();
123 final WorkItem item = freeItems.take(); in addImage()
153 freeItems = new LinkedBlockingQueue<WorkItem>(); in initialize()
155 freeItems.add(new WorkItem(width, height)); in initialize()
/external/webkit/Source/WebKit2/Platform/gtk/
DWorkQueueGtk.cpp40 EventSource(PassOwnPtr<WorkItem> workItem, WorkQueue* workQueue, GCancellable* cancellable) in EventSource()
97 PassOwnPtr<WorkItem> m_workItem;
141 void WorkQueue::registerEventSourceHandler(int fileDescriptor, int condition, PassOwnPtr<WorkItem> … in registerEventSourceHandler()
188 void WorkQueue::scheduleWorkOnSource(GSource* dispatchSource, PassOwnPtr<WorkItem> item, GSourceFun… in scheduleWorkOnSource()
198 void WorkQueue::scheduleWork(PassOwnPtr<WorkItem> item) in scheduleWork()
207 void WorkQueue::scheduleWorkAfterDelay(PassOwnPtr<WorkItem> item, double delay) in scheduleWorkAfterDelay()
215 …ue::scheduleWorkOnTermination(WebKit::PlatformProcessIdentifier process, PassOwnPtr<WorkItem> item) in scheduleWorkOnTermination()
/external/chromium/net/http/
Dhttp_cache.cc120 WorkItem* writer;
137 class HttpCache::WorkItem { class in net::HttpCache
139 WorkItem(WorkItemOperation operation, Transaction* trans, ActiveEntry** entry) in WorkItem() function in net::HttpCache::WorkItem
142 WorkItem(WorkItemOperation operation, Transaction* trans, in WorkItem() function in net::HttpCache::WorkItem
146 ~WorkItem() {} in ~WorkItem()
502 scoped_ptr<WorkItem> item(new WorkItem(WI_CREATE_BACKEND, NULL, callback, in CreateBackend()
537 WorkItem* item = new WorkItem(WI_CREATE_BACKEND, trans, NULL, NULL); in GetBackendForTransaction()
609 WorkItem* item = new WorkItem(WI_DOOM_ENTRY, trans, NULL); in AsyncDoomEntry()
732 WorkItem* item = new WorkItem(WI_OPEN_ENTRY, trans, entry); in OpenEntry()
758 WorkItem* item = new WorkItem(WI_CREATE_ENTRY, trans, entry); in CreateEntry()
[all …]
Dhttp_cache.h210 class WorkItem; variable
215 typedef std::list<WorkItem*> WorkItemList;
/external/webkit/Tools/DumpRenderTree/chromium/
DLayoutTestController.h416 class WorkItem {
418 virtual ~WorkItem() {} in ~WorkItem()
427 friend class WorkItem;
441 void addWork(WorkItem* work);
456 Deque<WorkItem*> m_queue;
DLayoutTestController.cpp264 void LayoutTestController::WorkQueue::addWork(WorkItem* work) in addWork()
386 class WorkItemBackForward : public LayoutTestController::WorkItem {
412 class WorkItemReload : public LayoutTestController::WorkItem {
427 class WorkItemLoadingScript : public LayoutTestController::WorkItem {
439 class WorkItemNonLoadingScript : public LayoutTestController::WorkItem {
465 class WorkItemLoad : public LayoutTestController::WorkItem {
496 class WorkItemLoadHTMLString : public LayoutTestController::WorkItem {
/external/webkit/Source/WebKit2/Platform/CoreIPC/unix/
DConnectionUnix.cpp289 …e.registerSocketEventHandler(m_socketDescriptor, QSocketNotifier::Read, WorkItem::create(this, &Co… in open()
291 …e.registerEventSourceHandler(m_socketDescriptor, (G_IO_HUP | G_IO_ERR), WorkItem::create(this, &Co… in open()
292 …m_connectionQueue.registerEventSourceHandler(m_socketDescriptor, G_IO_IN, WorkItem::create(this, &… in open()
297 m_connectionQueue.scheduleWork(WorkItem::create(this, &Connection::readyReadHandler)); in open()
397 …m_connectionQueue.scheduleWorkOnTermination(process, WorkItem::create(this, &Connection::connectio… in setShouldCloseConnectionOnProcessTermination()
/external/webkit/Source/WebKit2/Platform/CoreIPC/win/
DConnectionWin.cpp266 …m_connectionQueue.registerHandle(m_readState.hEvent, WorkItem::create(this, &Connection::readEvent… in open()
267 …m_connectionQueue.registerHandle(m_writeState.hEvent, WorkItem::create(this, &Connection::writeEve… in open()
270 m_connectionQueue.scheduleWork(WorkItem::create(this, &Connection::readEventHandler)); in open()
/external/webkit/Source/JavaScriptCore/runtime/
DJSString.h121 m_workQueue.append(WorkItem(fibers, fiberCount)); in RopeIterator()
127 WorkItem& item = m_workQueue.last();
137 WorkItem& item = m_workQueue.last();
149 struct WorkItem { struct
150 WorkItem(RopeImpl::Fiber* fibers, size_t fiberCount) in WorkItem() function
157 bool operator!=(const WorkItem& other) const
173 WorkItem& item = m_workQueue.last(); in skipRopes() argument
180 m_workQueue.append(WorkItem(rope->fibers(), rope->fiberCount())); in skipRopes()
184 Vector<WorkItem, 16> m_workQueue;
/external/webkit/Source/WebKit2/Platform/CoreIPC/
DConnection.cpp145 …m_runLoop->scheduleWork(WorkItem::create(this, &SyncMessageState::dispatchMessageAndResetDidSchedu… in processIncomingMessage()
255 m_connectionQueue.scheduleWork(WorkItem::create(this, &Connection::platformInvalidate)); in invalidate()
298 m_connectionQueue.scheduleWork(WorkItem::create(this, &Connection::sendOutgoingMessages)); in sendMessage()
532 m_clientRunLoop->scheduleWork(WorkItem::create(this, &Connection::dispatchConnectionDidClose)); in connectionDidClose()
621 m_clientRunLoop->scheduleWork(WorkItem::create(this, &Connection::dispatchMessages)); in enqueueIncomingMessage()
/external/webkit/Source/WebKit2/UIProcess/Launcher/
DThreadLauncher.cpp46 …RunLoop::main()->scheduleWork(WorkItem::create(this, &ThreadLauncher::didFinishLaunchingThread, co… in launchThread()
DProcessLauncher.cpp47 … processLauncherWorkQueue().scheduleWork(WorkItem::create(this, &ProcessLauncher::launchProcess)); in ProcessLauncher()
/external/webkit/Source/WebKit2/Shared/
DChildProcess.cpp97 workQueue.scheduleWorkAfterDelay(WorkItem::create(watchdogCallback), watchdogDelay); in didCloseOnConnectionWorkQueue()
/external/webkit/Source/WebKit2/Platform/CoreIPC/mac/
DConnectionMac.cpp107 …erMachPortEventHandler(m_receivePort, WorkQueue::MachPortDataAvailable, WorkItem::create(this, &Co… in open()
111 …MachPortEventHandler(m_exceptionPort, WorkQueue::MachPortDataAvailable, WorkItem::create(this, &Co… in open()
228 …chPortEventHandler(m_sendPort, WorkQueue::MachPortDeadNameNotification, WorkItem::create(this, &Co… in initializeDeadNameSource()
/external/webkit/Source/WebKit2/UIProcess/Launcher/gtk/
DProcessLauncherGtk.cpp87 …RunLoop::main()->scheduleWork(WorkItem::create(this, &ProcessLauncher::didFinishLaunchingProcess, … in launchProcess()
/external/webkit/Source/WebKit2/UIProcess/Launcher/qt/
DProcessLauncherQt.cpp147 …RunLoop::main()->scheduleWork(WorkItem::create(this, &WebKit::ProcessLauncher::didFinishLaunchingP… in launchProcess()
/external/webkit/Source/WebKit2/UIProcess/Launcher/win/
DProcessLauncherWin.cpp105 …RunLoop::main()->scheduleWork(WorkItem::create(this, &ProcessLauncher::didFinishLaunchingProcess, … in launchProcess()

12