Searched refs:port (Results 1 - 25 of 1892) sorted by relevance

1234567891011>>

/macosx-10.10/bash-94.1.2/bash-3.2/examples/functions/
H A Dgethtml11 local host port
14 echo "usage: $FUNCNAME hostname path [port]" >&2
19 port="${3:-80}"
21 exec 3<> /dev/tcp/$host/$port || {
22 echo "$FUNCNAME: $host/$port: cannot connect" >&2
/macosx-10.10/xnu-2782.1.97/osfmk/mach/
H A Dtask_special_ports.h62 * port identifiers - they are only used for the task_get_special_port
75 #define TASK_HOST_PORT 2 /* The host (priv) port for task. */
77 #define TASK_NAME_PORT 3 /* the name (unpriv) port for task */
85 #define TASK_SEATBELT_PORT 7 /* Seatbelt compiler/DEM port for task. */
87 /* PORT 8 was the GSSD TASK PORT which transformed to a host port */
91 #define TASK_DEBUG_CONTROL_PORT 10 /* debug control port */
97 #define task_get_kernel_port(task, port) \
98 (task_get_special_port((task), TASK_KERNEL_PORT, (port)))
100 #define task_set_kernel_port(task, port) \
101 (task_set_special_port((task), TASK_KERNEL_PORT, (port)))
[all...]
H A Dthread_special_ports.h62 * port identifiers - they are only used for the thread_get_special_port
77 #define thread_get_kernel_port(thread, port) \
78 (thread_get_special_port((thread), THREAD_KERNEL_PORT, (port)))
80 #define thread_set_kernel_port(thread, port) \
81 (thread_set_special_port((thread), THREAD_KERNEL_PORT, (port)))
H A Dhost_special_ports.h109 * be the local node host port. In the set call, the host must the per-node
110 * host port for the node being affected.
112 #define host_get_host_port(host, port) \
114 HOST_LOCAL_NODE, HOST_PORT, (port)))
115 #define host_set_host_port(host, port) (KERN_INVALID_ARGUMENT)
117 #define host_get_host_priv_port(host, port) \
119 HOST_LOCAL_NODE, HOST_PRIV_PORT, (port)))
120 #define host_set_host_priv_port(host, port) (KERN_INVALID_ARGUMENT)
122 #define host_get_io_master_port(host, port) \
124 HOST_LOCAL_NODE, HOST_IO_MASTER_PORT, (port)))
[all...]
/macosx-10.10/architecture-266/i386/
H A Dpio.h60 i386_ioport_t port)
63 __asm__ volatile("inl %w1, %0" : "=a" (datum) : "Nd" (port));
68 i386_ioport_t port)
71 __asm__ volatile("inw %w1, %w0" : "=a" (datum) : "Nd" (port));
76 i386_ioport_t port)
79 __asm__ volatile("inb %w1, %b0" : "=a" (datum) : "Nd" (port));
84 i386_ioport_t port,
87 __asm__ volatile("outl %0, %w1" : : "a" (datum), "Nd" (port));
91 i386_ioport_t port,
94 __asm__ volatile("outw %w0, %w1" : : "a" (datum), "Nd" (port));
59 inl( i386_ioport_t port) argument
67 inw( i386_ioport_t port) argument
75 inb( i386_ioport_t port) argument
83 outl( i386_ioport_t port, unsigned long datum) argument
90 outw( i386_ioport_t port, unsigned short datum) argument
97 outb( i386_ioport_t port, unsigned char datum) argument
[all...]
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/nns/
H A Dcommon.tcl13 proc ::nameserv::common::port {} {
14 variable port
15 return $port
19 # Derivation of the standard port number for this service.
26 variable port 38573
28 # The modulo operation is required because IP port numbers are
/macosx-10.10/xnu-2782.1.97/EXTERNAL_HEADERS/architecture/i386/
H A Dpio.h65 i386_ioport_t port)
68 __asm__ volatile("inl %w1, %0" : "=a" (datum) : "Nd" (port));
73 i386_ioport_t port)
76 __asm__ volatile("inw %w1, %w0" : "=a" (datum) : "Nd" (port));
81 i386_ioport_t port)
84 __asm__ volatile("inb %w1, %b0" : "=a" (datum) : "Nd" (port));
89 i386_ioport_t port,
92 __asm__ volatile("outl %0, %w1" : : "a" (datum), "Nd" (port));
96 i386_ioport_t port,
99 __asm__ volatile("outw %w0, %w1" : : "a" (datum), "Nd" (port));
64 inl( i386_ioport_t port) argument
72 inw( i386_ioport_t port) argument
80 inb( i386_ioport_t port) argument
88 outl( i386_ioport_t port, unsigned int datum) argument
95 outw( i386_ioport_t port, unsigned short datum) argument
102 outb( i386_ioport_t port, unsigned char datum) argument
[all...]
/macosx-10.10/xnu-2782.1.97/osfmk/ipc/
H A Dipc_notify.h73 /* Send a port-deleted notification */
75 ipc_port_t port,
80 ipc_port_t port,
83 /* Send a port-destroyed notification */
85 ipc_port_t port,
90 ipc_port_t port,
95 ipc_port_t port);
99 ipc_port_t port,
H A Dipc_notify.c66 #include <mach/port.h>
76 * Send a port-deleted notification.
79 * Consumes a ref/soright for port.
84 ipc_port_t port,
87 (void)mach_notify_port_deleted(port, name);
97 * Consumes a ref/soright for port.
102 ipc_port_t port,
105 (void)mach_notify_send_possible(port, name);
112 * Send a port-destroyed notification.
115 * Consumes a ref/soright for port
83 ipc_notify_port_deleted( ipc_port_t port, mach_port_name_t name) argument
101 ipc_notify_send_possible( ipc_port_t port, mach_port_name_t name) argument
122 ipc_notify_port_destroyed( ipc_port_t port, ipc_port_t right) argument
140 ipc_notify_no_senders( ipc_port_t port, mach_port_mscount_t mscount) argument
158 ipc_notify_send_once( ipc_port_t port) argument
175 ipc_notify_dead_name( ipc_port_t port, mach_port_name_t name) argument
[all...]
H A Dipc_port.c75 #include <mach/port.h>
102 ipc_port_t port,
113 ipc_port_release(ipc_port_t port) argument
115 ip_release(port);
119 ipc_port_reference(ipc_port_t port) argument
121 ip_reference(port);
143 * The port is locked and active.
152 ipc_port_t port,
162 ipc_port_t port,
178 assert(ip_active(port));
151 ipc_port_request_alloc( ipc_port_t port, mach_port_name_t name, ipc_port_t soright, boolean_t send_possible, boolean_t immediate, ipc_port_request_index_t *indexp, boolean_t *importantp) argument
239 ipc_port_request_grow( ipc_port_t port, ipc_table_elems_t target_size) argument
353 ipc_port_request_sparm( ipc_port_t port, __assert_only mach_port_name_t name, ipc_port_request_index_t index, mach_msg_option_t option) argument
406 ipc_port_request_type( ipc_port_t port, __assert_only mach_port_name_t name, ipc_port_request_index_t index) argument
445 ipc_port_request_cancel( ipc_port_t port, __assert_only mach_port_name_t name, ipc_port_request_index_t index) argument
483 ipc_port_pdrequest( ipc_port_t port, ipc_port_t notify, ipc_port_t *previousp) argument
512 ipc_port_nsrequest( ipc_port_t port, mach_port_mscount_t sync, ipc_port_t notify, ipc_port_t *previousp) argument
549 ipc_port_clear_receiver( ipc_port_t port, queue_t links) argument
587 ipc_port_init( ipc_port_t port, ipc_space_t space, mach_port_name_t name) argument
643 ipc_port_t port; local
694 ipc_port_t port; local
729 ipc_port_spnotify( ipc_port_t port) argument
819 ipc_port_dnnotify( ipc_port_t port) argument
856 ipc_port_destroy( ipc_port_t port) argument
1005 ipc_port_check_circularity( ipc_port_t port, ipc_port_t dest) argument
1238 ipc_port_impcount_delta( ipc_port_t port, mach_port_delta_t delta, ipc_port_t __unused base) argument
1326 ipc_port_importance_delta_internal( ipc_port_t port, mach_port_delta_t *deltap, ipc_importance_task_t *imp_task) argument
1443 ipc_port_importance_delta( ipc_port_t port, mach_port_delta_t delta) argument
1489 ipc_port_t port; local
1524 ipc_port_make_send_locked( ipc_port_t port) argument
1541 ipc_port_make_send( ipc_port_t port) argument
1573 ipc_port_copy_send( ipc_port_t port) argument
1640 ipc_port_release_send( ipc_port_t port) argument
1683 ipc_port_make_sonce_locked( ipc_port_t port) argument
1701 ipc_port_make_sonce( ipc_port_t port) argument
1733 ipc_port_release_sonce( ipc_port_t port) argument
1759 ipc_port_release_receive( ipc_port_t port) argument
1792 ipc_port_t port; local
1827 ipc_port_dealloc_special( ipc_port_t port, __assert_only ipc_space_t space) argument
1861 ipc_port_finalize( ipc_port_t port) argument
1927 ipc_port_init_debug( ipc_port_t port, uintptr_t *callstack, unsigned int callstack_max) argument
1991 ipc_port_track_dealloc( __unused ipc_port_t port) argument
1997 ipc_port_track_dealloc( ipc_port_t port) argument
[all...]
H A Dipc_port.h84 #include <mach/port.h>
97 * A receive right (port) can be in four states:
102 * to the destination port and holds a ref for it)
105 * If the port is active, and ip_receiver points to some space,
107 * If the port is not active, then ip_timestamp contains a timestamp
108 * taken when the port was destroyed.
146 ip_impdonation:1, /* port supports importance donation */
148 ip_guarded:1, /* port guarded (use context value as guard) */
184 #define IP_VALID(port) IPC_PORT_VALID(port)
227 struct ipc_port *port; member in union:ipc_port_request::__anon15330
[all...]
H A Dipc_right.c75 #include <mach/port.h>
79 #include <ipc/port.h>
92 /* Allow IPC to generate mach port guard exceptions */
202 ipc_port_t port; local
211 port = (ipc_port_t) object;
213 ip_lock(port);
214 if (!ip_active(port)) {
215 ip_unlock(port);
220 if (port->ip_receiver == space) {
221 name = port
288 ipc_port_t port = IP_NULL; local
445 ipc_right_request_cancel( __unused ipc_space_t space, ipc_port_t port, mach_port_name_t name, ipc_entry_t entry) argument
503 ipc_right_check( ipc_space_t space, ipc_port_t port, mach_port_name_t name, ipc_entry_t entry) argument
632 ipc_port_t port = (ipc_port_t) entry->ie_object; local
760 ipc_port_t port = (ipc_port_t) entry->ie_object; local
882 ipc_port_t port = IP_NULL; local
1073 ipc_port_t port = IP_NULL; local
1451 ipc_port_t port = IP_NULL; local
1628 ipc_port_t port; local
1692 ipc_port_t port; local
1792 ipc_port_t port; local
2213 ipc_port_t port; local
2497 ipc_port_t port; local
2671 ipc_port_t port; local
2702 ipc_port_t port; local
2717 ipc_port_t port; local
[all...]
/macosx-10.10/xnu-2782.1.97/osfmk/kern/
H A Daudit_sessionport.c42 * the new port.
43 * *sessionport Pointer to the current session port. This may
47 * NULL Failed to allocate port (due to lack of memory
51 * If there were no outstanding send rights against the port,
55 * the port's reference until all send rights go away.
61 ipc_port_t port; local
64 * If we don't have an existing session port, then create one.
66 port = *sessionport;
67 if (!IP_VALID(port)) {
72 if (!OSCompareAndSwapPtr(port, new_por
123 audit_session_porttoaia(ipc_port_t port) argument
163 ipc_port_t port = notification->not_header.msgh_remote_port; local
201 ipc_port_t port = *sessionport; local
[all...]
H A Dipc_clock.c58 ipc_port_t port; local
60 port = ipc_port_alloc_kernel();
61 if (port == IP_NULL)
63 clock->cl_service = port;
65 port = ipc_port_alloc_kernel();
66 if (port == IP_NULL)
68 clock->cl_control = port;
89 * Convert from a port to a clock.
90 * Doesn't consume the port ref; produces a clock ref,
97 ipc_port_t port)
96 convert_port_to_clock( ipc_port_t port) argument
123 convert_port_to_clock_ctrl( ipc_port_t port) argument
151 ipc_port_t port; local
169 ipc_port_t port; local
186 ipc_port_t port; local
[all...]
H A Dipc_host.c85 ipc_port_t port, boolean_t matchn, processor_set_t *ppset);
96 ipc_port_t port; local
104 port = ipc_port_alloc_kernel();
105 if (port == IP_NULL)
108 ipc_kobject_set(port, (ipc_kobject_t) &realhost, IKOT_HOST_SECURITY);
110 ipc_port_make_send(port));
112 port = ipc_port_alloc_kernel();
113 if (port == IP_NULL)
116 ipc_kobject_set(port, (ipc_kobject_t) &realhost, IKOT_HOST);
118 ipc_port_make_send(port));
180 ipc_port_t port; local
213 ipc_port_t port; local
267 convert_port_to_host( ipc_port_t port) argument
295 convert_port_to_host_priv( ipc_port_t port) argument
322 convert_port_to_processor( ipc_port_t port) argument
349 convert_port_to_pset( ipc_port_t port) argument
375 convert_port_to_pset_name( ipc_port_t port) argument
391 ref_pset_port_locked(ipc_port_t port, boolean_t matchn, processor_set_t *ppset) argument
421 ipc_port_t port; local
441 ipc_port_t port = processor->processor_self; local
462 ipc_port_t port = pset->pset_self; local
484 ipc_port_t port = pset->pset_name_self; local
502 convert_port_to_host_security( ipc_port_t port) argument
[all...]
/macosx-10.10/BerkeleyDB-21/db/java/src/com/sleepycat/db/
H A DReplicationHostAddress.java24 The network port component of the site address.
26 public int port; field in class:ReplicationHostAddress
37 host: localhost and port 0.
48 Create a ReplicationHostAddress with user defined host and port information.
50 public ReplicationHostAddress(String host, int port) argument
52 this.port = port;
58 return host + ":" + port;
/macosx-10.10/xnu-2782.1.97/libsyscall/mach/
H A Dmig_reply_port.c43 _mig_set_reply_port(mach_port_t port) argument
45 _os_tsd_set_direct(__TSD_MIG_REPLY, port);
49 * Called by mig interface code whenever a reply port is needed.
57 mach_port_t port = _mig_get_reply_port(); local
58 if (port == MACH_PORT_NULL) {
59 port = mach_reply_port();
60 _mig_set_reply_port(port);
62 return port;
66 * Called by mig interface code after a timeout on the reply port.
67 * May also be called by user. The new mig calls with port passe
72 mach_port_t port = _mig_get_reply_port(); local
75 (void) mach_port_mod_refs(mach_task_self(), port, MACH_PORT_RIGHT_RECEIVE, -1); local
[all...]
/macosx-10.10/OpenSSH-189/openssh/regress/
H A Dportnum.sh4 tid="port number parsing"
7 port=$1
8 verbose "$tid: invalid port $port"
9 if ${SSH} -F $OBJ/ssh_proxy -p $port somehost true 2>/dev/null ; then
10 fail "$tid accepted invalid port $port"
14 port=$1
15 verbose "$tid: valid port $port"
[all...]
/macosx-10.10/kext_tools-384.1.4/
H A Dkextd_mig_server.h29 CFMachPortRef port,
/macosx-10.10/BerkeleyDB-21/db/docs_src/ref/distrib/
H A DMakefile3 BUILD= layout.html port.html
/macosx-10.10/WebCore-7600.1.25/bindings/js/
H A DJSMessageChannelCustom.cpp37 if (MessagePort* port = impl().port1())
38 visitor.addOpaqueRoot(port);
40 if (MessagePort* port = impl().port2())
41 visitor.addOpaqueRoot(port);
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/
H A Dtest_cfmessageport.py23 def callout(port, messageid, data, info):
26 port, shouldFree = CFMessagePortCreateLocal(None, u"name", callout, context, None)
27 self.failUnless(isinstance(port, CFMessagePortRef))
30 self.failIf(CFMessagePortIsRemote(port))
31 ctx = CFMessagePortGetContext(port)
35 port = CFMessagePortCreateRemote(None, u"name")
36 self.failUnless(isinstance(port, CFMessagePortRef))
39 self.failUnless(CFMessagePortIsRemote(port))
40 self.failUnless(CFMessagePortGetName(port), u"name")
42 CFMessagePortSetName(port, "newnam
[all...]
H A Dtest_cfmachport.py19 def callout(port, msg, size, info):
23 #port, shouldFree = CFMachPortCreateWithPort(None, 1, callout, context, None)
24 #self.failUnless(isinstance(port, CFMachPortRef))
27 port, shouldFree = CFMachPortCreate(None, callout, context, None)
28 self.failUnless(isinstance(port, CFMachPortRef))
31 idx = CFMachPortGetPort(port)
34 ctx = CFMachPortGetContext(port)
37 cb = CFMachPortGetInvalidationCallBack(port)
42 def invalidate(port, info):
46 CFMachPortSetInvalidationCallBack(port, invalidat
[all...]
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/PyObjCTest/
H A Dtest_cfmachport.py28 def callout(port, msg, size, info):
31 port, shouldFree = CFMachPortCreate(None, callout, context, None)
34 self.assertIsInstance(port, Foundation.NSMachPort)
41 def callout(port, msg, size, info):
45 #port, shouldFree = CFMachPortCreateWithPort(None, 1, callout, context, None)
46 #self.assertIsInstance(port, CFMachPortRef)
49 port, shouldFree = CFMachPortCreate(None, callout, context, None)
52 self.assertIsInstance(port, Foundation.NSMachPort)
53 self.assertIsInstance(port, Foundation.NSPort)
55 idx = CFMachPortGetPort(port)
[all...]
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/
H A Dtest_cfmachport.py18 def callout(port, msg, size, info):
22 #port, shouldFree = CFMachPortCreateWithPort(None, 1, callout, context, None)
23 #self.assertIsInstance(port, CFMachPortRef)
25 port, shouldFree = CFMachPortCreate(None, callout, context, None)
26 self.assertIsInstance(port, CFMachPortRef)
28 idx = CFMachPortGetPort(port)
30 ctx = CFMachPortGetContext(port, None)
32 cb = CFMachPortGetInvalidationCallBack(port)
36 def invalidate(port, info):
40 CFMachPortSetInvalidationCallBack(port, invalidat
[all...]

Completed in 218 milliseconds

1234567891011>>