Searched refs:EVFILT_READ (Results 1 - 25 of 31) sorted by relevance

12

/macosx-10.10.1/CPANInternal-159.1/IO-KQueue-0.34/examples/
H A Dchat.pl18 $kq->EV_SET(fileno($server), EVFILT_READ, EV_ADD, 0, 5);
38 $kq->EV_SET(fileno($client), EVFILT_READ, EV_ADD);
H A Dtail.pl28 $kq->EV_SET(fileno($fh), EVFILT_READ, EV_ADD, 0, 0, \&read_file);
58 $kq->EV_SET(fileno($fh), EVFILT_READ, EV_ADD, 0, 0, \&read_file);
/macosx-10.10.1/CPANInternal-159.1/IO-KQueue-0.34/
H A DMakefile.PL42 EVFILT_READ
H A DKQueue.pm26 EVFILT_READ
68 use constant EVFILT_READ => (constant('EVFILT_READ'))[1]; constant
124 $kq->EV_SET($fd, EVFILT_READ, EV_ADD, 0, 5);
149 $kq->EV_SET(fileno($server), EVFILT_READ, EV_ADD, 0, 5);
155 method twice - once with EVFILT_READ and once with EVFILT_WRITE - unlike
H A Dconst-c.inc192 EVFILT_PROC EVFILT_READ NOTE_ATTRIB NOTE_DELETE NOTE_EXTEND NOTE_RENAME
197 if (memEQ(name, "EVFILT_READ", 11)) {
199 #ifdef EVFILT_READ
200 *iv_return = EVFILT_READ;
338 my @names = (qw(EVFILT_FS EVFILT_PROC EVFILT_READ EVFILT_SIGNAL EVFILT_TIMER
/macosx-10.10.1/apr-32/apr/apr/poll/unix/
H A Dkqueue.c32 if (event == EVFILT_READ)
162 EV_SET(&pollset->p->kevent, fd, EVFILT_READ, EV_ADD, 0, 0, elem);
209 EV_SET(&pollset->p->kevent, fd, EVFILT_READ, EV_DELETE, 0, 0, NULL);
372 EV_SET(&ev, fd, EVFILT_READ, EV_ADD, 0, 0, descriptor);
406 EV_SET(&ev, fd, EVFILT_READ, EV_DELETE, 0, 0, NULL);
/macosx-10.10.1/cups-408/cups/scheduler/
H A Dselect.c307 EV_SET(&event, fd, EVFILT_READ, EV_ADD, 0, 0, fdptr);
309 EV_SET(&event, fd, EVFILT_READ, EV_DELETE, 0, 0, fdptr);
439 if (fdptr->read_cb && event->filter == EVFILT_READ)
735 EV_SET(&event, fd, EVFILT_READ, EV_DELETE, 0, 0, fdptr);
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Dtty_ptmx.c540 if (kn->kn_filter == EVFILT_READ)
582 if (kn->kn_filter == EVFILT_READ) {
634 case EVFILT_READ:
H A Dsys_generic.c1489 kev.filter = EVFILT_READ;
1571 case EVFILT_READ:
H A Dsys_pipe.c1376 case EVFILT_READ:
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSMacOSX/
H A DDNSProxySupport.c118 KQueueSet(s1, EV_DELETE, EVFILT_READ, sock->kqEntry);
255 KQueueSet(*s, EV_ADD, EVFILT_READ, k);
333 KQueueSet(*s, EV_ADD, EVFILT_READ, k);
372 KQueueSet(*s, EV_ADD, EVFILT_READ, k);
H A DmDNSMacOSX.c2047 if (filter != EVFILT_READ)
2048 LogMsg("myKQSocketCallBack: Why is filter %d not EVFILT_READ (%d)?", filter, EVFILT_READ);
2303 if (sock->fd != -1) KQueueSet(sock->fd, EV_ADD, EVFILT_READ, sock->kqEntry);
2347 if (sock->fd != -1) KQueueSet(sock->fd, EV_ADD, EVFILT_READ, sock->kqEntry);
2381 KQueueSet(sock->fd, EV_DELETE, EVFILT_READ, sock->kqEntry);
2397 //if (filter == EVFILT_READ ) LogMsg("myKQSocketCallBack: tcpKQSocketCallback %d is EVFILT_READ", filter);
2446 if (filter == EVFILT_READ)
2466 if (filter == EVFILT_READ)
[all...]
/macosx-10.10.1/text_cmds-88/tail/
H A Dforward.c416 EV_SET(&ev[n], fileno(file->fp), EVFILT_READ,
506 } else if (ev->filter == EVFILT_READ && ev->data < 0) {
/macosx-10.10.1/xnu-2782.1.97/tools/tests/kqueue_tests/
H A Dkqueue_file_tests.c355 * Read until the end of a file, for EVFILT_READ purposes (considers file position)
514 if ((!test->t_is_poll_test) && (test->t_union.tu_kev.filter == EVFILT_READ || test->t_union.tu_kev.filter == EVFILT_WRITE)
549 if (event == EVFILT_READ || event == EVFILT_WRITE) {
563 * "event" is either an event flag (e.g. NOTE_WRITE) or EVFILT_READ
1376 init_test(&test, "8.1.1: how much data in file of length LENGTHEN_SIZE?", FILE1, 2, 1, EVFILT_READ, LENGTHEN_SIZE);
1383 init_test(&test, "8.1.2: block, then write to file", FILE1, 2, 1, EVFILT_READ, strlen(TEST_STRING));
1390 init_test(&test, "8.1.3: block, then extend", FILE1, 2, 1, EVFILT_READ, LENGTHEN_SIZE);
1397 init_test(&test, "8.1.4: block, then seek to beginning", FILE1, 2, 1, EVFILT_READ, strlen(TEST_STRING));
1406 init_test(&test, "8.1.5: block, then write to fifo", FILE1, 1, 1, EVFILT_READ, strlen(TEST_STRING));
1414 init_test(&test, "8.2.1: just rename", FILE1, 2, 1, EVFILT_READ, NO_EVEN
[all...]
/macosx-10.10.1/network_cmds-457/cfilutil/
H A Dcfilutil.c476 kv.filter = EVFILT_READ;
483 kv.filter = EVFILT_READ;
519 if (kv.ident == sf && kv.filter == EVFILT_READ) {
678 if (kv.ident == fdin && kv.filter == EVFILT_READ) {
/macosx-10.10.1/xnu-2782.1.97/bsd/sys/
H A Devent.h63 #define EVFILT_READ (-1) macro
172 * Filter specific flags for EVFILT_READ
174 * The default behavior for EVFILT_READ is to make the "read" determination
218 * The default behavior for EVFILT_READ is to make the determination
232 #define NOTE_NONE 0x00000080 /* No specific vnode event: to test for EVFILT_READ activation*/
/macosx-10.10.1/postfix-255/postfix/src/util/
H A Devents.c310 #define EVENT_REG_ADD_READ(e, f) EVENT_REG_ADD_OP((e), (f), EVFILT_READ)
315 #define EVENT_REG_DEL_READ(e, f) EVENT_REG_DEL_OP((e), (f), EVFILT_READ)
344 #define EVENT_TEST_READ(bp) (EVENT_GET_TYPE(bp) == EVFILT_READ)
/macosx-10.10.1/libresolv-57/
H A Dres_query.c395 EV_SET(&mevent, DNSServiceRefSockFD(sdRef), EVFILT_READ, EV_ADD, 0, 0, 0);
407 EV_SET(&ievent, interrupt_pipe[0], EVFILT_READ, EV_ADD, 0, 0, (void *)name);
/macosx-10.10.1/xnu-2782.1.97/bsd/vfs/
H A Dvfs_vnops.c1596 case EVFILT_READ:
1675 * Used for EVFILT_READ
1710 panic("Should never have an EVFILT_READ except for reg or fifo.");
1738 panic("Should never have an EVFILT_READ except for reg or fifo.");
1748 * --EVFILT_READ knotes are checked no matter what the hint is
1780 case EVFILT_READ:
/macosx-10.10.1/libdispatch-442.1.4/src/
H A Dsource.c702 // 10A268 does not fail this assert with EVFILT_READ and a 10 GB file
1022 case EVFILT_READ:
1048 case EVFILT_READ:
1954 case EVFILT_READ:
1998 case EVFILT_READ:
2076 EV_SET64(&kev, i, EVFILT_READ,
4358 _evfilt2(EVFILT_READ);
H A Dinit.c1008 .filter = EVFILT_READ,
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/servers/slapd/
H A Ddaemon.c345 # define SLAP_SOCK_SET_READ(t,s) SLAP_KQUEUE_SOCK_SET(t, (s), EVFILT_READ, SLAP_KQUEUE_SOCK_READ_ENABLED)
347 # define SLAP_SOCK_CLR_READ(t,s) SLAP_KQUEUE_SOCK_CLR(t, (s), EVFILT_READ, SLAP_KQUEUE_SOCK_READ_ENABLED)
359 SLAP_KQUEUE_CHANGE(t, (s), EVFILT_READ, EV_ADD); \
364 SLAP_KQUEUE_CHANGE(t, (s), EVFILT_READ, EV_DELETE); \
374 (events[(i)].filter == EVFILT_READ && SLAP_SOCK_IS_READ(0, SLAP_EVENT_FD(0, i)))
/macosx-10.10.1/Libinfo-459/lookup.subproj/
H A Dmdns_module.c1518 EV_SET(&ev, fd, EVFILT_READ, EV_ADD, 0, 0, 0);
1539 } else if (m > 0 && ev.filter == EVFILT_READ) {
/macosx-10.10.1/bind9-45.101/bind9/lib/isc/unix/
H A Dsocket.c802 evchange.filter = EVFILT_READ;
870 evchange.filter = EVFILT_READ;
3570 readable = ISC_TF(events[i].filter == EVFILT_READ);
/macosx-10.10.1/ntp-92/lib/isc/unix/
H A Dsocket.c639 evchange.filter = EVFILT_READ;
706 evchange.filter = EVFILT_READ;
3272 readable = ISC_TF(events[i].filter == EVFILT_READ);

Completed in 638 milliseconds

12