Home
last modified time | relevance | path

Searched refs:kqueue (Results 1 – 25 of 69) sorted by relevance

123

/external/python/cpython3/Lib/test/
Dtest_kqueue.py16 kq = select.kqueue()
125 kq = select.kqueue()
126 kq2 = select.kqueue.fromfd(kq.fileno())
194 kq = select.kqueue()
211 kq = select.kqueue()
237 kqueue = select.kqueue()
240 self.assertIsInstance(kqueue.fileno(), int)
241 self.assertFalse(kqueue.closed)
244 kqueue.close()
245 self.assertTrue(kqueue.closed)
[all …]
/external/rust/crates/mio/src/sys/unix/selector/
Dmod.rs25 mod kqueue; module
35 pub(crate) use self::kqueue::{event, Event, Events, Selector};
Dkqueue.rs78 syscall!(kqueue()) in new()
679 let kq = unsafe { libc::kqueue() }; in does_not_register_rw()
/external/python/cpython2/Lib/test/
Dtest_kqueue.py17 kq = select.kqueue()
127 kq = select.kqueue()
128 kq2 = select.kqueue.fromfd(kq.fileno())
196 kq = select.kqueue()
213 kq = select.kqueue()
/external/python/cpython2/Doc/library/
Dselect.rst11 :c:func:`kqueue` available on most BSD.
45 .. function:: kqueue()
48 :ref:`kqueue-objects` below for the methods supported by kqueue objects.
279 .. method:: kqueue.close()
281 Close the control file descriptor of the kqueue object.
284 .. method:: kqueue.fileno()
289 .. method:: kqueue.fromfd(fd)
291 Create a kqueue object from a given file descriptor.
294 .. method:: kqueue.control(changelist, max_events[, timeout=None]) -> eventlist
308 https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2
/external/python/cpython3/Doc/library/
Dselect.rst12 :c:func:`kqueue` available on most BSD.
100 .. function:: kqueue()
103 :ref:`kqueue-objects` below for the methods supported by kqueue objects.
466 .. method:: kqueue.close()
468 Close the control file descriptor of the kqueue object.
471 .. attribute:: kqueue.closed
473 ``True`` if the kqueue object is closed.
476 .. method:: kqueue.fileno()
481 .. method:: kqueue.fromfd(fd)
483 Create a kqueue object from a given file descriptor.
[all …]
Dselectors.rst233 :func:`select.kqueue`-based selector.
238 :func:`select.kqueue` object.
/external/rust/crates/mio/src/sys/unix/
Dwaker.rs65 mod kqueue { module
99 pub use self::kqueue::Waker;
/external/libcups/config-scripts/
Dcups-poll.m412 AC_CHECK_FUNC(kqueue, AC_DEFINE(HAVE_KQUEUE))
/external/python/cpython3/Lib/test/eintrdata/
Deintr_tester.py466 kqueue = select.kqueue()
467 self.addCleanup(kqueue.close)
470 kqueue.control(None, 1, self.sleep_time)
/external/llvm-project/lldb/examples/interposing/darwin/fd_interposing/
DFDInterposing.cpp653 extern "C" int kqueue$__interposed__(void) { in kqueue$__interposed__()
657 const int fd = ::kqueue(); in kqueue$__interposed__()
666 return ::kqueue(); in kqueue$__interposed__()
919 DYLD_INTERPOSE(kqueue$__interposed__, kqueue);
/external/libevent/cmake/
DCheckWorkingKqueue.cmake30 if ((kq = kqueue()) == -1)
/external/libevent/
DMakefile.am212 SYS_SRC += kqueue.c
315 kqueue-internal.h \
DAndroid.bp115 srcs: ["kqueue.c"],
DChangeLog-1.410 o Fix memory-leak of signal handler array with kqueue. [backport] (01f3775)
37 o Build kqueue.c correctly on GNU/kFreeBSD platforms. Patch pulled upstream from Debian.
94 o Fix a bug where deleting signals with the kqueue backend would cause subsequent adds to fail
164 …o Make kqueue have the same behavior as other backends when a signal is caught between event_add()…
165 o Make kqueue restore signal handlers correctly when event_del() is called.
Dconfigure.ac544 AC_CHECK_FUNCS(kqueue, [havekqueue=yes], )
546 AC_MSG_CHECKING(for working kqueue)
577 if ((kq = kqueue()) == -1)
601 [Define if kqueue works correctly with pipes])
DCMakeLists.txt482 kqueue
660 # Verify kqueue works with pipes.
663 …message(WARNING "Cannot check if kqueue works with pipes when crosscompiling, use EVENT__FORCE_KQU…
666 message(STATUS "Checking if kqueue works with pipes...")
828 list(APPEND SRC_CORE kqueue.c)
/external/rust/crates/nix/src/sys/
Devent.rs205 pub fn kqueue() -> Result<RawFd> { in kqueue() function
206 let res = unsafe { libc::kqueue() }; in kqueue()
/external/wpa_supplicant_8/src/utils/
Deloop.c22 #error Do not define both of poll and kqueue
176 eloop.kqueuefd = kqueue(); in eloop_init()
679 eloop.kqueuefd = kqueue(); in eloop_sock_requeue()
1343 kfd = kqueue(); in eloop_wait_for_read_sock()
/external/rust/crates/mio/
DCHANGELOG.md281 - Do not trigger HUP events on kqueue platforms (#958).
286 - Fix compilation on kqueue platforms with 32bit C long (#948).
374 * Misc improvements to kqueue bindings
453 * Fix bug with kqueue where an error on registration prevented the
/external/libchrome/base/process/
Dprocess_posix.cc99 base::ScopedFD kq(kqueue()); in WaitForSingleNonChildProcess()
/external/libchrome/base/files/
Dfile_path_watcher_kqueue.cc248 kqueue_ = kqueue(); in Watch()
/external/rust/crates/grpcio-sys/grpc/third_party/
Dlibuv.BUILD100 "src/unix/kqueue.c",
/external/llvm-project/lldb/tools/debugserver/source/
DRNBSocket.cpp74 int queue_id = kqueue(); in Listen()
/external/llvm-project/lldb/source/Host/common/
DMainLoop.cpp260 m_kqueue = kqueue();

123