/external/autotest/client/site_tests/hardware_Keyboard/src/ |
evtest.c | 321 struct input_event ev[64];
local 326 rd = read(fd, ev, sizeof(struct input_event) * 64);
334 if (ev[i].type == EV_KEY) {
335 if (0 == state && 1 == ev[i].value) {
336 code = ev[i].code;
338 } else if (code == ev[i].code &&
339 0 == ev[i].value &&
343 names[ev[i].type][ev[i].code]);
394 struct input_event ev[64]; local 488 struct input_event ev[64]; local [all...] |
/build/kati/ |
func.go | 172 func (f *funcSubst) Eval(w evalWriter, ev *Evaluator) error { 178 fargs, err := ev.args(abuf, f.args[1:]...) 201 func (f *funcPatsubst) Eval(w evalWriter, ev *Evaluator) error { 207 fargs, err := ev.args(abuf, f.args[1], f.args[2]) 212 err = f.args[3].Eval(wb, ev) 238 func (f *funcStrip) Eval(w evalWriter, ev *Evaluator) error { 244 err = f.args[1].Eval(wb, ev) 260 func (f *funcFindstring) Eval(w evalWriter, ev *Evaluator) error { 266 fargs, err := ev.args(abuf, f.args[1:]...) 284 func (f *funcFilter) Eval(w evalWriter, ev *Evaluator) error [all...] |
/bionic/tests/ |
sys_epoll_test.cpp | 59 epoll_event ev; local 60 ev.events = EPOLLIN; 61 ev.data.u64 = expected; 62 ASSERT_NE(-1, epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fds[0], &ev));
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/ |
4-2.c | 49 struct sigevent ev; local 60 ev.sigev_notify = SIGEV_SIGNAL; 61 ev.sigev_signo = SIGTOTEST; 81 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
/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/ |
1-1.c | 44 struct sigevent ev; local 50 ev.sigev_notify = SIGEV_SIGNAL; 51 ev.sigev_signo = SIGTOTEST; 73 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
10-1.c | 37 struct sigevent ev; 50 ev.sigev_notify = SIGEV_SIGNAL; 51 ev.sigev_signo = SIGTOTEST; 71 if (timer_create(CLOCK_PROCESS_CPUTIME_ID, &ev, &tid) != 0) {
|
11-1.c | 37 struct sigevent ev; 50 ev.sigev_notify = SIGEV_SIGNAL; 51 ev.sigev_signo = SIGTOTEST; 71 if (timer_create(CLOCK_THREAD_CPUTIME_ID, &ev, &tid) != 0) {
|
7-1.c | 39 struct sigevent ev; local 45 ev.sigev_notify = SIGEV_SIGNAL; 46 ev.sigev_signo = SIGTOTEST; 68 if (timer_create(CLOCK_MONOTONIC, &ev, &tid) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/speculative/ |
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_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/ |
1-1.c | 41 struct sigevent ev; local 48 ev.sigev_notify = SIGEV_SIGNAL; 49 ev.sigev_signo = SIGTOTEST; 70 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
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) {
|
2-3.c | 51 struct sigevent ev; local 74 ev.sigev_notify = SIGEV_SIGNAL; 75 ev.sigev_signo = SIGCONT; 80 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)) {
|
3-1.c | 33 struct sigevent ev; local 40 ev.sigev_notify = SIGEV_SIGNAL; 41 ev.sigev_signo = SIGCONT; 43 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/ |
1-1.c | 46 struct sigevent ev; local 52 ev.sigev_notify = SIGEV_SIGNAL; 53 ev.sigev_signo = SIGTOTEST; 75 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
1-2.c | 38 struct sigevent ev; local 51 ev.sigev_notify = SIGEV_SIGNAL; 52 ev.sigev_signo = SIGTOTEST; 76 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
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) {
|