/external/valgrind/main/helgrind/tests/ |
cond_timedwait_invalid.c | 9 struct timespec abstime; local 14 assert(clock_gettime(CLOCK_REALTIME, &abstime)==0); 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 | 46 struct timespec abstime; local 119 memset( &abstime, 0, sizeof(abstime) ); 121 r= pthread_mutex_timedlock( &mx3, &abstime ); assert(r); 163 memset( &abstime, 0, sizeof(abstime) ); 164 abstime.tv_nsec = 1000000000 + 1; 165 r= pthread_cond_timedwait( &cv, &mx4, &abstime ); assert(r);
|
/external/chromium/base/synchronization/ |
condition_variable_posix.cc | 49 struct timespec abstime; local 50 abstime.tv_sec = now.tv_sec + (usecs / Time::kMicrosecondsPerSecond); 51 abstime.tv_nsec = (now.tv_usec + (usecs % Time::kMicrosecondsPerSecond)) * 53 abstime.tv_sec += abstime.tv_nsec / Time::kNanosecondsPerSecond; 54 abstime.tv_nsec %= Time::kNanosecondsPerSecond; 55 DCHECK_GE(abstime.tv_sec, now.tv_sec); // Overflow paranoia 60 int rv = pthread_cond_timedwait(&condition_, user_mutex_, &abstime);
|
/external/qemu/distrib/sdl-1.2.12/src/thread/pthread/ |
SDL_syscond.c | 102 struct timespec abstime; local 111 abstime.tv_sec = delta.tv_sec + (ms/1000); 112 abstime.tv_nsec = (delta.tv_usec + (ms%1000) * 1000) * 1000; 113 if ( abstime.tv_nsec > 1000000000 ) { 114 abstime.tv_sec += 1; 115 abstime.tv_nsec -= 1000000000; 119 retval = pthread_cond_timedwait(&cond->cond, &mutex->id, &abstime);
|
/external/qemu/distrib/sdl-1.2.12/src/thread/riscos/ |
SDL_syscond.c | 106 struct timespec abstime; local 115 abstime.tv_sec = delta.tv_sec + (ms/1000); 116 abstime.tv_nsec = (delta.tv_usec + (ms%1000) * 1000) * 1000; 117 if ( abstime.tv_nsec > 1000000000 ) { 118 abstime.tv_sec += 1; 119 abstime.tv_nsec -= 1000000000; 123 retval = pthread_cond_timedwait(&cond->cond, &mutex->id, &abstime);
|
/development/ndk/platforms/android-5/include/ |
pthread.h | 176 const struct timespec *abstime); 178 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers 184 const struct timespec *abstime); 191 const struct timespec *abstime);
|
/development/ndk/platforms/android-8/include/ |
pthread.h | 181 const struct timespec *abstime); 183 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers 189 const struct timespec *abstime); 196 const struct timespec *abstime);
|
/prebuilts/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/ |
pthread.h | 176 const struct timespec *abstime); 178 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers 184 const struct timespec *abstime); 191 const struct timespec *abstime);
|
/prebuilts/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/ |
pthread.h | 181 const struct timespec *abstime); 183 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers 189 const struct timespec *abstime); 196 const struct timespec *abstime);
|
/prebuilts/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/ |
pthread.h | 181 const struct timespec *abstime); 183 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers 189 const struct timespec *abstime); 196 const struct timespec *abstime);
|
/prebuilts/ndk/android-ndk-r5/platforms/android-5/arch-arm/usr/include/ |
pthread.h | 176 const struct timespec *abstime); 178 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers 184 const struct timespec *abstime); 191 const struct timespec *abstime);
|
/prebuilts/ndk/android-ndk-r5/platforms/android-8/arch-arm/usr/include/ |
pthread.h | 181 const struct timespec *abstime); 183 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers 189 const struct timespec *abstime); 196 const struct timespec *abstime);
|
/prebuilts/ndk/android-ndk-r6/platforms/android-5/arch-arm/usr/include/ |
pthread.h | 176 const struct timespec *abstime); 178 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers 184 const struct timespec *abstime); 191 const struct timespec *abstime);
|
/prebuilts/ndk/android-ndk-r6/platforms/android-5/arch-x86/usr/include/ |
pthread.h | 176 const struct timespec *abstime); 178 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers 184 const struct timespec *abstime); 191 const struct timespec *abstime);
|
/prebuilts/ndk/android-ndk-r6/platforms/android-8/arch-arm/usr/include/ |
pthread.h | 181 const struct timespec *abstime); 183 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers 189 const struct timespec *abstime); 196 const struct timespec *abstime);
|
/prebuilts/ndk/android-ndk-r6/platforms/android-8/arch-x86/usr/include/ |
pthread.h | 181 const struct timespec *abstime); 183 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers 189 const struct timespec *abstime); 196 const struct timespec *abstime);
|
/prebuilts/ndk/android-ndk-r7/platforms/android-5/arch-arm/usr/include/ |
pthread.h | 176 const struct timespec *abstime); 178 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers 184 const struct timespec *abstime); 191 const struct timespec *abstime);
|
/prebuilts/ndk/android-ndk-r7/platforms/android-5/arch-x86/usr/include/ |
pthread.h | 176 const struct timespec *abstime); 178 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers 184 const struct timespec *abstime); 191 const struct timespec *abstime);
|
/prebuilts/ndk/android-ndk-r7/platforms/android-8/arch-arm/usr/include/ |
pthread.h | 181 const struct timespec *abstime); 183 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers 189 const struct timespec *abstime); 196 const struct timespec *abstime);
|
/prebuilts/ndk/android-ndk-r7/platforms/android-8/arch-x86/usr/include/ |
pthread.h | 181 const struct timespec *abstime); 183 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers 189 const struct timespec *abstime); 196 const struct timespec *abstime);
|
/bionic/libc/include/ |
pthread.h | 185 const struct timespec *abstime); 187 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers 193 const struct timespec *abstime); 200 const struct timespec *abstime);
|
/development/ndk/platforms/android-9/include/ |
pthread.h | 183 const struct timespec *abstime); 185 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers 191 const struct timespec *abstime); 198 const struct timespec *abstime);
|
/prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/ |
pthread.h | 183 const struct timespec *abstime); 185 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers 191 const struct timespec *abstime); 198 const struct timespec *abstime);
|
/prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/ |
pthread.h | 183 const struct timespec *abstime); 185 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers 191 const struct timespec *abstime); 198 const struct timespec *abstime);
|
/prebuilts/ndk/android-ndk-r5/platforms/android-9/arch-arm/usr/include/ |
pthread.h | 183 const struct timespec *abstime); 185 /* BIONIC: same as pthread_cond_timedwait, except the 'abstime' given refers 191 const struct timespec *abstime); 198 const struct timespec *abstime);
|