Home
last modified time | relevance | path

Searched refs:thetime (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/ucblib/librpcsoc/
H A Drtime.c82 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 Drtime_tli.c71 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 Dauth_time.c196 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 Dauthdesubr.c84 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 Ddb_vers.cc163 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 Dcal.c73 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 Dzones.c830 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 Dlock.c2055 time_t thetime; in _getUniqueId() local
2067 thetime = time((time_t *)NULL); in _getUniqueId()
2068 (void) localtime_r(&thetime, &tstruct); in _getUniqueId()