Home
last modified time | relevance | path

Searched refs:absoluteTime (Results 1 – 15 of 15) sorted by relevance

/external/libnfc-nci/halimpl/bcm2079x/adaptation/
DCondVar.cpp101 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/
DThreadingGtk.cpp213 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/
DConnection.cpp50 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()
DBinarySemaphore.cpp50 bool BinarySemaphore::wait(double absoluteTime) in wait() argument
56 timedOut = !m_condition.timedWait(m_mutex, absoluteTime); in wait()
DBinarySemaphore.h42 bool wait(double absoluteTime);
/external/webkit/Source/JavaScriptCore/wtf/qt/
DThreadingQt.cpp256 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/
DThreadingWin.cpp461 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()
DThreadingPthreads.cpp364 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()
DMessageQueue.h64 …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()
DThreadingPrimitives.h145 bool timedWait(Mutex&, double absoluteTime);
156 DWORD absoluteTimeToWaitTimeoutInterval(double absoluteTime);
/external/webkit/Source/WebKit2/Platform/CoreIPC/win/
DBinarySemaphoreWin.cpp46 bool BinarySemaphore::wait(double absoluteTime) in wait() argument
48 DWORD interval = absoluteTimeToWaitTimeoutInterval(absoluteTime); in wait()
/external/webkit/Source/WebKit2/Platform/win/
DRunLoopWin.cpp82 …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/
DWorkerRunLoop.cpp152 …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/
DMarshallingHelpers.cpp149 DATE MarshallingHelpers::CFAbsoluteTimeToDATE(CFAbsoluteTime absoluteTime) in CFAbsoluteTimeToDATE() argument
151 return (round(absoluteTime)/secondsPerDay - windowsEpochAbsoluteTime()); in CFAbsoluteTimeToDATE()
/external/webkit/Source/WebKit2/Platform/
DRunLoop.h65 …atchSentMessagesUntil(const Vector<HWND>& windows, CoreIPC::BinarySemaphore&, double absoluteTime);