Home
last modified time | relevance | path

Searched refs:ev2 (Results 1 – 14 of 14) sorted by relevance

/third_party/toybox/lib/
Denv.c105 char **ev1, **ev2; in reset_env() local
108 for (ev1 = ev2 = environ;;) { in reset_env()
109 while (*ev2 && (strstart(ev2, "LD_") || strstart(ev2, "IFS=") || in reset_env()
110 strstart(ev2, "ENV=") || strstart(ev2, "BASH_ENV="))) ev2++; in reset_env()
111 if (!(*ev1++ = *ev2++)) break; in reset_env()
/third_party/node/test/parallel/
Dtest-nodeeventtarget.js26 const ev2 = { variable
29 strictEqual(this, ev2);
34 eventTarget.addEventListener('foo', ev2, { once: true });
54 const ev2 = { variable
61 strictEqual(eventTarget.once('foo', ev2, { once: true }), eventTarget);
81 const ev2 = { variable
88 eventTarget.once('foo', ev2, { once: true });
108 const ev2 = { handleEvent() {} }; variable
112 eventTarget.once('foo', ev2, { once: true });
113 eventTarget.once('foo', ev2, { once: false });
Dtest-abortcontroller.js50 let ev1, ev2; variable
56 ev2 = event;
61 …const secondTrusted = Reflect.getOwnPropertyDescriptor(Object.getPrototypeOf(ev2), 'isTrusted').ge…
Dtest-events-customevent.js225 const ev2 = { variable
229 strictEqual(this, ev2);
234 eventTarget.addEventListener('foo', ev2, { once: true });
Dtest-eventtarget.js140 const ev2 = { function
143 strictEqual(this, ev2);
148 eventTarget.addEventListener('foo', ev2, { once: true });
274 const ev2 = () => { throw new Error('boom'); };
280 eventTarget.addEventListener('foo', ev2, { once: true });
/third_party/libevdev/test/
Dtest-kernel.c26 struct input_event ev1, ev2; in START_TEST() local
51 rc = libevdev_next_event(dev2, LIBEVDEV_READ_FLAG_NORMAL, &ev2); 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()
75 rc = libevdev_next_event(dev2, LIBEVDEV_READ_FLAG_NORMAL, &ev2); in START_TEST()
Dtest-libevdev-init.c614 struct input_event ev1, ev2; in START_TEST() local
648 rc = libevdev_next_event(dev2, LIBEVDEV_READ_FLAG_NORMAL, &ev2); 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()
656 t2 = ev2.input_event_sec * 1000000LL + ev2.input_event_usec; in START_TEST()
664 ck_assert_int_ge(ev2.input_event_sec, t1_mono.tv_sec); in START_TEST()
665 ck_assert_int_ge(ev2.input_event_usec, t1_mono.tv_nsec/1000); in START_TEST()
666 ck_assert_int_le(ev2.input_event_sec, t2_mono.tv_sec); in START_TEST()
667 ck_assert_int_le(ev2.input_event_usec, t2_mono.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
67 ev2.sigev_notify = SIGEV_SIGNAL; in main()
68 ev2.sigev_signo = SIGALRM; in main()
70 (timer_create(CLOCK_REALTIME, &ev2, &tid2) != 0)) { in main()
/third_party/ffmpeg/libavformat/
Dsbgdec.c1198 struct sbg_script_event *ev2) in generate_transition() argument
1203 enum sbg_fade_type type = ev1->fade.slide | (ev1->fade.out & ev2->fade.in); in generate_transition()
1204 int nb_elements = FFMAX(ev1->nb_elements, ev2->nb_elements); in generate_transition()
1218 s2 = i < ev2->nb_elements ? &s->synth[ev2->elements + i] : &s2mod; in generate_transition()
1285 struct sbg_script_event ev0, *ev1, *ev2; in generate_intervals() local
1302 ev2 = &s->events[(i + 1) % s->nb_events]; in generate_intervals()
1305 if (!ev1->fade.slide && ev1 >= ev2 && ev2->ts > INT64_MAX - period) in generate_intervals()
1309 : ev2->ts + (ev1 < ev2 ? 0 : period); in generate_intervals()
1313 ev2 = &s->events[(i + 1) % s->nb_events]; in generate_intervals()
1316 ev2->ts_int = FFMIN(ev2->ts_trans, ev2->ts_int + trans_time); in generate_intervals()
[all …]
/third_party/libinput/test/
Dtest-touch.c819 struct libinput_event *ev2 = NULL; in START_TEST() local
855 ev2 = libinput_get_event(libinput2); in START_TEST()
858 t2 = litest_is_touch_event(ev2, 0); in START_TEST()
861 libinput_event_get_type(ev2)); in START_TEST()
873 libinput_event_destroy(ev2); in START_TEST()
875 ev2 = NULL; in START_TEST()
879 libinput_event_destroy(ev2); in START_TEST()
Dtest-pointer.c269 struct libinput_event *ev1, *ev2; in START_TEST() local
296 ev2 = libinput_get_event(libinput2); in START_TEST()
301 libinput_event_get_type(ev2)); in START_TEST()
304 p2 = libinput_event_get_pointer_event(ev2); in START_TEST()
312 libinput_event_destroy(ev2); in START_TEST()
Dtest-touchpad.c3635 struct libinput_event *ev1, *ev2; in START_TEST() local
3639 ev2 = libinput_get_event(libinput2); in START_TEST()
3642 p2 = litest_is_motion_event(ev2); in START_TEST()
3645 libinput_event_get_type(ev2)); in START_TEST()
3652 libinput_event_destroy(ev2); in START_TEST()
/third_party/skia/third_party/externals/libpng/contrib/libtests/
Dpngstest.c279 int ev1, ev2;
291 ev2 = power_law_error8(v2);
292 if (e <= ev2)
302 int ev1, ev2;
318 ev2 = power_law_error16(v2);
319 if (e <= ev2)
/third_party/libevdev/
Dthird_party_libevdev.diff26780 + struct input_event ev1, ev2;
26805 + rc = libevdev_next_event(dev2, LIBEVDEV_READ_FLAG_NORMAL, &ev2);
26808 + ck_assert_int_eq(ev1.type, ev2.type);
26809 + ck_assert_int_eq(ev1.code, ev2.code);
26810 + ck_assert_int_eq(ev1.value, ev2.value);
26829 + rc = libevdev_next_event(dev2, LIBEVDEV_READ_FLAG_NORMAL, &ev2);
30818 + struct input_event ev1, ev2;
30852 + rc = libevdev_next_event(dev2, LIBEVDEV_READ_FLAG_NORMAL, &ev2);
30855 + ck_assert_int_eq(ev1.type, ev2.type);
30856 + ck_assert_int_eq(ev1.code, ev2.code);
[all …]