Searched defs:ts (Results 1 - 25 of 200) sorted by relevance

12345678

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dtimespec_get.c24 timespec_get(struct timespec *ts, int base) argument
29 if (clock_gettime(CLOCK_REALTIME, ts) != 0)
H A Dpoll.c44 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 Dtime.c53 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.c49 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 Dtst.sigwait.c40 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 Dstat.c66 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 Dtimespec_get.c44 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 Duuid_misc.h67 uuid_time_t ts; /* saved timestamp */ member in struct:__anon4186
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dbrdr.c49 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 Dwbrdr.c54 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 Dbrdr.c52 border(chtype ls, chtype rs, chtype ts, chtype bs, argument
57 code = wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br);
H A Dbrdr_st.c53 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 Dwbrdr_st.c57 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 Dwbrdr.c57 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 Dutimesys.c52 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 Dfmevt_inbound_sunos.c49 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 Dhardclk.c57 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 Dtmxduration.c37 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 Dtmxtime.c56 Tm_t ts; local
58 ts = *tm;
60 tm = &ts;
H A Dtmxmake.c137 static Tm_t ts; local
139 return tmxtm(&ts, t, NiL);
H A Dtvtouch.c96 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 Dsmbd_syslog.c39 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 Dssp.c126 hrtime_t ts[8]; member in union:__anon228
131 s.ts[i] = SSP_GET_TICK();
/illumos-gate/usr/src/lib/libtsol/common/
H A Dcall_labeld.c97 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 Dtsd.c85 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);

Completed in 124 milliseconds

12345678