Home
last modified time | relevance | path

Searched refs:ev1 (Results 1 – 15 of 15) sorted by relevance

/third_party/node/test/parallel/
Dtest-nodeeventtarget.js24 const ev1 = common.mustCall(function(event) { constant
36 eventTarget.addEventListener('foo', ev1);
43 eventTarget.removeEventListener('foo', ev1);
53 const ev1 = common.mustCall((event) => { constant
63 strictEqual(eventTarget.on('foo', ev1), eventTarget);
70 strictEqual(eventTarget.off('foo', ev1), eventTarget);
80 const ev1 = common.mustCall((event) => { constant
90 eventTarget.addListener('foo', ev1);
97 eventTarget.removeListener('foo', ev1);
108 const ev1 = () => {}; function
[all …]
Dtest-abortcontroller.js40 let ev1, ev2; variable
43 ev1 = event;
50 const firstTrusted = Reflect.getOwnPropertyDescriptor(ev1, 'isTrusted').get;
Dtest-eventtarget.js135 const ev1 = common.mustCall(function(event) { constant
148 eventTarget.addEventListener('foo', ev1);
153 eventTarget.removeEventListener('foo', ev1);
202 const ev1 = async () => { throw new Error('boom'); }; function
208 eventTarget.addEventListener('foo', ev1, { once: true });
/third_party/ffmpeg/libavformat/
Dsbgdec.c1167 struct sbg_script_event *ev1) in generate_plateau() argument
1169 int64_t ts1 = ev1->ts_int, ts2 = ev1->ts_trans; in generate_plateau()
1173 for (i = 0; i < ev1->nb_elements; i++) { in generate_plateau()
1174 s1 = &s->synth[ev1->elements + i]; in generate_plateau()
1196 struct sbg_script_event *ev1, in generate_transition() argument
1199 int64_t ts1 = ev1->ts_trans, ts2 = ev1->ts_next; in generate_transition()
1202 enum sbg_fade_type type = ev1->fade.slide | (ev1->fade.out & ev2->fade.in); in generate_transition()
1203 int nb_elements = FFMAX(ev1->nb_elements, ev2->nb_elements); in generate_transition()
1216 s1 = i < ev1->nb_elements ? &s->synth[ev1->elements + i] : &s1mod; in generate_transition()
1220 if (ev1->fade.slide) { in generate_transition()
[all …]
/third_party/libevdev/test/
Dtest-kernel.c26 struct input_event ev1, ev2; in START_TEST() local
48 rc = libevdev_next_event(dev, LIBEVDEV_READ_FLAG_NORMAL, &ev1); in START_TEST()
54 ck_assert_int_eq(ev1.type, ev2.type); in START_TEST()
55 ck_assert_int_eq(ev1.code, ev2.code); in START_TEST()
56 ck_assert_int_eq(ev1.value, ev2.value); in START_TEST()
72 rc = libevdev_next_event(dev, LIBEVDEV_READ_FLAG_NORMAL, &ev1); in START_TEST()
Dtest-libevdev-init.c614 struct input_event ev1, ev2; in START_TEST() local
645 rc = libevdev_next_event(dev, LIBEVDEV_READ_FLAG_NORMAL, &ev1); in START_TEST()
651 ck_assert_int_eq(ev1.type, ev2.type); in START_TEST()
652 ck_assert_int_eq(ev1.code, ev2.code); in START_TEST()
653 ck_assert_int_eq(ev1.value, ev2.value); in START_TEST()
655 t1 = ev1.input_event_sec * 1000000LL + ev1.input_event_usec; in START_TEST()
659 ck_assert_int_ge(ev1.input_event_sec, t1_real.tv_sec); in START_TEST()
660 ck_assert_int_ge(ev1.input_event_usec, t1_real.tv_nsec/1000); in START_TEST()
661 ck_assert_int_le(ev1.input_event_sec, t2_real.tv_sec); in START_TEST()
662 ck_assert_int_le(ev1.input_event_usec, t2_real.tv_nsec/1000); in START_TEST()
/third_party/ltp/testcases/open_posix_testsuite/functional/timers/timers/
Dtwoevtimers.c43 struct sigevent ev1, ev2; in main() local
65 ev1.sigev_notify = SIGEV_SIGNAL; in main()
66 ev1.sigev_signo = SIGABRT; in main()
69 if ((timer_create(CLOCK_REALTIME, &ev1, &tid1) != 0) || in main()
/third_party/toybox/lib/
Denv.c105 char **ev1, **ev2; in reset_env() local
108 for (ev1 = ev2 = environ;;) { in reset_env()
111 if (!(*ev1++ = *ev2++)) break; in reset_env()
/third_party/cef/tests/ceftests/
Dtest_util.cc87 CefPostData::ElementVector ev1, ev2; in TestPostDataEqual() local
88 postData1->GetElements(ev1); in TestPostDataEqual()
90 ASSERT_EQ(ev1.size(), ev2.size()); in TestPostDataEqual()
92 CefPostData::ElementVector::const_iterator it1 = ev1.begin(); in TestPostDataEqual()
94 for (; it1 != ev1.end() && it2 != ev2.end(); ++it1, ++it2) in TestPostDataEqual()
/third_party/libinput/test/
Dtest-touch.c818 struct libinput_event *ev1 = NULL; in START_TEST() local
854 ev1 = libinput_get_event(libinput1); in START_TEST()
857 t1 = litest_is_touch_event(ev1, 0); in START_TEST()
860 ck_assert_int_eq(libinput_event_get_type(ev1), in START_TEST()
863 if (libinput_event_get_type(ev1) == LIBINPUT_EVENT_TOUCH_UP || in START_TEST()
864 libinput_event_get_type(ev1) == LIBINPUT_EVENT_TOUCH_FRAME) in START_TEST()
872 libinput_event_destroy(ev1); in START_TEST()
874 ev1 = NULL; in START_TEST()
878 libinput_event_destroy(ev1); in START_TEST()
Dtest-pointer.c269 struct libinput_event *ev1, *ev2; in START_TEST() local
295 ev1 = libinput_get_event(libinput1); in START_TEST()
298 ck_assert_int_eq(libinput_event_get_type(ev1), in START_TEST()
300 ck_assert_int_eq(libinput_event_get_type(ev1), in START_TEST()
303 p1 = libinput_event_get_pointer_event(ev1); in START_TEST()
311 libinput_event_destroy(ev1); in START_TEST()
Dtest-touchpad.c3635 struct libinput_event *ev1, *ev2; in START_TEST() local
3638 ev1 = libinput_get_event(libinput1); in START_TEST()
3641 p1 = litest_is_motion_event(ev1); in START_TEST()
3644 ck_assert_int_eq(libinput_event_get_type(ev1), in START_TEST()
3651 libinput_event_destroy(ev1); in START_TEST()
/third_party/skia/third_party/externals/libpng/contrib/libtests/
Dpngstest.c279 int ev1, ev2;
287 ev1 = power_law_error8(v1);
288 if (e <= ev1)
302 int ev1, ev2;
314 ev1 = power_law_error16(v1);
315 if (e <= ev1)
/third_party/flutter/skia/third_party/externals/libpng/contrib/libtests/
Dpngstest.c279 int ev1, ev2;
287 ev1 = power_law_error8(v1);
288 if (e <= ev1)
302 int ev1, ev2;
314 ev1 = power_law_error16(v1);
315 if (e <= ev1)
/third_party/libevdev/
Dthird_party_libevdev.diff26760 + struct input_event ev1, ev2;
26782 + rc = libevdev_next_event(dev, LIBEVDEV_READ_FLAG_NORMAL, &ev1);
26788 + ck_assert_int_eq(ev1.type, ev2.type);
26789 + ck_assert_int_eq(ev1.code, ev2.code);
26790 + ck_assert_int_eq(ev1.value, ev2.value);
26806 + rc = libevdev_next_event(dev, LIBEVDEV_READ_FLAG_NORMAL, &ev1);
30798 + struct input_event ev1, ev2;
30829 + rc = libevdev_next_event(dev, LIBEVDEV_READ_FLAG_NORMAL, &ev1);
30835 + ck_assert_int_eq(ev1.type, ev2.type);
30836 + ck_assert_int_eq(ev1.code, ev2.code);
[all …]