/system/bt/osi/src/ |
time.c | 26 struct timespec timespec; local 27 clock_gettime(CLOCK_BOOTTIME, ×pec); 28 return (timespec.tv_sec * 1000) + (timespec.tv_nsec / 1000000);
|
/bionic/libc/bionic/ |
clock_nanosleep.cpp | 33 extern "C" int ___clock_nanosleep(clockid_t, int, const timespec*, timespec*); 35 int clock_nanosleep(clockid_t clock_id, int flags, const timespec* in, timespec* out) {
|
futimens.cpp | 32 int futimens(int fd, const struct timespec times[2]) {
|
sigtimedwait.cpp | 33 extern "C" int __rt_sigtimedwait(const sigset_t*, siginfo_t*, const timespec*, size_t); 35 int sigtimedwait(const sigset_t* set, siginfo_t* info, const timespec* timeout) {
|
bionic_time_conversions.cpp | 33 bool timespec_from_timeval(timespec& ts, const timeval& tv) { 45 void timespec_from_ms(timespec& ts, const int ms) { 50 void timeval_from_timespec(timeval& tv, const timespec& ts) { 55 void absolute_timespec_from_timespec(timespec& abs_ts, const timespec& ts, clockid_t clock) {
|
poll.cpp | 37 extern "C" int __ppoll(pollfd*, unsigned int, timespec*, const kernel_sigset_t*, size_t); 38 extern "C" int __pselect6(int, fd_set*, fd_set*, fd_set*, timespec*, void*); 41 timespec ts; 42 timespec* ts_ptr = NULL; 50 int ppoll(pollfd* fds, nfds_t fd_count, const timespec* ts, const sigset_t* ss) { 51 timespec mutable_ts; 52 timespec* mutable_ts_ptr = NULL; 69 timespec ts; 70 timespec* ts_ptr = NULL; 86 const timespec* ts, const sigset_t* ss) [all...] |
/frameworks/base/include/androidfw/ |
ZipUtils.h | 66 * Utility function to convert ZIP's time format to a timespec struct. 68 * NOTE: this method will clear all existing state from |timespec|. 70 static inline void zipTimeToTimespec(uint32_t when, struct tm* timespec) { 73 memset(timespec, 0, sizeof(struct tm)); 74 timespec->tm_year = ((date >> 9) & 0x7F) + 80; // Zip is years since 1980 75 timespec->tm_mon = ((date >> 5) & 0x0F) - 1; 76 timespec->tm_mday = date & 0x1F; 78 timespec->tm_hour = (when >> 11) & 0x1F; 79 timespec->tm_min = (when >> 5) & 0x3F; 80 timespec->tm_sec = (when & 0x1F) << 1 [all...] |
/bionic/libc/private/ |
bionic_time_conversions.h | 40 __LIBC_HIDDEN__ bool timespec_from_timeval(timespec& ts, const timeval& tv); 41 __LIBC_HIDDEN__ void timespec_from_ms(timespec& ts, const int ms); 43 __LIBC_HIDDEN__ void timeval_from_timespec(timeval& tv, const timespec& ts); 45 __LIBC_HIDDEN__ void absolute_timespec_from_timespec(timespec& abs_ts, const timespec& ts, 50 static inline int check_timespec(const timespec* ts, bool null_allowed) { 54 // glibc just segfaults if you pass a null timespec.
|
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
clock_gettime.c | 8 struct timespec ts;
|
/bionic/libc/include/bits/ |
timespec.h | 35 * This file is used to include timespec definition without introducing the whole 40 struct timespec { struct
|
/external/libmicrohttpd/src/microspdy/ |
internal.c | 34 struct timespec ts;
|
/hardware/bsp/intel/peripheral/sensors/mraa/ |
Utils.hpp | 29 * Populates a timespec data structure from a int64_t timestamp 30 * @param out what timespec to populate 33 void set_timestamp(struct timespec *out, int64_t target_ns);
|
Utils.cpp | 21 struct timespec ts = {0, 0}; 34 void set_timestamp(struct timespec *out, int64_t target_ns)
|
/external/vboot_reference/tests/ |
timer_utils.h | 14 struct timespec start_time; 15 struct timespec end_time;
|
/external/webrtc/webrtc/system_wrappers/source/ |
sleep.cc | 28 struct timespec short_wait; 29 struct timespec remainder;
|
/hardware/bsp/intel/peripheral/libupm/src/ppd42ns/ |
ppd42ns.h | 89 double m_timediff(timespec time1, timespec time2);
|
/system/extras/tests/include/ |
testUtil.h | 28 struct timespec double2ts(double amt); 30 double ts2double(const struct timespec *val); 32 struct timespec tsDelta(const struct timespec *first, 33 const struct timespec *second);
|
/system/core/include/log/ |
log_read.h | 23 /* struct log_time is a wire-format variant of struct timespec */ 39 log_time(const timespec &T) 49 static const timespec EPOCH; 55 timespec T; 67 // timespec 68 bool operator== (const timespec &T) const 73 bool operator!= (const timespec &T) const 77 bool operator< (const timespec &T) const 83 bool operator>= (const timespec &T) const 87 bool operator> (const timespec &T) cons [all...] |
/system/extras/tests/timetest/ |
timetest.c | 15 struct timespec t; 26 static struct timespec ts_sub(struct timespec a, struct timespec b) 28 struct timespec r; 42 static struct timespec ts_min(struct timespec a, struct timespec b) 50 static struct timespec ts_max(struct timespec a, struct timespec b [all...] |
/bionic/libc/kernel/uapi/linux/ |
time.h | 25 struct timespec { struct 46 struct timespec it_interval; 47 struct timespec it_value;
|
/development/ndk/platforms/android-21/include/linux/ |
time.h | 25 struct timespec { struct 46 struct timespec it_interval; 47 struct timespec it_value;
|
/external/kernel-headers/original/uapi/linux/ |
time.h | 9 struct timespec { struct 35 struct timespec it_interval; /* timer period */ 36 struct timespec it_value; /* timer expiration */
|
/hardware/akm/AK8975_FS/akmdfs/ |
AKFS_Measure.h | 50 struct timespec AKFS_CalcSleep( 51 const struct timespec* end, 52 const struct timespec* start,
|
/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include/linux/ |
time.h | 25 struct timespec { struct 46 struct timespec it_interval; 47 struct timespec it_value;
|
/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr/include/linux/ |
time.h | 25 struct timespec { struct 46 struct timespec it_interval; 47 struct timespec it_value;
|