/bionic/libc/bionic/ |
pthread_rwlock.cpp | 72 static bool timespec_from_absolute(timespec* rel_timeout, const timespec* abs_timeout) { 73 if (abs_timeout != NULL) { 74 if (__timespec_from_absolute(rel_timeout, abs_timeout, CLOCK_REALTIME) < 0) { 134 static int __pthread_rwlock_timedrdlock(pthread_rwlock_t* rwlock, const timespec* abs_timeout) { 140 timespec* rel_timeout = (abs_timeout == NULL) ? NULL : &ts; 151 if (!timespec_from_absolute(rel_timeout, abs_timeout)) { 169 static int __pthread_rwlock_timedwrlock(pthread_rwlock_t* rwlock, const timespec* abs_timeout) { 176 timespec* rel_timeout = (abs_timeout == NULL) ? NULL : &ts; 184 if (!timespec_from_absolute(rel_timeout, abs_timeout)) { 207 int pthread_rwlock_timedrdlock(pthread_rwlock_t* rwlock, const timespec* abs_timeout) { [all...] |
/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);
|
/bionic/libc/include/ |
semaphore.h | 57 extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
|
/development/ndk/platforms/android-3/include/ |
semaphore.h | 54 extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
|
/development/ndk/platforms/android-L/include/ |
semaphore.h | 57 extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
|
/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))
|
/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))
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/ |
semaphore.h | 54 extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/ |
semaphore.h | 54 extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/ |
semaphore.h | 54 extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/ |
semaphore.h | 54 extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/ |
semaphore.h | 54 extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/ |
semaphore.h | 54 extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
|
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/ |
semaphore.h | 54 extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
|
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/ |
semaphore.h | 54 extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
|
/prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/ |
semaphore.h | 54 extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
|
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/ |
semaphore.h | 54 extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/ |
semaphore.h | 54 extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
|
/prebuilts/ndk/7/platforms/android-3/arch-arm/usr/include/ |
semaphore.h | 54 extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
|
/prebuilts/ndk/7/platforms/android-3/arch-x86/usr/include/ |
semaphore.h | 54 extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
|
/prebuilts/ndk/7/platforms/android-4/arch-arm/usr/include/ |
semaphore.h | 54 extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
|
/prebuilts/ndk/7/platforms/android-4/arch-x86/usr/include/ |
semaphore.h | 54 extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
|
/prebuilts/ndk/7/platforms/android-5/arch-arm/usr/include/ |
semaphore.h | 54 extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
|
/prebuilts/ndk/7/platforms/android-5/arch-x86/usr/include/ |
semaphore.h | 54 extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
|
/prebuilts/ndk/7/platforms/android-8/arch-arm/usr/include/ |
semaphore.h | 54 extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
|