/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_timedwait/ |
H A D | 2-6.c | 164 struct timespec ts; local 166 ret = clock_gettime(data.cid, &ts); 169 ts.tv_sec += 30; 184 ret = pthread_cond_timedwait(&(data.cnd), &(data.mtx), &ts);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sigaction/templates/ |
H A D | template_28-1.in | 130 char *ts = "[??:??:??]"; 141 printf( ts );
|
/haiku-fatelf/src/bin/network/tcpdump/ |
H A D | print-dccp.c | 410 u_int32_t *ts; local 486 ts = (u_int32_t *)(option + 2); 487 printf("timestamp %u", (u_int32_t)ntohl(*ts)); 490 ts = (u_int32_t *)(option + 2); 491 printf("timestamp_echo %u", (u_int32_t)ntohl(*ts)); 496 ts = (u_int32_t *)(option + 2); 497 printf("%u", (u_int32_t)ntohl(*ts));
|
H A D | print-udp.c | 90 u_int32_t rr_lsr; /* orig. ts from last rr from this src */ 113 u_int ts = *(u_int16_t *)hdr; local 114 if ((ts & 0xf060) != 0) { 118 ts & 0x3ff, ts >> 10); 215 double ts, dts; local 235 ts = (double)(EXTRACT_32BITS(&sr->sr_ntp.upper)) + 238 printf(" @%.2f %u %up %ub", ts, EXTRACT_32BITS(&sr->sr_ts), 276 ts = (double)(EXTRACT_32BITS(&rr->rr_lsr)) / 65536.; 281 EXTRACT_32BITS(&rr->rr_dv), ts, dt [all...] |
H A D | sctpConstants.h | 536 #define TIMEVAL_TO_TIMESPEC(tv, ts) \ 538 (ts)->tv_sec = (tv)->tv_sec; \ 539 (ts)->tv_nsec = (tv)->tv_usec * 1000; \
|
/haiku-fatelf/src/kits/network/libbind/isc/ |
H A D | ev_timers.c | 150 struct timespec ts; local 152 ts.tv_sec = tv.tv_sec; 153 ts.tv_nsec = tv.tv_usec * 1000; 154 return (ts); 158 evTimeVal(struct timespec ts) { argument 161 tv.tv_sec = ts.tv_sec; 162 tv.tv_usec = ts.tv_nsec / 1000;
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_destroy/ |
H A D | 2-1.c | 188 struct timespec ts; local 203 ret = clock_gettime(td->cid, &ts); 205 ts.tv_sec += TIMEOUT; 211 ret = pthread_cond_timedwait(&td->cnd, &td->mtx1, &ts); 242 ret = clock_gettime(td->cid, &ts); 244 ts.tv_sec += TIMEOUT; 250 ret = pthread_cond_timedwait(&td->cnd, &td->mtx2, &ts);
|
/haiku-fatelf/src/libs/edit/ |
H A D | term.c | 198 { "ts", "cursor to status line" }, 983 struct ttysize ts; local 984 if (ioctl(el->el_infd, TIOCGSIZE, (ioctl_t) & ts) != -1) { 985 if (ts.ts_cols) 986 *cols = ts.ts_cols; 987 if (ts.ts_lines) 988 *lins = ts.ts_lines; 1254 char **ts; local 1271 for (t = tstr, ts = el->el_term.t_str; t->name != NULL; t++, ts 1289 const struct termcapstr *ts; local [all...] |
/haiku-fatelf/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_ddb.c | 315 _db_show_tdma(const char *sep, const struct ieee80211_tdma_state *ts, int showprocs) argument 317 db_printf("%stdma %p:\n", sep, ts); 319 ts->tdma_version, ts->tdma_slot, ts->tdma_bintval, ts->tdma_peer); 321 ts->tdma_slotlen, ts->tdma_slotcnt); 323 ts->tdma_inuse[0], ts [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ |
H A D | if_ath_debug.c | 129 const struct ath_tx_status *ts = &bf->bf_status.ds_txstat; local 140 !done ? "" : (ts->ts_status == 0) ? " *" : " !",
|
/haiku-fatelf/src/bin/network/tcpdump/libpcap/ |
H A D | pcap-int.h | 233 struct pcap_timeval ts; /* time stamp */ member in struct:pcap_sf_pkthdr 249 struct pcap_timeval ts; /* time stamp */ member in struct:pcap_sf_patched_pkthdr
|
H A D | pcap-haiku.cpp | 91 header.ts.tv_usec = system_time() % 1000000; 92 header.ts.tv_sec = system_time() / 1000000;
|
H A D | pcap-septel.c | 154 * pcap_header.ts.tv_sec: 159 * pcap_header.ts.tv_usec : 165 (void)gettimeofday(&pcap_header.ts, NULL);
|
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/onoe/ |
H A D | onoe.c | 166 const struct ath_tx_status *ts = &bf->bf_status.ds_txstat; local 168 if (ts->ts_status == 0) 172 on->on_tx_retr += ts->ts_shortretry 173 + ts->ts_longretry;
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_signal/ |
H A D | 1-2.c | 185 struct timespec ts; local 200 ret = clock_gettime(td->cid, &ts); 202 ts.tv_sec += TIMEOUT; 208 ret = pthread_cond_timedwait(&td->cnd, &td->mtx, &ts);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_broadcast/ |
H A D | 1-2.c | 198 struct timespec ts; local 213 ret = clock_gettime(td->cid, &ts); 215 ts.tv_sec += TIMEOUT; 221 ret = pthread_cond_timedwait(&td->cnd, &td->mtx, &ts);
|
H A D | 2-3.c | 197 struct timespec ts; local 210 ret = clock_gettime(td->cid, &ts); 212 ts.tv_sec += TIMEOUT; 218 ret = pthread_cond_timedwait(&td->cnd, &td->mtx, &ts);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/stress/threads/pthread_mutex_lock/ |
H A D | stress.c | 269 struct timespec ts; local 289 ret = clock_gettime(CLOCK_REALTIME, &ts); 292 ts.tv_sec++; /* We will wait for 1 second */ 293 ret = pthread_mutex_timedlock(&(c->mtx), &ts);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/aio_suspend/ |
H A D | 4-1.c | 68 struct timespec ts = {0, 10000000}; /* 10 ms */ local 176 ret = aio_suspend((const struct aiocb **)plist, 2, &ts);
|
H A D | 7-1.c | 68 struct timespec ts = {0, 10000000}; /* 10 ms */ local 176 ret = aio_suspend((const struct aiocb **)plist, 2, &ts);
|
H A D | 9-1.c | 68 struct timespec ts = {0, 10000000}; /* 10 ms */ local 176 ret = aio_suspend((const struct aiocb **)plist, 2, &ts);
|
/haiku-fatelf/src/system/libroot/posix/time/ |
H A D | localtime_fading_out.c | 549 struct state ts; local 553 result = tzparse(&u.buf[1], &ts, FALSE); 554 if (result == 0 && ts.typecnt == 2 && 555 sp->charcnt + ts.charcnt <= TZ_MAX_CHARS) { 557 ts.ttis[i].tt_abbrind += 559 for (i = 0; i < ts.charcnt; ++i) 561 ts.chars[i]; 563 while (i < ts.timecnt && 564 ts.ats[i] <= 567 while (i < ts [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/amrr/ |
H A D | amrr.c | 159 const struct ath_tx_status *ts = &bf->bf_status.ds_txstat; local 160 int sr = ts->ts_shortretry; 161 int lr = ts->ts_longretry;
|
/haiku-fatelf/src/apps/tv/ |
H A D | Controller.cpp | 352 BTimeSource *ts = gMediaRoster->MakeTimeSourceFor(time_node); local 372 bigtime_t start_time = ts->Now() + 50000; 374 ts->Release();
|
/haiku-fatelf/src/apps/cortex/RouteApp/ |
H A D | RouteAppNodeManager.cpp | 194 BTimeSource* ts = roster->MakeTimeSourceFor(ref->node()); local 195 if(ts->Node() != systemClock) 197 g->setTimeSource(ts->Node()); 200 ts->Release();
|