Searched refs:USEC_PER_SEC (Results 1 - 11 of 11) sorted by relevance
/third_party/eudev/src/shared/ |
H A D | time-util.c | 44 if ((usec_t) ts->tv_sec > (UINT64_MAX - (ts->tv_nsec / NSEC_PER_USEC)) / USEC_PER_SEC) in timespec_load() 48 (usec_t) ts->tv_sec * USEC_PER_SEC + in timespec_load() 61 ts->tv_sec = (time_t) (u / USEC_PER_SEC); in timespec_store() 62 ts->tv_nsec = (long int) ((u % USEC_PER_SEC) * NSEC_PER_USEC); in timespec_store() 73 tv->tv_sec = (time_t) (u / USEC_PER_SEC); in timeval_store() 74 tv->tv_usec = (suseconds_t) (u % USEC_PER_SEC); in timeval_store() 91 { "s", USEC_PER_SEC }, in format_timespan()
|
H A D | time-util.h | 40 #define USEC_PER_SEC ((usec_t) 1000000ULL) macro 46 #define USEC_PER_MINUTE ((usec_t) (60ULL*USEC_PER_SEC)) 54 #define USEC_PER_MONTH ((usec_t) (2629800ULL*USEC_PER_SEC)) 56 #define USEC_PER_YEAR ((usec_t) (31557600ULL*USEC_PER_SEC))
|
H A D | log.c | 122 timeval_store(&tv, 10 * USEC_PER_SEC); in create_log_socket() 325 t = (time_t) (now(CLOCK_REALTIME) / USEC_PER_SEC); in write_to_syslog()
|
/third_party/eudev/test/ |
H A D | test-udev.c | 163 3 * USEC_PER_SEC, USEC_PER_SEC, in main() 168 3 * USEC_PER_SEC, USEC_PER_SEC, in main()
|
/third_party/ltp/testcases/kernel/syscalls/settimeofday/ |
H A D | settimeofday01.c | 17 #define USEC_PER_SEC 1000000L macro 29 if (tv1.tv_usec >= USEC_PER_SEC) in verify_settimeofday()
|
/third_party/eudev/src/udev/ |
H A D | udevadm-test.c | 145 60 * USEC_PER_SEC, 20 * USEC_PER_SEC, in adm_test()
|
H A D | udevadm-settle.c | 109 deadline = now(CLOCK_MONOTONIC) + timeout * USEC_PER_SEC; in adm_settle()
|
H A D | udevd.c | 72 static usec_t arg_event_timeout_usec = 180 * USEC_PER_SEC; 73 static usec_t arg_event_timeout_warn_usec = 180 * USEC_PER_SEC / 3; 1024 arg_event_timeout_usec *= USEC_PER_SEC; in parse_proc_cmdline_item() 1088 arg_event_timeout_usec *= USEC_PER_SEC; in parse_argv() 1468 if ((now(CLOCK_MONOTONIC) - last_usec) > 3 * USEC_PER_SEC) { in main()
|
/third_party/ffmpeg/libavcodec/ |
H A D | v4l2_buffers.c | 36 #define USEC_PER_SEC 1000000 macro 37 static AVRational v4l2_timebase = { 1, USEC_PER_SEC }; 69 out->buf.timestamp.tv_usec = v4l2_pts % USEC_PER_SEC; in v4l2_set_pts() 70 out->buf.timestamp.tv_sec = v4l2_pts / USEC_PER_SEC; in v4l2_set_pts() 78 v4l2_pts = (int64_t)avbuf->buf.timestamp.tv_sec * USEC_PER_SEC + in v4l2_get_pts()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_fence.c | 357 #define NSEC_PER_SEC (1000 * USEC_PER_SEC) 358 #define USEC_PER_SEC (1000 * MSEC_PER_SEC) macro
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_fence.c | 292 #define NSEC_PER_SEC (1000 * USEC_PER_SEC) 293 #define USEC_PER_SEC (1000 * MSEC_PER_SEC) macro
|
Completed in 7 milliseconds