/illumos-gate/usr/src/ucblib/librpcsoc/ |
H A D | rtime.c | 74 rtime(addrp, timep, timeout) in rtime() argument 76 struct timeval *timep; 148 timep->tv_sec = thetime; 149 timep->tv_usec = 0;
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | auth_des.c | 429 struct timeval *timep) in synchronize() argument 436 if (rtime(synconfig, syncaddr, calltype, timep, &timout) < 0) in synchronize() 439 timep->tv_sec -= mytime.tv_sec; in synchronize() 440 if (mytime.tv_usec > timep->tv_usec) { in synchronize() 441 timep->tv_sec -= 1; in synchronize() 442 timep->tv_usec += MILLION; in synchronize() 444 timep->tv_usec -= mytime.tv_usec; in synchronize()
|
H A D | authdesubr.c | 80 struct timeval *timep, struct timeval *wait) in rtime() argument 370 timep->tv_sec = thetime; in rtime() 371 RPCLOG(8, "rtime: timep->tv_sec = %lx\n", timep->tv_sec); in rtime() 373 timep->tv_usec = 0; in rtime()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | rtime_tli.c | 69 rtime_tli(char *host, struct timeval *timep, struct timeval *timeout) in rtime_tli() argument 149 timep->tv_sec = thetime - TOFFSET; in rtime_tli() 150 timep->tv_usec = 0; in rtime_tli()
|
H A D | rpcb_clnt.c | 1221 rpcb_gettime(const char *host, time_t *timep) in rpcb_gettime() argument 1230 (void) time(timep); in rpcb_gettime() 1255 (xdrproc_t)xdr_time_t, (char *)timep, tottimeout); in rpcb_gettime() 1265 (xdrproc_t)xdr_time_t, (char *)timep, in rpcb_gettime()
|
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_vss.c | 156 uint64_t *timep; in smbd_vss_get_snapshots() local 204 timep = vss_uint64_date.gd_gmt_array; in smbd_vss_get_snapshots() 210 smbd_vss_time2gmttoken(*timep, *gmttokenp); in smbd_vss_get_snapshots() 214 timep++; in smbd_vss_get_snapshots()
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | tputcfent.c | 50 struct tm *timep; in tputcfent() local 150 timep = localtime(&(ept->cinfo.modtime)); in tputcfent() 153 timep); in tputcfent()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.comsat.c | 279 time_t timep[2]; in notify() local 388 timep[0] = stb.st_atime; in notify() 389 timep[1] = stb.st_mtime; in notify() 391 utime(name, timep); in notify()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/umount/ |
H A D | umount.c | 246 static struct timeval *timep; in inform_server() local 296 timep = (quick ? &create_timeout : NULL); in inform_server() 298 "datagram_n", timep); in inform_server()
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | pkgops.c | 358 struct tm *timep; in pkgRemovePackageFromGzonlyList() local 435 timep = localtime(&clock); in pkgRemovePackageFromGzonlyList() 437 (void) strftime(timeb, sizeof (timeb), "%c\n", timep); in pkgRemovePackageFromGzonlyList() 547 struct tm *timep; in pkgAddPackageToGzonlyList() local 628 timep = localtime(&clock); in pkgAddPackageToGzonlyList() 630 (void) strftime(timeb, sizeof (timeb), "%c\n", timep); in pkgAddPackageToGzonlyList()
|
H A D | ocfile.c | 450 struct tm *timep; in swapcfile() local 507 timep = localtime(&clock); in swapcfile() 509 (void) strftime(timeb, sizeof (timeb), "%c\n", timep); in swapcfile()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | localtime.c | 482 gmtime_r(const time_t *timep, struct tm *p_tm) in gmtime_r() argument 484 return (offtime_u((time_t)*timep, 0L, p_tm)); in gmtime_r() 500 gmtime(const time_t *timep) in gmtime() argument 506 return (gmtime_r(timep, p_tm)); in gmtime() 623 localtime_r(const time_t *timep, struct tm *p_tm) in localtime_r() argument 631 unused = ltzset_u(*timep); in localtime_r() 636 return (offtime_u(*timep, 0L, p_tm)); in localtime_r() 643 rt = offtime_u(*timep, offset, p_tm); in localtime_r() 666 localtime(const time_t *timep) in localtime() argument 672 return (localtime_r(timep, p_tm)); in localtime()
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | dirs.c | 43 time_t timep[2]; member 741 utime(cp, (struct utimbuf *)node.timep); in setdirmodes() 861 node.timep[0] = dip->di_atime; in allocinotab() 862 node.timep[1] = dip->di_mtime; in allocinotab()
|
H A D | tape.c | 748 time_t timep[2]; in extractfile() local 760 timep[0] = (time_t)curfile.dip->di_atime; in extractfile() 761 timep[1] = (time_t)curfile.dip->di_mtime; in extractfile() 908 if (utime(rname, (struct utimbuf *)timep) < 0 && in extractfile() 989 if (utime(rname, (struct utimbuf *)timep) < 0 && in extractfile()
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_vnops.c | 711 timestruc_t now, *timep; in pcfs_setattr() local 797 timep = &vap->va_mtime; in pcfs_setattr() 800 timep = &now; in pcfs_setattr() 803 timep->tv_sec > INT32_MAX) { in pcfs_setattr() 807 error = pc_tvtopct(timep, &pcp->pc_entry.pcd_mtime); in pcfs_setattr() 825 timep = &vap->va_atime; in pcfs_setattr() 828 timep = &now; in pcfs_setattr() 831 timep->tv_sec > INT32_MAX) { in pcfs_setattr() 835 error = pc_tvtopct(timep, &atime); in pcfs_setattr()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/edquota/ |
H A D | edquota.c | 636 unfmttime(double value, char *units, uint32_t *timep) in unfmttime() argument 641 *timep = 0; in unfmttime() 651 *timep = (ulong_t)(value * cunits[i].c_secs); in unfmttime()
|
/illumos-gate/usr/src/cmd/compress/ |
H A D | compress.c | 1584 struct utimbuf timep; in copystat() local 1678 timep.actime = ifstat->st_atime; in copystat() 1679 timep.modtime = ifstat->st_mtime; in copystat() 1681 (void) utime(ofname, &timep); in copystat()
|
/illumos-gate/usr/src/cmd/zic/ |
H A D | zic.c | 132 const char *dayp, const char *timep); 1265 rulesub(rp, loyearp, hiyearp, typep, monthp, dayp, timep) in rulesub() argument 1272 const char * const timep; 1286 dp = ecpyalloc(timep);
|