Searched refs:s2us (Results 1 – 12 of 12) sorted by relevance
/third_party/libinput/src/ |
D | util-time.h | 61 s2us(uint64_t s) in s2us() function 75 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 | libinput-private.h | 702 return s2us(ts.tv_sec) + ns2us(ts.tv_nsec); in libinput_now()
|
D | evdev.c | 2236 ratelimit_init(&device->syn_drop_limit, s2us(30), 5); in evdev_device_create() 2238 ratelimit_init(&device->delay_warning_limit, s2us(60 * 60), 5); in evdev_device_create() 2240 ratelimit_init(&device->nonpointer_rel_limit, s2us(5), 5); in evdev_device_create()
|
D | evdev.h | 976 s2us(3000), in evdev_device_init_abs_range_warnings()
|
D | evdev-mt-touchpad.c | 3631 ratelimit_init(&tp->jump.warning, s2us(2 * 60 * 60), 5); in tp_init()
|
/third_party/libinput/test/ |
D | test-utils.c | 631 ck_assert_int_eq(s2us(1), 1000000); in START_TEST() 647 { s2us(5), 5, "s" }, in START_TEST() 648 { s2us(100), 100, "s" }, in START_TEST() 649 { s2us(120), 2, "min" }, in START_TEST() 650 { 5 * s2us(60), 5, "min" }, in START_TEST() 651 { 120 * s2us(60), 2, "h" }, in START_TEST() 652 { 5 * 60 * s2us(60), 5, "h" }, in START_TEST() 653 { 48 * 60 * s2us(60), 2, "d" }, in START_TEST() 654 { 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 | 2156 ctx->offset = s2us(ts.tv_sec) + ns2us(ts.tv_nsec); in mainloop()
|