HomeSort by relevance Sort by last modified time
    Searched refs:abstime (Results 1 - 25 of 97) sorted by null

1 2 3 4

  /external/valgrind/helgrind/tests/
cond_timedwait_invalid.c 9 struct timespec abstime; local
16 abstime.tv_sec = time(NULL) + 2;
17 abstime.tv_nsec = 0;
19 abstime.tv_nsec += 1000000000;
22 assert(pthread_cond_timedwait(&cond, &mutex, &abstime)==EINVAL);
tc20_verifywrap.c 56 struct timespec abstime; local
134 memset( &abstime, 0, sizeof(abstime) );
136 r= pthread_mutex_timedlock( &mx3, &abstime ); assert(r);
178 memset( &abstime, 0, sizeof(abstime) );
179 abstime.tv_nsec = 1000000000 + 1;
180 r= pthread_cond_timedwait( &cv, &mx4, &abstime ); assert(r);
  /hardware/qcom/wlan/qcwcn/wifi_hal/
sync.h 64 int wait(struct timespec abstime)
70 abstime.tv_sec += now.tv_sec;
71 if(((abstime.tv_nsec + now.tv_usec*1000) > 1000*1000*1000) || (abstime.tv_nsec + now.tv_usec*1000 < 0))
73 abstime.tv_sec += 1;
74 abstime.tv_nsec += now.tv_usec * 1000;
75 abstime.tv_nsec -= 1000*1000*1000;
79 abstime.tv_nsec += now.tv_usec * 1000;
81 return pthread_cond_timedwait(&mCondition, &mMutex, &abstime);
wificonfig.cpp 533 struct timespec abstime; local
534 abstime.tv_sec = 4;
535 abstime.tv_nsec = 0;
536 res = mCondition.wait(abstime);
  /external/ltp/testcases/open_posix_testsuite/conformance/definitions/mqueue_h/
9-1-buildonly.c 14 struct timespec abstime; local
20 size = mq_timedreceive(mqdes, msgp, msg_len, &msg_prio, &abstime);
  /external/mesa3d/src/vulkan/wsi/
wsi_common_queue.h 127 struct timespec abstime; local
128 abstime.tv_nsec = abs_nsec;
129 abstime.tv_sec = MIN2(abs_sec, INT_TYPE_MAX(abstime.tv_sec));
132 ret = pthread_cond_timedwait(&queue->cond, &queue->mutex, &abstime);
  /external/libevent/
evthread_pthread.c 142 struct timeval now, abstime; local
145 evutil_timeradd(&now, tv, &abstime);
146 ts.tv_sec = abstime.tv_sec;
147 ts.tv_nsec = abstime.tv_usec*1000;
  /external/libcups/cups/
thread.c 57 struct timespec abstime; /* Timeout */ local
59 abstime.tv_sec = (long)timeout;
60 abstime.tv_nsec = (long)(1000000000 * (timeout - (long)timeout));
62 pthread_cond_timedwait(cond, mutex, &abstime);
  /external/compiler-rt/lib/tsan/rtl/
tsan_platform_mac.cc 178 void *abstime), void *c, void *m, void *abstime,
184 res = fn(c, m, abstime);
  /external/compiler-rt/lib/tsan/dd/
dd_interceptors.cc 123 const timespec *abstime) {
125 int res = REAL(pthread_rwlock_timedrdlock)(m, abstime);
148 const timespec *abstime) {
150 int res = REAL(pthread_rwlock_timedwrlock)(m, abstime);
194 const timespec *abstime) {
199 int res = REAL(pthread_cond_timedwait)(cond, m, abstime);
  /system/nfc/halimpl/bcm2079x/gki/ulinux/
gki_ulinux.c 616 struct timespec abstime = {0, 0}; local
665 // abstime.tv_sec = currSysTime.time;
666 // abstime.tv_nsec = NANOSEC_PER_MILLISEC *
668 clock_gettime(CLOCK_MONOTONIC, &abstime);
673 abstime.tv_nsec += nano_sec;
674 if (abstime.tv_nsec > NSEC_PER_SEC) {
675 abstime.tv_sec += (abstime.tv_nsec / NSEC_PER_SEC);
676 abstime.tv_nsec = abstime.tv_nsec % NSEC_PER_SEC
    [all...]
  /system/nfc/src/gki/ulinux/
gki_ulinux.c 582 struct timespec abstime = {0, 0}; local
632 // abstime.tv_sec = currSysTime.time;
633 // abstime.tv_nsec = NANOSEC_PER_MILLISEC *
635 clock_gettime(CLOCK_MONOTONIC, &abstime);
640 abstime.tv_nsec += nano_sec;
641 if (abstime.tv_nsec > NSEC_PER_SEC) {
642 abstime.tv_sec += (abstime.tv_nsec / NSEC_PER_SEC);
643 abstime.tv_nsec = abstime.tv_nsec % NSEC_PER_SEC
    [all...]
  /bionic/libc/bionic/
pthread_cond.cpp 206 const timespec *abstime) {
209 return __pthread_cond_timedwait(cond, mutex, cond->use_realtime_clock(), abstime);
  /frameworks/av/media/libaaudio/src/core/
AudioStream.cpp 193 struct timespec abstime;
194 int err = pthread_timedjoin_np(mThread, returnArg, &abstime);
  /development/ndk/platforms/android-9/include/
pthread.h 189 const struct timespec *abstime);
191 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers
197 const struct timespec *abstime);
204 const struct timespec *abstime);
  /prebuilts/ndk/r10/platforms/android-12/arch-arm/usr/include/
pthread.h 189 const struct timespec *abstime);
191 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers
197 const struct timespec *abstime);
204 const struct timespec *abstime);
  /prebuilts/ndk/r10/platforms/android-12/arch-mips/usr/include/
pthread.h 189 const struct timespec *abstime);
191 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers
197 const struct timespec *abstime);
204 const struct timespec *abstime);
  /prebuilts/ndk/r10/platforms/android-12/arch-x86/usr/include/
pthread.h 189 const struct timespec *abstime);
191 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers
197 const struct timespec *abstime);
204 const struct timespec *abstime);
  /prebuilts/ndk/r10/platforms/android-13/arch-arm/usr/include/
pthread.h 189 const struct timespec *abstime);
191 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers
197 const struct timespec *abstime);
204 const struct timespec *abstime);
  /prebuilts/ndk/r10/platforms/android-13/arch-mips/usr/include/
pthread.h 189 const struct timespec *abstime);
191 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers
197 const struct timespec *abstime);
204 const struct timespec *abstime);
  /prebuilts/ndk/r10/platforms/android-13/arch-x86/usr/include/
pthread.h 189 const struct timespec *abstime);
191 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers
197 const struct timespec *abstime);
204 const struct timespec *abstime);
  /prebuilts/ndk/r10/platforms/android-14/arch-arm/usr/include/
pthread.h 189 const struct timespec *abstime);
191 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers
197 const struct timespec *abstime);
204 const struct timespec *abstime);
  /prebuilts/ndk/r10/platforms/android-14/arch-mips/usr/include/
pthread.h 189 const struct timespec *abstime);
191 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers
197 const struct timespec *abstime);
204 const struct timespec *abstime);
  /prebuilts/ndk/r10/platforms/android-14/arch-x86/usr/include/
pthread.h 189 const struct timespec *abstime);
191 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers
197 const struct timespec *abstime);
204 const struct timespec *abstime);
  /prebuilts/ndk/r10/platforms/android-15/arch-arm/usr/include/
pthread.h 189 const struct timespec *abstime);
191 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers
197 const struct timespec *abstime);
204 const struct timespec *abstime);

Completed in 726 milliseconds

1 2 3 4