Home
last modified time | relevance | path

Searched refs:timeval (Results 1 – 25 of 33) sorted by relevance

12

/bionic/tests/headers/posix/
Dsys_time_h.c34 TYPE(struct timeval); in sys_time_h()
35 STRUCT_MEMBER(struct timeval, time_t, tv_sec); in sys_time_h()
36 STRUCT_MEMBER(struct timeval, suseconds_t, tv_usec); in sys_time_h()
39 STRUCT_MEMBER(struct itimerval, struct timeval, it_interval); in sys_time_h()
40 STRUCT_MEMBER(struct itimerval, struct timeval, it_value); in sys_time_h()
67 FUNCTION(gettimeofday, int (*f)(struct timeval*, struct timezone*)); in sys_time_h()
69 FUNCTION(gettimeofday, int (*f)(struct timeval*, void*)); in sys_time_h()
72 FUNCTION(select, int (*f)(int, fd_set*, fd_set*, fd_set*, struct timeval*)); in sys_time_h()
73 FUNCTION(utimes, int (*f)(const char*, const struct timeval[2])); in sys_time_h()
Dsys_select_h.c34 TYPE(struct timeval); in sys_select_h()
35 STRUCT_MEMBER(struct timeval, time_t, tv_sec); in sys_select_h()
36 STRUCT_MEMBER(struct timeval, suseconds_t, tv_usec); in sys_select_h()
61 FUNCTION(select, int (*f)(int, fd_set*, fd_set*, fd_set*, struct timeval*)); in sys_select_h()
Dsys_resource_h.c52 STRUCT_MEMBER(struct rusage, struct timeval, ru_utime); in sys_resource_h()
53 STRUCT_MEMBER(struct rusage, struct timeval, ru_stime); in sys_resource_h()
55 TYPE(struct timeval); in sys_resource_h()
/bionic/libc/bionic/
Dsys_time.cpp37 static int futimesat(int fd, const char* path, const timeval tv[2], int flags) { in futimesat()
46 int utimes(const char* path, const timeval tv[2]) { in utimes()
50 int lutimes(const char* path, const timeval tv[2]) { in lutimes()
54 int futimesat(int fd, const char* path, const timeval tv[2]) { in futimesat()
58 int futimes(int fd, const timeval tv[2]) { in futimes()
Dbionic_time_conversions.cpp33 bool timespec_from_timeval(timespec& ts, const timeval& tv) { in timespec_from_timeval()
50 void timeval_from_timespec(timeval& tv, const timespec& ts) { in timeval_from_timespec()
Dvdso.cpp54 int gettimeofday(timeval* tv, struct timezone* tz) { in gettimeofday()
70 timeval tv; in time()
Dndk_cruft.cpp108 char* strtotimeval(const char* str, struct timeval* ts) { in strtotimeval()
306 struct timeval tv; in ftime()
Dpoll.cpp82 int select(int fd_count, fd_set* read_fds, fd_set* write_fds, fd_set* error_fds, timeval* tv) { in select()
/bionic/libc/include/sys/
Dtime.h41 int gettimeofday(struct timeval* __tv, struct timezone* __tz);
42 int settimeofday(const struct timeval* __tv, const struct timezone* __tz);
47 int utimes(const char* __path, const struct timeval __times[2]);
50 int futimes(int __fd, const struct timeval __times[2]) __INTRODUCED_IN(26);
51 int lutimes(const char* __path, const struct timeval __times[2]) __INTRODUCED_IN(26);
55 int futimesat(int __dir_fd, const char* __path, const struct timeval __times[2]) __INTRODUCED_IN(26…
Dselect.h109 …ount, fd_set* __read_fds, fd_set* __write_fds, fd_set* __exception_fds, struct timeval* __timeout);
/bionic/libc/kernel/uapi/linux/
Dtime.h30 struct timeval { struct
39 struct timeval it_interval; argument
40 struct timeval it_value;
Dresource.h28 struct timeval ru_utime;
29 struct timeval ru_stime;
Dppdev.h47 #define PPGETTIME _IOR(PP_IOCTL, 0x95, struct timeval)
48 #define PPSETTIME _IOW(PP_IOCTL, 0x96, struct timeval)
Dsockios.h32 #define SIOCGSTAMP ((sizeof(struct timeval)) == 8 ? SIOCGSTAMP_OLD : SIOCGSTAMP_NEW)
Dtimex.h33 struct timeval time;
/bionic/tests/
Dsys_time_test.cpp35 timeval tv[2] = {}; in TEST()
62 timeval tv[2] = {}; in TEST()
89 timeval tv[2] = {}; in TEST()
116 timeval tv[2] = {}; in TEST()
137 timeval tv1; in TEST()
139 timeval tv2; in TEST()
Dsys_socket_test.cpp87 timeval tv; in RunTest()
217 timeval tv; in TestSendMMsg()
/bionic/libc/private/
Dbionic_time_conversions.h40 __LIBC_HIDDEN__ bool timespec_from_timeval(timespec& ts, const timeval& tv);
43 __LIBC_HIDDEN__ void timeval_from_timespec(timeval& tv, const timespec& ts);
Dbionic_vdso.h48 extern "C" int __gettimeofday(timeval*, struct timezone*);
/bionic/libc/upstream-netbsd/lib/libc/gen/
Dutime.c52 struct timeval tv[2], *tvp; in utime()
/bionic/libc/upstream-netbsd/lib/libc/isc/
Dev_timers.c125 struct timeval now; in evNowTime()
146 struct timeval now; in evUTCTime()
167 evTimeSpec(struct timeval tv) { in evTimeSpec()
175 struct timeval
177 struct timeval tv; in evTimeVal()
/bionic/libc/include/
Dutmp.h87 struct timeval ut_tv;
/bionic/benchmarks/
Dtime_benchmark.cpp152 timeval tv; in BM_time_gettimeofday()
160 timeval tv; in BM_time_gettimeofday_syscall()
/bionic/libc/upstream-netbsd/lib/libc/include/isc/
Deventlib.h172 struct timespec evTimeSpec __P((struct timeval));
173 struct timeval evTimeVal __P((struct timespec));
/bionic/libc/
DSECCOMP_ALLOWLIST_APP.TXT55 …t(int n, unsigned long* inp, unsigned long* outp, unsigned long* exp, struct timeval* timeout) lp32

12