/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
D | CondVar.cpp | 101 struct timespec absoluteTime; in wait() local 103 if (clock_gettime (CLOCK_MONOTONIC, &absoluteTime) == -1) in wait() 109 absoluteTime.tv_sec += millisec / 1000; in wait() 110 long ns = absoluteTime.tv_nsec + ((millisec % 1000) * 1000000); in wait() 113 absoluteTime.tv_sec++; in wait() 114 absoluteTime.tv_nsec = ns - 1000000000; in wait() 117 absoluteTime.tv_nsec = ns; in wait() 124 …aitResult = pthread_cond_timedwait_monotonic_np (&mCondition, mutex.nativeHandle(), &absoluteTime); in wait()
|
/external/webkit/Source/JavaScriptCore/wtf/gtk/ |
D | ThreadingGtk.cpp | 213 bool ThreadCondition::timedWait(Mutex& mutex, double absoluteTime) in timedWait() argument 216 if (absoluteTime < currentTime()) in timedWait() 220 if (absoluteTime > INT_MAX) { in timedWait() 225 int timeSeconds = static_cast<int>(absoluteTime); in timedWait() 226 int timeMicroseconds = static_cast<int>((absoluteTime - timeSeconds) * 1000000.0); in timedWait()
|
/external/webkit/Source/WebKit2/Platform/CoreIPC/ |
D | Connection.cpp | 50 bool wait(double absoluteTime) in wait() argument 52 return m_waitForSyncReplySemaphore.wait(absoluteTime); in wait() 56 …bool waitWhileDispatchingSentWin32Messages(double absoluteTime, const Vector<HWND>& windowsToRecei… in waitWhileDispatchingSentWin32Messages() argument 58 …op::dispatchSentMessagesUntil(windowsToReceiveMessages, m_waitForSyncReplySemaphore, absoluteTime); in waitWhileDispatchingSentWin32Messages() 326 double absoluteTime = currentTime() + timeout; in waitForMessage() local 353 if (!m_waitForMessageCondition.timedWait(m_waitForMessageMutex, absoluteTime)) { in waitForMessage() 415 double absoluteTime = currentTime() + timeout; in waitForSyncReply() local 438 …timedOut = !m_syncMessageState->waitWhileDispatchingSentWin32Messages(absoluteTime, m_client->wind… in waitForSyncReply() 440 timedOut = !m_syncMessageState->wait(absoluteTime); in waitForSyncReply()
|
D | BinarySemaphore.cpp | 50 bool BinarySemaphore::wait(double absoluteTime) in wait() argument 56 timedOut = !m_condition.timedWait(m_mutex, absoluteTime); in wait()
|
D | BinarySemaphore.h | 42 bool wait(double absoluteTime);
|
/external/webkit/Source/JavaScriptCore/wtf/qt/ |
D | ThreadingQt.cpp | 256 bool ThreadCondition::timedWait(Mutex& mutex, double absoluteTime) in timedWait() argument 261 if (absoluteTime < currentTime) in timedWait() 265 if (absoluteTime - currentTime > static_cast<double>(INT_MAX) / 1000.0) { in timedWait() 270 double intervalMilliseconds = (absoluteTime - currentTime) * 1000.0; in timedWait()
|
/external/webkit/Source/JavaScriptCore/wtf/ |
D | ThreadingWin.cpp | 461 bool ThreadCondition::timedWait(Mutex& mutex, double absoluteTime) in timedWait() argument 463 DWORD interval = absoluteTimeToWaitTimeoutInterval(absoluteTime); in timedWait() 484 DWORD absoluteTimeToWaitTimeoutInterval(double absoluteTime) in absoluteTimeToWaitTimeoutInterval() argument 489 if (absoluteTime < currentTime) in absoluteTimeToWaitTimeoutInterval() 493 if (absoluteTime - currentTime > static_cast<double>(INT_MAX) / 1000.0) in absoluteTimeToWaitTimeoutInterval() 496 return static_cast<DWORD>((absoluteTime - currentTime) * 1000.0); in absoluteTimeToWaitTimeoutInterval()
|
D | ThreadingPthreads.cpp | 364 bool ThreadCondition::timedWait(Mutex& mutex, double absoluteTime) in timedWait() argument 366 if (absoluteTime < currentTime()) in timedWait() 369 if (absoluteTime > INT_MAX) { in timedWait() 374 int timeSeconds = static_cast<int>(absoluteTime); in timedWait() 375 int timeNanoseconds = static_cast<int>((absoluteTime - timeSeconds) * 1E9); in timedWait()
|
D | MessageQueue.h | 64 …aType> waitForMessageFilteredWithTimeout(MessageQueueWaitResult&, Predicate&, double absoluteTime); 130 …ssageFilteredWithTimeout(MessageQueueWaitResult& result, Predicate& predicate, double absoluteTime) in waitForMessageFilteredWithTimeout() argument 137 timedOut = !m_condition.timedWait(m_mutex, absoluteTime); in waitForMessageFilteredWithTimeout() 139 ASSERT(!timedOut || absoluteTime != infiniteTime()); in waitForMessageFilteredWithTimeout()
|
D | ThreadingPrimitives.h | 145 bool timedWait(Mutex&, double absoluteTime); 156 DWORD absoluteTimeToWaitTimeoutInterval(double absoluteTime);
|
/external/webkit/Source/WebKit2/Platform/CoreIPC/win/ |
D | BinarySemaphoreWin.cpp | 46 bool BinarySemaphore::wait(double absoluteTime) in wait() argument 48 DWORD interval = absoluteTimeToWaitTimeoutInterval(absoluteTime); in wait()
|
/external/webkit/Source/WebKit2/Platform/win/ |
D | RunLoopWin.cpp | 82 …essagesUntil(const Vector<HWND>& windows, CoreIPC::BinarySemaphore& semaphore, double absoluteTime) in dispatchSentMessagesUntil() argument 85 return semaphore.wait(absoluteTime); in dispatchSentMessagesUntil() 91 DWORD interval = absoluteTimeToWaitTimeoutInterval(absoluteTime); in dispatchSentMessagesUntil()
|
/external/webkit/Source/WebCore/workers/ |
D | WorkerRunLoop.cpp | 152 …double absoluteTime = (predicate.isDefaultMode() && m_sharedTimer->isActive()) ? m_sharedTimer->fi… in runInMode() local 154 …op::Task> task = m_messageQueue.waitForMessageFilteredWithTimeout(result, predicate, absoluteTime); in runInMode()
|
/external/webkit/Source/WebKit/win/ |
D | MarshallingHelpers.cpp | 149 DATE MarshallingHelpers::CFAbsoluteTimeToDATE(CFAbsoluteTime absoluteTime) in CFAbsoluteTimeToDATE() argument 151 return (round(absoluteTime)/secondsPerDay - windowsEpochAbsoluteTime()); in CFAbsoluteTimeToDATE()
|
/external/webkit/Source/WebKit2/Platform/ |
D | RunLoop.h | 65 …atchSentMessagesUntil(const Vector<HWND>& windows, CoreIPC::BinarySemaphore&, double absoluteTime);
|