Searched refs:port (Results 26 - 50 of 1942) sorted by relevance

1234567891011>>

/macosx-10.9.5/xnu-2422.115.4/osfmk/device/
H A Diokit_rpc.c32 #include <mach/port.h>
81 ipc_port_t port, ipc_kobject_type_t type, mach_port_mscount_t * mscount );
101 extern kern_return_t iokit_destroy_object_port( ipc_port_t port );
112 extern void iokit_retain_port( ipc_port_t port );
113 extern void iokit_release_port( ipc_port_t port );
114 extern void iokit_release_port_send( ipc_port_t port );
116 extern void iokit_lock_port(ipc_port_t port);
117 extern void iokit_unlock_port(ipc_port_t port);
119 extern kern_return_t iokit_switch_object_port( ipc_port_t port, io_object_t obj, ipc_kobject_type_t type );
136 * Lookup a device by its port
140 iokit_lookup_object_port( ipc_port_t port) argument
162 iokit_lookup_connect_port( ipc_port_t port) argument
189 ipc_port_t port; local
260 register ipc_port_t port; local
282 register ipc_port_t port; local
306 ipc_port_t port; local
349 iokit_switch_object_port( ipc_port_t port, io_object_t obj, ipc_kobject_type_t type ) argument
361 ipc_port_t port; local
408 ipc_port_t port; local
[all...]
/macosx-10.9.5/CPANInternal-140/URI/URI/
H A D_server.pm36 my $port = ($tmp =~ /(:\d+)$/) ? $1 : "";
41 $port = $1 if $new =~ s/(:\d+)$//;
43 $self->authority("$ui$new$port");
58 my $port = shift;
59 $new .= ":$port" if defined $port;
66 sub port subroutine
69 my $port = $self->_port(@_);
70 $port = $self->default_port if !defined($port) ||
[all...]
/macosx-10.9.5/SmartCardServices-55111/src/PCSC/
H A Dpcscdserver.cpp39 // engage the subsidiary port handler for sleep notifications
66 void Server::notifyDeadName(Port port) argument
68 // Handling dead-port notifications.
71 secdebug("SSports", "port %d is dead", port.port());
74 secdebug("server", "spurious dead port notification for port %d", port.port());
81 notifyNoSenders(Port port, mach_port_mscount_t) argument
87 notifyIfDead(MachPlusPlus::Port port, bool doNotify) const argument
93 notifyIfUnused(MachPlusPlus::Port port, bool doNotify) const argument
[all...]
/macosx-10.9.5/xnu-2422.115.4/osfmk/kern/
H A Dhost_notify.c55 ipc_port_t port; member in struct:host_notify_entry
83 ipc_port_t port)
90 if (!IP_VALID(port))
102 ip_lock(port);
103 if (!ip_active(port) || ip_kotype(port) != IKOT_NONE) {
104 ip_unlock(port);
112 entry->port = port;
113 ipc_kobject_set_atomically(port, (ipc_kobject_
80 host_request_notification( host_t host, host_flavor_t notify_type, ipc_port_t port) argument
123 host_notify_port_destroy( ipc_port_t port) argument
176 ipc_port_t port; local
[all...]
H A Dmk_timer.c65 ipc_port_t port; local
75 result = ipc_port_translate_receive(myspace, name, &port);
88 timer->port = port;
89 ipc_kobject_set_atomically(port, (ipc_kobject_t)timer, IKOT_TIMER);
91 port->ip_srights++;
92 ip_reference(port);
93 ip_unlock(port);
100 ipc_port_t port)
104 ip_lock(port);
99 mk_timer_port_destroy( ipc_port_t port) argument
150 ipc_port_t port; local
211 ipc_port_t port; local
251 ipc_port_t port; local
312 ipc_port_t port; local
[all...]
H A Dipc_sync.c37 #include <ipc/port.h>
43 #include <mach/port.h>
66 /* have the port locked */
85 convert_port_to_semaphore (ipc_port_t port) argument
89 if (IP_VALID (port)) {
90 ip_lock(port);
91 if (ip_active(port) && (ip_kotype(port) == IKOT_SEMAPHORE)) {
92 semaphore = (semaphore_t) port->ip_kobject;
95 ip_unlock(port);
105 ipc_port_t port; local
117 convert_port_to_lock_set(__unused ipc_port_t port) argument
[all...]
H A Dipc_host.h62 #include <mach/port.h>
68 /* Initialize ipc access to processor by allocating a port */
72 /* Enable ipc control of processor by setting port object */
92 /* Convert from a port to a clock */
94 ipc_port_t port);
96 /* Convert from a port to a clock control */
98 ipc_port_t port);
100 /* Convert from a clock to a port */
104 /* Convert from a clock control to a port */
112 /* Convert from a port t
[all...]
/macosx-10.9.5/CPANInternal-140/URI/t/
H A Dmms.t13 print "not " unless $u->port == 1755;
16 # play with port
17 $old = $u->port(8755);
21 $u->port(1755);
25 $u->port("");
26 print "not " unless $u eq "mms://66.250.188.13:/KFOG_FM" && $u->port == 1755;
29 $u->port(undef);
H A Drtsp.t13 print "not " unless $u->port == 554;
16 # play with port
17 $old = $u->port(8554);
21 $u->port(554);
25 $u->port("");
26 print "not " unless $u eq "rtsp://media.perl.com:/f%F4o.smi/" && $u->port == 554;
29 $u->port(undef);
H A Dhttp.t13 print "not " unless $u->port == 80;
16 # play with port
17 $old = $u->port(8080);
21 $u->port(80);
25 $u->port("");
26 print "not " unless $u eq "http://www.perl.com:/path?q=f%F4o" && $u->port == 80;
29 $u->port(undef);
48 print "not " unless $u->port == 443;
H A Drsync.t13 print "not " unless $u->port eq 873;
19 $u->port(8730);
/macosx-10.9.5/xnu-2422.115.4/security/
H A Dmac_port.c104 mac_port_label_associate(struct label *it, struct label *st, struct label *port) argument
108 mac_label_journal(port, MLJ_PORT_OP_CREATE);
109 MAC_PERFORM(port_label_associate, it, st, port);
113 mac_port_label_associate_kernel(struct label *port, int isreply) argument
117 mac_label_journal(port, MLJ_PORT_OP_CREATE_K);
118 MAC_PERFORM(port_label_associate_kernel, port, isreply);
122 mac_port_label_update_kobject(struct label *port, int kotype) argument
126 mac_label_journal(port, MLJ_PORT_OP_UPDATE, kotype);
127 MAC_PERFORM(port_label_update_kobject, port, kotype);
165 mac_port_check_send(struct label *task, struct label *port) argument
185 mac_port_check_make_send(struct label *task, struct label *port) argument
195 mac_port_check_make_send_once(struct label *task, struct label *port) argument
205 mac_port_check_copy_send(struct label *task, struct label *port) argument
215 mac_port_check_move_send(struct label *task, struct label *port) argument
225 mac_port_check_move_send_once(struct label *task, struct label *port) argument
235 mac_port_check_move_receive(struct label *task, struct label *port) argument
245 mac_port_check_hold_send(struct label *task, struct label *port) argument
255 mac_port_check_hold_send_once(struct label *task, struct label *port) argument
265 mac_port_check_hold_receive(struct label *task, struct label *port) argument
[all...]
/macosx-10.9.5/configd-596.15/configd.tproj/
H A D_notifyviaport.c41 mach_port_t port)
52 if (port == MACH_PORT_NULL) {
53 /* sorry, you must specify a valid mach port */
81 mach_port_t port,
92 if (port != MACH_PORT_NULL) {
93 (void) mach_port_deallocate(mach_task_self(), port); local
99 *sc_status = __SCDynamicStoreNotifyMachPort(mySession->store, identifier, port);
101 // if we can't enable the notification, release the provided callback port
102 if (port != MACH_PORT_NULL) {
103 __MACH_PORT_DEBUG(TRUE, "*** _notifyviaport __SCDynamicStoreNotifyMachPort failed: releasing port", por
39 __SCDynamicStoreNotifyMachPort(SCDynamicStoreRef store, mach_msg_id_t identifier, mach_port_t port) argument
80 _notifyviaport(mach_port_t server, mach_port_t port, mach_msg_id_t identifier, int *sc_status ) argument
104 (void) mach_port_deallocate(mach_task_self(), port); local
[all...]
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/
H A Dtest_cfmessageport.py32 def callout(port, messageid, data, info):
34 port, shouldFree = CFMessagePortCreateLocal(None, u"name", callout, context, None)
35 self.assertIsInstance(port, CFMessagePortRef)
37 self.assertFalse(CFMessagePortIsRemote(port))
38 ctx = CFMessagePortGetContext(port, None)
51 cb = CFMessagePortGetInvalidationCallBack(port)
57 def invalidate(port, info):
61 CFMessagePortSetInvalidationCallBack(port, invalidate)
62 cb = CFMessagePortGetInvalidationCallBack(port)
70 rls = CFMessagePortCreateRunLoopSource(None, port,
[all...]
/macosx-10.9.5/xnu-2422.115.4/osfmk/ipc/
H A Dipc_right.c75 #include <mach/port.h>
79 #include <ipc/port.h>
91 /* Allow IPC to generate mach port guard exceptions */
201 ipc_port_t port; local
210 port = (ipc_port_t) object;
212 ip_lock(port);
213 if (!ip_active(port)) {
214 ip_unlock(port);
219 if (port->ip_receiver == space) {
220 name = port
287 ipc_port_t port = IP_NULL; local
444 ipc_right_request_cancel( __unused ipc_space_t space, ipc_port_t port, mach_port_name_t name, ipc_entry_t entry) argument
502 ipc_right_check( ipc_space_t space, ipc_port_t port, mach_port_name_t name, ipc_entry_t entry) argument
631 ipc_port_t port = (ipc_port_t) entry->ie_object; local
759 ipc_port_t port = (ipc_port_t) entry->ie_object; local
881 ipc_port_t port = IP_NULL; local
1072 ipc_port_t port = IP_NULL; local
1450 ipc_port_t port = IP_NULL; local
1627 ipc_port_t port; local
1691 ipc_port_t port; local
1851 ipc_port_t port; local
2339 ipc_port_t port; local
2455 ipc_port_t port; local
2674 ipc_port_t port; local
2705 ipc_port_t port; local
2720 ipc_port_t port; local
[all...]
/macosx-10.9.5/CF-855.17/
H A DCFMachPort.h32 #include <mach/port.h>
46 typedef void (*CFMachPortCallBack)(CFMachPortRef port, void *msg, CFIndex size, void *info);
47 typedef void (*CFMachPortInvalidationCallBack)(CFMachPortRef port, void *info);
54 CF_EXPORT mach_port_t CFMachPortGetPort(CFMachPortRef port);
55 CF_EXPORT void CFMachPortGetContext(CFMachPortRef port, CFMachPortContext *context);
56 CF_EXPORT void CFMachPortInvalidate(CFMachPortRef port);
57 CF_EXPORT Boolean CFMachPortIsValid(CFMachPortRef port);
58 CF_EXPORT CFMachPortInvalidationCallBack CFMachPortGetInvalidationCallBack(CFMachPortRef port);
59 CF_EXPORT void CFMachPortSetInvalidationCallBack(CFMachPortRef port, CFMachPortInvalidationCallBack callout);
61 CF_EXPORT CFRunLoopSourceRef CFMachPortCreateRunLoopSource(CFAllocatorRef allocator, CFMachPortRef port, CFInde
[all...]
/macosx-10.9.5/Security-55471.14.18/sec/SOSCircle/CloudKeychainProxy/scripts/
H A Dsoscopy5 for port in "$@"
7 echo "Copying roots to port: $item"
8 RSYNC_PASSWORD=alpine rsync -av /tmp/security.roots.tgz rsync://root@localhost:$port/root/var/mobile/
9 RSYNC_PASSWORD=alpine rsync -av /tmp/security.syms.tgz rsync://root@localhost:$port/root/var/mobile/
10 RSYNC_PASSWORD=alpine rsync -av ~/bin/sosinstallroot rsync://root@localhost:$port/root/usr/local/bin/sosinstallroot
11 RSYNC_PASSWORD=alpine rsync -av /tmp/SyncedDefaults.roots.tgz rsync://root@localhost:$port/root/var/mobile/
/macosx-10.9.5/bind9-45.100/bind9/lib/isc/
H A Dportset.c33 * bit corresponding to a single port in the ascending order. For example,
34 * the second most significant bit of buf[0] corresponds to port 1.
42 portset_isset(isc_portset_t *portset, in_port_t port) { argument
43 return (ISC_TF((portset->buf[port >> 5] & (1 << (port & 31))) != 0));
47 portset_add(isc_portset_t *portset, in_port_t port) { argument
48 if (!portset_isset(portset, port)) {
50 portset->buf[port >> 5] |= (1 << (port & 31));
55 portset_remove(isc_portset_t *portset, in_port_t port) { argument
90 isc_portset_isset(isc_portset_t *portset, in_port_t port) argument
104 isc_portset_add(isc_portset_t *portset, in_port_t port) argument
111 isc_portset_remove(isc_portset_t *portset, in_port_t port) argument
[all...]
/macosx-10.9.5/ntp-88/lib/isc/
H A Dportset.c33 * bit corresponding to a single port in the ascending order. For example,
34 * the second most significant bit of buf[0] corresponds to port 1.
42 portset_isset(isc_portset_t *portset, in_port_t port) { argument
43 return (ISC_TF((portset->buf[port >> 5] & (1 << (port & 31))) != 0));
47 portset_add(isc_portset_t *portset, in_port_t port) { argument
48 if (!portset_isset(portset, port)) {
50 portset->buf[port >> 5] |= (1 << (port & 31));
55 portset_remove(isc_portset_t *portset, in_port_t port) { argument
90 isc_portset_isset(isc_portset_t *portset, in_port_t port) argument
104 isc_portset_add(isc_portset_t *portset, in_port_t port) argument
111 isc_portset_remove(isc_portset_t *portset, in_port_t port) argument
[all...]
/macosx-10.9.5/ruby-104/ruby/sample/
H A Ddualstack-fetch.rb19 # split URL into host, port and path
24 port = $2
27 port = 80
35 #STDERR.print "port=<#{port}>\n"
38 STDERR.print "conntecting to #{host} port #{port}\n"
39 c = TCPSocket.new(host, port)
42 STDERR.print "conntected to #{dest[0]} port #{dest[1]}\n"
/macosx-10.9.5/Heimdal-323.92.1/lib/roken/
H A Dgetaddrinfo_hostspec.c38 /* getaddrinfo via string specifying host and port */
43 int port,
56 int port; member in struct:hst
73 if(port == 0)
74 port = hstp->port;
84 port = strtol (p + 1, &end, 0);
89 snprintf (portstr, sizeof(portstr), "%u", port);
97 int port,
100 return roken_getaddrinfo_hostspec2(hostspec, 0, port, a
41 roken_getaddrinfo_hostspec2(const char *hostspec, int socktype, int port, struct addrinfo **ai) argument
96 roken_getaddrinfo_hostspec(const char *hostspec, int port, struct addrinfo **ai) argument
[all...]
/macosx-10.9.5/WebCore-7537.78.1/bindings/js/
H A DJSMessageChannelCustom.cpp47 if (MessagePort* port = thisObject->m_impl->port1())
48 visitor.addOpaqueRoot(port);
50 if (MessagePort* port = thisObject->m_impl->port2())
51 visitor.addOpaqueRoot(port);
/macosx-10.9.5/WebKit2-7537.78.2/Platform/CoreIPC/mac/
H A DMachPort.h43 MachPort(mach_port_name_t port, mach_msg_type_name_t disposition) argument
44 : m_port(port)
60 p.m_port = attachment.port();
65 mach_port_name_t port() const { return m_port; } function in class:CoreIPC::MachPort
/macosx-10.9.5/bind9-45.100/bind9/bin/tests/system/
H A Dsend.pl21 # Send a file to a given address and port using TCP. Used for
28 @ARGV == 2 or die "usage: send.pl host port [file ...]\n";
31 my $port = shift @ARGV;
33 my $sock = IO::Socket::INET->new(PeerAddr => $host, PeerPort => $port,
/macosx-10.9.5/configd-596.15/SystemConfiguration.fproj/
H A DSCDNotifierWait.c43 waitForMachMessage(mach_port_t port) argument
55 port, /* rcv_name */
72 mach_port_t port; local
95 /* Allocating port (for server response) */
96 status = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &port);
104 port,
105 port,
109 * We can't insert a send right into our own port! This should
110 * only happen if someone stomped on OUR port (so let's leave
111 * the port alon
158 (void) mach_port_deallocate(mach_task_self(), port); local
162 (void) mach_port_mod_refs(mach_task_self(), port, MACH_PORT_RIGHT_RECEIVE, -1); local
192 (void) mach_port_mod_refs(mach_task_self(), port, MACH_PORT_RIGHT_RECEIVE , -1); local
209 (void) mach_port_mod_refs(mach_task_self(), port, MACH_PORT_RIGHT_RECEIVE , -1); local
[all...]

Completed in 291 milliseconds

1234567891011>>