Home
last modified time | relevance | path

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

12

/external/webkit/WebCore/platform/network/cf/
DFormDataStreamCFNet.cpp71 CFRunLoopRef runLoop; member
80 CFRetain(pair->runLoop); in pairRetain()
81 result->runLoop = pair->runLoop; in pairRetain()
90 CFRelease(pair->runLoop); in pairRelease()
100 return pairA->runLoop == pairB->runLoop && CFEqual(pairA->mode, pairB->mode); in pairEqual()
107 return (CFHashCode)pair->runLoop ^ CFHash(pair->mode); in pairHash()
129 CFReadStreamScheduleWithRunLoop(stream, pair->runLoop, pair->mode); in scheduleWithPair()
267 static void formSchedule(CFReadStreamRef stream, CFRunLoopRef runLoop, CFStringRef runLoopMode, voi… in formSchedule() argument
272 CFReadStreamScheduleWithRunLoop(form->currentStream, runLoop, runLoopMode); in formSchedule()
273 SchedulePair pair = { runLoop, runLoopMode }; in formSchedule()
[all …]
/external/webkit/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 ==()
DRunLoopTimerCF.cpp59 CFRunLoopAddTimer(schedulePair->runLoop(), m_timer.get(), schedulePair->mode()); in schedule()
/external/webkit/WebCore/websockets/
DThreadableWebSocketChannel.cpp61 WorkerRunLoop& runLoop = workerContext->thread()->runLoop(); in create() local
63 mode.append(String::number(runLoop.createUniqueId())); in create()
DWorkerThreadableWebSocketChannel.cpp351 WorkerRunLoop& runLoop = m_workerContext->thread()->runLoop(); in waitForMethodCompletion() local
355 result = runLoop.runInMode(m_workerContext.get(), m_taskMode); in waitForMethodCompletion()
/external/webkit/WebCore/platform/mac/
DSchedulePairMac.mm35 SchedulePair::SchedulePair(NSRunLoop* runLoop, CFStringRef mode)
36 : m_nsRunLoop(runLoop)
37 , m_runLoop([runLoop getCFRunLoop])
/external/webkit/WebCore/loader/
DWorkerThreadableLoader.cpp70 WorkerRunLoop& runLoop = workerContext->thread()->runLoop(); in loadResourceSynchronously() local
74 mode.append(String::number(runLoop.createUniqueId())); in loadResourceSynchronously()
79 result = runLoop.runInMode(workerContext, mode); in loadResourceSynchronously()
/external/webkit/WebCore/platform/network/mac/
DFormDataStreamMac.mm178 CFReadStreamScheduleWithRunLoop(form->currentStream, (*it)->runLoop(), (*it)->mode());
288 static void formSchedule(CFReadStreamRef, CFRunLoopRef runLoop, CFStringRef runLoopMode, void* cont…
293 CFReadStreamScheduleWithRunLoop(form->currentStream, runLoop, runLoopMode);
294 form->scheduledRunLoopPairs.add(SchedulePair::create(runLoop, runLoopMode));
297 static void formUnschedule(CFReadStreamRef, CFRunLoopRef runLoop, CFStringRef runLoopMode, void* co…
302 CFReadStreamUnscheduleFromRunLoop(form->currentStream, runLoop, runLoopMode);
303 form->scheduledRunLoopPairs.remove(SchedulePair::create(runLoop, runLoopMode));
DResourceHandleMac.mm250 if (NSRunLoop *runLoop = (*it)->nsRunLoop()) {
251 [connection scheduleInRunLoop:runLoop forMode:(NSString *)(*it)->mode()];
312 NSRunLoop *runLoop = pair->nsRunLoop();
313 if (!runLoop)
315 [d->m_connection.get() scheduleInRunLoop:runLoop forMode:(NSString *)pair->mode()];
328 if (NSRunLoop *runLoop = pair->nsRunLoop())
329 [d->m_connection.get() unscheduleFromRunLoop:runLoop forMode:(NSString *)pair->mode()];
/external/webkit/WebCore/workers/
DWorkerRunLoop.cpp109 RunLoopSetup(WorkerRunLoop& runLoop) in RunLoopSetup() argument
110 : m_runLoop(runLoop) in RunLoopSetup()
DWorkerMessagingProxy.cpp255 … m_workerThread->runLoop().postTask(MessageWorkerContextTask::create(message, channels.release())); in postMessageToWorkerContext()
266 m_workerThread->runLoop().postTaskForMode(task, mode); in postTaskForModeToWorkerContext()
307 m_workerThread->runLoop().postTask(m_queuedEarlyTasks[i].release()); in workerThreadCreated()
DDefaultSharedWorkerRepository.cpp152 m_thread->runLoop().postTaskForMode(task, mode); in postTaskForModeToWorkerContext()
317 proxy.thread()->runLoop().postTask(SharedWorkerConnectTask::create(port)); in workerScriptLoaded()
383 proxy->thread()->runLoop().postTask(SharedWorkerConnectTask::create(port)); in connectToWorker()
DWorkerThread.h55 WorkerRunLoop& runLoop() { return m_runLoop; } in runLoop() function
DWorkerThread.cpp168 workerContext->thread()->runLoop().terminate(); in performTask()
DWorkerContext.cpp168 thread()->runLoop().postTask(task); in postTask()
/external/webkit/WebKit/chromium/src/
DWebSharedWorkerImpl.cpp78 workerThread()->runLoop().postTask( in connect()
DWebWorkerImpl.cpp130 workerThread()->runLoop().postTask( in postMessageToWorkerContext()
DWebWorkerBase.cpp304 m_workerThread->runLoop().postTaskForMode(task, mode); in postTaskForModeToWorkerContext()
/external/webkit/WebKit/mac/WebView/
DWebViewPrivate.h105 - (void)scheduleInRunLoop:(NSRunLoop *)runLoop forMode:(NSString *)mode;
106 - (void)unscheduleFromRunLoop:(NSRunLoop *)runLoop forMode:(NSString *)mode;
DWebView.mm638 NSRunLoop *runLoop = [NSRunLoop mainRunLoop];
640 NSRunLoop *runLoop = [NSRunLoop currentRunLoop];
644 [self scheduleInRunLoop:runLoop forMode:(NSString *)kCFRunLoopCommonModes];
646 [self scheduleInRunLoop:runLoop forMode:NSDefaultRunLoopMode];
3921 - (void)scheduleInRunLoop:(NSRunLoop *)runLoop forMode:(NSString *)mode
3923 if (runLoop && mode)
3924 core(self)->addSchedulePair(SchedulePair::create(runLoop, (CFStringRef)mode));
3927 - (void)unscheduleFromRunLoop:(NSRunLoop *)runLoop forMode:(NSString *)mode
3929 if (runLoop && mode)
3930 core(self)->removeSchedulePair(SchedulePair::create(runLoop, (CFStringRef)mode));
/external/webkit/WebCore/bridge/jni/
Djni_jsobject.mm74 CFRunLoopRef runLoop = (CFRunLoopRef)callContext->originatingLoop;
76 assert (CFRunLoopGetCurrent() == runLoop);
78 CFRunLoopStop(runLoop);
/external/webkit/JavaScriptCore/
DChangeLog-2007-10-1424464 (KJS::Bindings::RootObject::runLoop):
25268 (Bindings::RootObject::runLoop):
/external/webkit/WebCore/
DChangeLog-2008-08-1043978 (KJS::Bindings::RootObject::runLoop):
DChangeLog-2009-06-1649978 (WebCore::WorkerThread::runLoop):

12