Searched refs:USEC_PER_SEC (Results 1 – 14 of 14) sorted by relevance
/third_party/eudev/src/shared/ |
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()
|
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))
|
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/ |
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/ |
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/ |
D | udevadm-test.c | 145 60 * USEC_PER_SEC, 20 * USEC_PER_SEC, in adm_test()
|
D | udevadm-settle.c | 109 deadline = now(CLOCK_MONOTONIC) + timeout * USEC_PER_SEC; in adm_settle()
|
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/ |
D | v4l2_buffers.c | 37 #define USEC_PER_SEC 1000000 macro 38 static AVRational v4l2_timebase = { 1, USEC_PER_SEC }; 70 out->buf.timestamp.tv_usec = v4l2_pts % USEC_PER_SEC; in v4l2_set_pts() 71 out->buf.timestamp.tv_sec = v4l2_pts / USEC_PER_SEC; in v4l2_set_pts() 79 v4l2_pts = (int64_t)avbuf->buf.timestamp.tv_sec * USEC_PER_SEC + in v4l2_get_pts()
|
/third_party/libusb/libusb/ |
D | libusbi.h | 230 #if !defined(USEC_PER_SEC) 231 #define USEC_PER_SEC 1000000L macro 240 (tv)->tv_usec >= 0 && (tv)->tv_usec < USEC_PER_SEC)
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_fence.c | 292 #define NSEC_PER_SEC (1000 * USEC_PER_SEC) 293 #define USEC_PER_SEC (1000 * MSEC_PER_SEC) macro
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_fence.c | 356 #define NSEC_PER_SEC (1000 * USEC_PER_SEC) 357 #define USEC_PER_SEC (1000 * MSEC_PER_SEC) macro
|
/third_party/weston/clients/ |
D | window.c | 6653 #define USEC_PER_SEC 1000000 macro 6662 its.it_value.tv_sec = usec / USEC_PER_SEC; in toytimer_arm_once_usec() 6663 its.it_value.tv_nsec = (usec % USEC_PER_SEC) * 1000; in toytimer_arm_once_usec()
|
/third_party/pulseaudio/vala/ |
D | libpulse.vapi | 1572 public const usec USEC_PER_SEC;
|