/third_party/boost/libs/chrono/example/ |
D | timeval_demo.cpp | 89 class xtime { class 103 explicit xtime(long sec, long usec) { in xtime() function in timeval_demo::xtime 113 explicit xtime(long long usec) in xtime() function in timeval_demo::xtime 123 xtime& operator += (xtime rhs) { in operator +=() 133 xtime& operator -= (xtime rhs) { in operator -=() 140 xtime& operator %= (xtime rhs) { in operator %=() 150 friend xtime operator+(xtime x, xtime y) {return x += y;} in operator +() 151 friend xtime operator-(xtime x, xtime y) {return x -= y;} in operator -() 152 friend xtime operator%(xtime x, xtime y) {return x %= y;} in operator %() 154 friend bool operator==(xtime x, xtime y) in operator ==() [all …]
|
D | time2_demo.cpp | 886 class xtime { class 900 explicit xtime(long sec, long usec) { in xtime() function in timeval_demo::xtime 910 explicit xtime(long long usec) in xtime() function in timeval_demo::xtime 920 xtime& operator += (xtime rhs) { in operator +=() 930 xtime& operator -= (xtime rhs) { in operator -=() 937 xtime& operator %= (xtime rhs) { in operator %=() 947 friend xtime operator+(xtime x, xtime y) {return x += y;} in operator +() 948 friend xtime operator-(xtime x, xtime y) {return x -= y;} in operator -() 949 friend xtime operator%(xtime x, xtime y) {return x %= y;} in operator %() 951 friend bool operator==(xtime x, xtime y) in operator ==() [all …]
|
/third_party/boost/boost/thread/ |
D | xtime.hpp | 34 struct xtime struct 60 inline ::boost::xtime get_xtime(boost::system_time const& abs_time) in get_xtime() argument 62 ::boost::xtime res; in get_xtime() 65 res.sec=static_cast< ::boost::xtime::xtime_sec_t>(time_since_epoch.total_seconds()); in get_xtime() 66 …res.nsec=static_cast< ::boost::xtime::xtime_nsec_t>(time_since_epoch.fractional_seconds()*(1000000… in get_xtime() 70 inline int xtime_get(struct ::boost::xtime* xtp, int clock_type) in xtime_get() 81 inline int xtime_cmp(const ::boost::xtime& xt1, const ::boost::xtime& xt2) in xtime_cmp()
|
/third_party/boost/libs/thread/test/ |
D | util.inl | 11 #include <boost/thread/xtime.hpp> 27 inline boost::xtime delay(int secs, int msecs=0, int nsecs=0) 33 boost::xtime xt; 54 inline bool in_range(const boost::xtime& xt, int secs=1) 56 boost::xtime min = delay(-secs); 57 boost::xtime max = delay(0); 96 boost::xtime xt = delay(secs);
|
D | test_xtime.cpp | 9 #define BOOST_TEST_MODULE Boost.Threads: xtime test suite 21 boost::xtime xt1, xt2, cur; in BOOST_AUTO_TEST_CASE() 45 boost::xtime orig, cur, old; in BOOST_AUTO_TEST_CASE()
|
D | test_mutex.cpp | 46 boost::xtime xt = delay(0, 100); in operator ()() 86 boost::xtime xt = delay(0, 100); in operator ()()
|
D | test_condition.cpp | 79 boost::xtime xt = delay(10); in condition_test_waits()
|
D | test_thread.cpp | 47 boost::xtime xt = delay(3); in BOOST_AUTO_TEST_CASE()
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
D | mbedtls-x509.c | 48 lws_tls_mbedtls_time_to_unix(mbedtls_x509_time *xtime) in lws_tls_mbedtls_time_to_unix() argument 52 if (!xtime || !xtime->MBEDTLS_PRIVATE(year) || xtime->MBEDTLS_PRIVATE(year) < 0) in lws_tls_mbedtls_time_to_unix() 57 t.tm_year = xtime->MBEDTLS_PRIVATE(year) - 1900; in lws_tls_mbedtls_time_to_unix() 58 t.tm_mon = xtime->MBEDTLS_PRIVATE(mon) - 1; /* mbedtls months are 1+, tm are 0+ */ in lws_tls_mbedtls_time_to_unix() 59 t.tm_mday = xtime->MBEDTLS_PRIVATE(day) - 1; /* mbedtls days are 1+, tm are 0+ */ in lws_tls_mbedtls_time_to_unix() 60 t.tm_hour = xtime->MBEDTLS_PRIVATE(hour); in lws_tls_mbedtls_time_to_unix() 61 t.tm_min = xtime->MBEDTLS_PRIVATE(min); in lws_tls_mbedtls_time_to_unix() 62 t.tm_sec = xtime->MBEDTLS_PRIVATE(sec); in lws_tls_mbedtls_time_to_unix()
|
/third_party/e2fsprogs/tests/f_pre_1970_date_encoding/ |
D | script | 17 for xtime in atime ctime mtime crtime; do 18 echo "set_inode_field $name $xtime @$time" 19 echo "set_inode_field $name ${xtime}_extra $extra" 47 # confirm that the xtime is wrong on the pre-1970 file
|
/third_party/boost/libs/thread/example/ |
D | Jamfile.v2 | 22 exe xtime : xtime.cpp ;
|
D | starvephil.cpp | 54 boost::xtime xt; in put() 89 boost::xtime xt; in chef() 115 boost::xtime xt; in run()
|
D | xtime.cpp | 14 boost::xtime xt; in main()
|
D | thread.cpp | 18 boost::xtime xt; in operator ()()
|
D | tennis.cpp | 108 boost::xtime xt; in main()
|
/third_party/boost/libs/spirit/classic/test/ |
D | owi_mt_tests.cpp | 61 boost::xtime start_time; 90 boost::xtime now; in increase_test_size() 92 boost::xtime::xtime_sec_t seconds = now.sec - start_time.sec; in increase_test_size()
|
D | grammar_mt_tests.cpp | 74 boost::xtime xt; in milli_sleep()
|
/third_party/boost/boost/thread/win32/ |
D | condition_variable.hpp | 364 bool timed_wait(unique_lock<mutex>& m,boost::xtime const& abs_time) in timed_wait() 401 bool timed_wait(unique_lock<mutex>& m,boost::xtime const& abs_time,predicate_type pred) in timed_wait() 563 bool timed_wait(lock_type& m,boost::xtime const& abs_time) in timed_wait() 602 bool timed_wait(lock_type& m,boost::xtime const& abs_time,predicate_type pred) in timed_wait()
|
D | basic_timed_mutex.hpp | 211 bool timed_lock(boost::xtime const& timeout) in timed_lock()
|
/third_party/boost/boost/thread/pthread/ |
D | condition_variable_fwd.hpp | 124 ::boost::xtime const& abs_time) in timed_wait() 190 ::boost::xtime const& abs_time,predicate_type pred) in timed_wait()
|
D | condition_variable.hpp | 246 bool timed_wait(lock_type& m,::boost::xtime const& abs_time) in timed_wait() 306 bool timed_wait(lock_type& m,::boost::xtime const& abs_time, predicate_type pred) in timed_wait()
|
D | mutex.hpp | 162 bool timed_lock(boost::xtime const & absolute_time) in timed_lock()
|
/third_party/e2fsprogs/misc/ |
D | fuse2fs.c | 397 #define EXT4_INODE_SET_XTIME(xtime, timespec, raw_inode) \ argument 399 (raw_inode)->xtime = (timespec)->tv_sec; \ 400 if (EXT4_FITS_IN_INODE(raw_inode, xtime ## _extra)) \ 401 (raw_inode)->xtime ## _extra = \ 405 #define EXT4_EINODE_SET_XTIME(xtime, timespec, raw_inode) \ argument 407 if (EXT4_FITS_IN_INODE(raw_inode, xtime)) \ 408 (raw_inode)->xtime = (timespec)->tv_sec; \ 409 if (EXT4_FITS_IN_INODE(raw_inode, xtime ## _extra)) \ 410 (raw_inode)->xtime ## _extra = \ 414 #define EXT4_INODE_GET_XTIME(xtime, timespec, raw_inode) \ argument [all …]
|
/third_party/e2fsprogs/debugfs/ |
D | util.c | 194 char *inode_time_to_string(__u32 xtime, __u32 xtime_extra) in inode_time_to_string() argument 196 __s64 t = (__s32) xtime; in inode_time_to_string()
|
/third_party/boost/libs/chrono/doc/ |
D | chrono.qbk | 1704 [section xtime Conversions] 1724 To demonstrate interaction with an xtime-like facility: 1727 struct xtime 1734 xtime 1737 xtime xt; 1744 xtime 1747 xtime xt; 1754 from_xtime(xtime xt) 1759 void print(xtime xt) 1766 xtime xt = to_xtime_truncate(seconds(3) + boost::chrono::__milliseconds(251)); [all …]
|