| /onnv/onnv-gate/usr/src/lib/libc/port/gen/ |
| poll.c | 39 timespec_t ts; local 45 ts.tv_sec = timeout / MILLISEC; 46 ts.tv_nsec = (timeout % MILLISEC) * MICROSEC; 47 tsp = &ts;
|
| select.c | 287 timespec_t ts; local 305 ts.tv_sec = tv->tv_sec; 306 ts.tv_nsec = tv->tv_usec * 1000; 307 if (ts.tv_nsec != 0 && ts.tv_nsec < 500000) 308 ts.tv_nsec = 500000; 309 tsp = &ts;
|
| select_large_fdset.c | 339 timespec_t ts; local 357 ts.tv_sec = tv->tv_sec; 358 ts.tv_nsec = tv->tv_usec * 1000; 359 if (ts.tv_nsec != 0 && ts.tv_nsec < 500000) 360 ts.tv_nsec = 500000; 361 tsp = &ts;
|
| /onnv/onnv-gate/usr/src/uts/common/syscall/ |
| time.c | 53 timestruc_t ts; local 61 ts.tv_sec = time; 62 ts.tv_nsec = 0; 64 tod_set(ts); 65 set_hrestime(&ts);
|
| /onnv/onnv-gate/usr/src/cmd/dtrace/test/tst/common/proc/ |
| tst.sigwait.c | 40 struct itimerspec ts; local 58 ts.it_value.tv_sec = 1; 59 ts.it_value.tv_nsec = 0; 60 ts.it_interval.tv_sec = 0; 61 ts.it_interval.tv_nsec = NANOSEC / 2; 63 if (timer_settime(tid, TIMER_RELTIME, &ts, NULL) == -1) {
|
| /onnv/onnv-gate/usr/src/common/openssl/crypto/asn1/ |
| a_time.c | 103 struct tm *ts; local 106 ts=OPENSSL_gmtime(&t,&data); 107 if (ts == NULL) 112 if((ts->tm_year >= 50) && (ts->tm_year < 150))
|
| a_gentm.c | 210 struct tm *ts; local 219 ts=OPENSSL_gmtime(&t, &data); 220 if (ts == NULL) 238 BIO_snprintf(p,len,"%04d%02d%02d%02d%02d%02dZ",ts->tm_year + 1900, 239 ts->tm_mon+1,ts->tm_mday,ts->tm_hour,ts->tm_min,ts->tm_sec);
|
| a_utctm.c | 190 struct tm *ts; local 199 ts=OPENSSL_gmtime(&t, &data); 200 if (ts == NULL) 217 BIO_snprintf(p,len,"%02d%02d%02d%02d%02d%02dZ",ts->tm_year%100, 218 ts->tm_mon+1,ts->tm_mday,ts->tm_hour,ts->tm_min,ts->tm_sec);
|
| /onnv/onnv-gate/usr/src/lib/brand/lx/lx_brand/common/ |
| clock.c | 52 struct timespec ts; local 57 if (clock_gettime(ltos_clock[clock], &ts) < 0) 60 return ((uucopy(&ts, tp, sizeof (struct timespec)) < 0) ? -EFAULT : 0); 66 struct timespec ts; local 71 if (uucopy(tp, &ts, sizeof (struct timespec)) < 0) 74 return ((clock_settime(ltos_clock[clock], &ts) < 0) ? -errno : 0); 80 struct timespec ts; local 85 if (clock_getres(ltos_clock[clock], &ts) < 0) 88 return ((uucopy(&ts, tp, sizeof (struct timespec)) < 0) ? -EFAULT : 0);
|
| /onnv/onnv-gate/usr/src/lib/libc/port/sys/ |
| utimesys.c | 52 timespec_t ts[2]; local 61 ts[0].tv_sec = ltimes.actime; 62 ts[0].tv_nsec = 0; 63 ts[1].tv_sec = ltimes.modtime; 64 ts[1].tv_nsec = 0; 65 tsp = ts; 74 timespec_t ts[2]; local 83 ts[0].tv_sec = ltimes[0].tv_sec; 84 ts[0].tv_nsec = ltimes[0].tv_usec * 1000; 85 ts[1].tv_sec = ltimes[1].tv_sec 97 timespec_t ts[2]; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libast/common/tm/ |
| tmxduration.c | 38 Time_t ts; local 58 ts = tmxdate(t, &x, now); 62 ns = ts - now; 68 ts = tmxdate(t, &x, now); 72 ns = ts - now;
|
| tmxtime.c | 56 Tm_t ts; local 58 ts = *tm; 60 tm = &ts;
|
| tvtouch.c | 89 struct timespec ts[2]; local 94 ts[0].tv_sec = 0; 95 ts[0].tv_nsec = UTIME_NOW; 99 ts[0].tv_sec = 0; 100 ts[0].tv_nsec = UTIME_OMIT; 104 ts[0].tv_sec = av->tv_sec; 105 ts[0].tv_nsec = NS(av->tv_nsec); 109 ts[1].tv_sec = 0; 110 ts[1].tv_nsec = UTIME_NOW; 114 ts[1].tv_sec = 0 [all...] |
| tmxmake.c | 137 static Tm_t ts; local 139 return tmxtm(&ts, t, NiL);
|
| /onnv/onnv-gate/usr/src/cmd/fps/fptest/ |
| util.c | 59 time_t ts; local 74 (void) time(&ts); 75 (void) localtime_r(&ts, &tms);
|
| /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/genunix/ |
| tsd.c | 84 struct tsd_thread tsdata, *ts = &tsdata; local 107 if (mdb_vread(ts, sizeof (*ts), (uintptr_t)t->t_tsd) == -1) { 112 if (key > ts->ts_nkeys) { 117 eladdr = (uintptr_t)(ts->ts_value + key - 1);
|
| /onnv/onnv-gate/usr/src/lib/libtsol/common/ |
| call_labeld.c | 99 struct timespec ts; local 115 ts.tv_sec = 0; /* initialize nanosecond retry timer */ 116 ts.tv_nsec = 100; 267 if ((ts.tv_nsec *= 10) >= NANOSEC) { 268 ts.tv_sec++; 269 ts.tv_nsec = 100; 271 (void) nanosleep(&ts, NULL);
|
| /onnv/onnv-gate/usr/src/lib/libuuid/common/ |
| uuid_misc.h | 67 uuid_time_t ts; /* saved timestamp */ member in struct:__anon4300
|
| /onnv/onnv-gate/usr/src/uts/i86pc/io/ |
| hardclk.c | 57 tod_set(timestruc_t ts) 65 TODOP_SET(tod_ops, ts); 76 timestruc_t ts; local 80 ts = TODOP_GET(tod_ops); 81 ts.tv_sec = tod_validate(ts.tv_sec); 82 return (ts); 128 timestruc_t ts; local 131 ts = TODOP_GET(tod_ops); 132 set_hrestime(&ts); [all...] |
| /onnv/onnv-gate/usr/src/uts/i86xpv/io/ |
| xpvtod.c | 49 timestruc_t ts, wcts; local 77 ts.tv_sec = (time_t)(now / NANOSEC); 78 ts.tv_nsec = (long)(now % NANOSEC); 83 ts.tv_sec += ggmtl(); 88 tod = utc_to_tod(ts.tv_sec); 111 ts.tv_sec = tod_to_utc(tod); 114 return (ts); 125 todxen_set(tod_ops_t *top, timestruc_t ts) 131 TODOP_SET(top->tod_next, ts); 135 op.u.settime.secs = ts.tv_sec - ggmtl() [all...] |
| /onnv/onnv-gate/usr/src/uts/sun4u/io/ |
| todstarfire.c | 124 timestruc_t ts; local 129 ts = hrestime; 134 return (ts); 143 todsf_set(timestruc_t ts) 175 todsf_set_power_alarm(timestruc_t ts)
|
| todmostek.c | 121 timestruc_t ts; local 148 ts.tv_sec = tod_to_utc(tod); 149 ts.tv_nsec = 0; 150 return (ts); 159 todm_set(timestruc_t ts) 161 todinfo_t tod = utc_to_tod(ts.tv_sec); 220 todm_set_power_alarm(timestruc_t ts) 226 tod = utc_to_tod(ts.tv_sec);
|
| /onnv/onnv-gate/usr/src/cmd/truss/ |
| xstat.c | 75 timestruc_t ts; local 99 ts.tv_nsec = 0; 100 ts.tv_sec = statb.st_atim; 101 prtimestruc(pri, "at = ", &ts); 102 ts.tv_sec = statb.st_atim; 103 prtimestruc(pri, "mt = ", &ts); 104 ts.tv_sec = statb.st_atim; 105 prtimestruc(pri, "ct = ", &ts); 175 timestruc_t ts; local 199 TIMESPEC32_TO_TIMESPEC(&ts, &statb.st_atim) 220 timestruc_t ts; local [all...] |
| /onnv/onnv-gate/usr/src/common/openssl/crypto/ |
| o_time.c | 74 struct tm *ts = NULL; local 80 ts = result; 82 ts = gmtime(timer); 83 if (ts == NULL) 86 memcpy(result, ts, sizeof(struct tm)); 87 ts = result; 90 if (ts == NULL) 212 ts = result; 216 return ts;
|
| /onnv/onnv-gate/usr/src/uts/sun4/io/ |
| tod.c | 293 timestruc_t ts; local 315 if (ddi_copyin((caddr_t)arg, (caddr_t)&ts.tv_sec, 316 sizeof (ts.tv_sec), mode) != 0) { 328 ts.tv_sec = (time_t)time32; 330 ts.tv_nsec = 0; 333 tod_ops.tod_set_power_alarm(ts); 339 ts = tod_ops.tod_get(); 343 if (ddi_copyout((caddr_t)&ts.tv_sec, (caddr_t)arg, 344 sizeof (ts.tv_sec), mode) != 0) { 351 if (TIMEVAL_OVERFLOW(&ts)) { [all...] |