Lines Matching refs:now
72 timestruc_t now; in get_time_now() local
74 gethrestime(&now); in get_time_now()
75 tv.tv_sec = now.tv_sec; in get_time_now()
76 tv.tv_usec = now.tv_nsec / (NANOSEC / MICROSEC); in get_time_now()
94 struct time_now now; in krb5_crypto_us_timeofday() local
97 err = get_time_now(&now); in krb5_crypto_us_timeofday()
112 if ((now.sec == last_time.sec) && (now.usec <= last_time.usec)) { in krb5_crypto_us_timeofday()
114 now.usec = ++last_time.usec; in krb5_crypto_us_timeofday()
115 if (now.usec >= 1000000) { in krb5_crypto_us_timeofday()
116 ++now.sec; in krb5_crypto_us_timeofday()
117 now.usec = 0; in krb5_crypto_us_timeofday()
123 last_time.sec = now.sec; /* Remember for next time */ in krb5_crypto_us_timeofday()
124 last_time.usec = now.usec; in krb5_crypto_us_timeofday()
127 *seconds = now.sec; in krb5_crypto_us_timeofday()
128 *microseconds = now.usec; in krb5_crypto_us_timeofday()