Searched refs:time_now (Results 1 – 12 of 12) sorted by relevance
| /illumos-gate/usr/src/lib/libuuid/common/ |
| H A D | uuid_misc.c | 78 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 D | c_ustime.c | 41 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 D | time.c | 76 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 D | get_in_tkt.c | 131 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 378 (labs(as_reply->enc_part2->times.starttime - time_now) in verify_as_reply() 388 krb5_timestamp time_now, in stash_as_reply() argument 538 krb5_timestamp time_now; in krb5_get_in_tkt() local 675 if ((retval = krb5_timeofday(context, &time_now))) in krb5_get_in_tkt() 682 request.nonce = (krb5_int32) time_now; in krb5_get_in_tkt() 730 if ((retval = verify_as_reply(context, time_now, &request, as_reply))) in krb5_get_in_tkt() [all …]
|
| H A D | send_tgs.c | 168 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 D | nfs_cast.c | 655 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 D | yppush.c | 702 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 D | auditrd.h | 104 time_t time_now; /* time the program began */ variable
|
| H A D | auditrt.h | 242 extern time_t time_now; /* time program began */
|
| H A D | main.c | 902 time_now = tp.tv_sec; /* save for general use */ in init_options() 904 f_end = time_now; /* last record time default */ in init_options()
|
| H A D | time.c | 407 (void) memcpy((char *)&nowtime, (char *)gmtime(&time_now), in derive_date()
|
| /illumos-gate/usr/src/cmd/cmd-inet/usr.bin/chat/ |
| H A D | chat.c | 1415 time_t time_now = time ((time_t*) NULL); local 1416 struct tm* tm_now = localtime (&time_now);
|