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

123

/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/beos/
H A Dbcpu.c48 PR_EXTERN(void) _PR_MD_INIT_STACK(PRThreadStack *ts, PRIntn redzone);
49 PR_EXTERN(void) _PR_MD_CLEAR_STACK(PRThreadStack* ts); variable
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/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) {
/vbox/src/VBox/Runtime/r3/posix/
H A Dtime-posix.cpp47 struct timespec ts; local
48 if (!clock_gettime(CLOCK_MONOTONIC, &ts))
49 return (uint64_t)ts.tv_sec * RT_NS_1SEC_64
50 + ts.tv_nsec;
H A Dthread2-posix.cpp77 struct timespec ts; local
80 ts.tv_nsec = (cMillies % 1000) * 1000000;
81 ts.tv_sec = cMillies / 1000;
82 if (!nanosleep(&ts, &tsrem))
113 struct timespec ts; local
116 ts.tv_nsec = (cMillies % 1000) * 1000000;
117 ts.tv_sec = cMillies / 1000;
118 if (!nanosleep(&ts, &tsrem))
H A Dsemmutex-posix.cpp76 timespec ts = {0, 0}; local
84 ts.tv_sec = pTsAbsTimeout->tv_sec - tv.tv_sec;
85 ts.tv_nsec = pTsAbsTimeout->tv_nsec - tv.tv_sec;
87 if (ts.tv_nsec < 0)
89 ts.tv_sec--;
90 ts.tv_nsec += 1000000000;
93 if ( ts.tv_sec > 0
94 && ts.tv_nsec > 0)
95 nanosleep(&ts, &ts);
281 struct timespec ts = {0,0}; local
[all...]
H A Dthread-posix.cpp408 struct rusage ts; local
409 int rc = getrusage(RUSAGE_LWP, &ts);
413 *pKernelTime = ts.ru_stime.tv_sec * 1000 + ts.ru_stime.tv_usec / 1000;
414 *pUserTime = ts.ru_utime.tv_sec * 1000 + ts.ru_utime.tv_usec / 1000;
419 struct timespec ts;
420 int rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts);
425 *pUserTime = (uint64_t)ts.tv_sec * 1000 + ts
[all...]
H A Dsemevent-posix.cpp399 struct timespec ts = {0,0}; local
403 ts.tv_sec = tv.tv_sec;
404 ts.tv_nsec = tv.tv_usec * 1000;
406 clock_gettime(CLOCK_REALTIME, &ts);
410 ts.tv_nsec += (cMillies % 1000) * 1000000;
411 ts.tv_sec += cMillies / 1000;
412 if (ts.tv_nsec >= 1000000000)
414 ts.tv_nsec -= 1000000000;
415 ts.tv_sec++;
478 rc = pthread_cond_timedwait(&pThis->Cond, &pThis->Mutex, &ts);
[all...]
H A Dsemeventmulti-posix.cpp481 struct timespec ts = {0,0}; variable in typeref:struct:timespec
487 ts.tv_sec = tv.tv_sec;
488 ts.tv_nsec = tv.tv_usec * 1000;
490 clock_gettime(CLOCK_REALTIME, &ts);
495 if ( sizeof(ts.tv_sec) < sizeof(uint64_t)
497 || (uint64_t)ts.tv_sec + tsAdd.tv_sec >= UINT32_MAX) )
500 ts.tv_sec += tsAdd.tv_sec;
501 ts.tv_nsec += tsAdd.tv_nsec;
502 if (ts.tv_nsec >= 1000000000)
504 ts
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/hci/mucurses/
H A Dedging.c33 * @v ts top
42 chtype ts, chtype bs, chtype tl,
51 _wputch(win,ts,WRAP);
41 wborder( WINDOW *win, chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br ) argument
/vbox/src/VBox/RDP/client-1.8.3/
H A Drdp5.c45 struct stream *ts; local
84 ts = ns;
87 ts = s;
92 in_uint16_le(ts, count);
93 process_orders(ts, count);
96 in_uint8s(ts, 2); /* part length */
97 process_bitmap_updates(ts);
100 in_uint8s(ts, 2); /* uint16 = 2 */
101 process_palette(ts);
111 in_uint16_le(ts,
[all...]
/vbox/src/VBox/Runtime/r3/linux/
H A Dtime-linux.cpp46 DECLINLINE(int) sys_clock_gettime(clockid_t id, struct timespec *ts) argument
48 int rc = syscall(__NR_clock_gettime, id, ts);
58 DECLINLINE(int) mono_clock(struct timespec *ts) argument
68 return clock_gettime(CLOCK_MONOTONIC, ts);
74 return sys_clock_gettime(CLOCK_MONOTONIC, ts);
89 rc = clock_gettime(CLOCK_MONOTONIC, ts);
96 rc = sys_clock_gettime(CLOCK_MONOTONIC, ts);
119 struct timespec ts; local
120 if (!mono_clock(&ts))
121 return (uint64_t)ts
[all...]
H A Dsemevent-linux.cpp262 struct timespec ts; local
269 ts.tv_sec = cMillies / 1000;
270 ts.tv_nsec = (cMillies % 1000) * UINT32_C(1000000);
272 pTimeout = &ts;
343 ts.tv_sec = (uint64_t)i64Diff / UINT32_C(1000000000);
344 ts.tv_nsec = (uint64_t)i64Diff % UINT32_C(1000000000);
H A Dsemeventmulti-linux.cpp272 struct timespec ts; local
298 if ( sizeof(ts.tv_sec) >= sizeof(uint64_t)
301 ts.tv_nsec = uTimeout % UINT32_C(1000000000);
302 ts.tv_sec = uTimeout / UINT32_C(1000000000);
303 pTimeout = &ts;
333 ts.tv_sec = (uint64_t)i64Diff / UINT32_C(1000000000);
334 ts.tv_nsec = (uint64_t)i64Diff % UINT32_C(1000000000);
H A Dsemmutex-linux.cpp242 struct timespec ts; local
247 ts.tv_sec = cMillies / 1000;
248 ts.tv_nsec = (cMillies % 1000) * UINT32_C(1000000);
250 pTimeout = &ts;
323 ts.tv_sec = (uint64_t)i64Diff / UINT32_C(1000000000);
324 ts.tv_nsec = (uint64_t)i64Diff % UINT32_C(1000000000);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/threads/combined/
H A Dprustack.c78 PRThreadStack *ts; local
89 ts = _PR_THREAD_STACK_PTR(qp);
90 thr = _PR_THREAD_STACK_TO_PTR(ts);
97 PR_REMOVE_LINK(&ts->links);
100 _PR_MD_CLEAR_STACK(ts);
103 _PR_DestroySegment(ts->seg);
104 PR_DELETE(ts);
112 ts = 0;
114 ts = _PR_THREAD_STACK_PTR(qp);
115 thr = _PR_THREAD_STACK_TO_PTR(ts);
185 _PR_FreeStack(PRThreadStack *ts) argument
[all...]
/vbox/src/libs/libxml2-2.6.31/python/tests/
H A Dthread2.py57 ts = [] variable
61 ts.append(Thread(target=test,args=(0,)))
62 for t in ts:
64 for t in ts:
73 ts = [] variable
76 ts.append(Thread(target=test,args=(1,)))
77 for t in ts:
79 for t in ts:
/vbox/src/VBox/Devices/Network/lwip/src/include/lwip/
H A Dnetif.h118 u32_t ts; member in struct:netif
/vbox/src/VBox/Devices/PC/ipxe/src/arch/x86/core/linux/
H A Dlinux_api.c80 struct timespec ts = { local
85 return linux_nanosleep ( &ts, NULL );
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ath5k/
H A Dath5k_desc.c250 struct ath5k_desc *desc, struct ath5k_tx_status *ts)
265 ts->ts_tstamp = AR5K_REG_MS(tx_status->tx_status_0,
267 ts->ts_shortretry = AR5K_REG_MS(tx_status->tx_status_0,
269 ts->ts_longretry = AR5K_REG_MS(tx_status->tx_status_0,
271 /*TODO: ts->ts_virtcol + test*/
272 ts->ts_seqnum = AR5K_REG_MS(tx_status->tx_status_1,
274 ts->ts_rssi = AR5K_REG_MS(tx_status->tx_status_1,
276 ts->ts_antenna = 1;
277 ts->ts_status = 0;
278 ts
249 ath5k_hw_proc_2word_tx_status(struct ath5k_hw *ah __unused, struct ath5k_desc *desc, struct ath5k_tx_status *ts) argument
301 ath5k_hw_proc_4word_tx_status(struct ath5k_hw *ah __unused, struct ath5k_desc *desc, struct ath5k_tx_status *ts) argument
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ath9k/
H A Dath9k_ar9002_mac.c212 struct ath_tx_status *ts)
221 ts->ts_tstamp = ads->AR_SendTimestamp;
222 ts->ts_status = 0;
223 ts->ts_flags = 0;
226 ts->ts_status |= ATH9K_TXERR_XTXOP;
227 ts->tid = MS(status, AR_TxTid);
228 ts->ts_rateindex = MS(status, AR_FinalTxIdx);
229 ts->ts_seqnum = MS(status, AR_SeqNum);
232 ts->ts_rssi_ctl0 = MS(status, AR_TxRSSIAnt00);
233 ts
211 ar9002_hw_proc_txdesc(struct ath_hw *ah, void *ds, struct ath_tx_status *ts) argument
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/uts/common/os/
H A Ddtrace_subr.c294 hrtime_t ts; local
304 ts = dtrace_gethrtime();
307 curthread->t_dtrace_vtime += ts - curthread->t_dtrace_start;
311 next->t_dtrace_start = ts;
/vbox/src/VBox/Frontends/VBoxManage/
H A DVBoxManageMetrics.cpp492 char ts[15]; local
494 getTimestamp(ts, sizeof(ts));
517 RTPrintf("%-12s %-10ls %-20ls ", ts, getObjectName(aVirtualBox, retObjects[j]).raw(), metricName.raw());
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/
H A Dw16thred.c147 _PR_MD_INIT_STACK( PRThreadStack *ts, PRIntn redzone ) argument
149 ts->md.stackTop = ts->stackTop - sizeof(PRThread);
150 ts->md.cxByteCount = 0;
/vbox/src/libs/xpcom18a4/python/src/
H A Ddllmain.cpp110 PyThreadState *ts; member in struct:ThreadData
134 pData->ts = PyThreadState_New(PyXPCOM_InterpreterState);
145 PyThreadState *thisThreadState = pData->ts;
154 PyThreadState *thisThreadState = pData->ts;
165 PyThreadState *thisThreadState = pData->ts;
174 PyThreadState *thisThreadState = pData->ts;
/vbox/src/VBox/Devices/Network/lwip-new/src/include/lwip/
H A Dnetif.h249 u32_t ts; member in struct:netif
289 (netif)->ts = 0; \

Completed in 2084 milliseconds

123