/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/util/ |
HostAndPort.java | 21 * A data-only (transfer) object representing a host (InetAddress) and port number
24 * This class contains two public properties: host (java.net.InetAddress) and port (int).
31 public int port;
field in class:HostAndPort 34 * Construct a new instance with the specified host and port
36 * @param port - the port number
38 public HostAndPort(InetAddress host, int port) {
40 this.port = port;
|
/external/jcommander/src/test/java/com/beust/jcommander/ |
HostPort.java | 23 public Integer port; field in class:HostPort 27 return "[Host:" + host + " port:" + port + "]";
|
/frameworks/base/packages/services/Proxy/com/android/net/ |
IProxyPortListener.aidl | 21 oneway void setProxyPort(int port);
|
/external/libevent/ |
event_iocp.c | 65 struct event_iocp_port *port = _port; local 66 long ms = port->ms; 67 HANDLE p = port->port; 78 EnterCriticalSection(&port->lock); 79 if (port->shutdown) { 80 if (--port->n_live_threads == 0) 81 ReleaseSemaphore(port->shutdownSemaphore, 1, 83 LeaveCriticalSection(&port->lock); 86 LeaveCriticalSection(&port->lock) 177 struct event_iocp_port *port; local [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowIntentFilterAuthorityEntry.java | 10 private int port; field in class:ShadowIntentFilterAuthorityEntry 12 public void __constructor__(String host, String port) { 14 if (port == null) { 15 this.port = -1; 17 this.port = Integer.parseInt(port); 28 return port;
|
/external/selinux/libsemanage/src/ |
port_record.c | 3 /* Object: semanage_port_t (Network Port) 4 * Object: semanage_port_key_t (Network Port Key) 27 int semanage_port_compare(const semanage_port_t * port, 31 return sepol_port_compare(port, key); 36 int semanage_port_compare2(const semanage_port_t * port, 40 return sepol_port_compare2(port, port2); 45 hidden int semanage_port_compare2_qsort(const semanage_port_t ** port, 49 return sepol_port_compare2(*port, *port2); 61 const semanage_port_t * port, 65 return sepol_port_key_extract(handle->sepolh, port, key_ptr) [all...] |
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
io_32.h | 30 #define __BUILDIO(bwl,bw,type) static inline void out##bwl(unsigned type value, int port) { out##bwl##_local(value, port); } static inline unsigned type in##bwl(int port) { return in##bwl##_local(port); } 31 #define BUILDIO(bwl,bw,type) static inline void out##bwl##_local(unsigned type value, int port) { __asm__ __volatile__("out" #bwl " %" #bw "0, %w1" : : "a"(value), "Nd"(port)); } static inline unsigned type in##bwl##_local(int port) { unsigned type value; __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port)); return value; } static inline void out##bwl##_local_p(unsigned type value, int port) { out##bwl##_local(value, port); slow_down_io(); } static inline unsigned type in##bwl##_local_p(int port) { unsigned type (…) [all...] |
/prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/asm/ |
io_32.h | 30 #define __BUILDIO(bwl,bw,type) static inline void out##bwl(unsigned type value, int port) { out##bwl##_local(value, port); } static inline unsigned type in##bwl(int port) { return in##bwl##_local(port); } 31 #define BUILDIO(bwl,bw,type) static inline void out##bwl##_local(unsigned type value, int port) { __asm__ __volatile__("out" #bwl " %" #bw "0, %w1" : : "a"(value), "Nd"(port)); } static inline unsigned type in##bwl##_local(int port) { unsigned type value; __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port)); return value; } static inline void out##bwl##_local_p(unsigned type value, int port) { out##bwl##_local(value, port); slow_down_io(); } static inline unsigned type in##bwl##_local_p(int port) { unsigned type (…) [all...] |
/prebuilts/ndk/current/platforms/android-13/arch-x86/usr/include/asm/ |
io_32.h | 30 #define __BUILDIO(bwl,bw,type) static inline void out##bwl(unsigned type value, int port) { out##bwl##_local(value, port); } static inline unsigned type in##bwl(int port) { return in##bwl##_local(port); } 31 #define BUILDIO(bwl,bw,type) static inline void out##bwl##_local(unsigned type value, int port) { __asm__ __volatile__("out" #bwl " %" #bw "0, %w1" : : "a"(value), "Nd"(port)); } static inline unsigned type in##bwl##_local(int port) { unsigned type value; __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port)); return value; } static inline void out##bwl##_local_p(unsigned type value, int port) { out##bwl##_local(value, port); slow_down_io(); } static inline unsigned type in##bwl##_local_p(int port) { unsigned type (…) [all...] |
/prebuilts/ndk/current/platforms/android-14/arch-x86/usr/include/asm/ |
io_32.h | 30 #define __BUILDIO(bwl,bw,type) static inline void out##bwl(unsigned type value, int port) { out##bwl##_local(value, port); } static inline unsigned type in##bwl(int port) { return in##bwl##_local(port); } 31 #define BUILDIO(bwl,bw,type) static inline void out##bwl##_local(unsigned type value, int port) { __asm__ __volatile__("out" #bwl " %" #bw "0, %w1" : : "a"(value), "Nd"(port)); } static inline unsigned type in##bwl##_local(int port) { unsigned type value; __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port)); return value; } static inline void out##bwl##_local_p(unsigned type value, int port) { out##bwl##_local(value, port); slow_down_io(); } static inline unsigned type in##bwl##_local_p(int port) { unsigned type (…) [all...] |
/prebuilts/ndk/current/platforms/android-15/arch-x86/usr/include/asm/ |
io_32.h | 30 #define __BUILDIO(bwl,bw,type) static inline void out##bwl(unsigned type value, int port) { out##bwl##_local(value, port); } static inline unsigned type in##bwl(int port) { return in##bwl##_local(port); } 31 #define BUILDIO(bwl,bw,type) static inline void out##bwl##_local(unsigned type value, int port) { __asm__ __volatile__("out" #bwl " %" #bw "0, %w1" : : "a"(value), "Nd"(port)); } static inline unsigned type in##bwl##_local(int port) { unsigned type value; __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port)); return value; } static inline void out##bwl##_local_p(unsigned type value, int port) { out##bwl##_local(value, port); slow_down_io(); } static inline unsigned type in##bwl##_local_p(int port) { unsigned type (…) [all...] |
/prebuilts/ndk/current/platforms/android-16/arch-x86/usr/include/asm/ |
io_32.h | 30 #define __BUILDIO(bwl,bw,type) static inline void out##bwl(unsigned type value, int port) { out##bwl##_local(value, port); } static inline unsigned type in##bwl(int port) { return in##bwl##_local(port); } 31 #define BUILDIO(bwl,bw,type) static inline void out##bwl##_local(unsigned type value, int port) { __asm__ __volatile__("out" #bwl " %" #bw "0, %w1" : : "a"(value), "Nd"(port)); } static inline unsigned type in##bwl##_local(int port) { unsigned type value; __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port)); return value; } static inline void out##bwl##_local_p(unsigned type value, int port) { out##bwl##_local(value, port); slow_down_io(); } static inline unsigned type in##bwl##_local_p(int port) { unsigned type (…) [all...] |
/prebuilts/ndk/current/platforms/android-17/arch-x86/usr/include/asm/ |
io_32.h | 30 #define __BUILDIO(bwl,bw,type) static inline void out##bwl(unsigned type value, int port) { out##bwl##_local(value, port); } static inline unsigned type in##bwl(int port) { return in##bwl##_local(port); } 31 #define BUILDIO(bwl,bw,type) static inline void out##bwl##_local(unsigned type value, int port) { __asm__ __volatile__("out" #bwl " %" #bw "0, %w1" : : "a"(value), "Nd"(port)); } static inline unsigned type in##bwl##_local(int port) { unsigned type value; __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port)); return value; } static inline void out##bwl##_local_p(unsigned type value, int port) { out##bwl##_local(value, port); slow_down_io(); } static inline unsigned type in##bwl##_local_p(int port) { unsigned type (…) [all...] |
/prebuilts/ndk/current/platforms/android-18/arch-x86/usr/include/asm/ |
io_32.h | 30 #define __BUILDIO(bwl,bw,type) static inline void out##bwl(unsigned type value, int port) { out##bwl##_local(value, port); } static inline unsigned type in##bwl(int port) { return in##bwl##_local(port); } 31 #define BUILDIO(bwl,bw,type) static inline void out##bwl##_local(unsigned type value, int port) { __asm__ __volatile__("out" #bwl " %" #bw "0, %w1" : : "a"(value), "Nd"(port)); } static inline unsigned type in##bwl##_local(int port) { unsigned type value; __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port)); return value; } static inline void out##bwl##_local_p(unsigned type value, int port) { out##bwl##_local(value, port); slow_down_io(); } static inline unsigned type in##bwl##_local_p(int port) { unsigned type (…) [all...] |
/prebuilts/ndk/current/platforms/android-19/arch-x86/usr/include/asm/ |
io_32.h | 30 #define __BUILDIO(bwl,bw,type) static inline void out##bwl(unsigned type value, int port) { out##bwl##_local(value, port); } static inline unsigned type in##bwl(int port) { return in##bwl##_local(port); } 31 #define BUILDIO(bwl,bw,type) static inline void out##bwl##_local(unsigned type value, int port) { __asm__ __volatile__("out" #bwl " %" #bw "0, %w1" : : "a"(value), "Nd"(port)); } static inline unsigned type in##bwl##_local(int port) { unsigned type value; __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port)); return value; } static inline void out##bwl##_local_p(unsigned type value, int port) { out##bwl##_local(value, port); slow_down_io(); } static inline unsigned type in##bwl##_local_p(int port) { unsigned type (…) [all...] |
/prebuilts/ndk/current/platforms/android-9/arch-x86/usr/include/asm/ |
io_32.h | 30 #define __BUILDIO(bwl,bw,type) static inline void out##bwl(unsigned type value, int port) { out##bwl##_local(value, port); } static inline unsigned type in##bwl(int port) { return in##bwl##_local(port); } 31 #define BUILDIO(bwl,bw,type) static inline void out##bwl##_local(unsigned type value, int port) { __asm__ __volatile__("out" #bwl " %" #bw "0, %w1" : : "a"(value), "Nd"(port)); } static inline unsigned type in##bwl##_local(int port) { unsigned type value; __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port)); return value; } static inline void out##bwl##_local_p(unsigned type value, int port) { out##bwl##_local(value, port); slow_down_io(); } static inline unsigned type in##bwl##_local_p(int port) { unsigned type (…) [all...] |
/system/core/base/ |
parsenetaddress_test.cpp | 25 int port = 123; local 28 ParseNetAddress("www.google.com", &host, &port, &canonical, &error)); 31 EXPECT_EQ(123, port); 34 ParseNetAddress("www.google.com:666", &host, &port, &canonical, &error)); 37 EXPECT_EQ(666, port); 42 int port = 123; local 44 EXPECT_TRUE(ParseNetAddress("1.2.3.4", &host, &port, &canonical, &error)); 47 EXPECT_EQ(123, port); 49 EXPECT_TRUE(ParseNetAddress("1.2.3.4:666", &host, &port, &canonical, &error)); 52 EXPECT_EQ(666, port); 57 int port = 123; local 84 int port; local 122 int port = 42; local [all...] |
/libcore/ojluni/src/main/java/javax/net/ |
ServerSocketFactory.java | 103 * Returns a server socket bound to the specified port. 108 * method is called with the <code>port</code> argument as its 112 * @param port the port to listen to 117 * @throws IllegalArgumentException if the port parameter is outside the 118 * specified range of valid port values, which is between 0 and 123 public abstract ServerSocket createServerSocket(int port) 128 * Returns a server socket bound to the specified port, and uses the 137 * method is called with the <code>port</code> argument as its 141 * @param port the port to listen t [all...] |
/external/nist-sip/java/gov/nist/core/ |
HostPort.java | 33 * Holds the hostname:port. 52 /** port field 55 protected int port; field in class:HostPort 62 port = -1; // marker for not set. 77 if (port != -1) 78 buffer.append(COLON).append(port); 92 return port == that.port && host.equals(that.host); 102 /** get the port field 106 return port; [all...] |
/external/selinux/libsepol/src/ |
port_record.c | 37 ERR(handle, "out of memory, could not create " "port key"); 63 const sepol_port_t * port, 68 (handle, port->low, port->high, port->proto, key_ptr) < 0) { 70 ERR(handle, "could not extract key from port %s %d:%d", 71 sepol_port_get_proto_str(port->proto), 72 port->low, port->high); 85 int sepol_port_compare(const sepol_port_t * port, const sepol_port_key_t * key [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_HttpServerSocket.java | 32 private int port = -1; field in class:Support_HttpServerSocket 42 if (port == -1) { 64 public void setPort(int port) { 65 this.port = port; 69 instance = new ServerSocket(port);
|
/external/curl/lib/vauth/ |
oauth2.c | 50 * port[in] - The port(for OAUTHBEARER when not Port 80). 61 const long port, 69 if(host == NULL && (port == 0 || port == 80)) 71 else if(port == 0 || port == 80) 75 oauth = aprintf("user=%s\1host=%s\1port=%ld\1auth=Bearer %s\1\1", user, 76 host, port, bearer) [all...] |
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/ |
KeepAliveHttpsTransportSE.java | 28 private final int port; field in class:KeepAliveHttpsTransportSE 33 public KeepAliveHttpsTransportSE(String host, int port, String file, int timeout) { 34 super(host, port, file, timeout); 36 this.port = port; 51 serviceConnection = new HttpsServiceConnectionSEIgnoringConnectionClose(host, port,
|
/external/libchrome/base/mac/ |
scoped_mach_port.cc | 14 void SendRightTraits::Free(mach_port_t port) { 15 kern_return_t kr = mach_port_deallocate(mach_task_self(), port); 21 void ReceiveRightTraits::Free(mach_port_t port) { 23 mach_port_mod_refs(mach_task_self(), port, MACH_PORT_RIGHT_RECEIVE, -1); 29 void PortSetTraits::Free(mach_port_t port) { 31 mach_port_mod_refs(mach_task_self(), port, MACH_PORT_RIGHT_PORT_SET, -1);
|
/external/jetty/src/java/org/eclipse/jetty/client/ |
Address.java | 29 private final int port; field in class:Address 34 int port; local 39 port = Integer.parseInt(hostAndPort.substring(colon + 1)); 44 port = 0; 46 return new Address(host, port); 49 public Address(String host, int port) 55 this.port = port; 65 return port == that.port; [all...] |