/macosx-10.10.1/CPANInternal-159.1/IO-KQueue-0.34/examples/ |
H A D | chat.pl | 18 $kq->EV_SET(fileno($server), EVFILT_READ, EV_ADD, 0, 5); 38 $kq->EV_SET(fileno($client), EVFILT_READ, EV_ADD);
|
H A D | tail.pl | 28 $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 D | Makefile.PL | 42 EVFILT_READ
|
H A D | KQueue.pm | 26 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 D | const-c.inc | 192 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 D | kqueue.c | 32 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 D | select.c | 307 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 D | tty_ptmx.c | 540 if (kn->kn_filter == EVFILT_READ) 582 if (kn->kn_filter == EVFILT_READ) { 634 case EVFILT_READ:
|
H A D | sys_generic.c | 1489 kev.filter = EVFILT_READ; 1571 case EVFILT_READ:
|
H A D | sys_pipe.c | 1376 case EVFILT_READ:
|
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSMacOSX/ |
H A D | DNSProxySupport.c | 118 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 D | mDNSMacOSX.c | 2047 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 D | forward.c | 416 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 D | kqueue_file_tests.c | 355 * 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 D | cfilutil.c | 476 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 D | event.h | 63 #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 D | events.c | 310 #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 D | res_query.c | 395 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 D | vfs_vnops.c | 1596 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 D | source.c | 702 // 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 D | init.c | 1008 .filter = EVFILT_READ,
|
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/servers/slapd/ |
H A D | daemon.c | 345 # 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 D | mdns_module.c | 1518 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 D | socket.c | 802 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 D | socket.c | 639 evchange.filter = EVFILT_READ; 706 evchange.filter = EVFILT_READ; 3272 readable = ISC_TF(events[i].filter == EVFILT_READ);
|