/external/webkit/Source/WebKit2/Platform/ |
WorkQueue.cpp | 27 #include "WorkQueue.h" 29 WorkQueue::WorkQueue(const char* name) 35 WorkQueue::~WorkQueue() 43 void WorkQueue::invalidate()
|
WorkQueue.h | 55 class WorkQueue { 56 WTF_MAKE_NONCOPYABLE(WorkQueue); 59 explicit WorkQueue(const char* name); 60 ~WorkQueue(); 114 static PassRefPtr<WorkItemWin> create(PassOwnPtr<WorkItem>, WorkQueue*); 118 WorkQueue* queue() const { return m_queue; } 121 WorkItemWin(PassOwnPtr<WorkItem>, WorkQueue*); 125 WorkQueue* m_queue; 130 static PassRefPtr<HandleWorkItem> createByAdoptingHandle(HANDLE, PassOwnPtr<WorkItem>, WorkQueue*); 137 HandleWorkItem(HANDLE, PassOwnPtr<WorkItem>, WorkQueue*); [all...] |
/external/webkit/Tools/DumpRenderTree/ |
WorkQueue.h | 34 class WorkQueue { 36 static WorkQueue* shared(); 48 WorkQueue();
|
WorkQueue.cpp | 30 #include "WorkQueue.h" 41 WorkQueue* WorkQueue::shared() 43 static WorkQueue* sharedInstance = new WorkQueue; 47 WorkQueue::WorkQueue() 52 void WorkQueue::queue(WorkQueueItem* item) 65 WorkQueueItem* WorkQueue::dequeue() 75 unsigned WorkQueue::count( [all...] |
/external/webkit/Source/WebKit2/Platform/qt/ |
WorkQueueQt.cpp | 28 #include "WorkQueue.h" 37 class WorkQueue::WorkItemQt : public QObject { 40 WorkItemQt(WorkQueue* workQueue, WorkItem* workItem) 41 : m_queue(workQueue) 48 WorkItemQt(WorkQueue* workQueue, QObject* source, const char* signal, WorkItem* workItem) 49 : m_queue(workQueue) 74 WorkQueue* m_queue; 80 QSocketNotifier* WorkQueue::registerSocketEventHandler(int socketDescriptor, QSocketNotifier::Type type, PassOwnPtr<WorkItem> (…) [all...] |
/frameworks/native/libs/utils/ |
WorkQueue.cpp | 18 #define LOG_TAG "WorkQueue" 21 #include <utils/WorkQueue.h> 25 // --- WorkQueue --- 27 WorkQueue::WorkQueue(size_t maxThreads, bool canCallJava) : 32 WorkQueue::~WorkQueue() { 38 status_t WorkQueue::schedule(WorkUnit* workUnit, size_t backlog) { 48 status_t status = workThread->run("WorkQueue::WorkThread"); 68 status_t WorkQueue::cancel() [all...] |
Android.mk | 44 WorkQueue.cpp \
|
/frameworks/native/include/utils/ |
WorkQueue.h | 34 class WorkQueue { 50 WorkQueue(size_t maxThreads, bool canCallJava = true); 55 ~WorkQueue(); 91 WorkThread(WorkQueue* workQueue, bool canCallJava); 97 WorkQueue* const mWorkQueue;
|
/external/webkit/Source/WebKit2/Platform/win/ |
WorkQueueWin.cpp | 27 #include "WorkQueue.h" 32 inline WorkQueue::WorkItemWin::WorkItemWin(PassOwnPtr<WorkItem> item, WorkQueue* queue) 38 PassRefPtr<WorkQueue::WorkItemWin> WorkQueue::WorkItemWin::create(PassOwnPtr<WorkItem> item, WorkQueue* queue) 43 WorkQueue::WorkItemWin::~WorkItemWin() 47 inline WorkQueue::HandleWorkItem::HandleWorkItem(HANDLE handle, PassOwnPtr<WorkItem> item, WorkQueue* queue) 55 PassRefPtr<WorkQueue::HandleWorkItem> WorkQueue::HandleWorkItem::createByAdoptingHandle(HANDLE handle, PassOwnPtr<WorkI (…) [all...] |
/external/webkit/Source/WebKit2/Platform/mac/ |
WorkQueueMac.cpp | 27 #include "WorkQueue.h" 34 void WorkQueue::executeWorkItem(void* item) 36 WorkQueue* queue = static_cast<WorkQueue*>(dispatch_get_context(dispatch_get_current_queue())); 48 void WorkQueue::scheduleWork(PassOwnPtr<WorkItem> item) 53 void WorkQueue::scheduleWorkAfterDelay(PassOwnPtr<WorkItem> item, double delay) 60 class WorkQueue::EventSource { 112 void WorkQueue::registerMachPortEventHandler(mach_port_t machPort, MachPortEventType eventType, PassOwnPtr<WorkItem> workItem) 146 void WorkQueue::unregisterMachPortEventHandler(mach_port_t machPort) 165 void WorkQueue::platformInitialize(const char* name [all...] |
/external/webkit/Source/WebKit2/Platform/gtk/ |
WorkQueueGtk.cpp | 29 #include "WorkQueue.h" 37 // WorkQueue::EventSource 38 class WorkQueue::EventSource { 40 EventSource(PassOwnPtr<WorkItem> workItem, WorkQueue* workQueue, GCancellable* cancellable) 42 , m_workQueue(workQueue) 57 WorkQueue* queue = eventSource->m_workQueue; 98 WorkQueue* m_workQueue; 102 // WorkQueue 103 void WorkQueue::platformInitialize(const char* name [all...] |
/external/chromium/base/synchronization/ |
condition_variable_unittest.cc | 51 // construct an instance of a WorkQueue. The WorkQueue will spin up some 53 // a central repository of the work thread's activity. Finally, the WorkQueue 55 // cases will validate that the WorkQueue has records showing that the desired 60 // The WorkQueue::lock_, as accessed via WorkQueue::lock(), should be used for 62 class WorkQueue : public PlatformThread::Delegate { 64 explicit WorkQueue(int thread_count); 65 ~WorkQueue(); 194 WorkQueue queue(kThreadCount); // Start the threads [all...] |
/external/webkit/Source/WebKit2/UIProcess/Launcher/ |
ProcessLauncher.cpp | 29 #include "WorkQueue.h" 34 static WorkQueue& processLauncherWorkQueue() 36 DEFINE_STATIC_LOCAL(WorkQueue, processLauncherWorkQueue, ("com.apple.WebKit.ProcessLauncher"));
|
/external/webkit/Source/WebKit2/Shared/ |
ChildProcess.h | 64 static void didCloseOnConnectionWorkQueue(WorkQueue&, CoreIPC::Connection*);
|
ChildProcess.cpp | 91 void ChildProcess::didCloseOnConnectionWorkQueue(WorkQueue& workQueue, CoreIPC::Connection*) 97 workQueue.scheduleWorkAfterDelay(WorkItem::create(watchdogCallback), watchdogDelay);
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
LayoutTestController.h | 428 friend class WorkQueue; 432 class WorkQueue { 434 WorkQueue(LayoutTestController* controller) : m_frozen(false), m_controller(controller) {} 435 virtual ~WorkQueue(); 449 class WorkQueueTask: public MethodTask<WorkQueue> { 451 WorkQueueTask(WorkQueue* object): MethodTask<WorkQueue>(object) {} 575 WorkQueue m_workQueue;
|
LayoutTestController.cpp | 224 LayoutTestController::WorkQueue::~WorkQueue() 229 void LayoutTestController::WorkQueue::processWorkSoon() 241 void LayoutTestController::WorkQueue::processWork() 256 void LayoutTestController::WorkQueue::reset() 264 void LayoutTestController::WorkQueue::addWork(WorkItem* work) [all...] |
/external/webkit/Tools/DumpRenderTree/qt/ |
LayoutTestControllerQt.cpp | 34 #include "WorkQueue.h" 101 if (WorkQueue::shared()->processWork() && !shouldWaitUntilDone()) { 130 WorkQueue::shared()->setFrozen(true); // first complete load freezes the queue for the rest of this test 131 if (WorkQueue::shared()->count()) 300 WorkQueue::shared()->queue(new BackItem(1, m_drt->webPage())); 307 WorkQueue::shared()->queue(new ForwardItem(1, m_drt->webPage())); 315 WorkQueue::shared()->queue(new LoadItem(absoluteUrl, target, m_drt->webPage())); 321 WorkQueue::shared()->queue(new LoadHTMLStringItem(content, baseURL, m_drt->webPage())); 323 WorkQueue::shared()->queue(new LoadAlternateHTMLStringItem(content, baseURL, failingURL, m_drt->webPage())); 329 WorkQueue::shared()->queue(new ReloadItem(m_drt->webPage())) [all...] |
/external/webkit/Tools/DumpRenderTree/win/ |
FrameLoadDelegate.cpp | 39 #include "WorkQueue.h" 200 if (WorkQueue::shared()->processWork() && !::gLayoutTestController->waitToDump()) 237 WorkQueue::shared()->setFrozen(true); 242 if (WorkQueue::shared()->count()) {
|
/external/webkit/Tools/DumpRenderTree/wx/ |
DumpRenderTreeWx.cpp | 33 #include "WorkQueue.h" 243 WorkQueue::shared()->clear(); 244 WorkQueue::shared()->setFrozen(false);
|
LayoutTestControllerWx.cpp | 33 #include "WorkQueue.h" 84 if (m_waitToDump && !WorkQueue::shared()->count()) 98 WorkQueue::shared()->queue(new LoadItem(url, target));
|
/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/Platform/CoreIPC/ |
Connection.h | 35 #include "WorkQueue.h" 130 typedef void (*DidCloseOnConnectionWorkQueueCallback)(WorkQueue&, Connection*); 234 WorkQueue m_connectionQueue;
|
/external/webkit/Tools/DumpRenderTree/mac/ |
FrameLoadDelegate.mm | 44 #import "WorkQueue.h" 127 if (WorkQueue::shared()->processWork() && !gLayoutTestController->waitToDump()) 140 WorkQueue::shared()->setFrozen(true); // first complete load freezes the queue for the rest of this test 142 if (WorkQueue::shared()->count())
|
/external/webkit/Tools/DumpRenderTree/gtk/ |
DumpRenderTree.cpp | 45 #include "WorkQueue.h" 678 WorkQueue::shared()->clear(); 679 WorkQueue::shared()->setFrozen(false); 740 if (WorkQueue::shared()->processWork() && !gLayoutTestController->waitToDump()) 778 WorkQueue::shared()->setFrozen(true); // first complete load freezes the queue for the rest of this test 782 if (WorkQueue::shared()->count()) [all...] |