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

12

/macosx-10.9.5/CPANInternal-140/IO-KQueue/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.9.5/CPANInternal-140/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.9.5/CPANInternal-140/IO-KQueue/
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.9.5/CPANInternal-140/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.9.5/apache-786.1/httpd/srclib/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.9.5/apr-30/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.9.5/cups-372.4/cups/scheduler/
H A Dselect.c321 EV_SET(&event, fd, EVFILT_READ, EV_ADD, 0, 0, fdptr);
323 EV_SET(&event, fd, EVFILT_READ, EV_DELETE, 0, 0, fdptr);
453 if (fdptr->read_cb && event->filter == EVFILT_READ)
751 EV_SET(&event, fd, EVFILT_READ, EV_DELETE, 0, 0, fdptr);
/macosx-10.9.5/launchd-842.92.1/src/
H A Dipc.c162 if (kevent_mod(fd, EVFILT_READ, EV_ADD, 0, 0, &kqipc_listen_callback) == -1) {
163 launchd_syslog(LOG_ERR, "kevent_mod(\"thesocket\", EVFILT_READ): %s", strerror(errno));
196 kevent_mod(fd, EVFILT_READ, EV_ADD, 0, 0, &c->kqconn_callback);
234 if (kev->filter == EVFILT_READ) {
H A Druntime.c350 case EVFILT_READ:
351 filter_str = "EVFILT_READ";
781 case EVFILT_READ:
1079 case EVFILT_READ:
H A Dlaunchd.c644 (void)posix_assumes_zero(kevent_mod(pfs, EVFILT_READ, EV_ADD, 0, 0, &kqpfsystem_callback));
/macosx-10.9.5/mDNSResponder-522.92.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);
/macosx-10.9.5/text_cmds-87/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.9.5/xnu-2422.115.4/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.9.5/launchd-842.92.1/support/
H A Dlaunchproxy.c60 EV_SET(&kev, fd, EVFILT_READ, EV_ADD, 0, 0, NULL);
/macosx-10.9.5/xnu-2422.115.4/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.9.5/postfix-252/postfix/src/util/
H A Devents.c307 #define EVENT_REG_ADD_READ(e, f) EVENT_REG_ADD_OP((e), (f), EVFILT_READ)
312 #define EVENT_REG_DEL_READ(e, f) EVENT_REG_DEL_OP((e), (f), EVFILT_READ)
341 #define EVENT_TEST_READ(bp) (EVENT_GET_TYPE(bp) == EVFILT_READ)
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/
H A Dtty_ptmx.c1576 if (kn->kn_filter == EVFILT_READ)
1618 if (kn->kn_filter == EVFILT_READ) {
1670 case EVFILT_READ:
/macosx-10.9.5/libresolv-54/
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.9.5/Libinfo-449.1.3/lookup.subproj/
H A Dmdns_module.c1453 EV_SET(&ev, fd, EVFILT_READ, EV_ADD, 0, 0, 0);
1473 } else if (m > 0 && ev.filter == EVFILT_READ) {

Completed in 136 milliseconds

12