/external/javassist/src/main/javassist/tools/web/ |
Viewer.java | 30 * <ul><code>% java javassist.tools.web.Viewer <i>host port</i> Main arg1, ...</code></ul> 34 * a server http://<i>host</i>:<i>port</i>. 46 * String port = v.getPort(); 52 private int port; field in class:Viewer 66 "Usage: java javassist.tools.web.Viewer <host> <port> class [args ...]"); 73 * @param p port number 77 port = p; 86 * Returns the port number. 88 public int getPort() { return port; } 163 URL url = new URL("http", server, port, [all...] |
/external/jcommander/src/test/java/com/beust/jcommander/args/ |
CommandLineArgs.java | 108 @Parameter(names = "-port", description = "The port") 109 public Integer port; field in class:CommandLineArgs
|
/external/kernel-headers/original/uapi/linux/ |
b1lli.h | 48 int port; member in struct:avmb1_carddef 58 int port; member in struct:avmb1_extcarddef
|
/external/libcups/cups/ |
dest-localization.c | 333 int port; /* Port number */ local 367 hostname, sizeof(hostname), &port, resource, 378 port == httpAddrPort(http->hostaddr)) 397 if ((http2 = httpConnect2(hostname, port, NULL, AF_UNSPEC, encryption, 1, 401 "%s:%d: %s", hostname, port, cupsLastErrorString()));
|
http-addrlist.c | 476 const char *service) /* I - Service name or port number */ 666 struct servent *port; /* Port number for service */ 667 int portnum; /* Port number */ 678 else if ((port = getservbyname(service, NULL)) != NULL) 679 portnum = ntohs(port->s_port); 793 struct servent *port; /* Port number for service */ local 794 int portnum; /* Port number */ 805 else if ((port = getservbyname(service, NULL)) != NULL [all...] |
ppd-util.c | 36 char *host, int hostsize, int *port, 134 int http_port; /* Port number */ 142 int port; /* Port number */ local 293 if (!cups_get_printer_uri(http, name, hostname, sizeof(hostname), &port, 297 DEBUG_printf(("2cupsGetPPD3: Printer hostname=\"%s\", port=%d", hostname, 298 port)); 300 if (cupsServer()[0] == '/' && !_cups_strcasecmp(hostname, "localhost") && port == ippPort()) 307 port = 0; 324 * Get the hostname and port number we are connected to.. [all...] |
tlscheck.c | 45 int port = 0; /* Port number */ local 122 httpSeparateURI(HTTP_URI_CODING_ALL, argv[i], scheme, sizeof(scheme), userpass, sizeof(userpass), host, sizeof(host), &port, resource, sizeof(resource)); 131 else if (!port && (argv[i][0] == '=' || isdigit(argv[i][0] & 255))) 134 port = atoi(argv[i] + 1); 136 port = atoi(argv[i]); 148 if (!port) 149 port = 631; 153 http = httpConnect2(server, port, NULL, af, HTTP_ENCRYPTION_ALWAYS, 1, 30000, NULL); 699 httpAssembleURI(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipps", NULL, host, port, resource) [all...] |
/external/libevent/ |
event_iocp.c | 66 struct event_iocp_port *port = port_; local 67 long ms = port->ms; 68 HANDLE p = port->port; 79 EnterCriticalSection(&port->lock); 80 if (port->shutdown) { 81 if (--port->n_live_threads == 0) 82 ReleaseSemaphore(port->shutdownSemaphore, 1, 84 LeaveCriticalSection(&port->lock); 87 LeaveCriticalSection(&port->lock) 178 struct event_iocp_port *port; local [all...] |
/external/libmicrohttpd/src/testcurl/ |
perf_get_concurrent.c | 163 do_gets (int port) 173 sprintf(url, "http://127.0.0.1:%d/hello_world", port); 233 testInternalGet (int port, int poll_flag) 238 port, NULL, NULL, &ahc_echo, "GET", MHD_OPTION_END); 242 join_gets (do_gets (port)); 250 testMultithreadedGet (int port, int poll_flag) 255 port, NULL, NULL, &ahc_echo, "GET", MHD_OPTION_END); 259 join_gets (do_gets (port)); 266 testMultithreadedPoolGet (int port, int poll_flag) 271 port, NULL, NULL, &ahc_echo, "GET" 337 int port = 1081; local [all...] |
/external/libmicrohttpd/src/testspdy/ |
test_misc.c | 31 int port; variable 89 asprintf(&uri,"https://127.0.0.1:%i/",port); 213 daemon = SPDY_start_daemon(port, 281 port = get_port(13123);
|
test_request_response_with_callback.c | 34 int port; variable 178 daemon = SPDY_start_daemon(port, 274 asprintf(&cmd1, "spdycat https://127.0.0.1:%i/ | md5sum",port); 299 port = get_port(11123);
|
test_session_timeout.c | 39 int port; variable 137 daemon = SPDY_start_daemon(port, 304 asprintf (&uri, "127.0.0.1:%i", port); 317 port = get_port(11123);
|
/external/libmojo/mojo/public/cpp/bindings/tests/ |
sample_service_unittest.cc | 269 PortPtr port, 285 Print(depth, "port", port.get()); 290 void GetPort(mojo::InterfaceRequest<Port> port_request) override {} 341 PortPtr port; local 343 std::move(port), Service::FrobinateCallback());
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/fake/example/ |
RemoteFileTest.java | 59 fakeFtpServer.setServerControlPort(0); // use any free port
69 int port = fakeFtpServer.getServerControlPort();
local 73 remoteFile.setPort(port);
|
/external/nist-sip/java/gov/nist/core/ |
HostNameParser.java | 255 * Parses a host:port string 268 // Has a port? 269 if (allowWS) lexer.SPorHT(); // white space before ":port" should be accepted 276 if (allowWS) lexer.SPorHT(); // white space before port number should be accepted 278 String port = lexer.number(); local 279 hp.setPort(Integer.parseInt(port)); 282 lexer.getBuffer() + " :Error parsing port ",
|
/external/nist-sip/java/gov/nist/javax/sip/ |
ListeningPointImpl.java | 62 /** My port. (same thing as in the message processor) */ 64 int port; field in class:ListeningPointImpl 87 * @param port port 91 public static String makeKey(String host, int port, String transport) { 94 .append(port) 106 return makeKey(this.getIPAddress(), port, transport); 130 int port, 134 this.port = port; 228 int port = this.getPort(); local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
DefaultRouter.java | 119 // The outbound proxy is optional. If specified it should be host:port/transport. 123 "Invalid default route specification - need host:port/transport"); 132 * a host, the host and port information are extracted from it and made the 301 int port; local 303 port = sipUri.getPort(); 306 port = 5061; 308 port = 5060; // TCP or UDP 314 .resolveAddress(new HopImpl(host, port, transport));
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
MockWebServer.java | 127 private int port = -1; field in class:MockWebServer 163 return port; 203 .port(getPort()) 317 * Starts the server on the loopback interface for the given port. 319 * @param port the port to listen to, or 0 for any available port. Automated 320 * tests should always use port 0 to avoid flakiness when a specific port 323 public void start(int port) throws IOException [all...] |
/external/python/cpython2/Lib/ |
urlparse.py | 108 def port(self): member in class:ResultMixin 111 port = netloc.split(':')[1] 112 if port: 113 port = int(port, 10) 114 # verify legal port 115 if (0 <= port <= 65535): 116 return port 203 # make sure "url" is not actually a port number (in which case 207 # not a port numbe [all...] |
/external/python/cpython2/Modules/ |
getnameinfo.c | 101 u_short port; local 133 port = ((struct gni_sockinet *)sa)->si_port; /* network byte order */ 139 sprintf(numserv, "%d", ntohs(port)); 144 sp = getservbyport(port, (flags & NI_DGRAM) ? "udp" : "tcp");
|
/external/python/cpython3/Modules/ |
getnameinfo.c | 101 u_short port; local 133 port = ((struct gni_sockinet *)sa)->si_port; /* network byte order */ 139 sprintf(numserv, "%d", ntohs(port)); 144 sp = getservbyport(port, (flags & NI_DGRAM) ? "udp" : "tcp");
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/manifest/ |
IntentFilterData.java | 89 public void addAuthority(String host, String port) { 91 authorities.add(new DataAuthority(host, port)); 97 private String port; field in class:IntentFilterData.DataAuthority 99 public DataAuthority(String host, String port) { 101 this.port = port; 109 return port;
|
/external/selinux/libsepol/src/ |
ports.c | 46 /* Create a low level port structure from 50 ocontext_t ** port, const sepol_port_t * data) 69 tmp_port->u.port.protocol = tmp_proto; 71 /* Port range */ 72 tmp_port->u.port.low_port = low; 73 tmp_port->u.port.high_port = high; 74 if (tmp_port->u.port.low_port > tmp_port->u.port.high_port) { 75 ERR(handle, "low port %d exceeds high port %d" 252 ocontext_t *port = NULL; local 290 sepol_port_t *port = NULL; local [all...] |
/external/syslinux/core/lwip/src/include/lwip/ |
api_msg.h | 56 /* IP addresses and port numbers are expected to be in 79 u16_t port; member in struct:api_msg_msg::__anon37139::__anon37141 84 u16_t *port; member in struct:api_msg_msg::__anon37139::__anon37142
|
/external/tensorflow/tensorflow/contrib/tpu/profiler/ |
capture_tpu_profile.cc | 52 uint32 port; local 54 // Must be host:port, port must be a number, host must not contain a '/', 56 if (parts.size() != 2 || !strings::safe_strtou32(parts[1], &port) || 59 "\" as a host-port pair."); 131 tensorflow::port::InitMain(argv[0], &argc, &argv);
|