| /onnv/onnv-gate/usr/src/lib/libbc/libc/compat/common/ |
| utime.c | 51 struct timeval tv[2]; local 56 tv[0].tv_sec = (long)otv[0]; 57 tv[0].tv_usec = 0; 58 tv[1].tv_sec = (long)otv[1]; 59 tv[1].tv_usec = 0; 61 return (utimes(name, tv));
|
| /onnv/onnv-gate/usr/src/lib/libast/common/tm/ |
| tmsleep.c | 32 #include <tv.h> 37 Tv_t tv; local 39 tv.tv_sec = sec; 40 tv.tv_nsec = nsec; 41 return tvsleep(&tv, NiL);
|
| tmxgettime.c | 31 #include <tv.h> 40 Tv_t tv; local 42 tvgettime(&tv); 43 return tmxsns(tv.tv_sec, tv.tv_nsec);
|
| tmxsettime.c | 31 #include <tv.h> 40 Tv_t tv; local 42 tv.tv_sec = tmxsec(t); 43 tv.tv_nsec = tmxnsec(t); 44 return tvsettime(&tv);
|
| tmxsleep.c | 31 #include <tv.h> 36 Tv_t tv; local 38 tv.tv_sec = tmxsec(t); 39 tv.tv_nsec = tmxnsec(t); 40 return tvsleep(&tv, NiL);
|
| /onnv/onnv-gate/usr/src/lib/lvm/libmeta/common/ |
| meta_time.c | 40 struct timeval tv; local 46 if ((retval = gettimeofday(&tv, NULL)) == 0) { 47 tv32->tv_sec = (time32_t)tv.tv_sec; 48 tv32->tv_usec = (int32_t)tv.tv_usec;
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/in.timed/ |
| in.timed.c | 53 struct timeval tv; local 55 if (gettimeofday(&tv, NULL) < 0) { 59 return ((uint32_t)htonl(tv.tv_sec + 2208988800U));
|
| /onnv/onnv-gate/usr/src/uts/common/syscall/ |
| lwp_info.c | 50 timestruc_t tv[2]; local 60 hrt2ts(hrutime, &tv[0]); 61 hrt2ts(hrstime, &tv[1]); 64 if (copyout(tv, tvp, sizeof (tv))) 69 if (TIMESPEC_OVERFLOW(&tv[0]) || 70 TIMESPEC_OVERFLOW(&tv[1])) 73 TIMESPEC_TO_TIMESPEC32(&tv32[0], &tv[0]); 74 TIMESPEC_TO_TIMESPEC32(&tv32[1], &tv[1]);
|
| utime.c | 125 struct timeval tv[2]; local 129 if (copyin(tvptr, tv, sizeof (tv))) 137 TIMEVAL32_TO_TIMEVAL(&tv[0], &tv32[0]); 138 TIMEVAL32_TO_TIMEVAL(&tv[1], &tv32[1]); 141 if (tv[0].tv_usec < 0 || tv[0].tv_usec >= MICROSEC || 142 tv[1].tv_usec < 0 || tv[1].tv_usec >= MICROSEC) 145 vattr->va_atime.tv_sec = tv[0].tv_sec 246 time_t tv[2]; local [all...] |
| /onnv/onnv-gate/usr/src/lib/brand/lx/lx_brand/common/ |
| time.c | 139 struct timeval tv; local 143 (void) gettimeofday(&tv, NULL); 146 (uucopy(&tv, (struct timeval *)p1, sizeof (tv)) < 0)) 164 struct timeval tv; local 168 (uucopy((struct timeval *)p1, &tv, sizeof (tv)) < 0)) 180 if ((p1 != NULL) && (settimeofday(&tv, NULL) < 0))
|
| poll_select.c | 49 struct timeval *tv); 59 struct timeval tv, *tvp = NULL; local 91 tvp = &tv; 92 if (uucopy((void *)p5, &tv, sizeof (tv)) != 0) 113 tv_total = (tv.tv_sec * MICROSEC) + tv.tv_usec; 116 tv.tv_sec = 0; 117 tv.tv_usec = 0; 119 tv.tv_sec = tv_total / MICROSEC [all...] |
| /onnv/onnv-gate/usr/src/lib/libcurses/screen/ |
| chkinput.c | 89 struct timeval tv; local 93 tv.tv_sec = tv.t_usec = 0; 94 n = select(20, &ifds, &ofds, &efds, &tv);
|
| /onnv/onnv-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/ |
| c_ustime.c | 70 struct timeval tv; local 75 tv.tv_sec = now.tv_sec; 76 tv.tv_usec = now.tv_nsec / (NANOSEC / MICROSEC); 78 if (gettimeofday(&tv, (struct timezone *)0) == -1) 82 n->sec = tv.tv_sec; 83 n->usec = tv.tv_usec;
|
| /onnv/onnv-gate/usr/src/lib/libresolv2/common/bsd/ |
| writev.c | 43 struct iovec *tv; local 46 for (i = 0, tv = iov; i <= iovlen; tv++) { 47 rcode = write(fd, tv->iov_base, tv->iov_len);
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
| traceroute.h | 78 struct timeval tv; /* time packet left */ member in struct:outdata
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/ |
| eloop.c | 241 struct timeval tv, now; local 249 timersub(&eloop.timeout->time, &now, &tv); 251 tv.tv_sec = tv.tv_usec = 0; 255 default_t : (tv.tv_sec * 1000 + tv.tv_usec / 1000));
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/ |
| in.talkd.c | 76 struct timeval tv; local 81 tv.tv_sec = MAX_LIFE; 82 tv.tv_usec = 0; 85 if (select(1, &rfds, 0, 0, &tv) <= 0)
|
| /onnv/onnv-gate/usr/src/cmd/tip/aculib/ |
| ventel.c | 198 struct timeval tv = {0, 500000}; local 200 (void) select(0, 0, 0, 0, &tv);
|
| /onnv/onnv-gate/usr/src/cmd/wbem/provider/tools/rds/ |
| rdlist.c | 47 time_t tv; local 69 (void) time(&tv); 70 tstr = ctime(&tv); 77 if (wr_value(LTDB_TIMESTAMP, tv) == -1) 121 time_t tv; local 149 (void) time(&tv); 150 if ((tv - timestamp) > LTDB_DECAYTIME)
|
| /onnv/onnv-gate/usr/src/lib/crypt_modules/bsdbf/ |
| arc4random.c | 94 struct timeval tv; member in struct:__anon2781 98 (void) gettimeofday(&rdat.tv, NULL);
|
| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_dh/dh_common/ |
| generic_key.c | 61 struct timeval tv; local 63 (void) gettimeofday(&tv, (struct timezone *)NULL); 64 rseed = tv.tv_sec + tv.tv_usec;
|
| /onnv/onnv-gate/usr/src/lib/libdtrace/common/ |
| dt_work.c | 54 struct timespec tv; local 85 tv.tv_sec = (earliest - now) / NANOSEC; 86 tv.tv_nsec = (earliest - now) % NANOSEC; 89 * Wait for either 'tv' nanoseconds to pass or to receive notification 93 (void) pthread_cond_reltimedwait_np(&dph->dph_cv, &dph->dph_lock, &tv);
|
| /onnv/onnv-gate/usr/src/lib/libnsl/nis/cache/ |
| client_cache.cc | 290 struct timeval tv; local 326 tv.tv_sec = 60 * 60; /* 1 hour (approximately infinite) */ 327 tv.tv_usec = 0; 328 (void) clnt_control(mgr_clnt, CLSET_TIMEOUT, (char *)&tv);
|
| /onnv/onnv-gate/usr/src/uts/common/cpr/ |
| cpr_stat.c | 53 cpr_time_t tv; local 56 tv = *ctp; 59 cpr_tod_get(&tv); 73 cep->ce_sec.stime = cep->ce_sec.etime = tv.tv_sec; 75 cep->ce_msec.stime = cep->ce_msec.etime = tv.tv_nsec / 100000000; 84 cpr_time_t tv; local 87 tv = *ctp; 89 cpr_tod_get(&tv); 110 cep->ce_sec.etime = tv.tv_sec; 119 cep->ce_msec.etime = tv.tv_nsec / 100000000 [all...] |
| /onnv/onnv-gate/usr/src/cmd/mms/lm/common/ |
| lm_io.c | 258 timespec_t tv; local 299 timespec_t tv; local 303 tv.tv_sec = time(NULL) + LM_THREAD_WAIT; 304 tv.tv_nsec = 0; 305 tvp = &tv; 369 tv.tv_sec = time(NULL) + wait; 370 tv.tv_nsec = 0; 371 tvp = &tv; 391 tv.tv_sec = time(NULL) + LM_THREAD_WAIT; 392 tv.tv_nsec = 0 [all...] |