OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:abs_timeout
(Results
1 - 7
of
7
) sorted by null
/external/valgrind/main/drd/tests/
trylock.c
24
struct timespec
abs_timeout
;
local
26
time(&
abs_timeout
.tv_sec);
27
abs_timeout
.tv_nsec = 0;
28
abs_timeout
.tv_sec += 10;
39
r = pthread_rwlock_timedwrlock(&rwlock, &
abs_timeout
); assert(r == 0);
54
r = pthread_rwlock_timedrdlock(&rwlock, &
abs_timeout
); assert(r == 0);
72
r = pthread_mutex_timedlock(&mutex, &
abs_timeout
); assert(r == 0);
/hardware/ti/omap4-aah/domx/mm_osal/src/
timm_osal_mutex.c
159
struct timespec
abs_timeout
;
local
189
abs_timeout
.tv_sec = ltime_now.tv_sec + uTimeOut / 1000;
190
abs_timeout
.tv_nsec = (ltimenow_us % 1000000) * 1000;
196
if (SUCCESS != pthread_mutex_timedlock(plMutex, &
abs_timeout
))
timm_osal_semaphores.c
155
struct timespec
abs_timeout
;
local
186
abs_timeout
.tv_sec = ltime_now.tv_sec + (uTimeOut / 1000);
187
abs_timeout
.tv_nsec =
190
if (SUCCESS != sem_timedwait(psem, &
abs_timeout
))
/hardware/ti/omap4xxx/domx/mm_osal/src/
timm_osal_mutex.c
159
struct timespec
abs_timeout
;
local
189
abs_timeout
.tv_sec = ltime_now.tv_sec + uTimeOut / 1000;
190
abs_timeout
.tv_nsec = (ltimenow_us % 1000000) * 1000;
196
if (SUCCESS != pthread_mutex_timedlock(plMutex, &
abs_timeout
))
timm_osal_semaphores.c
155
struct timespec
abs_timeout
;
local
186
abs_timeout
.tv_sec = ltime_now.tv_sec + (uTimeOut / 1000);
187
abs_timeout
.tv_nsec =
190
if (SUCCESS != sem_timedwait(psem, &
abs_timeout
))
/art/runtime/
barrier.cc
65
uint64_t
abs_timeout
= NanoTime() + MsToNs(timeout_ms);
local
71
int64_t time_left =
abs_timeout
- now;
/bionic/libc/bionic/
pthread_mutex.cpp
622
static int __pthread_mutex_timedlock(pthread_mutex_t* mutex, const timespec*
abs_timeout
, clockid_t clock) {
643
if (__timespec_from_absolute(&ts,
abs_timeout
, clock) < 0) {
684
if (__timespec_from_absolute(&ts,
abs_timeout
, clock) < 0) {
706
if (__timespec_from_absolute(&ts,
abs_timeout
, clock) < 0) {
725
timespec
abs_timeout
;
local
726
clock_gettime(CLOCK_MONOTONIC, &
abs_timeout
);
727
abs_timeout
.tv_sec += ms / 1000;
728
abs_timeout
.tv_nsec += (ms % 1000) * 1000000;
729
if (
abs_timeout
.tv_nsec >= 1000000000) {
730
abs_timeout
.tv_sec++
[
all
...]
Completed in 238 milliseconds