Home
last modified time | relevance | path

Searched refs:time_now (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/lib/libuuid/common/
H A Duuid_misc.c78 uuid_time_t time_now; in get_current_time() local
85 get_system_time(&time_now); in get_current_time()
90 if (time_last != time_now) { in get_current_time()
106 time_last = time_now; in get_current_time()
110 *timestamp = time_now + uuids_this_tick; in get_current_time()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/
H A Dc_ustime.c41 struct time_now { krb5_int32 sec, usec; }; struct
53 get_time_now(struct time_now *n) in get_time_now()
68 get_time_now(struct time_now *n) in get_time_now()
89 static struct time_now last_time;
94 struct time_now now; in krb5_crypto_us_timeofday()
/illumos-gate/usr/src/stand/lib/sa/
H A Dtime.c76 time_t time_now; in time() local
78 time_now = start_time + ((prom_gettime() / 1000) - secs_since_boot); in time()
81 *tloc = time_now; in time()
86 return (time_now); in time()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dget_in_tkt.c131 krb5_timestamp time_now; in send_as_request2() local
143 if ((retval = krb5_timeofday(context, &time_now))) in send_as_request2()
145 request->nonce = (krb5_int32) time_now; in send_as_request2()
323 krb5_timestamp time_now, in verify_as_reply() argument
388 krb5_timestamp time_now, in stash_as_reply() argument
538 krb5_timestamp time_now; in krb5_get_in_tkt() local
682 request.nonce = (krb5_int32) time_now; in krb5_get_in_tkt()
1009 krb5_timestamp time_now; in krb5_get_init_creds() local
1233 if ((ret = krb5_timeofday(context, &time_now))) in krb5_get_init_creds()
1239 request.nonce = (krb5_int32) time_now; in krb5_get_init_creds()
[all …]
H A Dsend_tgs.c168 krb5_timestamp time_now; in krb5_send_tgs2() local
195 if ((retval = krb5_timeofday(context, &time_now))) in krb5_send_tgs2()
198 rep->expected_nonce = tgsreq.nonce = (krb5_int32) time_now; in krb5_send_tgs2()
199 rep->request_time = time_now; in krb5_send_tgs2()
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dnfs_cast.c655 struct timeval time_now; local
657 (void) gettimeofday(&time_now, (struct timezone *)0);
658 if (time_now.tv_usec < send_time->tv_usec) {
659 time_now.tv_sec--;
660 time_now.tv_usec += 1000000;
662 send_time->tv_sec = time_now.tv_sec - send_time->tv_sec;
663 send_time->tv_usec = time_now.tv_usec - send_time->tv_usec;
/illumos-gate/usr/src/cmd/ypcmd/
H A Dyppush.c702 int time_now; local
724 time_now = time(0);
730 if ((time_now - ps->start_time) <
744 if ((time_now - ps->start_time)
762 if ((time_now - ps->start_time)
/illumos-gate/usr/src/cmd/auditreduce/
H A Dauditrd.h104 time_t time_now; /* time the program began */ variable
H A Dauditrt.h242 extern time_t time_now; /* time program began */
H A Dmain.c899 time_now = tp.tv_sec; /* save for general use */ in init_options()
901 f_end = time_now; /* last record time default */ in init_options()
H A Dtime.c407 (void) memcpy((char *)&nowtime, (char *)gmtime(&time_now), in derive_date()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/chat/
H A Dchat.c1415 time_t time_now = time ((time_t*) NULL); local
1416 struct tm* tm_now = localtime (&time_now);