Home
last modified time | relevance | path

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

/titanic_44/usr/src/ucblib/librpcsoc/
H A Drtime.c84 uint_t thetime; local
101 res = _sendto(s, (char *)&thetime, sizeof (thetime), 0,
121 res = _recvfrom(s, (char *)&thetime, sizeof (thetime), 0,
133 res = read(s, (char *)&thetime, sizeof (thetime));
139 if (res != sizeof (thetime)) {
143 thetime = ntohl(thetime);
145 thetime = thetime - TOFFSET;
147 if (thetime > INT32_MAX)
148 thetime = INT32_MAX;
150 timep->tv_sec = thetime;
/titanic_44/usr/src/lib/libnsl/rpc/
H A Drtime_tli.c73 uint32_t thetime; in rtime_tli() local
108 tu_data.udata.buf = (char *)&thetime; in rtime_tli()
109 tu_data.udata.len = (uint_t)sizeof (thetime); in rtime_tli()
142 if (t_rcv(fd, (char *)&thetime, (uint_t)sizeof (thetime), &flag) in rtime_tli()
143 != (uint_t)sizeof (thetime)) { in rtime_tli()
150 thetime = ntohl(thetime); in rtime_tli()
151 timep->tv_sec = thetime - TOFFSET; in rtime_tli()
H A Dauth_time.c198 uint_t thetime; in __rpc_get_time_offset() local
415 xdr_u_int, (char *)&thetime, tv); in __rpc_get_time_offset()
529 tu_data.udata.buf = (char *)&thetime; in __rpc_get_time_offset()
530 tu_data.udata.len = (uint_t)sizeof (thetime); in __rpc_get_time_offset()
573 if (t_rcv(rtime_fd, (char *)&thetime, in __rpc_get_time_offset()
574 (uint_t)sizeof (thetime), &flag) != in __rpc_get_time_offset()
575 (uint_t)sizeof (thetime)) { in __rpc_get_time_offset()
588 thetime = ntohl(thetime); in __rpc_get_time_offset()
590 thetime = thetime - TOFFSET; in __rpc_get_time_offset()
592 thetime = 0; in __rpc_get_time_offset()
[all …]
/titanic_44/usr/src/uts/common/rpc/sec/
H A Dauthdesubr.c83 time_t thetime; in rtime() local
207 thetime = (time_t)ntohl( in rtime()
313 thetime = (time_t)dummy; in rtime()
341 thetime = srvtime; in rtime()
357 thetime += TOFFSET; in rtime()
359 RPCLOG(8, "rtime: thetime = %lx\n", thetime); in rtime()
361 if (thetime < WRITTEN) { in rtime()
363 thetime); in rtime()
367 thetime -= TOFFSET; in rtime()
369 timep->tv_sec = thetime; in rtime()
/titanic_44/usr/src/lib/libnisdb/
H A Ddb_vers.cc165 char *thetime; in print() local
166 thetime = ctime((long *) (&(time_sec))); in print()
167 thetime[strlen(thetime)-1] = 0; in print()
174 thetime, in print()
/titanic_44/usr/src/cmd/cal/
H A Dcal.c75 static struct tm *thetime; variable
116 thetime = localtime(&timbuf); in main()
117 m = thetime->tm_mon + 1; in main()
118 y = thetime->tm_year + 1900; in main()
/titanic_44/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()
/titanic_44/usr/src/cmd/svr4pkg/pkgadm/
H A Dlock.c2072 time_t thetime; in _getUniqueId() local
2107 thetime = time((time_t *)NULL); in _getUniqueId()
2108 (void) localtime_r(&thetime, &tstruct); in _getUniqueId()