HelenOS sources
duration 117 uspace/app/bdsh/cmds/modules/sleep/sleep.c usec_t duration = 0;
duration 128 uspace/app/bdsh/cmds/modules/sleep/sleep.c ret = decimal_to_useconds(argv[1], &duration);
duration 134 uspace/app/bdsh/cmds/modules/sleep/sleep.c fibril_usleep(duration);
duration 200 uspace/app/hbench/main.c nsec_t duration = stopwatch_get_nanos(&run.stopwatch);
duration 201 uspace/app/hbench/main.c if (duration > env->minimal_run_duration_nanos) {
duration 45 uspace/lib/cpp/include/__bits/chrono.hpp class duration;
duration 48 uspace/lib/cpp/include/__bits/chrono.hpp constexpr ToDuration duration_cast(const duration<Rep, Period>& dur);
duration 64 uspace/lib/cpp/include/__bits/chrono.hpp constexpr duration() = default;
duration 73 uspace/lib/cpp/include/__bits/chrono.hpp constexpr duration(const duration<Rep2, Period2>& other)
duration 74 uspace/lib/cpp/include/__bits/chrono.hpp : rep_{duration_cast<duration>(other).count()}
duration 77 uspace/lib/cpp/include/__bits/chrono.hpp ~duration() = default;
duration 79 uspace/lib/cpp/include/__bits/chrono.hpp duration(const duration&) = default;
duration 81 uspace/lib/cpp/include/__bits/chrono.hpp duration& operator=(const duration&) = default;
duration 96 uspace/lib/cpp/include/__bits/chrono.hpp constexpr duration operator+() const
duration 101 uspace/lib/cpp/include/__bits/chrono.hpp constexpr duration operator-() const
duration 103 uspace/lib/cpp/include/__bits/chrono.hpp return duration{-rep_};
duration 106 uspace/lib/cpp/include/__bits/chrono.hpp duration& operator++()
duration 113 uspace/lib/cpp/include/__bits/chrono.hpp duration operator++(int)
duration 115 uspace/lib/cpp/include/__bits/chrono.hpp return duration{rep_++};
duration 118 uspace/lib/cpp/include/__bits/chrono.hpp duration& operator--()
duration 125 uspace/lib/cpp/include/__bits/chrono.hpp duration operator--(int)
duration 127 uspace/lib/cpp/include/__bits/chrono.hpp return duration{rep_--};
duration 130 uspace/lib/cpp/include/__bits/chrono.hpp duration& operator+=(const duration& rhs)
duration 137 uspace/lib/cpp/include/__bits/chrono.hpp duration& operator-=(const duration& rhs)
duration 144 uspace/lib/cpp/include/__bits/chrono.hpp duration& operator*=(const rep& rhs)
duration 151 uspace/lib/cpp/include/__bits/chrono.hpp duration& operator/=(const rep& rhs)
duration 158 uspace/lib/cpp/include/__bits/chrono.hpp duration& operator%=(const rep& rhs)
duration 165 uspace/lib/cpp/include/__bits/chrono.hpp duration& operator%=(const duration& rhs)
duration 176 uspace/lib/cpp/include/__bits/chrono.hpp static constexpr duration zero()
duration 178 uspace/lib/cpp/include/__bits/chrono.hpp return duration{duration_values<rep>::zero()};
duration 181 uspace/lib/cpp/include/__bits/chrono.hpp static constexpr duration min()
duration 183 uspace/lib/cpp/include/__bits/chrono.hpp return duration{duration_values<rep>::min()};
duration 186 uspace/lib/cpp/include/__bits/chrono.hpp static constexpr duration max()
duration 188 uspace/lib/cpp/include/__bits/chrono.hpp return duration{duration_values<rep>::max()};
duration 199 uspace/lib/cpp/include/__bits/chrono.hpp template<class Clock, class Duration = typename Clock::duration>
duration 205 uspace/lib/cpp/include/__bits/chrono.hpp using rep = typename duration::rep;
duration 206 uspace/lib/cpp/include/__bits/chrono.hpp using period = typename duration::period;
duration 213 uspace/lib/cpp/include/__bits/chrono.hpp : duration_{duration::zero()}
duration 216 uspace/lib/cpp/include/__bits/chrono.hpp constexpr explicit time_point(const duration& d)
duration 223 uspace/lib/cpp/include/__bits/chrono.hpp : duration_{static_cast<duration>(other.time_since_epoch())}
duration 230 uspace/lib/cpp/include/__bits/chrono.hpp constexpr duration time_since_epoch() const
duration 239 uspace/lib/cpp/include/__bits/chrono.hpp time_point& operator+=(const duration& rhs)
duration 246 uspace/lib/cpp/include/__bits/chrono.hpp time_point& operator-=(const duration& rhs)
duration 259 uspace/lib/cpp/include/__bits/chrono.hpp return time_point{duration::min()};
duration 264 uspace/lib/cpp/include/__bits/chrono.hpp return time_point{duration::max()};
duration 268 uspace/lib/cpp/include/__bits/chrono.hpp duration duration_;
duration 279 uspace/lib/cpp/include/__bits/chrono.hpp struct common_type<chrono::duration<Rep1, Period1>, chrono::duration<Rep2, Period2>>
duration 281 uspace/lib/cpp/include/__bits/chrono.hpp using type = chrono::duration<
duration 329 uspace/lib/cpp/include/__bits/chrono.hpp constexpr common_type_t<duration<Rep1, Period1>, duration<Rep2, Period2>>
duration 330 uspace/lib/cpp/include/__bits/chrono.hpp operator+(const duration<Rep1, Period1>& lhs, const duration<Rep2, Period2>& rhs)
duration 332 uspace/lib/cpp/include/__bits/chrono.hpp using CD = common_type_t<duration<Rep1, Period1>, duration<Rep2, Period2>>;
duration 337 uspace/lib/cpp/include/__bits/chrono.hpp constexpr common_type_t<duration<Rep1, Period1>, duration<Rep2, Period2>>
duration 338 uspace/lib/cpp/include/__bits/chrono.hpp operator-(const duration<Rep1, Period1>& lhs, const duration<Rep2, Period2>& rhs)
duration 340 uspace/lib/cpp/include/__bits/chrono.hpp using CD = common_type_t<duration<Rep1, Period1>, duration<Rep2, Period2>>;
duration 348 uspace/lib/cpp/include/__bits/chrono.hpp constexpr duration<common_type_t<Rep1, Rep2>, Period>
duration 349 uspace/lib/cpp/include/__bits/chrono.hpp operator*(const duration<Rep1, Period>& dur, const Rep2& rep)
duration 351 uspace/lib/cpp/include/__bits/chrono.hpp using CD = duration<common_type_t<Rep1, Rep2>, Period>;
duration 359 uspace/lib/cpp/include/__bits/chrono.hpp constexpr duration<common_type_t<Rep1, Rep2>, Period>
duration 360 uspace/lib/cpp/include/__bits/chrono.hpp operator*(const Rep2& rep, const duration<Rep1, Period>& dur)
duration 369 uspace/lib/cpp/include/__bits/chrono.hpp constexpr duration<common_type_t<Rep1, Rep2>, Period>
duration 370 uspace/lib/cpp/include/__bits/chrono.hpp operator/(const duration<Rep1, Period>& dur, const Rep2& rep)
duration 372 uspace/lib/cpp/include/__bits/chrono.hpp using CD = duration<common_type_t<Rep1, Rep2>, Period>;
duration 378 uspace/lib/cpp/include/__bits/chrono.hpp operator/(const duration<Rep1, Period1>& lhs, const duration<Rep2, Period2>& rhs)
duration 388 uspace/lib/cpp/include/__bits/chrono.hpp constexpr duration<common_type_t<Rep1, Rep2>, Period>
duration 389 uspace/lib/cpp/include/__bits/chrono.hpp operator%(const duration<Rep1, Period>& dur, const Rep2& rep)
duration 391 uspace/lib/cpp/include/__bits/chrono.hpp using CD = duration<common_type_t<Rep1, Rep2>, Period>;
duration 396 uspace/lib/cpp/include/__bits/chrono.hpp constexpr common_type_t<duration<Rep1, Period1>, duration<Rep2, Period2>>
duration 397 uspace/lib/cpp/include/__bits/chrono.hpp operator%(const duration<Rep1, Period1>& lhs, const duration<Rep2, Period2>& rhs)
duration 399 uspace/lib/cpp/include/__bits/chrono.hpp using CD = common_type_t<duration<Rep1, Period1>, duration<Rep2, Period2>>;
duration 408 uspace/lib/cpp/include/__bits/chrono.hpp constexpr bool operator==(const duration<Rep1, Period1>& lhs,
duration 409 uspace/lib/cpp/include/__bits/chrono.hpp const duration<Rep2, Period2>& rhs)
duration 411 uspace/lib/cpp/include/__bits/chrono.hpp using CT = common_type_t<duration<Rep1, Period1>, duration<Rep2, Period2>>;
duration 416 uspace/lib/cpp/include/__bits/chrono.hpp constexpr bool operator!=(const duration<Rep1, Period1>& lhs,
duration 417 uspace/lib/cpp/include/__bits/chrono.hpp const duration<Rep2, Period2>& rhs)
duration 423 uspace/lib/cpp/include/__bits/chrono.hpp constexpr bool operator<(const duration<Rep1, Period1>& lhs,
duration 424 uspace/lib/cpp/include/__bits/chrono.hpp const duration<Rep2, Period2>& rhs)
duration 426 uspace/lib/cpp/include/__bits/chrono.hpp using CT = common_type_t<duration<Rep1, Period1>, duration<Rep2, Period2>>;
duration 431 uspace/lib/cpp/include/__bits/chrono.hpp constexpr bool operator<=(const duration<Rep1, Period1>& lhs,
duration 432 uspace/lib/cpp/include/__bits/chrono.hpp const duration<Rep2, Period2>& rhs)
duration 438 uspace/lib/cpp/include/__bits/chrono.hpp constexpr bool operator>(const duration<Rep1, Period1>& lhs,
duration 439 uspace/lib/cpp/include/__bits/chrono.hpp const duration<Rep2, Period2>& rhs)
duration 445 uspace/lib/cpp/include/__bits/chrono.hpp constexpr bool operator>=(const duration<Rep1, Period1>& lhs,
duration 446 uspace/lib/cpp/include/__bits/chrono.hpp const duration<Rep2, Period2>& rhs)
duration 458 uspace/lib/cpp/include/__bits/chrono.hpp constexpr ToDuration duration_cast(const duration<Rep, Period>& dur)
duration 495 uspace/lib/cpp/include/__bits/chrono.hpp using nanoseconds = duration<int64_t, nano>;
duration 496 uspace/lib/cpp/include/__bits/chrono.hpp using microseconds = duration<int64_t, micro>;
duration 497 uspace/lib/cpp/include/__bits/chrono.hpp using milliseconds = duration<int64_t, milli>;
duration 498 uspace/lib/cpp/include/__bits/chrono.hpp using seconds = duration<int64_t>;
duration 499 uspace/lib/cpp/include/__bits/chrono.hpp using minutes = duration<int32_t, ratio<60>>;
duration 500 uspace/lib/cpp/include/__bits/chrono.hpp using hours = duration<int32_t, ratio<3600>>;
duration 507 uspace/lib/cpp/include/__bits/chrono.hpp constexpr time_point<Clock, common_type_t<Duration1, duration<Rep2, Period2>>>
duration 508 uspace/lib/cpp/include/__bits/chrono.hpp operator+(const time_point<Clock, Duration1>& lhs, const duration<Rep2, Period2>& rhs)
duration 510 uspace/lib/cpp/include/__bits/chrono.hpp using CT = time_point<Clock, common_type_t<Duration1, duration<Rep2, Period2>>>;
duration 515 uspace/lib/cpp/include/__bits/chrono.hpp constexpr time_point<Clock, common_type_t<duration<Rep1, Period1>, Duration2>>
duration 516 uspace/lib/cpp/include/__bits/chrono.hpp operator+(const duration<Rep1, Period1>& lhs, const time_point<Clock, Duration2>& rhs)
duration 522 uspace/lib/cpp/include/__bits/chrono.hpp constexpr time_point<Clock, common_type_t<Duration1, duration<Rep2, Period2>>>
duration 523 uspace/lib/cpp/include/__bits/chrono.hpp operator-(const time_point<Clock, Duration1>& lhs, const duration<Rep2, Period2>& rhs)
duration 605 uspace/lib/cpp/include/__bits/chrono.hpp using duration = chrono::duration<rep, period>;
duration 619 uspace/lib/cpp/include/__bits/chrono.hpp return time_point{duration{time - epoch_usecs}};
duration 649 uspace/lib/cpp/include/__bits/chrono.hpp using duration = chrono::duration<rep, period>;
duration 662 uspace/lib/cpp/include/__bits/chrono.hpp return time_point{duration{time}};
duration 694 uspace/lib/cpp/include/__bits/chrono.hpp constexpr chrono::duration<long double, ratio<3600>> operator ""h(long double hrs)
duration 696 uspace/lib/cpp/include/__bits/chrono.hpp return chrono::duration<long double, ratio<3600>>{hrs};
duration 704 uspace/lib/cpp/include/__bits/chrono.hpp constexpr chrono::duration<long double, ratio<60>> operator ""m(long double mins)
duration 706 uspace/lib/cpp/include/__bits/chrono.hpp return chrono::duration<long double, ratio<60>>{mins};
duration 714 uspace/lib/cpp/include/__bits/chrono.hpp constexpr chrono::duration<long double, ratio<1>> operator ""s(long double secs)
duration 716 uspace/lib/cpp/include/__bits/chrono.hpp return chrono::duration<long double, ratio<1>>{secs};
duration 724 uspace/lib/cpp/include/__bits/chrono.hpp constexpr chrono::duration<long double, milli> operator ""ms(long double msecs)
duration 726 uspace/lib/cpp/include/__bits/chrono.hpp return chrono::duration<long double, milli>{msecs};
duration 734 uspace/lib/cpp/include/__bits/chrono.hpp constexpr chrono::duration<long double, micro> operator ""us(long double usecs)
duration 736 uspace/lib/cpp/include/__bits/chrono.hpp return chrono::duration<long double, micro>{usecs};
duration 744 uspace/lib/cpp/include/__bits/chrono.hpp constexpr chrono::duration<long double, nano> operator ""ns(long double nsecs)
duration 746 uspace/lib/cpp/include/__bits/chrono.hpp return chrono::duration<long double, nano>{nsecs};
duration 111 uspace/lib/cpp/include/__bits/thread/condition_variable.hpp const chrono::duration<Rep, Period>& rel_time)
duration 120 uspace/lib/cpp/include/__bits/thread/condition_variable.hpp const chrono::duration<Rep, Period>& rel_time,
duration 195 uspace/lib/cpp/include/__bits/thread/condition_variable.hpp const chrono::duration<Rep, Period>& rel_time)
duration 204 uspace/lib/cpp/include/__bits/thread/condition_variable.hpp const chrono::duration<Rep, Period>& rel_time,
duration 121 uspace/lib/cpp/include/__bits/thread/future.hpp wait_for(const chrono::duration<Rep, Period>& rel_time) const
duration 116 uspace/lib/cpp/include/__bits/thread/mutex.hpp bool try_lock_for(const chrono::duration<Rep, Period>& rel_time)
duration 162 uspace/lib/cpp/include/__bits/thread/mutex.hpp bool try_lock_for(const chrono::duration<Rep, Period>& rel_time)
duration 291 uspace/lib/cpp/include/__bits/thread/mutex.hpp unique_lock(mutex_type& mtx, const chrono::duration<Rep, Period>& rel_time)
duration 355 uspace/lib/cpp/include/__bits/thread/mutex.hpp bool try_lock_for(const chrono::duration<Rep, Period>& rel_time)
duration 56 uspace/lib/cpp/include/__bits/thread/shared_mutex.hpp bool try_lock_for(const chrono::duration<Rep, Period>& rel_time)
duration 77 uspace/lib/cpp/include/__bits/thread/shared_mutex.hpp bool try_lock_shared_for(const chrono::duration<Rep, Period>& rel_time)
duration 146 uspace/lib/cpp/include/__bits/thread/shared_mutex.hpp shared_lock(mutex_type& mtx, const chrono::duration<Rep, Period>& rel_time)
duration 210 uspace/lib/cpp/include/__bits/thread/shared_mutex.hpp bool try_lock_for(const chrono::duration<Rep, Period>& rel_time)
duration 116 uspace/lib/cpp/include/__bits/thread/shared_state.hpp wait_for(const chrono::duration<Rep, Period>& rel_time) const
duration 228 uspace/lib/cpp/include/__bits/thread/thread.hpp void sleep_for(const chrono::duration<Rep, Period>& rel_time)
duration 230 uspace/lib/cpp/include/__bits/thread/thread.hpp if (rel_time <= chrono::duration<Rep, Period>::zero())
duration 147 uspace/lib/cpp/include/__bits/thread/threading.hpp static time_unit convert(const std::chrono::duration<Rep, Period>& dur)
duration 149 uspace/lib/cpp/include/__bits/thread/threading.hpp return std::chrono::duration_cast<std::chrono::duration<Rep, micro>>(dur).count();
duration 50 uspace/lib/usbhid/include/usb/hid/request.h errno_t usbhid_req_set_idle(usb_pipe_t *ctrl_pipe, int iface_no, uint8_t duration);
duration 59 uspace/lib/usbhid/include/usb/hid/request.h errno_t usbhid_req_get_idle(usb_pipe_t *ctrl_pipe, int iface_no, uint8_t *duration);
duration 156 uspace/lib/usbhid/src/hidreq.c errno_t usbhid_req_set_idle(usb_pipe_t *ctrl_pipe, int iface_no, uint8_t duration)
duration 177 uspace/lib/usbhid/src/hidreq.c "duration: %u, iface: %d).\n", duration, iface_no);
duration 179 uspace/lib/usbhid/src/hidreq.c uint16_t value = duration << 8;
duration 321 uspace/lib/usbhid/src/hidreq.c uint8_t *duration)
duration 365 uspace/lib/usbhid/src/hidreq.c *duration = buffer[0];
HelenOS homepage, sources at GitHub