Searched refs:absoluteTime (Results 1 - 8 of 8) sorted by relevance

/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A DCondVar.cpp104 struct timespec absoluteTime; local
106 if (clock_gettime (CLOCK_MONOTONIC, &absoluteTime) == -1)
112 absoluteTime.tv_sec += millisec / 1000;
113 long ns = absoluteTime.tv_nsec + ((millisec % 1000) * 1000000);
116 absoluteTime.tv_sec++;
117 absoluteTime.tv_nsec = ns - 1000000000;
120 absoluteTime.tv_nsec = ns;
123 int waitResult = pthread_cond_timedwait (&mCondition, mutex.nativeHandle(), &absoluteTime);
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DThreadingPthreads.cpp213 bool ThreadCondition::timedWait(MutexBase& mutex, double absoluteTime) argument
215 if (absoluteTime < currentTime())
218 if (absoluteTime > INT_MAX) {
223 int timeSeconds = static_cast<int>(absoluteTime);
224 int timeNanoseconds = static_cast<int>((absoluteTime - timeSeconds) * 1E9);
H A DMessageQueue.h67 PassOwnPtr<DataType> waitForMessageWithTimeout(MessageQueueWaitResult&, double absoluteTime);
131 inline PassOwnPtr<DataType> MessageQueue<DataType>::waitForMessageWithTimeout(MessageQueueWaitResult& result, double absoluteTime) argument
137 timedOut = !m_condition.timedWait(m_mutex, absoluteTime);
139 ASSERT(!timedOut || absoluteTime != infiniteTime());
H A DThreadingPrimitives.h137 // Returns true if the condition was signaled before absoluteTime, false if the absoluteTime was reached or is in the past.
138 // The absoluteTime is in seconds, starting on January 1, 1970. The time is assumed to use the same time zone as WTF::currentTime().
139 bool timedWait(MutexBase&, double absoluteTime);
148 // The absoluteTime is in seconds, starting on January 1, 1970. The time is assumed to use the same time zone as WTF::currentTime().
150 DWORD absoluteTimeToWaitTimeoutInterval(double absoluteTime);
H A DThreadingWin.cpp357 bool ThreadCondition::timedWait(MutexBase& mutex, double absoluteTime) argument
359 DWORD interval = absoluteTimeToWaitTimeoutInterval(absoluteTime);
380 DWORD absoluteTimeToWaitTimeoutInterval(double absoluteTime) argument
385 if (absoluteTime < currentTime)
389 if (absoluteTime - currentTime > static_cast<double>(INT_MAX) / 1000.0)
392 return static_cast<DWORD>((absoluteTime - currentTime) * 1000.0);
/external/chromium_org/third_party/WebKit/Source/core/workers/
H A DWorkerThread.cpp454 double absoluteTime = MessageQueue<blink::WebThread::Task>::infiniteTime(); local
458 absoluteTime = 0.0;
460 task = m_debuggerMessageQueue.waitForMessageWithTimeout(result, absoluteTime);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.osgi_3.6.1.R36x_v20100806.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.osgi_3.6.2.R36x_v20101103.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 136 milliseconds