HomeSort by relevance Sort by last modified time
    Searched full:timespec (Results 1 - 25 of 2003) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /system/bt/osi/src/
time.c 26 struct timespec timespec; local
27 clock_gettime(CLOCK_BOOTTIME, &timespec);
28 return (timespec.tv_sec * 1000) + (timespec.tv_nsec / 1000000);
  /external/fio/os/windows/
posix.h 7 extern int clock_gettime(clockid_t clock_id, struct timespec *tp);
  /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...]
  /external/tlsdate/src/compat/
clock.h 34 struct timespec tp;
40 struct timespec tp;
42 struct timespec tp;
44 struct timespec tp;
46 struct timespec tp;
48 struct timespec tp;
  /bionic/libc/upstream-netbsd/lib/libc/include/isc/
eventlib.h 60 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))
    [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.
  /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/upstream-netbsd/lib/libc/isc/
ev_timers.c 58 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;
82 struct timespec
83 evAddTime(struct timespec addend1, struct timespec addend2) {
84 struct timespec x
    [all...]
  /bionic/libc/bionic/
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...]
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) {
  /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);
  /prebuilts/go/darwin-x86/src/syscall/
syscall_nacl_386.go 7 type Timespec struct {
17 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
19 func NsecToTimespec(nsec int64) (ts Timespec) {
syscall_nacl_amd64p32.go 7 type Timespec struct {
17 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
19 func NsecToTimespec(nsec int64) (ts Timespec) {
syscall_nacl_arm.go 7 type Timespec struct {
17 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
19 func NsecToTimespec(nsec int64) (ts Timespec) {
  /prebuilts/go/linux-x86/src/syscall/
syscall_nacl_386.go 7 type Timespec struct {
17 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
19 func NsecToTimespec(nsec int64) (ts Timespec) {
syscall_nacl_amd64p32.go 7 type Timespec struct {
17 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
19 func NsecToTimespec(nsec int64) (ts Timespec) {
syscall_nacl_arm.go 7 type Timespec struct {
17 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
19 func NsecToTimespec(nsec int64) (ts Timespec) {
  /external/vboot_reference/tests/
timer_utils.h 14 struct timespec start_time;
15 struct timespec end_time;
  /development/ndk/platforms/android-3/include/linux/
android_alarm.h 41 #define ANDROID_ALARM_SET(type) _IOW('a', 2 | ((type) << 4), struct timespec)
42 #define ANDROID_ALARM_SET_AND_WAIT(type) _IOW('a', 3 | ((type) << 4), struct timespec)
43 #define ANDROID_ALARM_GET_TIME(type) _IOW('a', 4 | ((type) << 4), struct timespec)
44 #define ANDROID_ALARM_SET_RTC _IOW('a', 5, struct timespec)
  /external/autotest/client/tests/tracing_microbenchmark/src/
getuid_microbench.c 10 void ts_subtract(struct timespec *result,
11 const struct timespec *time1, const struct timespec *time2) {
27 struct timespec start_time, end_time, elapsed_time;
  /external/compiler-rt/test/sanitizer_common/TestCases/Linux/
clock_gettime.c 8 struct timespec ts;
  /external/kernel-headers/original/uapi/asm-generic/
sockios.h 11 #define SIOCGSTAMPNS 0x8907 /* Get stamp (timespec) */
  /external/kernel-headers/original/uapi/linux/
android_alarm.h 55 #define ANDROID_ALARM_SET(type) ALARM_IOW(2, type, struct timespec)
56 #define ANDROID_ALARM_SET_AND_WAIT(type) ALARM_IOW(3, type, struct timespec)
57 #define ANDROID_ALARM_GET_TIME(type) ALARM_IOW(4, type, struct timespec)
58 #define ANDROID_ALARM_SET_RTC _IOW('a', 5, struct timespec)
  /external/valgrind/helgrind/tests/
cond_timedwait_test.c 9 struct timespec now;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/asm-generic/
sockios.h 11 #define SIOCGSTAMPNS 0x8907 /* Get stamp (timespec) */

Completed in 2397 milliseconds

1 2 3 4 5 6 7 8 91011>>