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

  /external/chromium/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/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 34 // observe when the process exits. kevent can monitor a kqueue with a
72 // |child| has been reaped. Specifically, even if a kqueue, kevent, or other
85 struct kevent change = {0};
87 result = HANDLE_EINTR(kevent(kq, &change, 1, NULL, 0, NULL));
91 DPLOG(ERROR) << "kevent (setup " << child << ")";
115 // Keep track of the elapsed time to be able to restart kevent if it's
120 struct kevent event = {0};
123 result = kevent(kq, NULL, 0, &event, 1, &remaining_timespec);
133 DPLOG(ERROR) << "kevent (wait " << child << ")";
135 DLOG(ERROR) << "kevent (wait " << child << "): unexpected result
    [all...]
kill_posix.cc 283 struct kevent change = {0};
285 int result = HANDLE_EINTR(kevent(kq, &change, 1, NULL, 0, NULL));
292 DPLOG(ERROR) << "kevent (setup " << handle << ")";
296 // Keep track of the elapsed time to be able to restart kevent if it's
307 struct kevent event = {0};
319 result = kevent(kq, NULL, 0, &event, 1, remaining_timespec_ptr);
332 DPLOG(ERROR) << "kevent (wait " << handle << ")";
335 DLOG(ERROR) << "kevent (wait " << handle << "): unexpected result "
348 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/base/files/
file_path_watcher_mac.cc 70 typedef std::vector<struct kevent> EventVector;
75 // Returns true if the kevent values are error free.
76 bool AreKeventValuesValid(struct kevent* kevents, int count);
104 // Fills |events| with one kevent per component in |path|.
109 // Release a kevent generated by EventsForPath.
110 static void ReleaseEvent(struct kevent& event);
119 // Returns true if kevent has open file descriptor.
120 static bool IsKeventFileDescriptorOpen(const struct kevent& event) {
124 static EventData* EventDataForKevent(const struct kevent& event) {
138 void FilePathWatcherImpl::ReleaseEvent(struct kevent& event)
    [all...]
  /external/chromium_org/base/files/
file_path_watcher_kqueue.cc 82 typedef std::vector<struct kevent> EventVector;
87 // Returns true if the kevent values are error free.
88 bool AreKeventValuesValid(struct kevent* kevents, int count);
116 // Fills |events| with one kevent per component in |path|.
121 // Release a kevent generated by EventsForPath.
122 static void ReleaseEvent(struct kevent& event);
133 // Returns true if kevent has open file descriptor.
134 static bool IsKeventFileDescriptorOpen(const struct kevent& event) {
138 static EventData* EventDataForKevent(const struct kevent& event) {
152 void FilePathWatcherImpl::ReleaseEvent(struct kevent& event)
    [all...]
  /external/chromium_org/chrome/browser/mac/
relauncher.cc 211 struct kevent change = { 0 };
213 if (kevent(kq, &change, 1, NULL, 0, NULL) == -1) {
214 PLOG(ERROR) << "kevent (add)";
227 struct kevent event;
228 int events = kevent(kq, NULL, 0, &event, 1, NULL);
231 PLOG(ERROR) << "kevent (monitor)";
233 LOG(ERROR) << "kevent (monitor): unexpected result " << events;
241 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/chromium/base/
process_util_posix.cc 786 struct kevent change = { 0 };
802 struct kevent event = { 0 };
803 int event_count = HANDLE_EINTR(kevent(kq, &change, 1, &event, 1, spec_ptr));
808 PLOG(ERROR) << "kevent";
821 LOG(ERROR) << "kevent error " << event.data;
    [all...]
  /external/valgrind/main/coregrind/m_syswrap/
priv_syswrap-darwin.h 427 DECL_TEMPLATE(darwin, kevent); // 363
syswrap-darwin.c     [all...]
  /external/valgrind/main/include/vki/
vki-darwin.h 788 #define vki_kevent kevent

Completed in 1346 milliseconds