Home
last modified time | relevance | path

Searched refs:runLoop (Results 1 – 25 of 55) sorted by relevance

123

/external/webkit/Source/JavaScriptCore/runtime/
DGCActivityCallbackCF.cpp51 RetainPtr<CFRunLoopRef> runLoop; member
71 DefaultGCActivityCallback::DefaultGCActivityCallback(Heap* heap, CFRunLoopRef runLoop) in DefaultGCActivityCallback() argument
73 commonConstructor(heap, runLoop); in DefaultGCActivityCallback()
78 CFRunLoopRemoveTimer(d->runLoop.get(), d->timer.get(), kCFRunLoopCommonModes); in ~DefaultGCActivityCallback()
81 d->runLoop = 0; in ~DefaultGCActivityCallback()
85 void DefaultGCActivityCallback::commonConstructor(Heap* heap, CFRunLoopRef runLoop) in commonConstructor() argument
91 d->runLoop = runLoop; in commonConstructor()
93 CFRunLoopAddTimer(d->runLoop.get(), d->timer.get(), kCFRunLoopCommonModes); in commonConstructor()
103 if (CFRunLoopGetCurrent() == d->runLoop.get()) in synchronize()
105 CFRunLoopRemoveTimer(d->runLoop.get(), d->timer.get(), kCFRunLoopCommonModes); in synchronize()
[all …]
/external/webkit/Source/WebKit2/Platform/qt/
DRunLoopQt.cpp43 TimerObject(RunLoop* runLoop) : m_runLoop(runLoop) in TimerObject() argument
90 void RunLoop::TimerBase::timerFired(RunLoop* runLoop, int ID) in timerFired() argument
92 TimerMap::iterator it = runLoop->m_activeTimers.find(ID); in timerFired()
93 ASSERT(it != runLoop->m_activeTimers.end()); in timerFired()
98 runLoop->m_activeTimers.remove(it); in timerFired()
99 runLoop->m_timerObject->killTimer(timer->m_ID); in timerFired()
106 RunLoop::TimerBase::TimerBase(RunLoop* runLoop) in TimerBase() argument
107 : m_runLoop(runLoop) in TimerBase()
/external/webkit/Source/WebCore/platform/network/cf/
DCookieStorageCFNet.cpp123 CFRunLoopRef runLoop = cookieStorageObserverRunLoop(); in startObservingCookieChanges() local
124 ASSERT(runLoop); in startObservingCookieChanges()
129 CFHTTPCookieStorageScheduleWithRunLoop(cookieStorage, runLoop, kCFRunLoopCommonModes); in startObservingCookieChanges()
130 …CFHTTPCookieStorageAddObserver(cookieStorage, runLoop, kCFRunLoopDefaultMode, notifyCookiesChanged… in startObservingCookieChanges()
137 CFRunLoopRef runLoop = cookieStorageObserverRunLoop(); in stopObservingCookieChanges() local
138 ASSERT(runLoop); in stopObservingCookieChanges()
143 …CFHTTPCookieStorageRemoveObserver(cookieStorage, runLoop, kCFRunLoopDefaultMode, notifyCookiesChan… in stopObservingCookieChanges()
144 CFHTTPCookieStorageUnscheduleFromRunLoop(cookieStorage, runLoop, kCFRunLoopCommonModes); in stopObservingCookieChanges()
/external/webkit/Source/WebCore/platform/cf/
DSchedulePair.h48 …sRefPtr<SchedulePair> create(CFRunLoopRef runLoop, CFStringRef mode) { return adoptRef(new Schedul… in create() argument
51 …assRefPtr<SchedulePair> create(NSRunLoop* runLoop, CFStringRef mode) { return adoptRef(new Schedul… in create() argument
55 CFRunLoopRef runLoop() const { return m_runLoop.get(); } in runLoop() function
75 …uintptr_t hashCodes[2] = { reinterpret_cast<uintptr_t>(pair->runLoop()), pair->mode() ? CFHash(pai… in hash()
DSchedulePair.cpp34 SchedulePair::SchedulePair(CFRunLoopRef runLoop, CFStringRef mode) in SchedulePair() argument
35 : m_runLoop(runLoop) in SchedulePair()
43 if (runLoop() != other.runLoop()) in operator ==()
/external/webkit/Source/WebKit2/Platform/win/
DRunLoopWin.cpp43 if (RunLoop* runLoop = reinterpret_cast<RunLoop*>(longPtr)) in RunLoopWndProc() local
44 return runLoop->wndProc(hWnd, message, wParam, lParam); in RunLoopWndProc()
165 void RunLoop::TimerBase::timerFired(RunLoop* runLoop, uint64_t ID) in timerFired() argument
167 TimerMap::iterator it = runLoop->m_activeTimers.find(ID); in timerFired()
168 if (it == runLoop->m_activeTimers.end()) { in timerFired()
176 runLoop->m_activeTimers.remove(it); in timerFired()
177 ::KillTimer(runLoop->m_runLoopMessageWindow, ID); in timerFired()
189 RunLoop::TimerBase::TimerBase(RunLoop* runLoop) in TimerBase() argument
190 : m_runLoop(runLoop) in TimerBase()
/external/webkit/Source/WebKit2/Platform/gtk/
DRunLoopGtk.cpp68 gboolean RunLoop::queueWork(RunLoop* runLoop) in queueWork() argument
70 runLoop->performWork(); in queueWork()
84 RunLoop::TimerBase::TimerBase(RunLoop* runLoop) in TimerBase() argument
85 : m_runLoop(runLoop) in TimerBase()
/external/webkit/Source/WebKit/chromium/src/
DWebWorkerBase.cpp220 WorkerRunLoop& runLoop = m_workerThread->runLoop(); in allowDatabase() local
226 mode.append(String::number(runLoop.createUniqueId())); in allowDatabase()
231 if (runLoop.runInMode(workerContext, mode) == MessageQueueTerminated) { in allowDatabase()
242 WorkerRunLoop& runLoop = m_workerThread->runLoop(); in openFileSystemForWorker() local
248 mode.append(String::number(runLoop.createUniqueId())); in openFileSystemForWorker()
254 if (runLoop.runInMode(workerContext, mode) == MessageQueueTerminated) in openFileSystemForWorker()
406 m_workerThread->runLoop().postTaskForMode(task, mode); in postTaskForModeToWorkerContext()
DWorkerFileWriterCallbacksBridge.cpp141 …g::number(static_cast<WorkerContext*>(scriptExecutionContext)->thread()->runLoop().createUniqueId(… in WorkerFileWriterCallbacksBridge()
212 if (context->thread()->runLoop().runInMode(context, m_mode) == MessageQueueTerminated) in waitForOperationToComplete()
DWorkerAsyncFileSystemChromium.cpp83 …if (m_workerContext->thread()->runLoop().runInMode(m_workerContext, m_modeForCurrentOperation) == … in waitForOperationToComplete()
217 …m_modeForCurrentOperation.append(String::number(m_workerContext->thread()->runLoop().createUniqueI… in createWorkerFileSystemCallbacksBridge()
/external/webkit/Source/WebCore/websockets/
DThreadableWebSocketChannel.cpp61 WorkerRunLoop& runLoop = workerContext->thread()->runLoop(); in create() local
63 mode.append(String::number(runLoop.createUniqueId())); in create()
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/
DCCThread.cpp62 return ccThread->runLoop(); in compositorThreadStart()
65 void* CCThread::runLoop() in runLoop() function in WebCore::CCThread
DCCThread.h65 void* runLoop();
/external/webkit/Source/WebCore/platform/mac/
DSchedulePairMac.mm35 SchedulePair::SchedulePair(NSRunLoop* runLoop, CFStringRef mode)
36 : m_nsRunLoop(runLoop)
37 , m_runLoop([runLoop getCFRunLoop])
/external/webkit/Source/WebCore/fileapi/
DFileThread.cpp89 return fileThread->runLoop(); in fileThreadStart()
92 void* FileThread::runLoop() in runLoop() function in WebCore::FileThread
DFileThread.h76 void* runLoop();
/external/webkit/Source/WebCore/loader/
DWorkerThreadableLoader.cpp71 WorkerRunLoop& runLoop = workerContext->thread()->runLoop(); in loadResourceSynchronously() local
75 mode.append(String::number(runLoop.createUniqueId())); in loadResourceSynchronously()
80 result = runLoop.runInMode(workerContext, mode); in loadResourceSynchronously()
/external/webkit/Source/WebKit2/Platform/CoreIPC/
DConnection.cpp101 PassRefPtr<Connection::SyncMessageState> Connection::SyncMessageState::getOrCreate(RunLoop* runLoop) in getOrCreate() argument
104 pair<SyncMessageStateMap::iterator, bool> result = syncMessageStateMap().add(runLoop, 0); in getOrCreate()
111 RefPtr<SyncMessageState> syncMessageState = adoptRef(new SyncMessageState(runLoop)); in getOrCreate()
117 Connection::SyncMessageState::SyncMessageState(RunLoop* runLoop) in SyncMessageState() argument
118 : m_runLoop(runLoop) in SyncMessageState()
/external/webkit/Source/WebKit2/Platform/
DRunLoop.h116 Timer(RunLoop* runLoop, TimerFiredClass* o, TimerFiredFunction f) in Timer() argument
117 : TimerBase(runLoop) in Timer()
/external/webkit/Source/WebKit2/PluginProcess/
DPluginProcess.cpp63 void PluginProcess::initialize(CoreIPC::Connection::Identifier serverIdentifier, RunLoop* runLoop) in initialize() argument
67 m_connection = CoreIPC::Connection::createClientConnection(serverIdentifier, this, runLoop); in initialize()
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/
DLwjglOffscreenBuffer.java109 protected void runLoop(){ in runLoop() method in LwjglOffscreenBuffer
147 runLoop(); in run()
DLwjglAbstractDisplay.java145 protected void runLoop(){ in runLoop() method in LwjglAbstractDisplay
223 runLoop(); in run()
/external/webkit/Source/WebCore/workers/
DWorkerRunLoop.cpp110 RunLoopSetup(WorkerRunLoop& runLoop) in RunLoopSetup() argument
111 : m_runLoop(runLoop) in RunLoopSetup()
DWorkerMessagingProxy.cpp256 m_workerThread->runLoop().postTask(MessageWorkerContextTask::create(message, channels)); in postMessageToWorkerContext()
267 m_workerThread->runLoop().postTaskForMode(task, mode); in postTaskForModeToWorkerContext()
308 m_workerThread->runLoop().postTask(m_queuedEarlyTasks[i].release()); in workerThreadCreated()
/external/webkit/Source/WebCore/platform/network/mac/
DFormDataStreamMac.mm211 CFReadStreamScheduleWithRunLoop(form->currentStream, (*it)->runLoop(), (*it)->mode());
337 static void formSchedule(CFReadStreamRef, CFRunLoopRef runLoop, CFStringRef runLoopMode, void* cont…
342 CFReadStreamScheduleWithRunLoop(form->currentStream, runLoop, runLoopMode);
343 form->scheduledRunLoopPairs.add(SchedulePair::create(runLoop, runLoopMode));
346 static void formUnschedule(CFReadStreamRef, CFRunLoopRef runLoop, CFStringRef runLoopMode, void* co…
351 CFReadStreamUnscheduleFromRunLoop(form->currentStream, runLoop, runLoopMode);
352 form->scheduledRunLoopPairs.remove(SchedulePair::create(runLoop, runLoopMode));

123