Home
last modified time | relevance | path

Searched refs:tv_usec (Results 1 – 20 of 20) sorted by relevance

/bionic/tests/
Dsys_time_test.cpp39 tv[0].tv_usec = -123; in TEST()
42 tv[0].tv_usec = 1234567; in TEST()
46 tv[0].tv_usec = 0; in TEST()
48 tv[1].tv_usec = -123; in TEST()
51 tv[1].tv_usec = 1234567; in TEST()
66 tv[0].tv_usec = -123; in TEST()
69 tv[0].tv_usec = 1234567; in TEST()
73 tv[0].tv_usec = 0; in TEST()
75 tv[1].tv_usec = -123; in TEST()
78 tv[1].tv_usec = 1234567; in TEST()
[all …]
Dsys_select_test.cpp109 tv.tv_usec = 0; in TEST()
123 ASSERT_NE(0, tv.tv_usec); in TEST()
Dsys_socket_test.cpp89 tv.tv_usec = 0; in RunTest()
222 tv.tv_usec = 0; in TestSendMMsg()
/bionic/libc/include/sys/
Dtime.h72 ((a)->tv_sec = (a)->tv_usec = 0)
75 ((a)->tv_sec != 0 || (a)->tv_usec != 0)
79 ? (a)->tv_usec op (b)->tv_usec \
85 (res)->tv_usec = (a)->tv_usec + (b)->tv_usec; \
86 if ((res)->tv_usec >= 1000000) { \
87 (res)->tv_usec -= 1000000; \
95 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
96 if ((res)->tv_usec < 0) { \
97 (res)->tv_usec += 1000000; \
104 (ts)->tv_nsec = (tv)->tv_usec * 1000; \
[all …]
/bionic/libc/bionic/
Dbionic_time_conversions.cpp38 if (tv.tv_usec >= 1000000 || tv.tv_usec < 0) { in timespec_from_timeval()
41 ts.tv_nsec = tv.tv_usec * 1000; in timespec_from_timeval()
52 tv.tv_usec = ts.tv_nsec / 1000; in timeval_from_timespec()
Dndk_cruft.cpp130 ts->tv_usec = fractional_seconds; in strtotimeval()
313 tb->millitm = (tv.tv_usec + 500) / 1000; in ftime()
/bionic/libc/upstream-openbsd/lib/libc/gen/
Dalarm.c41 itv.it_value.tv_usec = 0; in alarm()
44 if (oitv.it_value.tv_usec) in alarm()
/bionic/libc/upstream-netbsd/lib/libc/gen/
Dutime.c61 tv[0].tv_usec = tv[1].tv_usec = 0; in utime()
/bionic/libc/kernel/uapi/linux/
Dtime_types.h25 __s64 tv_usec; member
Dtime.h17 __kernel_suseconds_t tv_usec; member
Dtimex.h46 long long tv_usec; member
Dinput.h18 #define input_event_usec time.tv_usec
/bionic/libc/kernel/uapi/linux/can/
Dbcm.h13 long tv_usec; member
/bionic/tests/headers/posix/
Dsys_select_h.c36 STRUCT_MEMBER(struct timeval, suseconds_t, tv_usec); in sys_select_h()
Dsys_time_h.c36 STRUCT_MEMBER(struct timeval, suseconds_t, tv_usec); in sys_time_h()
/bionic/libc/kernel/uapi/drm/
Dexynos_drm.h203 __u32 tv_usec; member
211 __u32 tv_usec; member
Dvmwgfx_drm.h217 __u32 tv_usec; member
Ddrm.h592 __u32 tv_usec; member
/bionic/libc/upstream-netbsd/lib/libc/isc/
Dev_timers.c171 ts.tv_nsec = tv.tv_usec * 1000; in evTimeSpec()
180 tv.tv_usec = (suseconds_t)(ts.tv_nsec / 1000); in evTimeVal()
/bionic/linker/
Dlinker_main.cpp513 static_cast<long long>(t1.tv_usec)) - in linker_main()
515 static_cast<long long>(t0.tv_usec)))); in linker_main()