Searched refs:s2us (Results 1 – 11 of 11) sorted by relevance
/third_party/libinput/src/ |
D | util-time.h | 61 s2us(uint64_t s) in s2us() function 69 return s2us(h * 3600); in h2us() 81 return s2us(tv->tv_sec) + tv->tv_usec; in tv2us()
|
D | util-ratelimit.c | 65 utime = s2us(ts.tv_sec) + ns2us(ts.tv_nsec); in ratelimit_test()
|
D | evdev.c | 2363 ratelimit_init(&device->syn_drop_limit, s2us(30), 5); in evdev_device_create() 2365 ratelimit_init(&device->delay_warning_limit, s2us(60 * 60), 5); in evdev_device_create() 2367 ratelimit_init(&device->nonpointer_rel_limit, s2us(5), 5); in evdev_device_create()
|
D | evdev.h | 1000 s2us(3000), in evdev_device_init_abs_range_warnings()
|
D | libinput-private.h | 746 return s2us(ts.tv_sec) + ns2us(ts.tv_nsec); in libinput_now()
|
/third_party/libinput/test/ |
D | test-utils.c | 709 ck_assert_int_eq(s2us(1), 1000000); in START_TEST() 710 ck_assert_int_eq(h2us(2), s2us(2 * 60 * 60)); in START_TEST() 726 { s2us(5), 5, "s" }, in START_TEST() 727 { s2us(100), 100, "s" }, in START_TEST() 728 { s2us(120), 2, "min" }, in START_TEST() 729 { 5 * s2us(60), 5, "min" }, in START_TEST() 730 { 120 * s2us(60), 2, "h" }, in START_TEST() 731 { 5 * 60 * s2us(60), 5, "h" }, in START_TEST() 732 { 48 * 60 * s2us(60), 2, "d" }, in START_TEST() 733 { 1000 * 24 * 60 * s2us(60), 1000, "d" }, in START_TEST()
|
/third_party/skia/tests/sksl/shared/ |
D | NumberConversions.glsl | 26 uint s2us = uint(s); 47 …t(us2i)) + float(ui2i)) + float(h2i)) + float(f2i)) + float(b2i)) + float(s2us)) + float(i2us)) + …
|
D | NumberConversions.asm.frag | 32 OpName %s2us "s2us" 86 OpDecorate %s2us RelaxedPrecision 250 %s2us = OpVariable %_ptr_Function_uint Function 334 OpStore %s2us %89 446 %205 = OpLoad %uint %s2us
|
D | NumberConversions.metal | 36 ushort s2us = ushort(s); 57 …+ half(us2i)) + half(ui2i)) + half(h2i)) + half(f2i)) + half(b2i)) + half(s2us)) + half(i2us)) + h…
|
/third_party/skia/resources/sksl/shared/ |
D | NumberConversions.sksl | 25 ushort s2us = ushort(s); 50 half(b2i) + half(s2us) + half(i2us) + half(us2us);
|
/third_party/libinput/tools/ |
D | libinput-record.c | 1247 time = s2us(ts.tv_sec) + ns2us(ts.tv_nsec); in handle_hidraw() 2242 ctx->offset = s2us(ts.tv_sec) + ns2us(ts.tv_nsec); in mainloop()
|