Searched defs:clock (Results 1 - 14 of 14) sorted by relevance

/bionic/libc/bionic/
H A Dclock.cpp35 // http://pubs.opengroup.org/onlinepubs/9699919799/functions/clock.html
36 clock_t clock() { function
H A Dpthread_cond.cpp52 // and one bit for the clock type (CLOCK_REALTIME is 0 and
88 int pthread_condattr_getclock(const pthread_condattr_t* attr, clockid_t* clock) { argument
89 *clock = COND_GET_CLOCK(*attr);
93 int pthread_condattr_setclock(pthread_condattr_t* attr, clockid_t clock) { argument
94 if (clock != CLOCK_MONOTONIC && clock != CLOCK_REALTIME) {
98 *attr = COND_SET_CLOCK(*attr, clock);
H A Dtime64.c64 # define LOCALTIME_R(clock, result) localtime_r(clock, result)
66 # define LOCALTIME_R(clock, result) fake_localtime_r(clock, result)
69 # define GMTIME_R(clock, result) gmtime_r(clock, result)
71 # define GMTIME_R(clock, result) fake_gmtime_r(clock, result)
427 struct tm * fake_localtime_r(const time_t *clock, struct tm *result) { argument
428 const struct tm *static_result = localtime(clock);
445 fake_gmtime_r(const time_t *clock, struct tm *result) argument
[all...]
/bionic/libc/private/
H A Dbionic_time_conversions.h63 static inline void absolute_timespec_from_timespec(timespec& abs_ts, const timespec& ts, clockid_t clock) { argument
64 clock_gettime(clock, &abs_ts);
/bionic/libc/kernel/uapi/linux/
H A Dscc.h126 long clock; member in struct:scc_hw_config
H A Dkvm.h775 __u64 clock; member in struct:kvm_clock_data
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Dscc.h126 long clock; member in struct:scc_hw_config
H A Dkvm.h775 __u64 clock; member in struct:kvm_clock_data
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/
H A Dscc.h126 long clock; member in struct:scc_hw_config
H A Dkvm.h775 __u64 clock; member in struct:kvm_clock_data
/bionic/tests/
H A Dpthread_test.cpp1147 clockid_t clock; local
1148 ASSERT_EQ(0, pthread_condattr_getclock(&attr, &clock));
1149 ASSERT_EQ(CLOCK_REALTIME, clock);
1161 clockid_t clock; local
1162 ASSERT_EQ(0, pthread_condattr_getclock(&attr, &clock));
1163 ASSERT_EQ(CLOCK_REALTIME, clock);
1166 ASSERT_EQ(0, pthread_condattr_getclock(&attr, &clock));
1167 ASSERT_EQ(CLOCK_MONOTONIC, clock);
1187 clockid_t clock; local
1188 ASSERT_EQ(0, pthread_condattr_getclock(&attr, &clock));
1218 InitCond(clockid_t clock=CLOCK_REALTIME) argument
[all...]
/bionic/libc/kernel/uapi/drm/
H A Ddrm_mode.h81 __u32 clock; member in struct:drm_mode_modeinfo
/bionic/libc/versioner-dependencies/common/kernel_uapi/drm/
H A Ddrm_mode.h81 __u32 clock; member in struct:drm_mode_modeinfo
/bionic/tools/versioner/dependencies/common/kernel_uapi/drm/
H A Ddrm_mode.h81 __u32 clock; member in struct:drm_mode_modeinfo

Completed in 2945 milliseconds