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

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/Modules/Inputs/PR27186/
time.h 1 struct timespec;
Rtypes.h 2 typedef struct timespec timespec_t;
  /external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
25-1-buildonly.c 10 int nanosleep(const struct timespec *, struct timespec *);
16 typedef int (*nanosleep_test) (const struct timespec *, struct timespec *);
14-1-buildonly.c 10 int clock_nanosleep(clockid_t, int, const struct timespec *,
11 struct timespec *);
17 typedef int (*clock_nanosleep_test) (clockid_t, int, const struct timespec *,
18 struct timespec *);
5-1-buildonly.c 16 struct timespec interval;
17 struct timespec value;
12-1-buildonly.c 10 int clock_getres(clockid_t, struct timespec *);
16 typedef int (*clock_getres_test) (clockid_t, struct timespec *);
13-1-buildonly.c 10 int clock_gettime(clockid_t, struct timespec *);
16 typedef int (*clock_gettime_test) (clockid_t, struct timespec *);
15-1-buildonly.c 10 int clock_settime(clockid_t, const struct timespec *);
16 typedef int (*clock_settime_test) (clockid_t, const struct timespec *);
  /external/ltp/include/
tst_clocks.h 25 int tst_clock_getres(clockid_t clk_id, struct timespec *res);
27 int tst_clock_gettime(clockid_t clk_id, struct timespec *ts);
tst_timer.h 26 Timer - struct timespec conversion runtimes and easy to use functions to
38 * Converts timespec to microseconds.
40 static inline long long tst_timespec_to_us(struct timespec t)
46 * Converts timespec to miliseconds.
48 static inline long long tst_timespec_to_ms(struct timespec t)
96 * Converts ms to struct timespec
98 static inline struct timespec tst_ms_to_timespec(long long ms)
100 struct timespec ret;
109 * Converts us to struct timespec
111 static inline struct timespec tst_us_to_timespec(long long us
    [all...]
  /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]) {
  /frameworks/base/libs/androidfw/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 monotonic_time_from_realtime_time(timespec& monotonic_time,
46 const timespec& realtime_time);
50 static inline int check_timespec(const timespec* ts, bool null_allowed) {
54 // glibc just segfaults if you pass a null timespec.
66 static inline void absolute_timespec_from_timespec(timespec& abs_ts, const timespec& ts, clockid_t clock) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/
helpers.h 15 int getBeforeTime(struct timespec *tpget)
25 int setBackTime(struct timespec tpset)
  /external/compiler-rt/test/sanitizer_common/TestCases/Linux/
clock_gettime.c 8 struct timespec ts;
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
pthread_time.h 84 int __cdecl WINPTHREAD_API nanosleep(const struct timespec *request, struct timespec *remain);
86 int __cdecl WINPTHREAD_API clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *request, struct timespec *remain);
87 int __cdecl WINPTHREAD_API clock_getres(clockid_t clock_id, struct timespec *res);
88 int __cdecl WINPTHREAD_API clock_gettime(clockid_t clock_id, struct timespec *tp);
89 int __cdecl WINPTHREAD_API clock_settime(clockid_t clock_id, const struct timespec *tp);
  /external/ltp/testcases/open_posix_testsuite/include/
timespec.h 11 * struct timespec values.
17 * Returns difference between two struct timespec values. If difference is
20 static long timespec_nsec_diff(struct timespec *t1, struct timespec *t2)
26 struct timespec *tmp;
  /system/connectivity/wifilogd/tests/
mock_raw_os.h 34 int(clockid_t clock_id, struct timespec* tspec));
37 int(const struct timespec* req, struct timespec* rem));
  /bionic/libc/include/bits/
timespec.h 36 * This file is used to include timespec definition without introducing the whole
41 struct timespec { struct
  /device/linaro/bootloader/arm-trusted-firmware/include/lib/stdlib/sys/
_timespec.h 44 struct timespec { struct
  /external/adhd/cras/src/server/
rate_estimator.h 39 struct timespec window_start_ts;
40 struct timespec window_size;
55 const struct timespec *window_size,
79 struct timespec *now);
  /external/libmicrohttpd/src/microspdy/
internal.c 34 struct timespec ts;
  /external/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/
47-1-buildonly.c 5 const struct timespec *restrict);
13 const struct timespec * restrict);
  /system/media/audio_utils/include/audio_utils/
clock_nanosleep.h 32 int audio_utils_clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *request,
33 struct timespec *remain)
48 int audio_utils_clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *request,
49 struct timespec *remain)

Completed in 1041 milliseconds

1 2 3 4 5 6 7 8 91011>>