/external/compiler-rt/lib/tsan/rtl/ |
tsan_rtl_report.cc | 398 Event *events = (Event*)GetThreadTrace(tid); local 400 Event ev = events[i];
|
tsan_rtl.cc | 522 Event *events = (Event*)GetThreadTrace(thr->tid); local 523 uptr pc = events[thr->fast_state.GetTracePos()];
|
/external/libchrome/mojo/core/ports/ |
ports_unittest.cc | 338 std::vector<base::WaitableEvent*> events; local 340 events.push_back(&entry.second->idle_event()); 341 base::WaitableEvent::WaitMany(events.data(), events.size()); 608 // Make sure node2 stops processing events when it encounters an ObserveProxy. 617 // Let node2 continue processing events and wait for everyone to go idle. [all...] |
/external/libevent/ |
evmap.c | 55 /** An entry for an evmap_io list: notes all the events that want to read or 59 struct event_dlist events; member in struct:evmap_io 65 /* An entry for an evmap_signal list: notes all the events that want to know 68 struct event_dlist events; member in struct:evmap_signal 256 LIST_INIT(&entry->events); 313 event_warnx("Too many events reading or writing on fd %d", 318 (old_ev = LIST_FIRST(&ctx->events)) && 321 " events on fd %d", (int)fd); 339 LIST_INSERT_HEAD(&ctx->events, ev, ev_io_next); 412 evmap_io_active_(struct event_base *base, evutil_socket_t fd, short events) 602 short events = 0; local [all...] |
/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/ |
processor.c | 991 struct kvm_vcpu_events events; member in struct:kvm_x86_state 1041 r = ioctl(vcpu->fd, KVM_GET_VCPU_EVENTS, &state->events); 1118 r = ioctl(vcpu->fd, KVM_SET_VCPU_EVENTS, &state->events);
|
/external/ltp/testcases/kernel/syscalls/epoll2/examples/ |
epoll-test.c | 79 unsigned int events, revents; member in struct:eph_conn 87 static struct epoll_event *events; variable in typeref:struct:epoll_event 130 conn->events = 0; 140 ev.events = 0; 190 static int eph_mod_conn(struct eph_conn *conn, unsigned int events) 194 ev.events = events; 210 if (!(conn->events & EPOLLOUT)) { 211 conn->events = EPOLLOUT | EPOLLERR | EPOLLHUP; 212 if (eph_mod_conn(conn, conn->events) < 0 [all...] |
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/ |
RecordEventsSpanImpl.java | 54 /** Implementation for the {@link Span} class that records trace events. */ 77 // millisecond granularity for Timestamp and tracing events are recorded more often. 81 // Set of recorded attributes. DO NOT CALL any other method that changes the ordering of events. 89 // List of recorded network events. 127 * events. 255 new ArrayList<Link>(links.events), links.getNumberOfDroppedEvents()); 429 TraceEvents<EventWithNanoTime<T>> events, @Nullable TimestampConverter timestampConverter) { 430 if (events == null) { 433 List<TimedEvent<T>> eventsList = new ArrayList<TimedEvent<T>>(events.events.size()) 524 private final EvictingQueue<T> events; field in class:RecordEventsSpanImpl.TraceEvents [all...] |
/external/selinux/libselinux/src/ |
avc.c | 45 uint32_t events; member in struct:avc_callback_node 530 if (c->events & AVC_CALLBACK_RESET) { 919 uint32_t events, security_id_t ssid, 933 c->events = events; 1033 if ((c->events & event) &&
|
/external/webrtc/webrtc/base/ |
stream.cc | 96 void StreamInterface::PostEvent(Thread* t, int events, int err) { 97 t->Post(this, MSG_POST_EVENT, new StreamEventData(events, err)); 100 void StreamInterface::PostEvent(int events, int err) { 101 PostEvent(Thread::Current(), events, err); local 146 SignalEvent(this, pe->events, pe->error); 234 int events, 236 SignalEvent(this, events, err); 694 // all events are done on the owner_ thread 700 // all events are done on the owner_ thread 950 void LoggingAdapter::OnEvent(StreamInterface* stream, int events, int err) [all...] |
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
PeerConnectionClient.java | 117 private PeerConnectionEvents events; field in class:PeerConnectionClient 173 * Peer connection events. 233 final PeerConnectionEvents events) { 235 this.events = events; 338 events.onPeerConnectionError("Failed to initializeAndroidGlobals"); 533 events.onPeerConnectionClosed(); 573 events.onPeerConnectionStatsReady(reports); 725 events.onPeerConnectionError(errorMessage); [all...] |
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
SecurityLoggingTest.java | 190 // Value that indicates success in events that have corresponding field in their payload. 227 * Test: retrieves security logs and verifies that all events generated as a result of host 231 final List<SecurityEvent> events = getEvents(); local 232 verifyAutomaticEventsPresent(events); 233 verifyKeystoreEventsPresent(events); 234 verifyKeyChainEventsPresent(events); 235 verifyAdminEventsPresent(events); 238 private void verifyAutomaticEventsPresent(List<SecurityEvent> events) { 239 verifyOsStartupEventPresent(events); 240 verifyLoggingStartedEventPresent(events); 297 List<SecurityEvent> events = null; local 317 final List<SecurityEvent> events = getEvents(); local [all...] |
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityGestureDispatchTest.java | 279 // First and last two events are the pointers going down and up 284 // The rest of the events are all moves 287 // All but the first and last events have two pointers 531 assertTrue("Did not receive required events. Got:\n" + mMotionEvents + "\n filtered:\n" 537 List<MotionEvent> events = new ArrayList<>(); local 541 events.add(event); 545 return events;
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
InstrumentedAutoFillService.java | 119 * Gets the list of fill events in the {@link FillEventHistory}, waiting until it has the 123 final List<Event> events = getFillEventHistory(expectedSize).getEvents(); local 125 if (expectedSize > 0 && events == null || events.size() != expectedSize) { 126 throw new IllegalStateException("INTERNAL ERROR: events should have " + expectedSize 127 + ", but it is: " + events); 129 return events; 140 // expected number of events is set. 152 final List<Event> events = history.getEvents(); local 153 if (events != null) [all...] |
/developers/build/prebuilts/gradle/Quiz/Application/src/main/java/com/example/android/wearable/quiz/ |
MainActivity.java | 331 final List<DataEvent> events = FreezableUtils.freezeIterable(dataEvents); local 335 for (DataEvent event : events) {
|
/developers/samples/android/deprecated/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/ |
MainActivity.java | 331 final List<DataEvent> events = FreezableUtils.freezeIterable(dataEvents); local 335 for (DataEvent event : events) {
|
/development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/ |
MainActivity.java | 331 final List<DataEvent> events = FreezableUtils.freezeIterable(dataEvents); local 335 for (DataEvent event : events) {
|
/device/generic/goldfish/gps/ |
gps_qemu.c | 742 ev.events = EPOLLIN; 796 struct epoll_event events[2]; local 803 nevents = epoll_wait( epoll_fd, events, 2, timeout ); 813 D("gps thread received %d events", nevents); 815 if ((events[ne].events & (EPOLLERR|EPOLLHUP)) != 0) { 819 if ((events[ne].events & EPOLLIN) != 0) { 820 int fd = events[ne].data.fd; [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/ |
selectmodule.c | 357 self->ufds[i].events = (short)PyInt_AsLong(value);
369 events -- an optional bitmask describing the type of events to check for");
375 int fd, events = POLLIN | POLLPRI | POLLOUT;
local 378 if (!PyArg_ParseTuple(args, "O|i:register", &o, &events)) {
390 value = PyInt_FromLong(events);
412 events -- an optional bitmask describing the type of events to check for");
418 int fd, events;
local 421 if (!PyArg_ParseTuple(args, "Oi:modify", &o, &events)) {
901 unsigned int events = EPOLLIN | EPOLLOUT | EPOLLPRI; local 926 unsigned int events; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/ |
selectmodule.c | 360 self->ufds[i].events = (short)(unsigned short)PyInt_AsLong(value);
391 events -- an optional bitmask describing the type of events to check for");
398 unsigned short events = POLLIN | POLLPRI | POLLOUT;
local 401 if (!PyArg_ParseTuple(args, "O|O&:register", &o, ushort_converter, &events))
412 value = PyInt_FromLong(events);
434 events -- an optional bitmask describing the type of events to check for");
441 unsigned short events;
local 444 if (!PyArg_ParseTuple(args, "OO&:modify", &o, ushort_converter, &events))
935 unsigned int events = EPOLLIN | EPOLLOUT | EPOLLPRI; local 960 unsigned int events; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
selectmodule.c | 357 self->ufds[i].events = (short)PyInt_AsLong(value);
369 events -- an optional bitmask describing the type of events to check for");
375 int fd, events = POLLIN | POLLPRI | POLLOUT;
local 378 if (!PyArg_ParseTuple(args, "O|i:register", &o, &events)) {
390 value = PyInt_FromLong(events);
412 events -- an optional bitmask describing the type of events to check for");
418 int fd, events;
local 421 if (!PyArg_ParseTuple(args, "Oi:modify", &o, &events)) {
901 unsigned int events = EPOLLIN | EPOLLOUT | EPOLLPRI; local 926 unsigned int events; local [all...] |
/external/boringssl/src/tool/ |
transport_common.cc | 481 // console. The |HANDLE| is considered readable if there are any console events 551 WSAEVENT events[3] = {sock_read_event.get(), WSA_INVALID_EVENT}; local 560 events[1] = sock_write_event.get(); 563 events[1] = stdin_->event.get(); 567 switch (WSAWaitForMultipleEvents(count, events, FALSE /* wait all */, 578 PrintSocketError("Error waiting for events");
|
/external/curl/lib/ |
telnet.c | 1310 WSANETWORKEVENTS events; local [all...] |
/external/grpc-grpc/src/core/lib/iomgr/ |
ev_epoll1_linux.cc | 78 struct epoll_event events[MAX_EPOLL_EVENTS]; member in struct:epoll_set 353 ev.events = static_cast<uint32_t>(EPOLLIN | EPOLLOUT | EPOLLET); 506 ev.events = static_cast<uint32_t>(EPOLLIN | EPOLLET); 638 /* Process the epoll events found by do_epoll_wait() function. 657 struct epoll_event* ev = &g_epoll_set.events[c]; 668 bool cancel = (ev->events & EPOLLHUP) != 0; 669 bool error = (ev->events & EPOLLERR) != 0; 670 bool read_ev = (ev->events & (EPOLLIN | EPOLLPRI)) != 0; 671 bool write_ev = (ev->events & EPOLLOUT) != 0; 691 /* Do epoll_wait and store the events in g_epoll_set.events field. This does no [all...] |
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
PerfTest.java | 70 * total elapsed time in milliseconds, and the second is the number of events 227 * negative integer indicating the number of events in a single call to 229 * method, the default implementation returns -1, indicating that events 406 long events = -1; local 419 events = testFunction.getEventsPerIteration(); 422 if (events == -1) { 427 + testFunction.getOperationsPerIteration() + " events: " + events); 430 if (events == -1) { 435 + testFunction.getOperationsPerIteration() + " " + events); [all...] |
/external/libchrome/base/task/sequence_manager/ |
sequence_manager_impl_unittest.cc | 2319 trace_analyzer::TraceEventVector events; local [all...] |