Home
last modified time | relevance | path

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

/third_party/boost/boost/chrono/
Dduration.hpp546 duration<Rep2, Period2> >::type common_duration; in operator +() typedef
547 return common_duration(common_duration(lhs).count()+common_duration(rhs).count()); in operator +()
559 duration<Rep2, Period2> >::type common_duration; in operator -() typedef
560 return common_duration(common_duration(lhs).count()-common_duration(rhs).count()); in operator -()
577 typedef duration<common_rep, Period> common_duration; in operator *() typedef
578 return common_duration(common_duration(d).count()*static_cast<common_rep>(s)); in operator *()
606 typedef duration<common_rep, Period> common_duration; in operator /() typedef
607 return common_duration(common_duration(d).count()/static_cast<common_rep>(s)); in operator /()
616 duration<Rep2, Period2> >::type common_duration; in operator /() typedef
617 return common_duration(lhs).count() / common_duration(rhs).count(); in operator /()
[all …]
/third_party/boost/boost/thread/win32/
Dthread_data.hpp230 typedef typename common_type<Duration, typename Clock::duration>::type common_duration; in sleep_until() typedef
231 common_duration d(t - Clock::now()); in sleep_until()
232 while (d > common_duration::zero()) in sleep_until()
234 … d = (std::min)(d, common_duration(chrono::milliseconds(BOOST_THREAD_POLL_INTERVAL_MILLISECONDS))); in sleep_until()
281 typedef typename common_type<Duration, typename Clock::duration>::type common_duration; in sleep_until() typedef
282 common_duration d(t - Clock::now()); in sleep_until()
283 while (d > common_duration::zero()) in sleep_until()
285 … d = (std::min)(d, common_duration(chrono::milliseconds(BOOST_THREAD_POLL_INTERVAL_MILLISECONDS))); in sleep_until()
Dbasic_timed_mutex.hpp222 …edef typename common_type<Duration, typename chrono::steady_clock::duration>::type common_duration; in try_lock_for() typedef
224 return do_lock_until<chrono::steady_clock>(t, common_duration::zero()); in try_lock_for()
229 …edef typename common_type<Duration, typename chrono::steady_clock::duration>::type common_duration; in try_lock_until() typedef
231 return do_lock_until<chrono::steady_clock>(t, common_duration::zero()); in try_lock_until()
236 … typedef typename common_type<Duration, typename Clock::duration>::type common_duration; in try_lock_until() typedef
237 …return do_lock_until<Clock>(t, common_duration(chrono::milliseconds(BOOST_THREAD_POLL_INTERVAL_MIL… in try_lock_until()
Dshared_mutex.hpp324 …edef typename common_type<Duration, typename chrono::steady_clock::duration>::type common_duration; in try_lock_shared_for() typedef
326 return do_lock_shared_until<chrono::steady_clock>(t, common_duration::zero()); in try_lock_shared_for()
331 …edef typename common_type<Duration, typename chrono::steady_clock::duration>::type common_duration; in try_lock_shared_until() typedef
333 return do_lock_shared_until<chrono::steady_clock>(t, common_duration::zero()); in try_lock_shared_until()
338 typedef typename common_type<Duration, typename Clock::duration>::type common_duration; in try_lock_shared_until() typedef
339 …return do_lock_shared_until<Clock>(t, common_duration(chrono::milliseconds(BOOST_THREAD_POLL_INTER… in try_lock_shared_until()
593 …edef typename common_type<Duration, typename chrono::steady_clock::duration>::type common_duration; in try_lock_for() typedef
595 return do_lock_until<chrono::steady_clock>(t, common_duration::zero()); in try_lock_for()
600 …edef typename common_type<Duration, typename chrono::steady_clock::duration>::type common_duration; in try_lock_until() typedef
602 return do_lock_until<chrono::steady_clock>(t, common_duration::zero()); in try_lock_until()
[all …]
Dcondition_variable.hpp454 typedef typename common_type<Duration, typename Clock::duration>::type common_duration; in wait_until() typedef
455 common_duration d(t - Clock::now()); in wait_until()
495 typedef typename common_type<Duration, typename Clock::duration>::type common_duration; in wait_until() typedef
498 common_duration d(t - Clock::now()); in wait_until()
499 if (d <= common_duration::zero()) break; // timeout occurred in wait_until()
500 … d = (std::min)(d, common_duration(chrono::milliseconds(BOOST_THREAD_POLL_INTERVAL_MILLISECONDS))); in wait_until()
656 typedef typename common_type<Duration, typename Clock::duration>::type common_duration; in wait_until() typedef
657 common_duration d(t - Clock::now()); in wait_until()
697 typedef typename common_type<Duration, typename Clock::duration>::type common_duration; in wait_until() typedef
700 common_duration d(t - Clock::now()); in wait_until()
[all …]
/third_party/boost/boost/thread/pthread/
Dcondition_variable_fwd.hpp262 typedef typename common_type<Duration, typename Clock::duration>::type common_duration; in wait_until() typedef
263 common_duration d(t - Clock::now()); in wait_until()
303 typedef typename common_type<Duration, typename Clock::duration>::type common_duration; in wait_until() typedef
306 common_duration d(t - Clock::now()); in wait_until()
307 if (d <= common_duration::zero()) break; // timeout occurred in wait_until()
308 … d = (std::min)(d, common_duration(chrono::milliseconds(BOOST_THREAD_POLL_INTERVAL_MILLISECONDS))); in wait_until()
Dmutex.hpp283 typedef typename common_type<Duration, typename Clock::duration>::type common_duration; in try_lock_until() typedef
284 common_duration d(t - Clock::now()); in try_lock_until()
285 … d = (std::min)(d, common_duration(chrono::milliseconds(BOOST_THREAD_POLL_INTERVAL_MILLISECONDS))); in try_lock_until()
289 if ( d <= common_duration::zero() ) return false; // timeout occurred in try_lock_until()
290 … d = (std::min)(d, common_duration(chrono::milliseconds(BOOST_THREAD_POLL_INTERVAL_MILLISECONDS))); in try_lock_until()
Drecursive_mutex.hpp398 typedef typename common_type<Duration, typename Clock::duration>::type common_duration; in try_lock_until() typedef
399 common_duration d(t - Clock::now()); in try_lock_until()
400 … d = (std::min)(d, common_duration(chrono::milliseconds(BOOST_THREAD_POLL_INTERVAL_MILLISECONDS))); in try_lock_until()
404 if ( d <= common_duration::zero() ) return false; // timeout occurred in try_lock_until()
405 … d = (std::min)(d, common_duration(chrono::milliseconds(BOOST_THREAD_POLL_INTERVAL_MILLISECONDS))); in try_lock_until()
Dcondition_variable.hpp375 typedef typename common_type<Duration, typename Clock::duration>::type common_duration; in wait_until() typedef
376 common_duration d(t - Clock::now()); in wait_until()
416 typedef typename common_type<Duration, typename Clock::duration>::type common_duration; in wait_until() typedef
419 common_duration d(t - Clock::now()); in wait_until()
420 if (d <= common_duration::zero()) break; // timeout occurred in wait_until()
421 … d = (std::min)(d, common_duration(chrono::milliseconds(BOOST_THREAD_POLL_INTERVAL_MILLISECONDS))); in wait_until()
Dthread_data.hpp355 typedef typename common_type<Duration, typename Clock::duration>::type common_duration; in sleep_until() typedef
356 common_duration d(t - Clock::now()); in sleep_until()
357 while (d > common_duration::zero()) in sleep_until()
359 … d = (std::min)(d, common_duration(chrono::milliseconds(BOOST_THREAD_POLL_INTERVAL_MILLISECONDS))); in sleep_until()
/third_party/boost/boost/thread/detail/
Dthread.hpp481 typedef typename common_type<Duration, typename Clock::duration>::type common_duration; in try_join_until() typedef
482 common_duration d(t - Clock::now()); in try_join_until()
483 … d = (std::min)(d, common_duration(chrono::milliseconds(BOOST_THREAD_POLL_INTERVAL_MILLISECONDS))); in try_join_until()
487 if ( d <= common_duration::zero() ) return false; // timeout occurred in try_join_until()
488 … d = (std::min)(d, common_duration(chrono::milliseconds(BOOST_THREAD_POLL_INTERVAL_MILLISECONDS))); in try_join_until()