/external/libxml2/ |
uri.c | 420 * Parse an host part and fills in the appropriate fields 423 * host = IP-literal / IPv4address / reg-name 434 const char *host; local 436 host = cur; 482 if (cur != host) { 484 uri->server = STRNDUP(host, cur - host); 486 uri->server = xmlURIUnescapeString(host, cur - host, NULL); 502 * authority = [ userinfo "@" ] host [ ":" port [all...] |
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/ |
SimpleWebServer.java | 95 public SimpleWebServer(String host, int port, File wwwroot, boolean quiet) { 96 super(host, port); 104 public SimpleWebServer(String host, int port, List<File> wwwroots, boolean quiet) { 105 super(host, port); 125 String host = "127.0.0.1"; local 132 if (args[i].equalsIgnoreCase("-h") || args[i].equalsIgnoreCase("--host")) { 133 host = args[i + 1]; 156 options.put("host", host); 189 ServerRunner.executeInstance(new SimpleWebServer(host, port, rootDirs, quiet)) [all...] |
/external/netcat/ |
netcat.c | 126 char *host, *uport; local 139 host = NULL; 294 host = argv[0]; 300 host = NULL; 302 host = argv[0]; 375 s = unix_bind(host); 377 s = unix_listen(host); 383 s = local_listen(host, uport, hints); 429 if ((s = unix_connect(host)) > 0 && !zflag) { 452 s = socks_connect(host, portlist[i], hints [all...] |
/external/nist-sip/java/gov/nist/javax/sip/ |
DialogFilter.java | 381 String host = uri.getHost(); local 382 if ((host.equals(listeningPoint.getIPAddress()) || host [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
HttpUrl.java | 52 private final String host; field in class:HttpUrl 69 private HttpUrl(String scheme, String username, String password, String host, int port, 74 this.host = host; 118 * Returns the host address suitable for use with {@link InetAddress#getAllByName(String)}. May 121 * <li>A regular host name, like {@code android.com}. 127 public String host() { method in class:HttpUrl 128 return host; 134 * #host}. For example, this may return {@code ?.net} which is a user-displayable IDN that cannot 267 String host; field in class:HttpUrl.Builder 304 public Builder host(String host) { method in class:HttpUrl.Builder 712 private static String host(String input, int pos, int limit) { method in class:HttpUrl.Builder [all...] |
/external/openssh/ |
ssh-keyscan.c | 220 /* host key */ 301 char *host = c->c_output_name ? c->c_output_name : c->c_name; local 305 if (hash_hosts && (host = host_hash(host, NULL, 0)) == NULL) 308 fprintf(stdout, "%s ", host); 314 tcpconnect(char *host) 324 if ((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0) { 325 error("getaddrinfo %s: %s", host, ssh_gai_strerror(gaierr)); 338 error("connect (`%s'): %s", host, strerror(errno)); 454 error("%s: Connection closed by remote host", c->c_name) [all...] |
ssh.c | 154 /* forward stdio to remote host and port */ 168 * Name of the host we are connecting to. This is the name given on the 172 char *host; variable 174 /* socket address the host resolves to */ 177 /* Private host keys. */ 206 " [-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec]\n" 209 " [-R [bind_address:]port:host:hostport] [-S ctl_path] [-W host:port]\n" 239 * Attempt to resolve a host name / port to a set of addresses and 270 error("%s: host \"%s\" cname \"%s\" too long (max %lu)" [all...] |
sshconnect.c | 6 * Code to connect to a remote host, and to perform the client side of the 89 const char *host, int port) 95 ret = percent_expand(tmp, "h", host, "p", strport, 106 ssh_proxy_fdpass_connect(const char *host, u_short port, 122 host, port); 185 ssh_proxy_connect(const char *host, u_short port, const char *proxy_command) 201 host, port); 415 * Opens a TCP/IP connection to the remote server on the given host. 416 * The address of the remote host will be returned in hostaddr. 422 * and %p substituted for host and port, respectively) to use to contac 813 char *ip = NULL, *host = NULL; local 1335 char *host; local [all...] |
/external/ppp/pppd/ |
tty.c | 202 "Send and receive over socket, arg is host:port", 869 * host and port. 877 u_int32_t host; local 881 /* parse host:port and resolve host to an IP address */ 886 error("Can't parse host:port for socket destination"); 890 host = inet_addr(dest); 891 if (host == (u_int32_t) -1) { 894 error("%s: unknown host in socket option", dest); 898 host = *(u_int32_t *)(hent->h_addr_list[0]) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
FakeHttpLayer.java | 285 public RequestMatcherBuilder host(String hostname) { method in class:FakeHttpLayer.RequestMatcherBuilder
|
/external/tcpdump/ |
addrtoname.c | 107 static struct hostent host; local 112 host.h_name = hostbuf; 125 strcpy(host.h_name, hname); 126 return &host;
|
/external/v8/src/heap/ |
incremental-marking.cc | 69 void IncrementalMarking::RecordCodeTargetPatch(Code* host, Address pc, 72 RelocInfo rinfo(pc, RelocInfo::CODE_TARGET, 0, host); 73 RecordWriteIntoCode(host, &rinfo, value); 80 Code* host = heap_->isolate() local 83 RelocInfo rinfo(pc, RelocInfo::CODE_TARGET, 0, host); 84 RecordWriteIntoCode(host, &rinfo, value); 89 void IncrementalMarking::RecordWriteOfCodeEntrySlow(JSFunction* host, 92 if (BaseRecordWrite(host, slot, value)) { [all...] |
/external/valgrind/coregrind/m_gdbserver/ |
remote-utils.c | 304 -from-vgdb-to-pid-by-user-on-host and -to-vgdb-from-pid-by-user-on-host 311 const HChar *user, *host; local 329 host = VG_(getenv)("HOST"); 330 if (host == NULL) host = VG_(getenv)("HOSTNAME"); 331 if (host == NULL) host = "???"; 332 if (VG_(strchr)(host, '/')) host = "???" [all...] |
/external/wpa_supplicant_8/src/wps/ |
wps_upnp.c | 313 char *host; local 334 host = scratch_mem; 335 path = os_strchr(host, '/'); 337 *path++ = '\0'; /* null terminate host */ 340 delim = os_strchr(host, ':'); 342 *delim = '\0'; /* null terminate host name for now */ 367 rerr = getaddrinfo(host, NULL /* fill in port ourselves */, 371 rerr, gai_strerror(rerr), host); 378 host_len = os_strlen(host); 397 os_memcpy(mem, host, host_len) [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
ARTSPConnection.cpp | 133 const char *url, AString *host, unsigned *port, AString *path, 135 host->clear(); 148 host->setTo(&url[7]); 151 host->setTo(&url[7], slashPos - &url[7]); 155 ssize_t atPos = host->find("@"); 160 AString userPass(*host, 0, atPos); 161 host->erase(0, atPos + 1); 173 const char *colonPos = strchr(host->c_str(), ':'); 183 size_t colonOffset = colonPos - host->c_str(); 184 size_t trailing = host->size() - colonOffset 234 AString host, path; local [all...] |
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/ |
ProxyServer.java | 84 String host; local 89 host = hostPortSplit[0]; 101 urlString = "Https://" + host + ":" + port; 105 host = url.getHost(); 133 server = new Socket(host, port); 154 server = new Socket(host, port); 259 * Sends an augmented request to the final host (DIRECT connection).
|
/frameworks/volley/src/main/java/com/android/volley/ |
Request.java | 181 * @return The hashcode of the URL's host component, or 0 if there is none. 187 String host = uri.getHost(); local 188 if (host != null) { 189 return host.hashCode();
|
/libcore/luni/src/main/java/java/net/ |
InetAddress.java | 185 * Converts an array of byte arrays representing raw IP addresses of a host 203 * Gets all IP addresses associated with the given {@code host} identified 205 * configured name service. If the host name is empty or {@code null} the 206 * IP addresses of the loopback interfaces are returned. If the host name 210 * @param host the hostname or literal IP string to be resolved. 211 * @return the array of addresses associated with the specified host. 214 public static InetAddress[] getAllByName(String host) throws UnknownHostException { 215 return getAllByNameImpl(host, NETID_UNSET).clone(); 219 * Operates identically to {@code getAllByName} except host resolution is 222 * @param host the hostname or literal IP string to be resolved 408 String host = Libcore.os.uname().nodename; local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppTransfer.java | 503 private final String host; field in class:BluetoothOppTransfer.SocketConnectThread 518 public SocketConnectThread(String host, int port, int dummy) { 520 this.host = host; 531 this.host = null; 542 this.host = null; 573 s.connect(new InetSocketAddress(host, channel), CONNECT_WAIT_TIMEOUT); 575 Log.e(TAG, "TCP socket connect unknown host ");
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
CertInstaller.java | 468 void run(CertInstaller host); 479 public void run(CertInstaller host) { 484 host.extractPkcs12InBackground(mPassword); 489 public void run(CertInstaller host) { 490 host.mNextAction = null; 491 host.installOthers(); 502 public void run(CertInstaller host) { 503 host.onExtractionDone(mSuccess);
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
LauncherAccessibilityDelegate.java | 94 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { 95 super.onInitializeAccessibilityNodeInfo(host, info); 96 if (!(host.getTag() instanceof ItemInfo)) return; 97 ItemInfo item = (ItemInfo) host.getTag(); 102 if (UninstallDropTarget.supportsDrop(host.getContext(), item)) { 105 if (InfoDropTarget.supportsDrop(host.getContext(), item)) { 117 if (!getSupportedResizeActions(host, (LauncherAppWidgetInfo) item).isEmpty()) { 127 public boolean performAccessibilityAction(View host, int action, Bundle args) { 128 if ((host.getTag() instanceof ItemInfo) 129 && performAction(host, (ItemInfo) host.getTag(), action)) [all...] |
/packages/services/Mms/src/com/android/mms/service/ |
MmsHttpClient.java | 93 * @param proxyHost The proxy host 356 * Redact the URL for non-VERBOSE logging. Replace url with only the host part and the length 371 String host = ""; local 375 host = url.getHost(); 379 // Print "http://host[length]" 381 sb.append(protocol).append("://").append(host)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
ftplib.py | 8 >>> ftp = FTP('ftp.python.org') # connect to host, default port 82 host, user, passwd, acct, timeout 90 Then use self.connect() with optional host and port argument. 102 host = '' variable in class:FTP 110 # Initialize host to localhost, port to standard ftp port 111 # Optional arguments are host (for connect()), 113 def __init__(self, host='', user='', passwd='', acct='', 116 if host: 117 self.connect(host) 121 def connect(self, host='', port=0, timeout=-999) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
ftplib.py | 8 >>> ftp = FTP('ftp.python.org') # connect to host, default port 82 host, user, passwd, acct, timeout 90 Then use self.connect() with optional host and port argument. 102 host = '' variable in class:FTP 110 # Initialize host to localhost, port to standard ftp port 111 # Optional arguments are host (for connect()), 113 def __init__(self, host='', user='', passwd='', acct='', 116 if host: 117 self.connect(host) 121 def connect(self, host='', port=0, timeout=-999) [all...] |
/development/samples/training/AnimationsDemo/libs/ |
android-support-v13.jar | |