HomeSort by relevance Sort by last modified time
    Searched refs:WorkItem (Results 1 - 25 of 26) sorted by null

1 2

  /external/webkit/Source/WebKit2/Platform/
WorkItem.h 31 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() { }
48 WorkItem() { }
51 WorkItem(const WorkItem&);
52 WorkItem& operator=(const WorkItem&)
    [all...]
WorkQueue.h 36 #include "WorkItem.h"
63 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*)
    [all...]
RunLoop.cpp 29 #include "WorkItem.h"
55 Vector<WorkItem*> workItemQueue;
62 OwnPtr<WorkItem> item(workItemQueue[i]);
67 void RunLoop::scheduleWork(PassOwnPtr<WorkItem> item)
RunLoop.h 44 class WorkItem;
58 void scheduleWork(PassOwnPtr<WorkItem>);
140 Vector<WorkItem*> m_workItemQueue;
  /external/webkit/Source/WebKit2/Platform/qt/
WorkQueueQt.cpp 40 WorkItemQt(WorkQueue* workQueue, WorkItem* workItem)
44 , m_workItem(workItem)
48 WorkItemQt(WorkQueue* workQueue, QObject* source, const char* signal, WorkItem* workItem)
52 , m_workItem(workItem)
77 WorkItem* m_workItem;
80 QSocketNotifier* WorkQueue::registerSocketEventHandler(int socketDescriptor, QSocketNotifier::Type type, PassOwnPtr<WorkItem> workItem)
87 WorkQueue::WorkItemQt* itemQt = new WorkQueue::WorkItemQt(this, notifier, SIGNAL(activated(int)), workItem.leakPtr())
    [all...]
  /packages/apps/Gallery/src/com/android/camera/
ImageLoader.java 37 private final ArrayList<WorkItem> mQueue = new ArrayList<WorkItem>();
55 WorkItem w = new WorkItem(image, imageLoadedRunnable, tag);
96 private static class WorkItem {
101 WorkItem(IImage image, LoadedCallback onLoadedRunnable, int tag) {
120 WorkItem workItem = null;
126 workItem = mQueue.remove(0);
137 final Bitmap b = workItem.mImage.miniThumbBitmap()
    [all...]
  /external/webkit/Source/WebKit2/Platform/mac/
WorkQueueMac.cpp 37 OwnPtr<WorkItem> workItem(static_cast<WorkItem*>(item));
45 workItem->execute();
48 void WorkQueue::scheduleWork(PassOwnPtr<WorkItem> item)
53 void WorkQueue::scheduleWorkAfterDelay(PassOwnPtr<WorkItem> item, double delay)
62 EventSource(MachPortEventType eventType, dispatch_source_t dispatchSource, PassOwnPtr<WorkItem> workItem)
65 , m_workItem(workItem)
109 OwnPtr<WorkItem> m_workItem
    [all...]
  /external/webkit/Source/WebKit2/UIProcess/Launcher/
ThreadLauncher.cpp 46 RunLoop::main()->scheduleWork(WorkItem::create(this, &ThreadLauncher::didFinishLaunchingThread, connectionIdentifier));
ProcessLauncher.cpp 47 processLauncherWorkQueue().scheduleWork(WorkItem::create(this, &ProcessLauncher::launchProcess));
  /external/webkit/Source/WebKit2/Platform/win/
WorkQueueWin.cpp 32 inline WorkQueue::WorkItemWin::WorkItemWin(PassOwnPtr<WorkItem> item, WorkQueue* queue)
38 PassRefPtr<WorkQueue::WorkItemWin> WorkQueue::WorkItemWin::create(PassOwnPtr<WorkItem> item, WorkQueue* queue)
47 inline WorkQueue::HandleWorkItem::HandleWorkItem(HANDLE handle, PassOwnPtr<WorkItem> item, WorkQueue* queue)
55 PassRefPtr<WorkQueue::HandleWorkItem> WorkQueue::HandleWorkItem::createByAdoptingHandle(HANDLE handle, PassOwnPtr<WorkItem> item, WorkQueue* queue)
90 void WorkQueue::registerHandle(HANDLE handle, PassOwnPtr<WorkItem> item)
197 void WorkQueue::scheduleWork(PassOwnPtr<WorkItem> item)
217 OwnPtr<WorkItem> item;
242 void WorkQueue::scheduleWorkAfterDelay(PassOwnPtr<WorkItem> item, double delay)
  /external/webkit/Source/WebKit2/Platform/gtk/
WorkQueueGtk.cpp 40 EventSource(PassOwnPtr<WorkItem> workItem, WorkQueue* workQueue, GCancellable* cancellable)
41 : m_workItem(workItem)
97 PassOwnPtr<WorkItem> m_workItem;
141 void WorkQueue::registerEventSourceHandler(int fileDescriptor, int condition, PassOwnPtr<WorkItem> item)
188 void WorkQueue::scheduleWorkOnSource(GSource* dispatchSource, PassOwnPtr<WorkItem> item, GSourceFunc sourceCallback)
198 void WorkQueue::scheduleWork(PassOwnPtr<WorkItem> item)
207 void WorkQueue::scheduleWorkAfterDelay(PassOwnPtr<WorkItem> item, double delay)
215 void WorkQueue::scheduleWorkOnTermination(WebKit::PlatformProcessIdentifier process, PassOwnPtr<WorkItem> item)
  /external/webkit/Source/WebKit2/Shared/
ChildProcess.cpp 97 workQueue.scheduleWorkAfterDelay(WorkItem::create(watchdogCallback), watchdogDelay);
  /external/webkit/Source/WebKit2/Platform/CoreIPC/win/
ConnectionWin.cpp 30 #include "WorkItem.h"
266 m_connectionQueue.registerHandle(m_readState.hEvent, WorkItem::create(this, &Connection::readEventHandler));
267 m_connectionQueue.registerHandle(m_writeState.hEvent, WorkItem::create(this, &Connection::writeEventHandler));
270 m_connectionQueue.scheduleWork(WorkItem::create(this, &Connection::readEventHandler));
  /external/chromium/net/http/
http_cache.cc 120 WorkItem* writer;
137 class HttpCache::WorkItem {
139 WorkItem(WorkItemOperation operation, Transaction* trans, ActiveEntry** entry)
142 WorkItem(WorkItemOperation operation, Transaction* trans,
146 ~WorkItem() {}
502 scoped_ptr<WorkItem> item(new WorkItem(WI_CREATE_BACKEND, NULL, callback,
537 WorkItem* item = new WorkItem(WI_CREATE_BACKEND, trans, NULL, NULL);
609 WorkItem* item = new WorkItem(WI_DOOM_ENTRY, trans, NULL)
    [all...]
http_cache.h 209 class WorkItem;
214 typedef std::list<WorkItem*> WorkItemList;
  /external/webkit/Source/WebKit2/UIProcess/Launcher/gtk/
ProcessLauncherGtk.cpp 87 RunLoop::main()->scheduleWork(WorkItem::create(this, &ProcessLauncher::didFinishLaunchingProcess, m_processIdentifier, sockets[1]));
  /external/webkit/Source/WebKit2/UIProcess/Launcher/win/
ProcessLauncherWin.cpp 105 RunLoop::main()->scheduleWork(WorkItem::create(this, &ProcessLauncher::didFinishLaunchingProcess, processInformation.hProcess, serverIdentifier));
  /external/webkit/Source/WebKit2/Platform/CoreIPC/unix/
ConnectionUnix.cpp 32 #include "WorkItem.h"
289 m_socketNotifier = m_connectionQueue.registerSocketEventHandler(m_socketDescriptor, QSocketNotifier::Read, WorkItem::create(this, &Connection::readyReadHandler));
291 m_connectionQueue.registerEventSourceHandler(m_socketDescriptor, (G_IO_HUP | G_IO_ERR), WorkItem::create(this, &Connection::connectionDidClose));
292 m_connectionQueue.registerEventSourceHandler(m_socketDescriptor, G_IO_IN, WorkItem::create(this, &Connection::readyReadHandler));
297 m_connectionQueue.scheduleWork(WorkItem::create(this, &Connection::readyReadHandler));
397 m_connectionQueue.scheduleWorkOnTermination(process, WorkItem::create(this, &Connection::connectionDidClose));
  /external/webkit/Tools/DumpRenderTree/chromium/
LayoutTestController.h 416 class WorkItem {
418 virtual ~WorkItem() {}
427 friend class WorkItem;
441 void addWork(WorkItem* work);
456 Deque<WorkItem*> m_queue;
LayoutTestController.cpp 264 void LayoutTestController::WorkQueue::addWork(WorkItem* work)
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 {
    [all...]
  /external/webkit/Source/WebKit2/Platform/CoreIPC/
Connection.cpp 33 #include "WorkItem.h"
145 m_runLoop->scheduleWork(WorkItem::create(this, &SyncMessageState::dispatchMessageAndResetDidScheduleDispatchMessagesWork));
255 m_connectionQueue.scheduleWork(WorkItem::create(this, &Connection::platformInvalidate));
298 m_connectionQueue.scheduleWork(WorkItem::create(this, &Connection::sendOutgoingMessages));
532 m_clientRunLoop->scheduleWork(WorkItem::create(this, &Connection::dispatchConnectionDidClose));
621 m_clientRunLoop->scheduleWork(WorkItem::create(this, &Connection::dispatchMessages));
  /external/webkit/Source/JavaScriptCore/runtime/
JSString.h 121 m_workQueue.append(WorkItem(fibers, fiberCount));
127 WorkItem& item = m_workQueue.last();
137 WorkItem& item = m_workQueue.last();
149 struct WorkItem {
150 WorkItem(RopeImpl::Fiber* fibers, size_t fiberCount)
157 bool operator!=(const WorkItem& other) const
173 WorkItem& item = m_workQueue.last();
180 m_workQueue.append(WorkItem(rope->fibers(), rope->fiberCount()));
184 Vector<WorkItem, 16> m_workQueue;
  /external/webkit/Source/WebKit2/UIProcess/Launcher/qt/
ProcessLauncherQt.cpp 147 RunLoop::main()->scheduleWork(WorkItem::create(this, &WebKit::ProcessLauncher::didFinishLaunchingProcess, webProcess, sockets[1]));
  /external/webkit/Source/WebKit2/Platform/CoreIPC/mac/
ConnectionMac.cpp 107 m_connectionQueue.registerMachPortEventHandler(m_receivePort, WorkQueue::MachPortDataAvailable, WorkItem::create(this, &Connection::receiveSourceEventHandler));
111 m_connectionQueue.registerMachPortEventHandler(m_exceptionPort, WorkQueue::MachPortDataAvailable, WorkItem::create(this, &Connection::exceptionSourceEventHandler));
228 m_connectionQueue.registerMachPortEventHandler(m_sendPort, WorkQueue::MachPortDeadNameNotification, WorkItem::create(this, &Connection::connectionDidClose));
  /external/webkit/Source/WebKit2/UIProcess/Launcher/mac/
ProcessLauncherMac.mm 296 RunLoop::main()->scheduleWork(WorkItem::create(this, &ProcessLauncher::didFinishLaunchingProcess, processIdentifier, listeningPort));

Completed in 284 milliseconds

1 2