Searched refs:seconds (Results 1 - 25 of 51) sorted by relevance

123

/haiku-buildtools/legacy/gcc/libf2c/libU77/
H A Dsleep_.c29 int G77_sleep_0 (seconds)
30 integer *seconds;
32 int G77_sleep_0 (const integer *seconds)
35 (void) sleep ((unsigned int) *seconds);
H A Dalarm_.c43 integer G77_alarm_0 (seconds, proc)
44 integer *seconds;
50 integer G77_alarm_0 (integer *seconds, sig_proc proc)
58 status = alarm (*seconds);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/duration/cons/
H A Dconstexpr.cc30 std::chrono::seconds s{};
35 test2.operator()<std::chrono::seconds, std::chrono::seconds>();
36 test2.operator()<std::chrono::seconds, std::chrono::seconds::rep>();
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/time_point/
H A D2.cc34 t1 += seconds(1);
35 VERIFY(t2.time_since_epoch() + seconds(1) == t1.time_since_epoch());
37 t1 -= std::chrono::seconds(1);
49 time_point<system_clock> t2(t1 + seconds(1));
50 VERIFY(t2.time_since_epoch() == t1.time_since_epoch() + seconds(1));
52 time_point<system_clock> t3(seconds(1) + t1);
53 VERIFY(t3.time_since_epoch() == t1.time_since_epoch() + seconds(1));
55 time_point<system_clock> t4(seconds(1));
56 time_point<system_clock> t5(seconds(2));
58 time_point<system_clock> t6(t5 - seconds(
[all...]
H A D3.cc33 time_point<system_clock> t1(seconds(1));
34 time_point<system_clock> t2(seconds(1));
35 time_point<system_clock> t3(seconds(2));
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/time_point/cons/
H A Dconstexpr.cc32 test2.operator()<time_point<system_clock>, seconds>();
33 test2.operator()<time_point<system_clock, seconds>,
/haiku-buildtools/gcc/libstdc++-v3/testsuite/30_threads/this_thread/
H A D60421.cc29 std::this_thread::sleep_for(std::chrono::seconds(0));
30 std::this_thread::sleep_for(std::chrono::seconds(-1));
H A D58038.cc29 std::this_thread::sleep_until(now - 1ul * std::chrono::seconds(1));
36 std::this_thread::sleep_until(now - 1ul * std::chrono::seconds(1));
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/time_point/nonmember/
H A Dconstexpr.cc31 constexpr time_type t1(seconds(1));
32 constexpr time_type t2(seconds(30));
33 constexpr time_type t3(seconds(60));
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/i386/
H A Dpr36064.c25 ov_time_seek_page (OggVorbis_File * vf, double seconds) argument
35 if (seconds < 0)
41 if (seconds < time_total + addsec)
52 pcm_total + (seconds - time_total) * vf->vi[link].rate;
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/duration/arithmetic/
H A Ddr934-1.cc28 typedef std::chrono::seconds seconds; typedef in class:ClockTime
33 seconds seconds_;
40 seconds_(std::chrono::duration_cast<seconds>(d % minutes(1))) { }
H A D58850.cc32 VERIFY( duration_cast<seconds>( galactic_empire_age ).count()
35 == duration_cast<seconds>( galactic_empire_age ).count() / 60 );
/haiku-buildtools/gcc/libstdc++-v3/src/c++11/
H A Dcompatibility-chrono.cc51 typedef chrono::seconds duration;
77 return time_point(duration(chrono::seconds(tv.tv_sec)
82 typedef chrono::time_point<system_clock, seconds> __from;
84 (__from(chrono::seconds(__sec)));
H A Dchrono.cc64 return time_point(duration(chrono::seconds(tp.tv_sec)
70 return time_point(duration(chrono::seconds(tv.tv_sec)
92 return time_point(duration(chrono::seconds(tp.tv_sec)
/haiku-buildtools/gcc/libstdc++-v3/testsuite/30_threads/async/
H A D54297.cc43 std::this_thread::sleep_for(std::chrono::seconds(1));
/haiku-buildtools/gcc/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/
H A D1.cc39 bool b = m.try_lock_for(std::chrono::seconds(1));
H A D3.cc35 std::chrono::seconds s(1);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/
H A D1.cc39 bool b = m.try_lock_for(std::chrono::seconds(1));
H A D3.cc35 std::chrono::seconds s(1);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/duration/literals/
H A Dvalues.cc42 VERIFY( warmup == std::chrono::seconds(33) );
60 VERIFY( immediate == std::chrono::seconds(0) );
64 VERIFY( separated == std::chrono::seconds(1'000'000) );
/haiku-buildtools/gcc/libstdc++-v3/testsuite/30_threads/condition_variable_any/
H A D53830.cc57 std::this_thread::sleep_for(std::chrono::seconds(1));
/haiku-buildtools/gcc/libstdc++-v3/testsuite/30_threads/shared_lock/cons/
H A D5.cc39 clock_type::time_point t = clock_type::now() + std::chrono::seconds(5);
H A D6.cc39 clock_type::duration d = std::chrono::seconds(5);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/30_threads/shared_lock/locking/
H A D4.cc41 clock_type::time_point t = clock_type::now() + std::chrono::seconds(1);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/30_threads/unique_lock/cons/
H A D6.cc40 clock_type::duration d = std::chrono::seconds(5);

Completed in 197 milliseconds

123