Home
last modified time | relevance | path

Searched refs:rel_time (Results 1 – 11 of 11) sorted by relevance

/external/v8/src/base/platform/
Dsemaphore.cc54 bool Semaphore::WaitFor(const TimeDelta& rel_time) { in WaitFor() argument
56 TimeTicks end = now + rel_time; in WaitFor()
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;
Dcondition-variable.cc71 bool ConditionVariable::WaitFor(Mutex* mutex, const TimeDelta& rel_time) { in WaitFor() argument
78 ts = rel_time.ToTimespec(); in WaitFor()
98 Time end_time = now + rel_time; in WaitFor()
285 bool ConditionVariable::WaitFor(Mutex* mutex, const TimeDelta& rel_time) {
294 TimeTicks end = now + rel_time;
Dsemaphore.h50 bool WaitFor(const TimeDelta& rel_time) WARN_UNUSED_RESULT;
Dcondition-variable.h59 bool WaitFor(Mutex* mutex, const TimeDelta& rel_time) WARN_UNUSED_RESULT;
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/
Dtry_lock_for.pass.cpp29 bool try_lock_for(const std::chrono::duration<Rep, Period>& rel_time) in try_lock_for()
31 assert(rel_time == ms(5)); in try_lock_for()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
Dtry_lock_for.pass.cpp31 bool try_lock_shared_for(const std::chrono::duration<Rep, Period>& rel_time) in try_lock_shared_for()
33 assert(rel_time == ms(5)); in try_lock_shared_for()
/external/libcxx/include/
Dcondition_variable52 const chrono::duration<Rep, Period>& rel_time);
57 const chrono::duration<Rep, Period>& rel_time,
97 const chrono::duration<Rep, Period>& rel_time);
102 const chrono::duration<Rep, Period>& rel_time,
Dshared_mutex35 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
45 try_lock_shared_for(const chrono::duration<Rep, Period>& rel_time);
69 const chrono::duration<Rep, Period>& rel_time);
81 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
320 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
Dmutex66 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
84 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
125 unique_lock(mutex_type& m, const chrono::duration<Rep, Period>& rel_time);
138 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
Dfuture170 wait_for(const chrono::duration<Rep, Period>& rel_time) const;
197 wait_for(const chrono::duration<Rep, Period>& rel_time) const;
224 wait_for(const chrono::duration<Rep, Period>& rel_time) const;
251 wait_for(const chrono::duration<Rep, Period>& rel_time) const;
278 wait_for(const chrono::duration<Rep, Period>& rel_time) const;
305 wait_for(const chrono::duration<Rep, Period>& rel_time) const;
Dthread80 void sleep_for(const chrono::duration<Rep, Period>& rel_time);