Searched refs:absoluteTime (Results 1 – 6 of 6) sorted by relevance
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
D | CondVar.cpp | 104 struct timespec absoluteTime; in wait() local 106 if (clock_gettime (CLOCK_MONOTONIC, &absoluteTime) == -1) in wait() 112 absoluteTime.tv_sec += millisec / 1000; in wait() 113 long ns = absoluteTime.tv_nsec + ((millisec % 1000) * 1000000); in wait() 116 absoluteTime.tv_sec++; in wait() 117 absoluteTime.tv_nsec = ns - 1000000000; in wait() 120 absoluteTime.tv_nsec = ns; in wait() 123 int waitResult = pthread_cond_timedwait (&mCondition, mutex.nativeHandle(), &absoluteTime); in wait()
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
D | ThreadingPthreads.cpp | 213 bool ThreadCondition::timedWait(MutexBase& mutex, double absoluteTime) in timedWait() argument 215 if (absoluteTime < currentTime()) in timedWait() 218 if (absoluteTime > INT_MAX) { in timedWait() 223 int timeSeconds = static_cast<int>(absoluteTime); in timedWait() 224 int timeNanoseconds = static_cast<int>((absoluteTime - timeSeconds) * 1E9); in timedWait()
|
D | ThreadingWin.cpp | 357 bool ThreadCondition::timedWait(MutexBase& mutex, double absoluteTime) in timedWait() argument 359 DWORD interval = absoluteTimeToWaitTimeoutInterval(absoluteTime); in timedWait() 380 DWORD absoluteTimeToWaitTimeoutInterval(double absoluteTime) in absoluteTimeToWaitTimeoutInterval() argument 385 if (absoluteTime < currentTime) in absoluteTimeToWaitTimeoutInterval() 389 if (absoluteTime - currentTime > static_cast<double>(INT_MAX) / 1000.0) in absoluteTimeToWaitTimeoutInterval() 392 return static_cast<DWORD>((absoluteTime - currentTime) * 1000.0); in absoluteTimeToWaitTimeoutInterval()
|
D | MessageQueue.h | 67 … PassOwnPtr<DataType> waitForMessageWithTimeout(MessageQueueWaitResult&, double absoluteTime); 131 …sageQueue<DataType>::waitForMessageWithTimeout(MessageQueueWaitResult& result, double absoluteTime) in waitForMessageWithTimeout() argument 137 timedOut = !m_condition.timedWait(m_mutex, absoluteTime); in waitForMessageWithTimeout() 139 ASSERT(!timedOut || absoluteTime != infiniteTime()); in waitForMessageWithTimeout()
|
D | ThreadingPrimitives.h | 139 bool timedWait(MutexBase&, double absoluteTime); 150 DWORD absoluteTimeToWaitTimeoutInterval(double absoluteTime);
|
/external/chromium_org/third_party/WebKit/Source/core/workers/ |
D | WorkerThread.cpp | 454 double absoluteTime = MessageQueue<blink::WebThread::Task>::infiniteTime(); in runDebuggerTask() local 458 absoluteTime = 0.0; in runDebuggerTask() 460 task = m_debuggerMessageQueue.waitForMessageWithTimeout(result, absoluteTime); in runDebuggerTask()
|