Searched refs:to_microseconds (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/kyua/utils/ |
H A D | datetime.cpp | 110 datetime::delta::to_microseconds(void) const in to_microseconds() function in datetime::delta 200 return delta::from_microseconds(to_microseconds() + in operator +() 201 other.to_microseconds()); in operator +() 226 return delta::from_microseconds(to_microseconds() * factor); in operator *() 252 return (output << object.to_microseconds() << "us"); in operator <<() 416 datetime::timestamp::to_microseconds(void) const in to_microseconds() function in datetime::timestamp 488 return to_microseconds() < other.to_microseconds(); in operator <() 501 return to_microseconds() <= other.to_microseconds(); in operator <=() 513 return to_microseconds() > other.to_microseconds(); in operator >() 526 return to_microseconds() >= other.to_microseconds(); in operator >=() [all …]
|
H A D | datetime_test.cpp | 108 ATF_REQUIRE_EQ(0, datetime::delta(0, 0).to_microseconds()); in ATF_TEST_CASE_BODY() 109 ATF_REQUIRE_EQ(999999, datetime::delta(0, 999999).to_microseconds()); in ATF_TEST_CASE_BODY() 110 ATF_REQUIRE_EQ(1000000, datetime::delta(1, 0).to_microseconds()); in ATF_TEST_CASE_BODY() 111 ATF_REQUIRE_EQ(10576293, datetime::delta(10, 576293).to_microseconds()); in ATF_TEST_CASE_BODY() 112 ATF_REQUIRE_EQ(11576293, datetime::delta(10, 1576293).to_microseconds()); in ATF_TEST_CASE_BODY() 287 ATF_REQUIRE_EQ(1328829351987654LL, ts.to_microseconds()); in ATF_TEST_CASE_BODY() 335 ATF_REQUIRE(first.to_microseconds() != second.to_microseconds()); in ATF_TEST_CASE_BODY() 371 ATF_REQUIRE_EQ(1291970750123456LL, ts1.to_microseconds()); in ATF_TEST_CASE_BODY()
|
H A D | datetime.hpp | 67 int64_t to_microseconds(void) const; 111 int64_t to_microseconds(void) const;
|
/freebsd/contrib/kyua/store/ |
H A D | schema_inttest.cpp | 168 ATF_REQUIRE_EQ(1357643611000000LL, iter.start_time().to_microseconds()); in check_action_2() 169 ATF_REQUIRE_EQ(1357643621000500LL, iter.end_time().to_microseconds()); in check_action_2() 178 ATF_REQUIRE_EQ(1357643632000000LL, iter.start_time().to_microseconds()); in check_action_2() 179 ATF_REQUIRE_EQ(1357643638000000LL, iter.end_time().to_microseconds()); in check_action_2() 188 ATF_REQUIRE_EQ(1357643622001200LL, iter.start_time().to_microseconds()); in check_action_2() 189 ATF_REQUIRE_EQ(1357643622900021LL, iter.end_time().to_microseconds()); in check_action_2() 198 ATF_REQUIRE_EQ(1357643623500000LL, iter.start_time().to_microseconds()); in check_action_2() 199 ATF_REQUIRE_EQ(1357643630981932LL, iter.end_time().to_microseconds()); in check_action_2() 208 ATF_REQUIRE_EQ(1357643631000000LL, iter.start_time().to_microseconds()); in check_action_2() 209 ATF_REQUIRE_EQ(1357643631020000LL, iter.end_time().to_microseconds()); in check_action_2() [all …]
|
H A D | dbtypes.cpp | 64 stmt.bind(field, static_cast< int64_t >(delta.to_microseconds())); in bind_delta() 132 stmt.bind(field, timestamp.to_microseconds()); in bind_timestamp()
|
H A D | layout.cpp | 116 const int when_ms = static_cast<int>(when.to_microseconds() % 1000000); in new_id()
|
H A D | write_backend_test.cpp | 63 ATF_REQUIRE(md.timestamp() <= after.to_microseconds()); in ATF_TEST_CASE_BODY()
|