Home
last modified time | relevance | path

Searched refs:timespec (Results 1 – 25 of 34) sorted by relevance

12

/bionic/libc/bionic/
Dpthread_internal.h74 static __inline__ void timespec_add( struct timespec* a, const struct timespec* b ) in timespec_add()
84 static __inline__ void timespec_sub( struct timespec* a, const struct timespec* b ) in timespec_sub()
94 static __inline__ void timespec_zero( struct timespec* a ) in timespec_zero()
99 static __inline__ int timespec_is_zero( const struct timespec* a ) in timespec_is_zero()
104 static __inline__ int timespec_cmp( const struct timespec* a, const struct timespec* b ) in timespec_cmp()
113 static __inline__ int timespec_cmp0( const struct timespec* a ) in timespec_cmp0()
124 const struct timespec*,
129 const struct timespec*);
Dsleep.c33 struct timespec t; in sleep()
Dusleep.c33 struct timespec ts; in usleep()
Dpthread-timers.c110 struct timespec volatile expires; /* next expiration time, or 0 */
111 struct timespec volatile period; /* reload value, or 0 */
308 struct timespec dummy; in timer_create()
396 struct timespec diff; in timer_gettime_internal()
401 struct timespec now; in timer_gettime_internal()
457 struct timespec expires, now; in timer_settime()
529 struct timespec expires = timer->expires; in timer_thread_start()
530 struct timespec period = timer->period; in timer_thread_start()
541 struct timespec now; in timer_thread_start()
547 struct timespec diff = expires; in timer_thread_start()
Dsigwait.cpp36 extern "C" int __rt_sigtimedwait(const sigset_t* uthese, siginfo_t* uinfo, const struct timespec* u…
Dpthread.c54 int __futex_wait_ex(volatile void *ftx, int pshared, int val, const struct timespec *timeout) in __futex_wait_ex()
813 __timespec_to_absolute(struct timespec* ts, const struct timespec* abstime, clockid_t clock) in __timespec_to_absolute()
832 __timespec_to_relative_msec(struct timespec* abstime, unsigned msecs, clockid_t clock) in __timespec_to_relative_msec()
847 struct timespec abstime; in pthread_mutex_lock_timeout_np_impl()
848 struct timespec ts; in pthread_mutex_lock_timeout_np_impl()
907 struct timespec ts; in pthread_mutex_lock_timeout_np_impl()
1121 const struct timespec *reltime) in __pthread_cond_timedwait_relative()
1136 const struct timespec *abstime, in __pthread_cond_timedwait()
1139 struct timespec ts; in __pthread_cond_timedwait()
1140 struct timespec * tsp; in __pthread_cond_timedwait()
[all …]
Dpselect.c34 const struct timespec* timeout, const sigset_t* sigmask) in pselect()
Dsemaphore.c267 int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout) in sem_timedwait()
299 struct timespec ts; in sem_timedwait()
Dpthread-rwlocks.c224 int pthread_rwlock_timedrdlock(pthread_rwlock_t *rwlock, const struct timespec *abs_timeout) in pthread_rwlock_timedrdlock()
273 int pthread_rwlock_timedwrlock(pthread_rwlock_t *rwlock, const struct timespec *abs_timeout) in pthread_rwlock_timedwrlock()
/bionic/libc/upstream-netbsd/libc/include/isc/
Deventlib.h60 struct timespec, struct timespec));
166 struct timespec evConsTime __P((time_t sec, long nsec));
167 struct timespec evAddTime __P((struct timespec, struct timespec));
168 struct timespec evSubTime __P((struct timespec, struct timespec));
169 struct timespec evNowTime __P((void));
170 struct timespec evUTCTime __P((void));
171 struct timespec evLastEventTime __P((evContext));
172 struct timespec evTimeSpec __P((struct timeval));
173 struct timeval evTimeVal __P((struct timespec));
174 int evCmpTime __P((struct timespec, struct timespec));
[all …]
/bionic/libc/upstream-netbsd/libc/isc/
Dev_timers.c58 static void idle_timeout(evContext, void *, struct timespec, struct timespec);
65 struct timespec lastTouched;
66 struct timespec max_idle;
73 struct timespec
75 struct timespec x; in evConsTime()
82 struct timespec
83 evAddTime(struct timespec addend1, struct timespec addend2) { in evAddTime()
84 struct timespec x; in evAddTime()
95 struct timespec
96 evSubTime(struct timespec minuend, struct timespec subtrahend) { in evSubTime()
[all …]
Deventlib_p.h148 struct timespec due, inter;
247 struct timespec lastSelectTime;
254 struct timespec lastEventTime;
/bionic/libc/kernel/common/linux/
Dandroid_alarm.h46 #define ANDROID_ALARM_SET(type) _IOW('a', 2 | ((type) << 4), struct timespec)
47 #define ANDROID_ALARM_SET_AND_WAIT(type) _IOW('a', 3 | ((type) << 4), struct timespec)
49 #define ANDROID_ALARM_GET_TIME(type) _IOW('a', 4 | ((type) << 4), struct timespec)
50 #define ANDROID_ALARM_SET_RTC _IOW('a', 5, struct timespec)
Dtime.h25 struct timespec { struct
54 struct timespec it_interval;
55 struct timespec it_value;
Dnfs_xdr.h36 struct timespec pre_mtime;
37 struct timespec pre_ctime;
61 struct timespec atime;
62 struct timespec mtime;
64 struct timespec ctime;
414 struct timespec guardtime;
Dcoda.h46 struct timespec { struct
71 struct timespec { argument
162 struct timespec va_atime;
164 struct timespec va_mtime;
165 struct timespec va_ctime;
/bionic/libc/private/
Dbionic_futex.h35 extern int __futex_wait(volatile void *ftx, int val, const struct timespec *timeout);
39 extern int __futex_syscall4(volatile void *ftx, int op, int val, const struct timespec *timeout);
57 extern int __futex_wait_ex(volatile void *ftx, int pshared, int val, const struct timespec *timeou…
Dthread_private.h118 struct timespec;
119 int _thread_fd_lock(int, int, struct timespec *);
/bionic/libc/include/
Dsemaphore.h53 struct timespec;
54 extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
Dtime.h41 extern int nanosleep(const struct timespec *, struct timespec *);
97 extern int clock_getres(int, struct timespec *);
98 extern int clock_gettime(int, struct timespec *);
Dpthread.h170 int pthread_mutex_timedlock(pthread_mutex_t *mutex, struct timespec* ts);
185 const struct timespec *abstime);
193 const struct timespec *abstime);
200 const struct timespec *abstime);
209 const struct timespec *reltime);
252 int pthread_rwlock_timedrdlock(pthread_rwlock_t *rwlock, const struct timespec *abs_timeout);
256 int pthread_rwlock_timedwrlock(pthread_rwlock_t *rwlock, const struct timespec *abs_timeout);
/bionic/libc/include/sys/
Dselect.h42 const struct timespec *timeout, const sigset_t *sigmask);
Datomics.h79 int __futex_wait(volatile void *ftx, int val, const struct timespec *timeout);
/bionic/libc/unistd/
Dtime.c51 struct timespec tm; in clock_now()
/bionic/libc/kernel/common/sound/
Dasound.h370 struct timespec trigger_tstamp;
371 struct timespec tstamp;
389 struct timespec tstamp;
509 struct timespec tstamp;
621 struct timespec tstamp;
676 struct timespec tstamp;
827 struct timespec tstamp;
829 unsigned char reserved[128-sizeof(struct timespec)];

12