/external/cmockery/cmockery_0_1_2/src/example/ |
database.h | 30 unsigned int port; member in struct:DatabaseConnection 36 const unsigned int port);
|
/frameworks/base/media/java/android/media/ |
AudioMixPortConfig.java | 35 * Returns the audio mix port this AudioMixPortConfig is issued from. 37 public AudioMixPort port() { method in class:AudioMixPortConfig
|
AudioDevicePortConfig.java | 35 this(config.port(), config.samplingRate(), config.channelMask(), config.format(), 40 * Returns the audio device port this AudioDevicePortConfig is issued from. 42 public AudioDevicePort port() { method in class:AudioDevicePortConfig
|
/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/bt/udrv/ulinux/ |
uipc_linux.h | 28 unsigned int port; member in struct:__anon69814
|
/system/core/adb/ |
console.cpp | 8 int fd, port; local 10 port = adb_get_emulator_console_port(); 11 if (port < 0) { 12 if (port == -2) 18 fd = socket_loopback_client( port, SOCK_STREAM ); 20 fprintf(stderr, "error: could not connect to TCP port %d\n", port);
|
/frameworks/base/core/java/android/hardware/ |
SerialManager.java | 60 * The speed of the serial port must be one of: 65 * @param name of the serial port 66 * @param speed at which to open the serial port 67 * @return the serial port 73 SerialPort port = new SerialPort(name); local 74 port.open(pfd, speed); 75 return port; 77 throw new IOException("Could not open serial port " + name);
|
/bionic/libc/bionic/ |
bindresvport.c | 41 static short port; local 54 if (port == 0) { 55 port = START_PORT + (getpid() % NUM_PORTS); 58 for (nn = NUM_PORTS; nn > 0; nn--, port++) 60 if (port == END_PORT) 61 port = START_PORT; 63 sin->sin_port = htons(port);
|
/external/deqp/execserver/tools/ |
xsMain.cpp | 39 DE_DECLARE_COMMAND_LINE_OPT(Port, int); 47 parser << Option<Port> ("p", "port", "Port", "50016") 83 const int port = cmdLine.getOption<opt::Port>(); local 84 xs::ExecutionServer server (&testProcess, DE_SOCKETFAMILY_INET4, port, runMode); 86 std::cout << "Listening on port " << port << ".\n"; local
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
EpsvCommandHandler.java | 29 * of 229, along with response text including: "<i>(|||PORT|)</i>", where <i>PORT</i> is the 16-bit
30 * TCP port address of the data connection on the server to which the client must connect.</li>
41 int port = session.switchToPassiveMode();
local 43 LOG.debug("server=" + server + " port=" + port);
44 sendReply(session, ReplyCodes.EPSV_OK, "epsv", list(Integer.toString(port)));
|
PasvCommandHandler.java | 32 * bytes of the 16-bit TCP port address of the data connection on the server to which
44 int port = session.switchToPassiveMode();
local 46 LOG.debug("server=" + server + " port=" + port);
47 String hostAndPort = PortParser.convertHostAndPortToCommaDelimitedBytes(server, port);
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
EpsvCommandHandler.java | 30 * "<i>Entering Extended Passive Mode (|||PORT|)</i>", where <i>PORT</i> is the 16-bit TCP port
55 int port = session.switchToPassiveMode();
local 57 LOG.debug("server=" + server + " port=" + port);
58 sendReply(session, Integer.toString(port));
|
PasvCommandHandler.java | 34 * bytes of the 16-bit TCP port address of the data connection on the server to which
58 int port = session.switchToPassiveMode();
local 61 Assert.isTrue(port > -1, "The server-side port is invalid: " + port);
62 LOG.debug("server=" + server + " port=" + port);
63 String hostAndPort = "(" + PortParser.convertHostAndPortToCommaDelimitedBytes(server, port) + ")";
|
/external/robolectric/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;
|
/frameworks/av/media/libstagefright/omx/ |
SimpleSoftOMXComponent.cpp | 134 const PortInfo *port = local 137 memcpy(defParams, &port->mDef, sizeof(port->mDef)); 162 PortInfo *port = 166 if (defParams->nBufferSize > port->mDef.nBufferSize) { 167 port->mDef.nBufferSize = defParams->nBufferSize; 170 if (defParams->nBufferCountActual < port->mDef.nBufferCountMin) { 172 port->mDef.nBufferCountMin, defParams->nBufferCountActual); 176 port->mDef.nBufferCountActual = defParams->nBufferCountActual; 216 PortInfo *port = &mPorts.editItemAt(portIndex) [all...] |
/bionic/libc/dns/net/ |
getservent.c | 59 int port; local 71 q = p + 1 + namelen + 3; /* skip name + port + proto */ 94 /* copy name + port + setup protocol */ 100 port = ((((unsigned char*)p)[0] << 8) | 103 rs->servent.s_port = htons(port); 105 p += 4; /* skip port(2) + proto(1) + aliascount(1) */
|
/bionic/libc/kernel/uapi/xen/ |
evtchn.h | 39 unsigned int port; member in struct:ioctl_evtchn_unbind 44 unsigned int port; member in struct:ioctl_evtchn_notify
|
/device/generic/goldfish/libqemu/ |
test_guest_1.c | 44 int port = 8012; local 47 if (pipe_openSocket(pipe, port) < 0) { 51 printf("Connected to tcp:host:%d\n", port);
|
test_host_2.c | 31 /* Default port number */ 54 /* Create a server socket bound to a loopback port */ 56 socket_loopback_server( int port, int type ) 67 addr.sin_port = htons(port); 92 int port = DEFAULT_PORT; local 94 printf("Starting pipe test server on local port %d\n", port); 95 sock = socket_loopback_server( port, SOCK_STREAM );
|
/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/apache-http/src/org/apache/http/protocol/ |
RequestTargetHost.java | 85 int port = ((HttpInetConnection) conn).getRemotePort(); local 87 targethost = new HttpHost(address.getHostName(), port);
|
/external/clang/test/CodeGen/ |
x86_32-inline-asm.c | 34 unsigned int port; local 35 __asm__ volatile("outb %0, %w1" : : "a" (data), "Nd" (port)); // No error expected. 37 __asm__ volatile("outb %0, %w1" : : "R" (val), "Nd" (port)); // expected-error {{invalid input size for constraint 'R'}} 38 __asm__ volatile("outb %0, %w1" : : "q" (val), "Nd" (port)); // expected-error {{invalid input size for constraint 'q'}} 39 __asm__ volatile("outb %0, %w1" : : "Q" (val), "Nd" (port)); // expected-error {{invalid input size for constraint 'Q'}} 40 __asm__ volatile("outb %0, %w1" : : "b" (val), "Nd" (port)); // expected-error {{invalid input size for constraint 'b'}} 41 __asm__ volatile("outb %0, %w1" : : "c" (val), "Nd" (port)); // expected-error {{invalid input size for constraint 'c'}} 42 __asm__ volatile("outb %0, %w1" : : "d" (val), "Nd" (port)); // expected-error {{invalid input size for constraint 'd'}} 43 __asm__ volatile("outb %0, %w1" : : "S" (val), "Nd" (port)); // expected-error {{invalid input size for constraint 'S'}} 44 __asm__ volatile("outb %0, %w1" : : "D" (val), "Nd" (port)); // expected-error {{invalid input size for constraint 'D'} [all...] |
/external/iptables/extensions/ |
libip6t_MASQUERADE.c | 27 " --to-ports <port>[-<port>]\n" 28 " Port (range) to map to.\n" 30 " Randomize source port.\n"); 44 unsigned int port, maxport; local 48 if (!xtables_strtoui(arg, &end, &port, 0, UINT16_MAX)) 53 r->min_proto.tcp.port 54 = r->max_proto.tcp.port 55 = htons(port); 61 if (maxport < port) [all...] |
/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...] |
/external/kernel-headers/original/uapi/xen/ |
evtchn.h | 37 * Bind a fresh port to VIRQ @virq. 38 * Return allocated port. 47 * Bind a fresh port to remote <@remote_domain, @remote_port>. 48 * Return allocated port. 57 * Allocate a fresh port for binding to @remote_domain. 58 * Return allocated port. 67 * Unbind previously allocated @port. 72 unsigned int port; member in struct:ioctl_evtchn_unbind 76 * Unbind previously allocated @port. 81 unsigned int port; member in struct:ioctl_evtchn_notify [all...] |