/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RawIp4Tx/ |
RawIp4Tx.h | 33 #define SIN_ADDR(port) port.sin_addr.S_un.S_addr
34 #define SIN_FAMILY(port) port.sin_family
35 #define SIN_LEN(port) port.sin_family
36 #define SIN_PORT(port) port.sin_port
58 #define SIN_ADDR(port) port.sin_addr.s_addr [all...] |
/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;
|
/system/core/adb/daemon/ |
mdns.h | 20 void setup_mdns(int port);
|
/external/syslinux/com32/libupload/ |
serial.c | 31 uint16_t port; local 37 port = sci->iobase; 39 printf("No port number specified and not using serial console!\n"); 43 port = strtoul(argv[0], NULL, 0); 44 if (port <= 3) { 45 uint16_t addr = ((uint16_t *)0x400)[port]; 47 printf("No serial port address found!\n"); 50 printf("Serial port %u is at 0x%04x\n", port, addr); 51 port = addr 122 uint16_t port = sif->port; local 137 uint16_t port = sif->port; local 152 uint16_t port = sif->port; local [all...] |
/system/core/adb/ |
socket_spec_test.cpp | 25 int port; local 26 EXPECT_TRUE(parse_tcp_socket_spec("tcp:5037", &hostname, &port, &error)); 28 EXPECT_EQ(5037, port); 31 EXPECT_FALSE(parse_tcp_socket_spec("tcp:", &hostname, &port, &error)); 32 EXPECT_FALSE(parse_tcp_socket_spec("tcp:-1", &hostname, &port, &error)); 33 EXPECT_FALSE(parse_tcp_socket_spec("tcp:65536", &hostname, &port, &error)); 35 EXPECT_TRUE(parse_tcp_socket_spec("tcp:localhost:1234", &hostname, &port, &error)); 37 EXPECT_EQ(1234, port); 39 EXPECT_FALSE(parse_tcp_socket_spec("tcp:localhost", &hostname, &port, &error)); 40 EXPECT_FALSE(parse_tcp_socket_spec("tcp:localhost:", &hostname, &port, &error)) [all...] |
/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...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/OobRx/ |
OobRx.h | 30 #define SIN_ADDR(port) port.sin_addr.S_un.S_addr
31 #define SIN_FAMILY(port) port.sin_family
32 #define SIN_LEN(port) port.sin_family
33 #define SIN_PORT(port) port.sin_port
58 #define SIN_ADDR(port) port.sin_addr.s_addr [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/OobTx/ |
OobTx.h | 33 #define SIN_ADDR(port) port.sin_addr.S_un.S_addr
34 #define SIN_FAMILY(port) port.sin_family
35 #define SIN_LEN(port) port.sin_family
36 #define SIN_PORT(port) port.sin_port
58 #define SIN_ADDR(port) port.sin_addr.s_addr [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RawIp4Rx/ |
RawIp4Rx.h | 30 #define SIN_ADDR(port) port.sin_addr.S_un.S_addr
31 #define SIN_FAMILY(port) port.sin_family
32 #define SIN_LEN(port) port.sin_family
33 #define SIN_PORT(port) port.sin_port
57 #define SIN_ADDR(port) port.sin_addr.s_addr [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...] |
/external/syslinux/core/legacynet/ |
portnum.c | 18 /* Port number bitmap - port numbers 49152 (0xc000) to 57343 (0xefff) */ 45 * Get and free a port number (host byte order) 49 uint16_t port; local 52 port = first_port_number++; 54 } while (test_bit(port_number_bitmap, port)); 56 set_bit(port_number_bitmap, port); 57 return htons(port + PORT_NUMBER_BASE); 60 void free_port(uint16_t port) 62 port = ntohs(port) - PORT_NUMBER_BASE [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/r10/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/r10/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/r10/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/r10/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/r10/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/r10/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/r10/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/r10/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/r10/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...] |
/prebuilts/ndk/r11/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...] |