HomeSort by relevance Sort by last modified time
    Searched refs:kevent (Results 1 - 15 of 15) sorted by null

  /external/lldb/source/Utility/
KQueue.cpp 41 KQueue::WaitForEvents (struct kevent *events, int num_events, Error &error, uint32_t timeout_usec)
48 int result = ::kevent(fd_kqueue, NULL, 0, events, num_events, timeout_ptr);
68 struct kevent event;
81 int err = ::kevent(fd_kqueue, &event, 1, NULL, 0, NULL);
KQueue.h 59 WaitForEvents (struct kevent *events,
  /external/chromium_org/base/files/
file_path_watcher_kqueue.h 60 typedef std::vector<struct kevent> EventVector;
65 // Returns true if the kevent values are error free.
66 bool AreKeventValuesValid(struct kevent* kevents, int count);
94 // Fills |events| with one kevent per component in |path|.
99 // Release a kevent generated by EventsForPath.
100 static void ReleaseEvent(struct kevent& event);
111 // Returns true if kevent has open file descriptor.
112 static bool IsKeventFileDescriptorOpen(const struct kevent& event) {
116 static EventData* EventDataForKevent(const struct kevent& event) {
file_path_watcher_kqueue.cc 29 void FilePathWatcherKQueue::ReleaseEvent(struct kevent& event) {
69 struct kevent event;
96 bool FilePathWatcherKQueue::AreKeventValuesValid(struct kevent* kevents,
99 DPLOG(ERROR) << "kevent";
105 // Find the kevent in |events_| that matches the kevent with the error.
209 int count = HANDLE_EINTR(kevent(kqueue_, &events_[0], valid, &updates[0],
241 int count = HANDLE_EINTR(kevent(kqueue_, NULL, 0, &updates[0], updates.size(),
257 // Find our kevent record that matches the update notification.
343 int count = HANDLE_EINTR(kevent(kqueue_, &events_[0], last_entry
    [all...]
  /external/chromium_org/third_party/libevent/
kqueue.c 54 /* Some platforms apparently define the udata field of struct kevent as
72 struct kevent *changes;
74 struct kevent *events;
85 static int kq_insert (struct kqop *, struct kevent *);
124 kqueueop->changes = malloc(NEVENT * sizeof(struct kevent));
129 kqueueop->events = malloc(NEVENT * sizeof(struct kevent));
147 * If kqueue works, then kevent will succeed, and it will
149 * kevent will fail.
151 if (kevent(kq,
167 kq_insert(struct kqop *kqop, struct kevent *kev
    [all...]
configure     [all...]
  /external/chromium_org/base/process/
kill_mac.cc 35 // observe when the process exits. kevent can monitor a kqueue with a
73 // |child| has been reaped. Specifically, even if a kqueue, kevent, or other
84 struct kevent change = {0};
86 result = HANDLE_EINTR(kevent(kq.get(), &change, 1, NULL, 0, NULL));
90 DPLOG(ERROR) << "kevent (setup " << child << ")";
114 // Keep track of the elapsed time to be able to restart kevent if it's
119 struct kevent event = {0};
122 result = kevent(kq.get(), NULL, 0, &event, 1, &remaining_timespec);
132 DPLOG(ERROR) << "kevent (wait " << child << ")";
134 DLOG(ERROR) << "kevent (wait " << child << "): unexpected result
    [all...]
kill_posix.cc 279 struct kevent change = {0};
281 int result = HANDLE_EINTR(kevent(kq.get(), &change, 1, NULL, 0, NULL));
288 DPLOG(ERROR) << "kevent (setup " << handle << ")";
292 // Keep track of the elapsed time to be able to restart kevent if it's
303 struct kevent event = {0};
315 result = kevent(kq.get(), NULL, 0, &event, 1, remaining_timespec_ptr);
328 DPLOG(ERROR) << "kevent (wait " << handle << ")";
331 DLOG(ERROR) << "kevent (wait " << handle << "): unexpected result "
344 DLOG(ERROR) << "kevent (wait " << handle
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_kqueue.py 26 ev = select.kevent(fd)
27 other = select.kevent(1000)
43 ev = select.kevent(fd, select.KQ_FILTER_WRITE)
53 ev = select.kevent(fd, select.KQ_FILTER_WRITE, select.KQ_EV_ONESHOT)
63 ev = select.kevent(1, 2, 3, 4, 5, 6)
74 ev = select.kevent(bignum, 1, 2, 3, sys.maxsize, bignum)
102 ev = select.kevent(server.fileno(),
106 ev = select.kevent(server.fileno(),
110 ev = select.kevent(client.fileno(),
114 ev = select.kevent(client.fileno()
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_kqueue.py 26 ev = select.kevent(fd)
27 other = select.kevent(1000)
43 ev = select.kevent(fd, select.KQ_FILTER_WRITE)
53 ev = select.kevent(fd, select.KQ_FILTER_WRITE, select.KQ_EV_ONESHOT)
63 ev = select.kevent(1, 2, 3, 4, 5, 6)
74 ev = select.kevent(bignum, 1, 2, 3, sys.maxsize, bignum)
102 ev = select.kevent(server.fileno(),
106 ev = select.kevent(server.fileno(),
110 ev = select.kevent(client.fileno(),
114 ev = select.kevent(client.fileno()
    [all...]
  /external/chromium_org/chrome/browser/mac/
relauncher.cc 209 struct kevent change = { 0 };
211 if (kevent(kq.get(), &change, 1, NULL, 0, NULL) == -1) {
212 PLOG(ERROR) << "kevent (add)";
225 struct kevent event;
226 int events = kevent(kq.get(), NULL, 0, &event, 1, NULL);
229 PLOG(ERROR) << "kevent (monitor)";
231 LOG(ERROR) << "kevent (monitor): unexpected result " << events;
239 LOG(ERROR) << "kevent (monitor): unexpected event, filter " << event.filter
  /external/qemu/distrib/sdl-1.2.15/src/video/Xext/Xxf86dga/
XF86DGA2.c 103 SDL_NAME(XDGAKeyEvent) *kevent;
134 kevent = (SDL_NAME(XDGAKeyEvent)*)event;
135 kevent->type = wire->u.u.type & 0x7F;
136 kevent->serial = _XSetLastRequestRead(dpy, (xGenericReply *)wire);
137 kevent->display = dpy;
138 kevent->screen = wire->u.event.screen;
139 kevent->time = wire->u.event.time;
140 kevent->state = wire->u.event.state;
141 kevent->keycode = wire->u.u.detail;
  /external/valgrind/main/coregrind/m_syswrap/
priv_syswrap-darwin.h 428 DECL_TEMPLATE(darwin, kevent); // 363
syswrap-darwin.c     [all...]
  /external/valgrind/main/include/vki/
vki-darwin.h 788 #define vki_kevent kevent

Completed in 551 milliseconds