/freebsd-9.3-release/crypto/openssl/crypto/asn1/ |
H A D | a_utctm.c | 193 struct tm *ts; local 202 ts = OPENSSL_gmtime(&t, &data); 203 if (ts == NULL) 218 BIO_snprintf(p, len, "%02d%02d%02d%02d%02d%02dZ", ts->tm_year % 100, 219 ts->tm_mon + 1, ts->tm_mday, ts->tm_hour, ts->tm_min, 220 ts->tm_sec);
|
/freebsd-9.3-release/contrib/ntp/sntp/libevent/ |
H A D | evutil_time.c | 127 struct timespec ts; 128 ts.tv_sec = tv->tv_sec; 129 ts.tv_nsec = tv->tv_usec*1000; 130 nanosleep(&ts, NULL); 234 struct timespec ts; local 245 if (clock_gettime(CLOCK_MONOTONIC_COARSE, &ts) == 0) { 251 if (!fallback && clock_gettime(CLOCK_MONOTONIC, &ts) == 0) { 268 struct timespec ts; local 277 if (clock_gettime(base->monotonic_clock, &ts) == -1) 279 tp->tv_sec = ts [all...] |
/freebsd-9.3-release/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_xmit.c | 490 struct ath_desc *ds, struct ath_tx_status *ts) 505 ts->ts_seqnum = MS(ds_txstatus[9], AR_SeqNum); 506 ts->ts_tstamp = AR_SendTimestamp(ds_txstatus); 508 ts->ts_status = 0; 510 ts->ts_status |= HAL_TXERR_XRETRY; 512 ts->ts_status |= HAL_TXERR_FILT; 514 ts->ts_status |= HAL_TXERR_FIFO; 516 ts->ts_status |= HAL_TXERR_XTXOP; 518 ts->ts_status |= HAL_TXERR_TIMER_EXPIRED; 520 ts 489 ar5416ProcTxDesc(struct ath_hal *ah, struct ath_desc *ds, struct ath_tx_status *ts) argument [all...] |
/freebsd-9.3-release/contrib/groff/font/devps/generate/ |
H A D | lgreekmap | 31 sigma1 ts
|
/freebsd-9.3-release/libexec/tftpd/ |
H A D | tftp-utils.h | 123 void stats_init(struct tftp_stats *ts); 124 void printstats(const char *direction, int verbose, struct tftp_stats *ts);
|
/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | systime.c | 172 struct timespec ts; /* seconds and nanoseconds */ local 182 get_ostime(&ts); 194 if (cmp_tspec(add_tspec_ns(ts, 50000000), ts_last) < 0) 196 ts_last = ts; 207 if (cmp_tspec(ts, ts_min) < 0) { 208 ts_lam = sub_tspec(ts_min, ts); 217 ts = ts_min; 220 ts_prev = ts; 230 result = tspec_stamp_to_lfp(ts); 251 msyslog(LOG_ERR, "ts [all...] |
H A D | ntp_calendar.c | 689 const vint64 *ts 702 if (ts->q_s < 0) 703 Q = ~(uint32_t)(~ts->Q_s / SECSPERDAY); 705 Q = (uint32_t)(ts->Q_s / SECSPERDAY); 711 /* get operand into ah/al (either ts or ts' one's complement, 714 sflag = int32_sflag(ts->d_s.hi); 715 ah = sflag ^ ts->D_s.hi; 716 al = sflag ^ ts->D_s.lo; 760 res.lo = ts 985 int ts[3]; local 1008 int32_t ts[3]; local 1746 int32_t ts[3]; local [all...] |
/freebsd-9.3-release/sys/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_xmit.c | 617 struct ath_desc *ds, struct ath_tx_status *ts) 625 ts->ts_seqnum = MS(ads->ds_status1, AR_SeqNum); 626 ts->ts_tstamp = MS(ads->ds_status0, AR_SendTimestamp); 627 ts->ts_status = 0; 630 ts->ts_status |= HAL_TXERR_XRETRY; 632 ts->ts_status |= HAL_TXERR_FILT; 634 ts->ts_status |= HAL_TXERR_FIFO; 636 ts->ts_rate = MS(ads->ds_ctl0, AR_XmitRate); 637 ts->ts_rssi = MS(ads->ds_status1, AR_AckSigStrength); 638 ts 616 ar5211ProcTxDesc(struct ath_hal *ah, struct ath_desc *ds, struct ath_tx_status *ts) argument [all...] |
/freebsd-9.3-release/sys/dev/ksyms/ |
H A D | ksyms.c | 131 struct tsizes *ts; local 136 ts = arg; 139 ts->ts_symsz += syms * sizeof(Elf_Sym); 140 ts->ts_strsz += LINKER_STRTAB_GET(lf, &strtab); 147 * totals in *ts. 150 ksyms_size_calc(struct tsizes *ts) argument 152 ts->ts_symsz = 0; 153 ts->ts_strsz = 0; 155 (void) linker_file_foreach(ksyms_size_permod, ts); 240 ksyms_snapshot(struct tsizes *ts, vm_offset_ argument 380 struct tsizes ts; local [all...] |
/freebsd-9.3-release/bin/ed/ |
H A D | ed.h | 119 char *ts; \ 122 if ((ts = (char *) realloc((b), ti += max((i), MINBUFSZ))) == NULL) { \ 129 if ((ts = (char *) malloc(ti += max((i), MINBUFSZ))) == NULL) { \ 137 (b) = ts; \ 145 char *ts; \ 147 if ((ts = (char *) realloc((b), ti += max((i), MINBUFSZ))) == NULL) { \ 154 (b) = ts; \
|
H A D | glbl.c | 150 line_t **ts; local 155 if ((ts = (line_t **) realloc(active_list, 164 if ((ts = (line_t **) malloc((ti += MINBUFSZ) * 174 active_list = ts;
|
/freebsd-9.3-release/sys/dev/iicbus/ |
H A D | pcf8563.c | 112 pcf8563_gettime(device_t dev, struct timespec *ts) argument 148 return (clock_ct_to_ts(&ct, ts)); 152 pcf8563_settime(device_t dev, struct timespec *ts) argument 165 if (ts->tv_nsec >= 500000000) 166 ts->tv_sec++; 167 ts->tv_nsec = 0; 168 clock_ts_to_ct(ts, &ct);
|
/freebsd-9.3-release/sys/dev/mc146818/ |
H A D | mc146818.c | 105 mc146818_gettime(device_t dev, struct timespec *ts) argument 151 return (clock_ct_to_ts(&ct, ts)); 191 mc146818_settime(device_t dev, struct timespec *ts) argument 200 if (ts->tv_nsec >= 500000000) 201 ts->tv_sec++; 202 ts->tv_nsec = 0; 203 clock_ts_to_ct(ts, &ct);
|
/freebsd-9.3-release/sys/powerpc/mpc85xx/ |
H A D | ds1553_core.c | 89 ds1553_gettime(device_t dev, struct timespec *ts) argument 124 return (clock_ct_to_ts(&ct, ts)); 132 ds1553_settime(device_t dev, struct timespec *ts) argument 142 if (ts->tv_nsec >= 500000000) 143 ts->tv_sec++; 144 ts->tv_nsec = 0; 145 clock_ts_to_ct(ts, &ct);
|
/freebsd-9.3-release/tools/tools/netmap/ |
H A D | bridge.c | 75 struct netmap_slot *ts = &txring->slot[k]; local 78 if (ts->buf_idx < 2 || rs->buf_idx < 2) { 80 j, rs->buf_idx, k, ts->buf_idx); 90 ts->len = rs->len; 92 uint32_t pkt = ts->buf_idx; 93 ts->buf_idx = rs->buf_idx; 96 ts->flags |= NS_BUF_CHANGED; 100 char *txbuf = NETMAP_BUF(txring, ts->buf_idx); 101 nm_pkt_copy(rxbuf, txbuf, ts->len);
|
/freebsd-9.3-release/usr.bin/xlint/lint1/ |
H A D | emit1.c | 92 tspec_t ts; local 95 if ((ts = tp->t_tspec) == INT && tp->t_isenum) 96 ts = ENUM; 97 switch (ts) { 129 if (ts == ARRAY) { 131 } else if (ts == ENUM) { 133 } else if (ts == STRUCT || ts == UNION) { 135 } else if (ts == FUNC && tp->t_proto) {
|
/freebsd-9.3-release/contrib/libpcap/ |
H A D | sf-pcap.c | 333 hdr->ts.tv_sec = SWAPLONG(sf_hdr.ts.tv_sec); 334 hdr->ts.tv_usec = SWAPLONG(sf_hdr.ts.tv_usec); 338 hdr->ts.tv_sec = sf_hdr.ts.tv_sec; 339 hdr->ts.tv_usec = sf_hdr.ts.tv_usec; 484 sf_hdr.ts.tv_sec = h->ts [all...] |
/freebsd-9.3-release/contrib/ncurses/ncurses/widechar/ |
H A D | lib_box_set.c | 47 const ARG_CH_T ts, const ARG_CH_T bs, 59 _tracech_t2(3, ts), 73 RENDER_WITH_DEFAULT(ts, WACS_HLINE); 45 wborder_set(WINDOW *win, const ARG_CH_T ls, const ARG_CH_T rs, const ARG_CH_T ts, const ARG_CH_T bs, const ARG_CH_T tl, const ARG_CH_T tr, const ARG_CH_T bl, const ARG_CH_T br) argument
|
/freebsd-9.3-release/lib/libc/sys/ |
H A D | __vdso_gettimeofday.c | 107 __vdso_clock_gettime(clockid_t clock_id, struct timespec *ts) argument 140 bintime2timespec(&bt, ts); 142 ts->tv_nsec = 0;
|
/freebsd-9.3-release/lib/libthr/thread/ |
H A D | thr_join.c | 80 struct timespec ts, ts2, *tsp; local 116 clock_gettime(CLOCK_REALTIME, &ts); 117 TIMESPEC_SUB(&ts2, abstime, &ts);
|
/freebsd-9.3-release/sys/kern/ |
H A D | kern_shutdown.c | 232 struct timespec ts; local 234 getnanouptime(&ts); 237 if (ts.tv_sec >= 86400) { 238 printf("%ldd", (long)ts.tv_sec / 86400); 239 ts.tv_sec %= 86400; 242 if (f || ts.tv_sec >= 3600) { 243 printf("%ldh", (long)ts.tv_sec / 3600); 244 ts.tv_sec %= 3600; 247 if (f || ts.tv_sec >= 60) { 248 printf("%ldm", (long)ts [all...] |
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/ |
H A D | bench_cascade.c | 85 static struct timeval ts, te, tv_timeout; local 103 evutil_gettimeofday(&ts, NULL); 125 evutil_timersub(&te, &ts, &te);
|
/freebsd-9.3-release/sys/dev/ce/ |
H A D | ceddk.c | 142 static void _ce_set_ts (ce_chan_t *c, unsigned long ts); 475 /* Chan0 ts=1-15,17-31, Chan1 ts=1-2 */ 477 b->chan[i].ts = (i == 0 ? 0xfffefffe : 604 * Else I hope you didn't set ts to incorrect value. 606 _ce_set_ts (c, c->ts); 739 return (c->ts && !(e1status & (TAU32_RCL | TAU32_E1OFF))); 940 unsigned long ts; local 948 ts = 0xffffffffUL; 951 ts 1064 _ce_set_ts(ce_chan_t *c, unsigned long ts) argument 1176 ce_set_ts(ce_chan_t *c, unsigned long ts) argument 1514 unsigned long ts; local [all...] |
/freebsd-9.3-release/crypto/openssh/openbsd-compat/ |
H A D | bsd-misc.c | 172 struct timespec ts; local 174 ts.tv_sec = useconds / 1000000; 175 ts.tv_nsec = (useconds % 1000000) * 1000; 176 return nanosleep(&ts, NULL);
|
/freebsd-9.3-release/sys/dev/syscons/ |
H A D | scterm-teken.c | 115 teken_stat *ts; local 123 ts = *softc; 128 ts->ts_busy = 1; 131 teken_init(&ts->ts_teken, &scteken_funcs, scp); 133 teken_set_8bit(&ts->ts_teken); 136 teken_set_cons25(&ts->ts_teken); 141 teken_set_winsize(&ts->ts_teken, &tp); 147 teken_set_cursor(&ts->ts_teken, &tp); 171 teken_stat *ts = scp->ts; local 193 teken_stat *ts = scp->ts; local 224 teken_stat *ts = scp->ts; local 250 teken_stat *ts = scp->ts; local [all...] |