Searched refs:NS_PER_S (Results 1 – 2 of 2) sorted by relevance
38 #define NS_PER_S 1000000000 /*%< Nanoseconds per second. */ macro91 REQUIRE(nanoseconds < NS_PER_S); in isc_interval_set()100 INSIST(i->nanoseconds < NS_PER_S); in isc_interval_iszero()119 REQUIRE(nanoseconds < NS_PER_S); in isc_time_set()136 INSIST(t->nanoseconds < NS_PER_S); in isc_time_isepoch()194 INSIST(i->nanoseconds < NS_PER_S); in isc_time_nowplusinterval()230 if (t->nanoseconds >= NS_PER_S) { in isc_time_nowplusinterval()232 t->nanoseconds -= NS_PER_S; in isc_time_nowplusinterval()241 INSIST(t1->nanoseconds < NS_PER_S && t2->nanoseconds < NS_PER_S); in isc_time_compare()258 INSIST(t->nanoseconds < NS_PER_S && i->nanoseconds < NS_PER_S); in isc_time_add()[all …]
41 #define NS_PER_S 1000000000 macro43 #define INTERVALS_PER_S (NS_PER_S / NS_INTERVAL)65 REQUIRE(nanoseconds < NS_PER_S); in isc_interval_set()90 REQUIRE(nanoseconds < NS_PER_S); in isc_time_set()