Home
last modified time | relevance | path

Searched refs:now (Results 1 – 25 of 178) sorted by relevance

12345678

/l4re-core-master/uclibc/lib/contrib/uclibc/test/time/
A Dtst-mktime2.c43 mktime_test1 (time_t now) in mktime_test1() argument
45 struct tm *lt = localtime (&now); in mktime_test1()
46 if (lt && mktime (lt) != now) in mktime_test1()
51 mktime_test (time_t now) in mktime_test() argument
53 mktime_test1 (now); in mktime_test()
54 mktime_test1 ((time_t) (time_t_max - now)); in mktime_test()
55 mktime_test1 ((time_t) (time_t_min + now)); in mktime_test()
79 time_t now; in bigtime_test() local
82 now = mktime (&tm); in bigtime_test()
83 if (now != (time_t) -1) in bigtime_test()
[all …]
A Dtst-timerfd.c28 time_t start, now; in do_test() local
51 now = time(NULL); in do_test()
52 } while (now - start < 2); in do_test()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/inet/rpc/
A Dcreate_xid.c41 struct timeval now; in _create_xid() local
43 gettimeofday (&now, (struct timezone *) 0); in _create_xid()
44 srand48_r (now.tv_sec ^ now.tv_usec, &__rpc_lrand48_data); in _create_xid()
A Dauth_unix.c95 struct timeval now; in authunix_create() local
121 (void) gettimeofday (&now, (struct timezone *) 0); in authunix_create()
122 aup.aup_time = now.tv_sec; in authunix_create()
246 struct timeval now; in authunix_refresh() local
267 (void) gettimeofday (&now, (struct timezone *) 0); in authunix_refresh()
268 aup.aup_time = now.tv_sec; in authunix_refresh()
/l4re-core-master/uclibc/lib/contrib/uclibc/test/pthread/
A Dex7.c31 struct timeval now; in test_thread() local
41 gettimeofday(&now, NULL); in test_thread()
42 timeout.tv_sec = now.tv_sec + ms/1000 + (now.tv_usec + (ms%1000)*1000)/1000000; in test_thread()
43 timeout.tv_nsec = ((now.tv_usec + (ms%1000)*1000) % 1000000) * 1000; in test_thread()
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/pthread/
A Dtimer_gettime.c33 struct timespec now, expiry; local
55 clock_gettime (clock, &now);
56 if (timespec_compare (&now, &expiry) < 0)
57 timespec_sub (&value->it_value, &expiry, &now);
A Dtimer_settime.c36 struct timespec now; local
61 clock_gettime (timer->clock, &now);
86 clock_gettime (timer->clock, &now);
92 timespec_sub (&ovalue->it_value, &timer->expirytime, &now);
116 timespec_add (&timer->expirytime, &now, &value->it_value);
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/sysdeps/pthread/
A Dtimer_gettime.c33 struct timespec now, expiry; local
55 clock_gettime (clock, &now);
56 if (timespec_compare (&now, &expiry) < 0)
57 timespec_sub (&value->it_value, &expiry, &now);
A Dtimer_settime.c36 struct timespec now; local
61 clock_gettime (timer->clock, &now);
86 clock_gettime (timer->clock, &now);
92 timespec_sub (&ovalue->it_value, &timer->expirytime, &now);
116 timespec_add (&timer->expirytime, &now, &value->it_value);
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-9/src/c++11/
A Dthread.cc197 const auto target = chrono::steady_clock::now() + __s + __ns; in __sleep_for()
220 const auto now = chrono::steady_clock::now(); in __sleep_for()
221 if (now >= target) in __sleep_for()
223 __s = chrono::duration_cast<chrono::seconds>(target - now); in __sleep_for()
224 __ns = chrono::duration_cast<chrono::nanoseconds>(target - (now + __s)); in __sleep_for()
A Dchrono.cc52 system_clock::now() noexcept in now() function in std::chrono::_V2::system_clock
80 steady_clock::now() noexcept in now() function in std::chrono::_V2::steady_clock
93 return time_point(system_clock::now().time_since_epoch()); in now()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-10/src/c++11/
A Dthread.cc197 const auto target = chrono::steady_clock::now() + __s + __ns; in __sleep_for()
220 const auto now = chrono::steady_clock::now(); in __sleep_for()
221 if (now >= target) in __sleep_for()
223 __s = chrono::duration_cast<chrono::seconds>(target - now); in __sleep_for()
224 __ns = chrono::duration_cast<chrono::nanoseconds>(target - (now + __s)); in __sleep_for()
A Dchrono.cc52 system_clock::now() noexcept in now() function in std::chrono::_V2::system_clock
80 steady_clock::now() noexcept in now() function in std::chrono::_V2::steady_clock
93 return time_point(system_clock::now().time_since_epoch()); in now()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-11/src/c++11/
A Dthread.cc218 const auto target = chrono::steady_clock::now() + __s + __ns; in __sleep_for()
241 const auto now = chrono::steady_clock::now(); in __sleep_for()
242 if (now >= target) in __sleep_for()
244 __s = chrono::duration_cast<chrono::seconds>(target - now); in __sleep_for()
245 __ns = chrono::duration_cast<chrono::nanoseconds>(target - (now + __s)); in __sleep_for()
A Dchrono.cc52 system_clock::now() noexcept in now() function in std::chrono::_V2::system_clock
80 steady_clock::now() noexcept in now() function in std::chrono::_V2::steady_clock
93 return time_point(system_clock::now().time_since_epoch()); in now()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-11/include/bits/
A Datomic_timed_wait.h60 const typename _Clock::time_point __c_entry = _Clock::now(); in _GLIBCXX_VISIBILITY()
61 const __wait_clock_t::time_point __w_entry = __wait_clock_t::now(); in _GLIBCXX_VISIBILITY()
130 if (_Clock::now() < __atime) in _GLIBCXX_VISIBILITY()
167 return _Clock::now() < __atime; in _GLIBCXX_VISIBILITY()
191 if (_Clock::now() < __atime) in _GLIBCXX_VISIBILITY()
229 __t0 = _Clock::now()) noexcept in _GLIBCXX_VISIBILITY()
238 auto __now = __wait_clock_t::now(); in _GLIBCXX_VISIBILITY()
303 for (auto __now = _Clock::now(); __now < __atime; in _GLIBCXX_VISIBILITY()
304 __now = _Clock::now()) in _GLIBCXX_VISIBILITY()
352 chrono::steady_clock::now() + __reltime); in _GLIBCXX_VISIBILITY()
[all …]
A Dsemaphore_base.h160 const typename _Clock::time_point __c_entry = _Clock::now(); in _GLIBCXX_VISIBILITY()
161 const auto __s_entry = __clock_t::now(); in _GLIBCXX_VISIBILITY()
170 return (_Clock::now() < __atime); in _GLIBCXX_VISIBILITY()
178 { return _M_try_acquire_until(__clock_t::now() + __rtime); } in _GLIBCXX_VISIBILITY()
/l4re-core-master/cxx/lib/ipc/include/
A Dipc_timeout_queue86 * \param now The current time.
91 bool timeout_expired(l4_kernel_clock_t now) const
94 return (next != 0) && (next <= now);
99 * \param now the current time.
101 void handle_expired_timeouts(l4_kernel_clock_t now)
106 if ((*top)->_timeout > now)
151 * the functions now() that has to return the current time.
163 { return static_cast<HOOKS*>(this)->now(); }
185 l4_kernel_clock_t now = _now();
186 if (queue.timeout_expired(now))
[all …]
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-5/src/c++11/
A Dchrono.cc54 system_clock::now() noexcept in now() function in std::chrono::_V2::system_clock
82 steady_clock::now() noexcept in now() function in std::chrono::_V2::steady_clock
95 return time_point(system_clock::now().time_since_epoch()); in now()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-4.9/src/c++11/
A Dchrono.cc54 system_clock::now() noexcept in now() function in std::chrono::_V2::system_clock
82 steady_clock::now() noexcept in now() function in std::chrono::_V2::steady_clock
95 return time_point(system_clock::now().time_since_epoch()); in now()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-8/src/c++11/
A Dchrono.cc54 system_clock::now() noexcept in now() function in std::chrono::_V2::system_clock
82 steady_clock::now() noexcept in now() function in std::chrono::_V2::steady_clock
95 return time_point(system_clock::now().time_since_epoch()); in now()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-6/src/c++11/
A Dchrono.cc54 system_clock::now() noexcept in now() function in std::chrono::_V2::system_clock
82 steady_clock::now() noexcept in now() function in std::chrono::_V2::steady_clock
95 return time_point(system_clock::now().time_since_epoch()); in now()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-7/src/c++11/
A Dchrono.cc54 system_clock::now() noexcept in now() function in std::chrono::_V2::system_clock
82 steady_clock::now() noexcept in now() function in std::chrono::_V2::steady_clock
95 return time_point(system_clock::now().time_since_epoch()); in now()
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/unix/sysv/linux/
A Dfork.c166 hp_timing_t now; in fork() local
167 HP_TIMING_NOW (now); in fork()
168 THREAD_SETMEM (self, cpuclock_offset, now); in fork()
169 GL(dl_cpuclock_offset) = now; in fork()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-11/include/std/
A Dcondition_variable129 const typename _Clock::time_point __c_entry = _Clock::now();
130 const __clock_t::time_point __s_entry = __clock_t::now();
140 if (_Clock::now() < __atime)
164 steady_clock::now() +
176 steady_clock::now() +
203 return (steady_clock::now() < __atime
224 return (system_clock::now() < __atime
355 { return wait_until(__lock, __clock_t::now() + __rtime); }
362 { return wait_until(__lock, __clock_t::now() + __rtime, std::move(__p)); }
434 auto __abst = std::chrono::steady_clock::now() + __rel_time;

Completed in 36 milliseconds

12345678