Home
last modified time | relevance | path

Searched refs:abstime (Results 1 – 20 of 20) sorted by relevance

/external/valgrind/helgrind/tests/
Dcond_timedwait_invalid.c9 struct timespec abstime; in main() local
16 abstime.tv_sec = time(NULL) + 2; in main()
17 abstime.tv_nsec = 0; in main()
19 abstime.tv_nsec += 1000000000; in main()
22 assert(pthread_cond_timedwait(&cond, &mutex, &abstime)==EINVAL); in main()
Dtc20_verifywrap.c51 struct timespec abstime; in main() local
129 memset( &abstime, 0, sizeof(abstime) ); in main()
131 r= pthread_mutex_timedlock( &mx3, &abstime ); assert(r); in main()
173 memset( &abstime, 0, sizeof(abstime) ); in main()
174 abstime.tv_nsec = 1000000000 + 1; in main()
175 r= pthread_cond_timedwait( &cv, &mx4, &abstime ); assert(r); in main()
/external/libevent/
Devthread_pthread.c142 struct timeval now, abstime; in evthread_posix_cond_wait() local
145 evutil_timeradd(&now, tv, &abstime); in evthread_posix_cond_wait()
146 ts.tv_sec = abstime.tv_sec; in evthread_posix_cond_wait()
147 ts.tv_nsec = abstime.tv_usec*1000; in evthread_posix_cond_wait()
/external/compiler-rt/lib/tsan/dd/
Ddd_interceptors.cc126 const timespec *abstime) { in INTERCEPTOR() argument
128 int res = REAL(pthread_rwlock_timedrdlock)(m, abstime); in INTERCEPTOR()
151 const timespec *abstime) { in INTERCEPTOR() argument
153 int res = REAL(pthread_rwlock_timedwrlock)(m, abstime); in INTERCEPTOR()
197 const timespec *abstime) { in INTERCEPTOR() argument
202 int res = REAL(pthread_cond_timedwait)(cond, m, abstime); in INTERCEPTOR()
/external/libnfc-nci/halimpl/bcm2079x/gki/ulinux/
Dgki_ulinux.c645 struct timespec abstime = { 0, 0 }; in GKI_wait() local
695 clock_gettime(CLOCK_MONOTONIC, &abstime); in GKI_wait()
700 abstime.tv_nsec += nano_sec; in GKI_wait()
701 if (abstime.tv_nsec > NSEC_PER_SEC) in GKI_wait()
703 abstime.tv_sec += (abstime.tv_nsec / NSEC_PER_SEC); in GKI_wait()
704 abstime.tv_nsec = abstime.tv_nsec % NSEC_PER_SEC; in GKI_wait()
706 abstime.tv_sec += sec; in GKI_wait()
709 &gki_cb.os.thread_evt_mutex[rtask], &abstime); in GKI_wait()
/external/libnfc-nci/src/gki/ulinux/
Dgki_ulinux.c622 struct timespec abstime = { 0, 0 }; in GKI_wait() local
672 clock_gettime(CLOCK_MONOTONIC, &abstime); in GKI_wait()
677 abstime.tv_nsec += nano_sec; in GKI_wait()
678 if (abstime.tv_nsec > NSEC_PER_SEC) in GKI_wait()
680 abstime.tv_sec += (abstime.tv_nsec / NSEC_PER_SEC); in GKI_wait()
681 abstime.tv_nsec = abstime.tv_nsec % NSEC_PER_SEC; in GKI_wait()
683 abstime.tv_sec += sec; in GKI_wait()
686 &gki_cb.os.thread_evt_mutex[rtask], &abstime); in GKI_wait()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_platform_mac.cc174 void *abstime), void *c, void *m, void *abstime, in call_pthread_cancel_with_cleanup() argument
180 res = fn(c, m, abstime); in call_pthread_cancel_with_cleanup()
Dtsan_platform_linux.cc348 void *abstime), void *c, void *m, void *abstime, in call_pthread_cancel_with_cleanup() argument
354 res = fn(c, m, abstime); in call_pthread_cancel_with_cleanup()
Dtsan_interceptors.cc1111 (int(*)(void *c, void *m, void *abstime))REAL(pthread_cond_wait), in INTERCEPTOR()
1120 INTERCEPTOR(int, pthread_cond_timedwait, void *c, void *m, void *abstime) { in INTERCEPTOR() argument
1122 SCOPED_TSAN_INTERCEPTOR(pthread_cond_timedwait, cond, m, abstime); in INTERCEPTOR()
1132 REAL(pthread_cond_timedwait), cond, m, abstime, in INTERCEPTOR()
1204 TSAN_INTERCEPTOR(int, pthread_mutex_timedlock, void *m, void *abstime) { in TSAN_INTERCEPTOR() argument
1205 SCOPED_TSAN_INTERCEPTOR(pthread_mutex_timedlock, m, abstime); in TSAN_INTERCEPTOR()
1206 int res = REAL(pthread_mutex_timedlock)(m, abstime); in TSAN_INTERCEPTOR()
1296 TSAN_INTERCEPTOR(int, pthread_rwlock_timedrdlock, void *m, void *abstime) { in TSAN_INTERCEPTOR() argument
1297 SCOPED_TSAN_INTERCEPTOR(pthread_rwlock_timedrdlock, m, abstime); in TSAN_INTERCEPTOR()
1298 int res = REAL(pthread_rwlock_timedrdlock)(m, abstime); in TSAN_INTERCEPTOR()
[all …]
Dtsan_platform.h765 void *abstime), void *c, void *m, void *abstime,
/external/valgrind/helgrind/
Dhg_intercepts.c1253 struct timespec* abstime, in pthread_cond_timedwait_WRK() argument
1264 cond, mutex, abstime); in pthread_cond_timedwait_WRK()
1276 abstime_is_valid = abstime->tv_nsec >= 0 && abstime->tv_nsec < 1000000000; in pthread_cond_timedwait_WRK()
1287 CALL_FN_W_WWW(ret, fn, cond,mutex,abstime); in pthread_cond_timedwait_WRK()
1321 struct timespec* abstime) { in PTH_FUNC() argument
1322 return pthread_cond_timedwait_WRK(cond, mutex, abstime, ETIMEDOUT); in PTH_FUNC()
1327 struct timespec* abstime) { in PTH_FUNC() argument
1328 return pthread_cond_timedwait_WRK(cond, mutex, abstime, ETIMEDOUT); in PTH_FUNC()
1332 struct timespec* abstime) { in PTH_FUNC() argument
1333 return pthread_cond_timedwait_WRK(cond, mutex, abstime, ETIMEDOUT); in PTH_FUNC()
[all …]
/external/wpa_supplicant_8/src/utils/
Dos_unix.c106 uint64_t abstime, nano; in os_get_reltime()
114 abstime = mach_absolute_time(); in os_get_reltime()
115 nano = (abstime * info.numer) / info.denom; in os_get_reltime()
/external/valgrind/drd/
Ddrd_pthread_intercepts.c1097 const struct timespec* abstime) in pthread_cond_timedwait_intercept() argument
1104 CALL_FN_W_WWW(ret, fn, cond, mutex, abstime); in pthread_cond_timedwait_intercept()
1112 const struct timespec* abstime),
1113 (cond, mutex, abstime));
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc5172 INTERCEPTOR(int, sem_timedwait, __sanitizer_sem_t *s, void *abstime) {
5174 COMMON_INTERCEPTOR_ENTER(ctx, sem_timedwait, s, abstime);
5175 COMMON_INTERCEPTOR_READ_RANGE(ctx, abstime, struct_timespec_sz);
5176 int res = COMMON_INTERCEPTOR_BLOCK_REAL(sem_timedwait)(s, abstime);
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...