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

1 2

  /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 67 wifi_error wait(struct timespec abstime)
74 abstime.tv_sec += now.tv_sec;
75 if(((abstime.tv_nsec + now.tv_usec*1000) > 1000*1000*1000) || (abstime.tv_nsec + now.tv_usec*1000 < 0))
77 abstime.tv_sec += 1;
78 abstime.tv_nsec += now.tv_usec * 1000;
79 abstime.tv_nsec -= 1000*1000*1000;
83 abstime.tv_nsec += now.tv_usec * 1000;
85 status = pthread_cond_timedwait(&mCondition, &mMutex, &abstime);
wificonfig.cpp 559 struct timespec abstime; local
560 abstime.tv_sec = 4;
561 abstime.tv_nsec = 0;
562 res = mCondition.wait(abstime);
nan_ind.cpp 926 struct timespec abstime; local
    [all...]
wifilogger.cpp 989 struct timespec abstime; local
    [all...]
  /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/libxcam/xcore/
xcam_mutex.h 83 struct timespec abstime; local
87 xcam_mem_clear (abstime);
88 abstime.tv_sec += now.tv_sec + now.tv_usec / 1000000;
89 abstime.tv_nsec = (now.tv_usec % 1000000) * 1000;
91 return pthread_cond_timedwait (&_cond, &mutex._mutex, &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 144 struct timeval now, abstime; local
147 evutil_timeradd(&now, tv, &abstime);
148 ts.tv_sec = abstime.tv_sec;
149 ts.tv_nsec = abstime.tv_usec*1000;
evutil_time.c 362 ev_uint64_t abstime, usec; local
370 abstime = mach_absolute_time();
371 usec = (abstime * base->mach_timebase_units.numer)
  /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);
tsan_platform_linux.cc 319 void *abstime), void *c, void *m, void *abstime,
325 res = fn(c, m, abstime);
tsan_interceptors.cc 1047 int (*fn)(void *c, void *m, void *abstime), void *c,
    [all...]
tsan_platform.h 764 void *abstime), void *c, void *m, void *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/src/gki/ulinux/
gki_ulinux.cc 571 struct timespec abstime = {0, 0}; local
621 // abstime.tv_sec = currSysTime.time;
622 // abstime.tv_nsec = NANOSEC_PER_MILLISEC *
624 clock_gettime(CLOCK_MONOTONIC, &abstime);
629 abstime.tv_nsec += nano_sec;
630 if (abstime.tv_nsec > NSEC_PER_SEC) {
631 abstime.tv_sec += (abstime.tv_nsec / NSEC_PER_SEC);
632 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);
  /external/libcxx/src/support/win32/
thread_win32.cpp 119 auto abstime = local
121 auto timeout_ms = duration_cast<milliseconds>(abstime - system_clock::now());
  /external/valgrind/helgrind/
hg_intercepts.c     [all...]
  /system/core/libutils/
Threads.cpp 452 status_t wait(WinCondition* condState, HANDLE hMutex, nsecs_t* abstime)
462 if (abstime) {
463 nsecs_t reltime = *abstime - systemTime();
559 nsecs_t absTime = systemTime()+reltime;
561 return ((WinCondition*)mState)->wait(condState, hMutex, &absTime);
  /frameworks/av/media/libaaudio/src/core/
AudioStream.cpp 361 struct timespec abstime;
362 int err = pthread_timedjoin_np(mThread, returnArg, &abstime);
  /external/wpa_supplicant_8/src/utils/
os_unix.c 111 uint64_t abstime, nano;
119 abstime = mach_absolute_time();
120 nano = (abstime * info.numer) / info.denom;
  /external/valgrind/drd/
drd_pthread_intercepts.c     [all...]

Completed in 768 milliseconds

1 2