Home
last modified time | relevance | path

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

/external/libevent/test/
Dregress_finalize.c79 struct event ev2; in test_fin_cb_invoked() local
144 evtimer_assign(&ev2, base, timer_callback, &ev_called); in test_fin_cb_invoked()
147 event_finalize(0, &ev2, event_finalize_callback_1); in test_fin_cb_invoked()
149 event_add(&ev2, &ten_sec); in test_fin_cb_invoked()
151 event_active(&ev2, EV_TIMEOUT, 1); in test_fin_cb_invoked()
195 struct event *ev, *ev2; in test_fin_free_finalize()
207 ev2 = evtimer_new(base, timer_callback, &ev2_called); in test_fin_free_finalize()
209 tfff_p2 = ev2; in test_fin_free_finalize()
211 event_finalize(0, ev2, event_finalize_callback_1); in test_fin_free_finalize()
222 event_free(ev2); in test_fin_free_finalize()
[all …]
Dregress.c478 struct event ev, ev2; in test_multiple() local
493 event_set(&ev2, pair[1], EV_READ, multiple_read_cb, &ev2); in test_multiple()
494 if (event_add(&ev2, NULL) == -1) in test_multiple()
507 struct event ev, ev2; in test_persistent() local
522 event_set(&ev2, pair[1], EV_READ|EV_PERSIST, multiple_read_cb, &ev2); in test_persistent()
523 if (event_add(&ev2, NULL) == -1) in test_persistent()
1181 struct event ev1, ev2; in test_signal_switchbase() local
1189 evsignal_set(&ev2, SIGUSR1, signal_cb, &ev2); in test_signal_switchbase()
1191 event_base_set(base2, &ev2) || in test_signal_switchbase()
1193 event_add(&ev2, NULL)) { in test_signal_switchbase()
[all …]
/external/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()
/external/valgrind/cachegrind/
Dcg_main.c702 Event* ev2; in flushEvents() local
718 ev2 = ( i < cgs->events_used-1 ? &cgs->events[i+1] : NULL ); in flushEvents()
733 if (ev2 && (ev2->tag == Ev_Dr || ev2->tag == Ev_Dm)) { in flushEvents()
742 tl_assert(ev2->inode == ev->inode); in flushEvents()
746 get_Event_dea(ev2), in flushEvents()
747 mkIRExpr_HWord( get_Event_dszB(ev2) ) ); in flushEvents()
753 if (ev2 && ev2->tag == Ev_Dw) { in flushEvents()
754 tl_assert(ev2->inode == ev->inode); in flushEvents()
758 get_Event_dea(ev2), in flushEvents()
759 mkIRExpr_HWord( get_Event_dszB(ev2) ) ); in flushEvents()
[all …]
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/object/
DIsEventFromTest.java22 EventObject ev2 = new EventObject("source 2"); in testEvaluatesToTrueIfArgumentIsAnEventObjectFiredByASpecifiedSource() local
27 assertMismatchDescription("source was \"source 2\"", isEventMatcher, ev2); in testEvaluatesToTrueIfArgumentIsAnEventObjectFiredByASpecifiedSource()
/external/valgrind/callgrind/
Dmain.c387 Event* ev2; in flushEvents() local
445 ev2 = ( i < clgs->events_used-1 ? &clgs->events[i+1] : NULL ); in flushEvents()
461 if (ev2 && ev2->tag == Ev_Dr) { in flushEvents()
470 tl_assert(ev2->inode == ev->inode); in flushEvents()
474 get_Event_dea(ev2), in flushEvents()
475 mkIRExpr_HWord( get_Event_dszB(ev2) ) ); in flushEvents()
481 if (ev2 && (ev2->tag == Ev_Dw || ev2->tag == Ev_Dm)) { in flushEvents()
482 tl_assert(ev2->inode == ev->inode); in flushEvents()
486 get_Event_dea(ev2), in flushEvents()
487 mkIRExpr_HWord( get_Event_dszB(ev2) ) ); in flushEvents()
[all …]
/external/llvm/test/CodeGen/AMDGPU/
Dcoalescer_remat.ll49 %ev2 = phi float [0.0, %entry], [%fma.2, %loop]
53 %dst.2 = insertelement <4 x float> %dst.1, float %ev2, i32 2
/external/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)