/external/ltp/testcases/kernel/syscalls/timer_getoverrun/ |
timer_getoverrun01.c | 51 struct sigevent ev; local 57 ev.sigev_value = (union sigval) 0; 58 ev.sigev_signo = SIGALRM; 59 ev.sigev_notify = SIGEV_SIGNAL; 60 TEST(ltp_syscall(__NR_timer_create, CLOCK_REALTIME, &ev, &timer));
|
/external/ltp/testcases/kernel/syscalls/timer_gettime/ |
timer_gettime01.c | 50 struct sigevent ev; local 58 ev.sigev_value = (union sigval) 0; 59 ev.sigev_signo = SIGALRM; 60 ev.sigev_notify = SIGEV_SIGNAL; 61 TEST(ltp_syscall(__NR_timer_create, CLOCK_REALTIME, &ev, &timer));
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/ |
20-1.c | 41 struct sigevent ev; local 55 ev.sigev_notify = SIGEV_SIGNAL; 56 ev.sigev_signo = SIGUSR1; 61 if (mq_notify(queue, &ev) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/ |
3-1.c | 34 struct sigevent ev; local 47 ev.sigev_notify = SIGEV_SIGNAL; 48 ev.sigev_signo = SIGTOTEST; 49 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
9-1.c | 39 struct sigevent ev; local 44 ev.sigev_notify = SIGEV_SIGNAL; 45 ev.sigev_signo = SIGTOTEST; 64 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_delete/ |
1-1.c | 42 struct sigevent ev; local 47 ev.sigev_notify = SIGEV_SIGNAL; 48 ev.sigev_signo = SIGTOTEST; 67 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_delete/speculative/ |
5-2.c | 37 struct sigevent ev; local 42 ev.sigev_notify = SIGEV_SIGNAL; 43 ev.sigev_signo = SIGTOTEST; 62 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_getoverrun/ |
2-1.c | 34 struct sigevent ev; local 54 ev.sigev_notify = SIGEV_SIGNAL; 55 ev.sigev_signo = SIGCONT; 60 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
2-2.c | 37 struct sigevent ev; local 58 ev.sigev_notify = SIGEV_SIGNAL; 59 ev.sigev_signo = SIGCONT; 64 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_gettime/ |
1-1.c | 32 struct sigevent ev; local 37 ev.sigev_notify = SIGEV_SIGNAL; 38 ev.sigev_signo = SIGCONT; 45 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
1-2.c | 34 struct sigevent ev; local 39 ev.sigev_notify = SIGEV_SIGNAL; 40 ev.sigev_signo = SIGCONT; 47 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
1-3.c | 34 struct sigevent ev; local 40 ev.sigev_notify = SIGEV_SIGNAL; 41 ev.sigev_signo = SIGCONT; 48 if (timer_create(CLOCK_REALTIME, &ev, &tid)) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/ |
13-1.c | 61 struct sigevent ev; local 67 ev.sigev_notify = SIGEV_SIGNAL; 68 ev.sigev_signo = SIGTOTEST; 70 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
3-1.c | 42 struct sigevent ev; local 48 ev.sigev_notify = SIGEV_SIGNAL; 49 ev.sigev_signo = SIGTOTEST; 74 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
3-2.c | 34 struct sigevent ev; local 40 ev.sigev_notify = SIGEV_SIGNAL; 41 ev.sigev_signo = SIGTOTEST; 55 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
5-2.c | 46 struct sigevent ev; local 52 ev.sigev_notify = SIGEV_SIGNAL; 53 ev.sigev_signo = SIGTOTEST; 72 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
8-3.c | 33 struct sigevent ev; local 37 ev.sigev_notify = SIGEV_SIGNAL; 38 ev.sigev_signo = SIGCONT; 45 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/ |
BallsView.java | 74 public boolean onTouchEvent(MotionEvent ev) 76 int act = ev.getActionMasked(); 77 if (act == ev.ACTION_UP) { 78 mRender.newTouchPosition(0, 0, 0, ev.getPointerId(0)); 82 int pointerIndex = ev.getActionIndex(); 83 int pointerId = ev.getPointerId(pointerIndex); 87 int count = ev.getHistorySize(); 88 int pcount = ev.getPointerCount(); 91 int id = ev.getPointerId(p); 92 mRender.newTouchPosition(ev.getX(p) [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
NearestTouchFrameTest.java | 66 MotionEvent ev = MotionEvent.obtain(0, 0, 0, local 68 mNearestTouchFrame.onTouchEvent(ev); 69 verify(left, never()).onTouchEvent(eq(ev)); 70 ev.recycle(); 83 MotionEvent ev = MotionEvent.obtain(0, 0, 0, local 85 mNearestTouchFrame.onTouchEvent(ev); 86 verify(left, never()).onTouchEvent(eq(ev)); 87 verify(right, never()).onTouchEvent(eq(ev)); 88 ev.recycle(); 103 MotionEvent ev = MotionEvent.obtain(0, 0, 0 local 119 MotionEvent ev = MotionEvent.obtain(0, 0, 0, local 135 MotionEvent ev = MotionEvent.obtain(0, 0, 0, local 151 MotionEvent ev = MotionEvent.obtain(0, 0, 0, local 167 MotionEvent ev = MotionEvent.obtain(0, 0, 0, local [all...] |
/external/flatbuffers/src/ |
idl_gen_fbs.cpp | 97 auto &ev = **it; local 98 GenComment(ev.doc_comment, &schema, nullptr, " "); 99 schema += " " + ev.name + " = " + NumToString(ev.value) + ",\n";
|
/external/libchrome/base/synchronization/ |
waitable_event_unittest.cc | 61 WaitableEvent* ev[5]; local 63 ev[i] = new WaitableEvent(WaitableEvent::ResetPolicy::AUTOMATIC, 67 ev[3]->Signal(); 68 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 3u); 70 ev[3]->Signal(); 71 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 3u); 73 ev[4]->Signal(); 74 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 4u); 76 ev[0]->Signal(); 77 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 0u) 84 WaitableEvent* ev[5]; local 139 WaitableEvent* ev = local 156 WaitableEvent* ev[5]; local 178 WaitableEvent* ev = local [all...] |
/external/libedit/src/ |
hist.c | 161 TYPE(HistEvent) ev; 171 el->el_history.ev.num, ct_encode_string(str, &el->el_scratch)); 181 return FUNW(history)(el->el_history.ref, &ev, H_SETSIZE, num); 184 return FUNW(history)(el->el_history.ref, &ev, H_SETUNIQUE, num); 217 HistEventW ev; local 218 if ((*(el)->el_history.fun)((el)->el_history.ref, &ev, fn, arg) == -1) 220 return ct_decode_string((const char *)(const void *)ev.str,
|
/external/libevent/test/ |
regress_et.c | 79 struct event *ev = NULL; local 121 ev = event_new(base, pair[1], EV_READ|EV_ET|EV_PERSIST, read_cb, &ev); 123 event_add(ev, NULL); 144 if (ev) { 145 event_del(ev); 146 event_free(ev);
|
test-eof.c | 84 struct event ev; local 109 event_set(&ev, pair[1], EV_READ | EV_TIMEOUT, read_cb, &ev); 111 event_add(&ev, &timeout);
|
test-time.c | 50 struct event *ev[NEVENT]; variable in typeref:struct:event 74 evtimer_add(ev[j], &tv); 76 evtimer_del(ev[j]); 101 ev[i] = malloc(sizeof(struct event)); 104 evtimer_set(ev[i], time_cb, ev[i]); 107 evtimer_add(ev[i], &tv);
|