/external/libchrome/base/synchronization/ |
waitable_event_unittest.cc | 59 WaitableEvent* ev[5]; local 61 ev[i] = new WaitableEvent(WaitableEvent::ResetPolicy::AUTOMATIC, 65 ev[3]->Signal(); 66 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 3u); 68 ev[3]->Signal(); 69 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 3u); 71 ev[4]->Signal(); 72 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 4u); 74 ev[0]->Signal(); 75 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 0u) 101 WaitableEvent* ev = local 118 WaitableEvent* ev[5]; local 146 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/ |
4-1.c | 43 struct sigevent ev; local 62 ev.sigev_notify = SIGEV_SIGNAL; 63 ev.sigev_signo = SIGTOTEST; 85 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
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/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) {
|
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_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-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-4.c | 40 struct sigevent ev; local 46 ev.sigev_notify = SIGEV_SIGNAL; 47 ev.sigev_signo = SIGCONT; 54 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
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) {
|
3-3.c | 35 struct sigevent ev; local 41 ev.sigev_notify = SIGEV_SIGNAL; 42 ev.sigev_signo = SIGTOTEST; 59 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
5-1.c | 41 struct sigevent ev; local 48 ev.sigev_notify = SIGEV_SIGNAL; 49 ev.sigev_signo = SIGTOTEST; 63 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
5-3.c | 46 struct sigevent ev; local 54 ev.sigev_notify = SIGEV_SIGNAL; 55 ev.sigev_signo = SIGTOTEST; 69 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
6-1.c | 34 struct sigevent ev; local 64 ev.sigev_notify = SIGEV_SIGNAL; 65 ev.sigev_signo = SIGTOTEST; 72 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/functional/timers/timers/ |
twoptimers.c | 37 struct sigevent ev; local 54 ev.sigev_notify = SIGEV_SIGNAL; 55 ev.sigev_signo = SIGABRT; 56 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { 82 struct sigevent ev; local 100 ev.sigev_notify = SIGEV_SIGNAL; 101 ev.sigev_signo = SIGALRM; 102 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
/external/openssh/openbsd-compat/ |
strtonum.c | 43 } ev[4] = { local 50 ev[0].err = errno; 64 *errstrp = ev[error].errstr; 65 errno = ev[error].err;
|
/external/valgrind/memcheck/tests/linux/ |
syscalls-2007.c | 39 eventfd_t ev; local 49 eventfd_read (fd2, &ev);
|
/frameworks/native/services/sensorservice/ |
RecentEventLogger.cpp | 56 const auto& ev = mRecentEvents[i]; local 57 struct tm * timeinfo = localtime(&(ev.mWallTime.tv_sec)); 59 ++j, ev.mEvent.timestamp/1e9, timeinfo->tm_hour, timeinfo->tm_min, timeinfo->tm_sec, 60 (int) ns2ms(ev.mWallTime.tv_nsec)); 65 buffer.appendFormat("%" PRIu64 ", ", ev.mEvent.u64.step_counter); 68 buffer.appendFormat("%.2f, ", ev.mEvent.data[k]);
|
/libcore/ojluni/src/main/java/java/nio/file/ |
FileTreeIterator.java | 43 * Event ev = iterator.next(); 44 * Path path = ev.file(); 45 * BasicFileAttributes attrs = ev.attributes(); 84 FileTreeWalker.Event ev = walker.next(); local 85 while (ev != null) { 86 IOException ioe = ev.ioeException(); 91 if (ev.type() != FileTreeWalker.EventType.END_DIRECTORY) { 92 next = ev; 95 ev = walker.next();
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
ClearUserDictionaryDialogPreferenceEN.java | 58 OpenWnnEvent ev = new OpenWnnEvent(OpenWnnEvent.INITIALIZE_USER_DICTIONARY, new WnnWord()); local 59 OpenWnnEN.getInstance().onEvent(ev);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
ClearLearnDictionaryDialogPreferenceJAJP.java | 58 OpenWnnEvent ev = new OpenWnnEvent(OpenWnnEvent.INITIALIZE_LEARNING_DICTIONARY, new WnnWord()); local 59 OpenWnnJAJP.getInstance().onEvent(ev);
|
ClearUserDictionaryDialogPreferenceJAJP.java | 58 OpenWnnEvent ev = new OpenWnnEvent(OpenWnnEvent.INITIALIZE_USER_DICTIONARY, new WnnWord()); local 59 OpenWnnJAJP.getInstance().onEvent(ev);
|
KeyboardListPreferenceJAJP.java | 47 OpenWnnEvent ev = new OpenWnnEvent(code); local 49 wnn.onEvent(ev);
|