/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/ |
16-1.c | 22 struct sigevent ev; local 25 ev.sigev_notify = SIGEV_SIGNAL; 26 ev.sigev_signo = SIGALRM; 28 if (timer_create(INVALIDCLOCKID, &ev, &tid) == -1) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/speculative/ |
15-1.c | 32 struct sigevent ev; local 36 ev.sigev_notify = SIGEV_SIGNAL; 37 ev.sigev_signo = SIGALRM; 40 if (timer_create(CLOCK_REALTIME, &ev, &tid) == -1) {
|
2-1.c | 35 struct sigevent ev; local 40 ev.sigev_notify = SIGEV_SIGNAL; 41 ev.sigev_signo = SIGALRM; 56 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_getoverrun/speculative/ |
6-2.c | 29 struct sigevent ev; local 32 ev.sigev_notify = SIGEV_SIGNAL; 33 ev.sigev_signo = SIGCONT; 35 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
6-3.c | 26 struct sigevent ev; local 29 ev.sigev_notify = SIGEV_SIGNAL; 30 ev.sigev_signo = SIGCONT; 32 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_gettime/speculative/ |
6-2.c | 24 struct sigevent ev; local 28 ev.sigev_notify = SIGEV_SIGNAL; 29 ev.sigev_signo = SIGCONT; 31 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
6-3.c | 24 struct sigevent ev; local 28 ev.sigev_notify = SIGEV_SIGNAL; 29 ev.sigev_signo = SIGCONT; 31 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_gettime/ |
2-1.c | 26 struct sigevent ev; local 30 ev.sigev_notify = SIGEV_SIGNAL; 31 ev.sigev_signo = SIGCONT; 33 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
2-2.c | 28 struct sigevent ev; local 32 ev.sigev_notify = SIGEV_SIGNAL; 33 ev.sigev_signo = SIGCONT; 40 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/speculative/ |
12-2.c | 28 struct sigevent ev; local 37 ev.sigev_notify = SIGEV_SIGNAL; 38 ev.sigev_signo = SIGTOTEST; 40 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
12-3.c | 26 struct sigevent ev; local 35 ev.sigev_notify = SIGEV_SIGNAL; 36 ev.sigev_signo = SIGTOTEST; 38 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
/external/strace/ |
epoll.c | 56 const struct epoll_event *ev = elem_buf; local 59 printflags(epollevents, ev->events, "EPOLL???"); 63 ev->data.u32, ev->data.u64); 79 struct epoll_event ev; local 82 else if (!umove_or_printaddr(tcp, tcp->u_arg[3], &ev)) 83 print_epoll_event(tcp, &ev, sizeof(ev), 0); 95 struct epoll_event ev; local 96 print_array(tcp, tcp->u_arg[1], tcp->u_rval, &ev, sizeof(ev) [all...] |
/external/toybox/toys/android/ |
sendevent.c | 26 struct input_event ev; local 31 memset(&ev, 0, sizeof(ev)); 33 ev.type = atoi(toys.optargs[1]); 34 ev.code = atoi(toys.optargs[2]); 35 ev.value = atoi(toys.optargs[3]); 36 xwrite(fd, &ev, sizeof(ev));
|
/external/toybox/toys/posix/ |
env.c | 35 char **ev = toys.optargs; local 38 if (*ev && **ev == '-' && !(*ev)[1]) { 40 ev++; 49 for (; *ev; ev++) { 50 char *name = *ev, *val = strchr(name, '='); 55 } else xexec(ev); 58 if (environ) for (ev = environ; *ev; ev++ [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_delete/ |
1-2.c | 31 struct sigevent ev; local 35 ev.sigev_notify = SIGEV_SIGNAL; 36 ev.sigev_signo = SIGTOTEST; 38 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/ |
8-1.c | 27 struct sigevent ev; local 31 ev.sigev_notify = SIGEV_SIGNAL; 32 ev.sigev_signo = SIGCONT; 39 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
8-2.c | 29 struct sigevent ev; local 33 ev.sigev_notify = SIGEV_SIGNAL; 34 ev.sigev_signo = SIGCONT; 41 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
8-4.c | 30 struct sigevent ev; local 34 ev.sigev_notify = SIGEV_SIGNAL; 35 ev.sigev_signo = SIGCONT; 42 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/ |
SensorLoggerSession.java | 124 private SensorEvent sensorEventToProto(android.hardware.SensorEvent ev, long sysTimeNanos) { 126 proto.setType(ev.sensor.getType()); 128 proto.setTimestamp(ev.timestamp); 129 proto.values = ev.values.clone(); 133 private TouchEvent motionEventToProto(MotionEvent ev) { 134 int count = ev.getPointerCount(); 136 proto.setTimeOffsetNanos(ev.getEventTimeNano() - mStartSystemTimeNanos); 137 proto.setAction(ev.getActionMasked()); 138 proto.setActionIndex(ev.getActionIndex()); 142 p.setX(ev.getX(i)) [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
StatusBarWindowViewTest.java | 64 MotionEvent ev = MotionEvent.obtain(now, now, MotionEvent.ACTION_UP, 0 /* x */, 0 /* y */, local 66 mView.onTouchEvent(ev); 67 verify(mDragDownHelper).onTouchEvent(ev); 68 ev.recycle();
|
/bionic/tests/ |
sys_epoll_test.cpp | 66 epoll_event ev; local 67 ev.events = EPOLLIN; 68 ev.data.u64 = expected; 69 ASSERT_NE(-1, epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fds[0], &ev));
|
/external/autotest/client/cros/faft/utils/ |
firmware_check_keys.py | 16 ev = None variable in class:firmwareCheckKeys 29 self.ev.read(self.device.f) 30 if self.ev.code != KEY_RESERVED: 31 print "EventCode is %d value is %d" % (self.ev.code, self.ev.value) 32 if self.ev.type == 0 or self.ev.type == 1: 33 self.actual_output.append(self.ev.code) 45 self.ev = InputEvent()
|
/external/libevent/sample/ |
event-read-fifo.c | 38 struct event *ev = arg; local 51 event_del(ev); 64 event_del(ev); 65 event_base_loopbreak(event_get_base(ev));
|
/external/libevent/test/ |
test-closed.c | 76 struct event *ev; local 102 ev = event_new(base, pair[1], EV_CLOSED | EV_TIMEOUT, closed_cb, event_self_cbarg()); 103 event_add(ev, &timeout);
|
test-weof.c | 83 struct event ev; local 106 event_set(&ev, pair[1], EV_WRITE, write_cb, &ev); 108 event_add(&ev, NULL);
|