Searched defs:rel_time (Results 1 - 5 of 5) sorted by relevance

/external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
H A Dtry_lock_for.pass.cpp15 // bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
29 bool try_lock_shared_for(const std::chrono::duration<Rep, Period>& rel_time) argument
31 assert(rel_time == ms(5));
/external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/
H A Dtry_lock_for.pass.cpp15 // bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
27 bool try_lock_for(const std::chrono::duration<Rep, Period>& rel_time) argument
29 assert(rel_time == ms(5));
/external/chromium_org/v8/src/base/platform/
H A Dcondition-variable.cc71 bool ConditionVariable::WaitFor(Mutex* mutex, const TimeDelta& rel_time) { argument
78 ts = rel_time.ToTimespec();
98 Time end_time = now + rel_time;
285 bool ConditionVariable::WaitFor(Mutex* mutex, const TimeDelta& rel_time) {
294 TimeTicks end = now + rel_time;
H A Dsemaphore.cc54 bool Semaphore::WaitFor(const TimeDelta& rel_time) { argument
56 TimeTicks end = now + rel_time;
109 bool Semaphore::WaitFor(const TimeDelta& rel_time) {
118 } while (!timer.HasExpired(rel_time));
122 const Time time = Time::NowFromSystemTime() + rel_time;
178 bool Semaphore::WaitFor(const TimeDelta& rel_time) {
180 TimeTicks end = now + rel_time;
/external/chromium_org/chrome/browser/net/
H A Devicted_domain_cookie_counter_unittest.cc65 // Sets simulation time to |rel_time|.
66 void GotoTime(int64 rel_time);
157 void EvictedDomainCookieCounterTest::GotoTime(int64 rel_time) { argument
158 mock_time_ = mock_time_base_ + TimeDelta::FromSeconds(rel_time);

Completed in 135 milliseconds