Searched refs:thetime (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/ucblib/librpcsoc/ |
H A D | rtime.c | 82 uint_t thetime; local 99 res = _sendto(s, (char *)&thetime, sizeof (thetime), 0, 119 res = _recvfrom(s, (char *)&thetime, sizeof (thetime), 0, 131 res = read(s, (char *)&thetime, sizeof (thetime)); 137 if (res != sizeof (thetime)) { 141 thetime = ntohl(thetime); 143 thetime = thetime - TOFFSET; 145 if (thetime > INT32_MAX) 146 thetime = INT32_MAX; 148 timep->tv_sec = thetime;
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | rtime_tli.c | 71 uint32_t thetime; in rtime_tli() local 106 tu_data.udata.buf = (char *)&thetime; in rtime_tli() 107 tu_data.udata.len = (uint_t)sizeof (thetime); in rtime_tli() 140 if (t_rcv(fd, (char *)&thetime, (uint_t)sizeof (thetime), &flag) in rtime_tli() 141 != (uint_t)sizeof (thetime)) { in rtime_tli() 148 thetime = ntohl(thetime); in rtime_tli() 149 timep->tv_sec = thetime - TOFFSET; in rtime_tli()
|
H A D | auth_time.c | 196 uint_t thetime; in __rpc_get_time_offset() local 413 xdr_u_int, (char *)&thetime, tv); in __rpc_get_time_offset() 527 tu_data.udata.buf = (char *)&thetime; in __rpc_get_time_offset() 571 if (t_rcv(rtime_fd, (char *)&thetime, in __rpc_get_time_offset() 572 (uint_t)sizeof (thetime), &flag) != in __rpc_get_time_offset() 573 (uint_t)sizeof (thetime)) { in __rpc_get_time_offset() 586 thetime = ntohl(thetime); in __rpc_get_time_offset() 588 thetime = thetime - TOFFSET; in __rpc_get_time_offset() 590 thetime = 0; in __rpc_get_time_offset() 644 delta = (thetime > tv.tv_sec) ? thetime - tv.tv_sec : in __rpc_get_time_offset() [all …]
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | authdesubr.c | 84 time_t thetime; in rtime() local 208 thetime = (time_t)ntohl( in rtime() 314 thetime = (time_t)dummy; in rtime() 342 thetime = srvtime; in rtime() 358 thetime += TOFFSET; in rtime() 360 RPCLOG(8, "rtime: thetime = %lx\n", thetime); in rtime() 362 if (thetime < WRITTEN) { in rtime() 364 thetime); in rtime() 368 thetime -= TOFFSET; in rtime() 370 timep->tv_sec = thetime; in rtime()
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_vers.cc | 163 char *thetime; in print() local 164 thetime = ctime((long *) (&(time_sec))); in print() 165 thetime[strlen(thetime)-1] = 0; in print() 172 thetime, in print()
|
/illumos-gate/usr/src/cmd/cal/ |
H A D | cal.c | 73 static struct tm *thetime; variable 114 thetime = localtime(&timbuf); in main() 115 m = thetime->tm_mon + 1; in main() 116 y = thetime->tm_year + 1900; in main()
|
/illumos-gate/usr/src/lib/libinstzones/common/ |
H A D | zones.c | 830 time_t thetime; in z_mount_in_lz() local 918 thetime = time((time_t *)NULL); in z_mount_in_lz() 919 (void) localtime_r(&thetime, &tstruct); in z_mount_in_lz()
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/ |
H A D | lock.c | 2055 time_t thetime; in _getUniqueId() local 2067 thetime = time((time_t *)NULL); in _getUniqueId() 2068 (void) localtime_r(&thetime, &tstruct); in _getUniqueId()
|