/freebsd-9.3-release/sys/sparc64/sparc64/ |
H A D | rtc.c | 165 struct timespec ts; local 216 if (mc146818_gettime(dev, &ts) != 0) 220 (long)ts.tv_sec, ts.tv_nsec);
|
/freebsd-9.3-release/tools/regression/aio/kqueue/ |
H A D | aio_kqueue.c | 64 struct timespec ts; local 141 ts.tv_sec = 0; 142 ts.tv_nsec = 1; 144 &kq_returned, 1, &ts);
|
/freebsd-9.3-release/tools/regression/lib/libc/nss/ |
H A D | test-getpw.c | 160 char *s, *ps, *ts; local 180 pwd->pw_uid = (uid_t)strtol(s, &ts, 10); 181 if (*ts != '\0') 185 pwd->pw_gid = (gid_t)strtol(s, &ts, 10); 186 if (*ts != '\0') 190 pwd->pw_change = (time_t)strtol(s, &ts, 10); 191 if (*ts != '\0') 211 pwd->pw_expire = (time_t)strtol(s, &ts, 10); 212 if (*ts != '\0') 216 pwd->pw_fields = (int)strtol(s, &ts, 1 [all...] |
H A D | test-gethostby.c | 545 char *s, *ps, *ts; local 552 *result = (unsigned char)strtol(s, &ts, 10); 554 if (*ts != '\0') 569 char *s, *ps, *ts; local 588 ht->h_addrtype = (int)strtol(s, &ts, 10); 589 if (*ts != '\0') 594 ht->h_length = (int)strtol(s, &ts, 10); 595 if (*ts != '\0') 608 ts = strdup(s); 609 assert(ts ! [all...] |
H A D | test-getgr.c | 211 char *s, *ps, *ts; local 234 grp->gr_gid = (gid_t)strtol(s, &ts, 10); 235 if (*ts != '\0') { 251 ts = strdup(s); 252 assert(ts != NULL); 253 sl_add(sl, ts); 256 ts = strdup(s); 257 assert(ts != NULL); 258 sl_add(sl, ts);
|
H A D | test-getproto.c | 204 char *s, *ps, *ts; local 222 pe->p_proto = (int)strtol(s, &ts, 10); 223 if (*ts != '\0') { 238 ts = strdup(s); 239 assert(ts != NULL); 240 sl_add(sl, ts); 243 ts = strdup(s); 244 assert(ts != NULL); 245 sl_add(sl, ts);
|
H A D | test-getrpc.c | 204 char *s, *ps, *ts; local 222 rpc->r_number = (int)strtol(s, &ts, 10); 223 if (*ts != '\0') { 238 ts = strdup(s); 239 assert(ts != NULL); 240 sl_add(sl, ts); 243 ts = strdup(s); 244 assert(ts != NULL); 245 sl_add(sl, ts);
|
H A D | test-getserv.c | 210 char *s, *ps, *ts; local 229 (int)strtol(s, &ts, 10)); 230 if (*ts != '\0') { 250 ts = strdup(s); 251 assert(ts != NULL); 252 sl_add(sl, ts); 255 ts = strdup(s); 256 assert(ts != NULL); 257 sl_add(sl, ts);
|
/freebsd-9.3-release/usr.bin/tail/ |
H A D | forward.c | 268 struct timespec ts; local 271 ts.tv_sec = 0; 272 ts.tv_nsec = 0; 296 if (kevent(kq, ev, n, NULL, 0, &ts) < 0) { 311 struct timespec ts; local 397 ts.tv_sec = 1; 398 ts.tv_nsec = 0; 403 n = kevent(kq, NULL, 0, ev, 1, Fflag ? &ts : NULL);
|
/freebsd-9.3-release/contrib/ntp/util/ |
H A D | ntptime.c | 97 l_fp ts; local 308 TVTOTS(&tv, &ts); 309 ts.l_ui += JAN_1970; 310 ts.l_uf += ts_roundbit; 311 ts.l_uf &= ts_mask; 313 prettydate(&ts), fdigits, (int)time_frac); 318 (u_int)ts.l_ui, (u_int)ts.l_uf,
|
/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | socket.c | 206 read_refclock_packet(SOCKET fd, struct refclockio *rp, l_fp ts) 212 l_fp ts
|
/freebsd-9.3-release/contrib/top/ |
H A D | screen.c | 409 struct ttysize ts; 411 if (ioctl (1, TIOCGSIZE, &ts) != -1) 413 if (ts.ts_lines != 0) 415 screen_length = ts.ts_lines; 417 if (ts.ts_cols != 0) 419 screen_width = ts.ts_cols - 1;
|
/freebsd-9.3-release/lib/libthr/thread/ |
H A D | thr_rwlock.c | 126 struct timespec ts, ts2, *tsp; local 166 clock_gettime(CLOCK_REALTIME, &ts); 167 TIMESPEC_SUB(&ts2, abstime, &ts); 258 struct timespec ts, ts2, *tsp; local 279 clock_gettime(CLOCK_REALTIME, &ts); 280 TIMESPEC_SUB(&ts2, abstime, &ts);
|
/freebsd-9.3-release/sys/kern/ |
H A D | kern_umtx.c | 763 struct timespec ts, ts2, ts3; local 773 getnanouptime(&ts); 774 timespecadd(&ts, timeout); 781 if (timespeccmp(&ts2, &ts, >=)) { 785 ts3 = ts; 969 struct timespec ts, ts2, ts3; local 979 getnanouptime(&ts); 980 timespecadd(&ts, timeout); 987 if (timespeccmp(&ts2, &ts, >=)) { 991 ts3 = ts; 1072 struct timespec ts, ts2, ts3; local 2400 struct timespec ts, ts2, ts3; local 2767 struct timespec ts, ts2, ts3; local 2939 struct timespec ts, ts2, ts3; local 3188 struct timespec *ts, timeout; local 3212 struct timespec *ts, timeout; local 3229 struct timespec *ts, timeout; local 3246 struct timespec *ts, timeout; local 3301 struct timespec *ts, timeout; local 3325 struct timespec *ts, timeout; local 3361 struct timespec *ts, timeout; local 3434 struct timespec *ts, timeout; local 3540 struct timespec *ts, timeout; local 3564 struct timespec *ts, timeout; local 3581 struct timespec *ts, timeout; local 3599 struct timespec *ts, timeout; local 3617 struct timespec *ts, timeout; local 3672 struct timespec *ts, timeout; local 3689 struct timespec *ts, timeout; local [all...] |
/freebsd-9.3-release/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_xmit.c | 841 struct ath_desc *ds, struct ath_tx_status *ts) 856 ts->ts_seqnum = MS(ads->ds_txstatus1, AR_SeqNum); 857 ts->ts_tstamp = MS(ads->ds_txstatus0, AR_SendTimestamp); 858 ts->ts_status = 0; 861 ts->ts_status |= HAL_TXERR_XRETRY; 863 ts->ts_status |= HAL_TXERR_FILT; 865 ts->ts_status |= HAL_TXERR_FIFO; 871 ts->ts_finaltsi = MS(ads->ds_txstatus1, AR_FinalTSIndex); 872 switch (ts->ts_finaltsi) { 874 ts 840 ar5212ProcTxDesc(struct ath_hal *ah, struct ath_desc *ds, struct ath_tx_status *ts) argument [all...] |
/freebsd-9.3-release/sys/dev/mk48txx/ |
H A D | mk48txx.c | 157 mk48txx_gettime(device_t dev, struct timespec *ts) argument 210 return (clock_ct_to_ts(&ct, ts)); 218 mk48txx_settime(device_t dev, struct timespec *ts) argument 230 if (ts->tv_nsec >= 500000000) 231 ts->tv_sec++; 232 ts->tv_nsec = 0; 233 clock_ts_to_ct(ts, &ct);
|
/freebsd-9.3-release/sys/dev/rc/ |
H A D | rc.c | 868 rc_param(struct tty *tp, struct termios *ts) argument 874 if ( ts->c_ospeed < 0 || ts->c_ospeed > 76800 875 || ts->c_ispeed < 0 || ts->c_ispeed > 76800 878 if (ts->c_ispeed == 0) 879 ts->c_ispeed = ts->c_ospeed; 880 odivs = RC_BRD(ts->c_ospeed); 881 idivs = RC_BRD(ts [all...] |
/freebsd-9.3-release/contrib/libpcap/ |
H A D | pcap-win32.c | 263 ULONGLONG ts; local 367 ts = header->ts; 368 pcap_header.ts.tv_sec = (int)(ts >> 32); 369 ts = (ts & 0xffffffffi64) * 1000000; 370 ts += 0x80000000; /* rounding */ 371 pcap_header.ts.tv_usec = (int)(ts >> 3 [all...] |
/freebsd-9.3-release/sys/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_xmit.c | 586 struct ath_desc *ds, struct ath_tx_status *ts) 594 ts->ts_seqnum = ads->ds_status1 & AR_SeqNum; 595 ts->ts_tstamp = MS(ads->ds_status0, AR_SendTimestamp); 596 ts->ts_status = 0; 599 ts->ts_status |= HAL_TXERR_XRETRY; 601 ts->ts_status |= HAL_TXERR_FILT; 603 ts->ts_status |= HAL_TXERR_FIFO; 605 ts->ts_rate = MS(ads->ds_ctl0, AR_XmitRate); 606 ts->ts_rssi = MS(ads->ds_status1, AR_AckSigStrength); 607 ts 585 ar5210ProcTxDesc(struct ath_hal *ah, struct ath_desc *ds, struct ath_tx_status *ts) argument [all...] |
/freebsd-9.3-release/contrib/ntp/clockstuff/ |
H A D | chutest.c | 285 l_fp ts; local 319 TVTOTS(&chudata.codetimes[NCHUCHARS-1], &ts); 320 ts.l_ui += JAN_1970; 352 l_fp ts; local 363 TVTOTS(&chu.codetimes[NCHUCHARS-1], &ts); 364 ts.l_ui += JAN_1970; 365 chufilter(&chu, &ts); 547 l_fp ts; local 655 ts.l_uf = 0; 656 ts [all...] |
/freebsd-9.3-release/bin/cp/ |
H A D | utils.c | 317 struct stat ts; local 332 if (fdval ? fstat(fd, &ts) : 333 (islink ? lstat(to.p_path, &ts) : stat(to.p_path, &ts))) 337 ts.st_mode &= S_ISUID | S_ISGID | S_ISVTX | 346 if (!gotstat || fs->st_uid != ts.st_uid || fs->st_gid != ts.st_gid) 357 if (!gotstat || fs->st_mode != ts.st_mode) 365 if (!gotstat || fs->st_flags != ts.st_flags)
|
/freebsd-9.3-release/contrib/cvs/src/ |
H A D | entries.c | 46 Entnode_Create(type, user, vn, ts, options, tag, date, ts_conflict) 50 const char *ts; 63 ent->timestamp = xstrdup (ts ? ts : ""); 222 Register (list, fname, vn, ts, options, tag, date, ts_conflict) 226 const char *ts; 238 server_register (fname, vn, ts, options, tag, date, ts_conflict); 246 fname, vn, ts ? ts : "", 251 entnode = Entnode_Create (ENT_FILE, fname, vn, ts, option 308 char *l, *user, *vn, *ts, *options; local [all...] |
/freebsd-9.3-release/contrib/nvi/ex/ |
H A D | ex_txt.c | 387 u_long sw, ts; local 390 ts = O_VAL(sp, O_TABSTOP); 396 scno += COL_OFF(scno, ts); 414 for (cno = 0, tabs = 0; cno + COL_OFF(cno, ts) <= scno; ++tabs) 415 cno += COL_OFF(cno, ts);
|
/freebsd-9.3-release/contrib/ncurses/ncurses/base/ |
H A D | lib_box.c | 64 chtype ts, chtype bs, 76 _tracechtype2(3, ts), 88 RENDER_WITH_DEFAULT(ts, ACS_HLINE); 62 wborder(WINDOW *win, chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br) argument
|
/freebsd-9.3-release/release/picobsd/tinyware/help/ |
H A D | help.c | 45 struct ttysize ts; local 52 if (ioctl(fileno(stdout), TIOCGWINSZ, &ts)>=0) { 53 crt=ts.ts_lines-1;
|