/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | timespec_get.c | 24 timespec_get(struct timespec *ts, int base) argument 29 if (clock_gettime(CLOCK_REALTIME, ts) != 0)
|
H A D | poll.c | 44 timespec_t ts; local 50 ts.tv_sec = timeout / MILLISEC; 51 ts.tv_nsec = (timeout % MILLISEC) * MICROSEC; 52 tsp = &ts;
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | 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);
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | _border.c | 49 border(chtype ls, chtype rs, chtype ts, chtype bs, argument 52 return (wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br));
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/proc/ |
H A D | 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) {
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | stat.c | 66 timestruc_t ts; local 90 TIMESPEC32_TO_TIMESPEC(&ts, &statb.st_atim); 91 prtimestruc(pri, "at = ", &ts); 92 TIMESPEC32_TO_TIMESPEC(&ts, &statb.st_mtim); 93 prtimestruc(pri, "mt = ", &ts); 94 TIMESPEC32_TO_TIMESPEC(&ts, &statb.st_ctim); 95 prtimestruc(pri, "ct = ", &ts); 111 timestruc_t ts; local 135 TIMESPEC32_TO_TIMESPEC(&ts, &statb.st_atim); 136 prtimestruc(pri, "at = ", &ts); [all...] |
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | timespec_get.c | 44 struct timespec ts, pre, post; local 46 VERIFY0(timespec_get(&ts, TIME_UTC + 1)); 47 VERIFY0(timespec_get(&ts, TIME_UTC - 1)); 48 VERIFY0(timespec_get(&ts, UINT16_MAX)); 51 VERIFY3S(timespec_get(&ts, TIME_UTC), ==, TIME_UTC); 55 VERIFY3S(timespec_cmp(&pre, &ts), ==, 1); 56 VERIFY3S(timespec_cmp(&ts, &post), ==, 1);
|
/illumos-gate/usr/src/lib/libuuid/common/ |
H A D | uuid_misc.h | 67 uuid_time_t ts; /* saved timestamp */ member in struct:__anon4186
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | brdr.c | 49 border(chtype ls, chtype rs, chtype ts, chtype bs, argument 57 ls, rs, ts, bs, tl, tr, bl, br 61 code = wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br);
|
H A D | wbrdr.c | 54 chtype ls, chtype rs, chtype ts, chtype bs, 63 w, ls, rs, ts, bs, tl, tr, bl, br 75 if (ts == 0) 76 ts = ACS_HLINE; 77 (void) __m_acs_cc(ts, &wts); 53 wborder(WINDOW *w, chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br) argument
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | brdr.c | 52 border(chtype ls, chtype rs, chtype ts, chtype bs, argument 57 code = wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br);
|
H A D | brdr_st.c | 53 const cchar_t *ts, const cchar_t *bs, const cchar_t *tl, 58 code = wborder_set(stdscr, ls, rs, ts, bs, tl, tr, bl, br); 52 border_set(const cchar_t *ls, const cchar_t *rs, const cchar_t *ts, const cchar_t *bs, const cchar_t *tl, const cchar_t *tr, const cchar_t *bl, const cchar_t *br) argument
|
H A D | wbrdr_st.c | 57 const cchar_t *ts, const cchar_t *bs, const cchar_t *tl, 78 (void) whline_set(w, ts, w->_maxx-2); 56 wborder_set(WINDOW *w, const cchar_t *ls, const cchar_t *rs, const cchar_t *ts, const cchar_t *bs, const cchar_t *tl, const cchar_t *tr, const cchar_t *bl, const cchar_t *br) argument
|
H A D | wbrdr.c | 57 chtype ls, chtype rs, chtype ts, chtype bs, 71 if (ts == 0) 72 ts = ACS_HLINE; 73 (void) __m_acs_cc(ts, &wts); 56 wborder(WINDOW *w, chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br) argument
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | 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[ 97 timespec_t ts[2]; local [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/ext-event-transport/ |
H A D | fmevt_inbound_sunos.c | 49 struct tm ts; local 67 if (localtime_r(&panictime32, &ts) != NULL && 68 strftime(buf, sizeof (buf), "%c %Z", &ts) != 0)
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | hardclk.c | 57 tod_set(timestruc_t ts) argument 61 tod_set_prev(ts); /* for tod_validate() */ 62 TODOP_SET(tod_ops, ts); 74 timestruc_t ts; local 78 ts = TODOP_GET(tod_ops); 79 ts.tv_sec = tod_validate(ts.tv_sec); 80 return (ts); 126 timestruc_t ts; local 129 ts [all...] |
/illumos-gate/usr/src/lib/libast/common/tm/ |
H A D | tmxduration.c | 37 Time_t ts; local 57 ts = tmxdate(t, &x, now); 61 ns = ts - now; 67 ts = tmxdate(t, &x, now); 71 ns = ts - now;
|
H A D | tmxtime.c | 56 Tm_t ts; local 58 ts = *tm; 60 tm = &ts;
|
H A D | tmxmake.c | 137 static Tm_t ts; local 139 return tmxtm(&ts, t, NiL);
|
H A D | tvtouch.c | 96 struct timespec ts[2]; local 112 ts[0].tv_sec = 0; 113 ts[0].tv_nsec = UTIME_NOW; 117 ts[0].tv_sec = 0; 118 ts[0].tv_nsec = UTIME_OMIT; 122 ts[0].tv_sec = av->tv_sec; 123 ts[0].tv_nsec = NS(av->tv_nsec); 127 ts[1].tv_sec = 0; 128 ts[1].tv_nsec = UTIME_NOW; 132 ts[ [all...] |
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_syslog.c | 39 time_t ts; local 46 ts = time(NULL); 47 if (prev_ts != ts) { 48 prev_ts = ts; 51 ctime_r(&ts, cbuf, sizeof (cbuf)));
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | ssp.c | 126 hrtime_t ts[8]; member in union:__anon228 131 s.ts[i] = SSP_GET_TICK();
|
/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | call_labeld.c | 97 struct timespec ts; local 113 ts.tv_sec = 0; /* initialize nanosecond retry timer */ 114 ts.tv_nsec = 100; 265 if ((ts.tv_nsec *= 10) >= NANOSEC) { 266 ts.tv_sec++; 267 ts.tv_nsec = 100; 269 (void) nanosleep(&ts, NULL);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | tsd.c | 85 struct tsd_thread tsdata, *ts = &tsdata; local 104 if (mdb_vread(ts, sizeof (*ts), (uintptr_t)t->t_tsd) == -1) { 109 if (key > ts->ts_nkeys) 112 eladdr = (uintptr_t)(ts->ts_value + key - 1);
|