/external/toybox/toys/pending/ |
route.c | 8 * TODO: autodetect -net -host target dev -A (but complain) 73 { "-net", 1 }, { "-host", 2 }, 77 // to get the host name from the given ip. 80 struct hostent *host; local 91 if (!(host = gethostbyname(ipstr))) perror_exit("resolving '%s'", ipstr); 92 memcpy(&sockin->sin_addr, host->h_addr_list[0], sizeof(struct in_addr)); 119 // UP, GATEWAY, HOST, REINSTATE, DYNAMIC, MODIFIED, DEFAULT, ADDRCONF, CACHE 171 * find the given parameter in list like add/del/net/host. 249 perror_exit("conflicting netmask and host route"); 266 arg2_action = get_action(&argv, arglist2); //verify the arg for -net or -host [all...] |
traceroute.c | 1 /* traceroute - trace the route to "host". 17 [-s SRC_IP] [-t TOS] [-w WAIT_SEC] [-g GATEWAY] [-i IFACE] [-z PAUSE_MSEC] HOST [BYTES] 20 [-i IFACE] HOST [BYTES] 22 Trace the route to HOST 32 -r Bypass routing tables, send directly to HOST 180 static void resolve_addr(char *host, int family, int type, int proto, void *sock) 190 ret = getaddrinfo(host, NULL, &hint, &info); 191 if (ret || !info) error_exit("bad address: %s ", host); 299 char host[NI_MAXHOST]; local 301 sizeof(struct sockaddr_in), host, NI_MAXHOST, NULL, 0, 0) 414 char host[NI_MAXHOST]; local [all...] |
/frameworks/base/media/java/android/media/ |
MediaHTTPConnection.java | 159 String host = url.getHost(); local 161 if (host == null) { 166 if (host.equalsIgnoreCase("localhost")) { 169 if (NetworkUtils.numericToInetAddress(host).isLoopbackAddress()) {
|
/libcore/ojluni/src/main/java/java/net/ |
InetAddress.java | 58 * corresponding host name (depending on whether it is constructed 59 * with a host name or whether it has already done reverse host name 74 * interface, in case the server host has multiple interfaces. 82 * host. This address is often used when testing a 115 * <h4> Host Name Resolution </h4> 117 * Host name-to-IP address <i>resolution</i> is accomplished through 122 * one. For any host name, its corresponding IP address is returned. 125 * the host associated with the IP address is returned. 127 * <p> The InetAddress class provides methods to resolve host names t 654 String host = null; local 1573 String host = (String)gf.get("hostName", null); local [all...] |
URLClassLoader.java | 649 * to connect to and accept connections from the URL's host is granted. 689 * permission to connect to and accept from the remote host 690 * after we've made sure the host is the correct one and is valid. 696 String host = locUrl.getHost(); local 697 if (host != null && (host.length() > 0)) 698 p = new SocketPermission(host,
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
FtpURLConnection.java | 101 String host; field in class:FtpURLConnection 182 host = url.getHost(); 189 + url.getProtocol() + "://" + host 222 * @throws UnknownHostException if trying to connect to an unknown host 323 ftp.connect(new InetSocketAddress(host, port)); 325 ftp.connect(new InetSocketAddress(host, FtpClient.defaultPort())); 590 * Gets the <code>Permission</code> associated with the host & port. 599 String urlhost = this.host + ":" + urlport;
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
TestSSLContext.java | 99 public final InetAddress host; field in class:TestSSLContext 214 InetAddress host, 227 this.host = host; 242 * listening provided host and port. 294 InetAddress host = InetAddress.getLocalHost(); local 304 serverSocket, host, port); 391 public Socket createSocket(String host, int port) 393 return set(sf.createSocket(host, port)); 395 public Socket createSocket(String host, int port, InetAddress localHost, int localPort [all...] |
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
DataAction.java | 194 String host = im.getCustomProtocol(); local 197 // Try bringing in a well-known host for specific protocols 198 host = ContactsUtils.lookupProviderNameFromId(protocol); 201 if (!TextUtils.isEmpty(host) && !TextUtils.isEmpty(data)) { 202 final String authority = host.toLowerCase();
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
MailTransport.java | 58 private final String host; field in class:MailTransport 77 host = address; 88 return new MailTransport(context, imapHelper, network, host, port, flags); 104 LogUtils.d(TAG, "*** IMAP open " + host + ":" + String.valueOf(port)); 109 socketAddresses.add(new InetSocketAddress(host, port)); 112 InetAddress[] inetAddresses = network.getAllByName(host); 116 "Host name " + host + "cannot be resolved on designated network"); 213 verifyHostname(socket, host); 296 return host; [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/demo/ |
SelectionDemoActivity.java | 191 DefaultBandHost host = new DefaultBandHost( local 200 host,
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
LauncherAccessibilityDelegate.java | 106 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { 107 super.onInitializeAccessibilityNodeInfo(host, info); 108 addSupportedActions(host, info, false); 111 public void addSupportedActions(View host, AccessibilityNodeInfo info, boolean fromKeyboard) { 112 if (!(host.getTag() instanceof ItemInfo)) return; 113 ItemInfo item = (ItemInfo) host.getTag(); 123 if (target.supportsAccessibilityDrop(item, host)) { 137 if (!getSupportedResizeActions(host, (LauncherAppWidgetInfo) item).isEmpty()) { 149 public boolean performAccessibilityAction(View host, int action, Bundle args) { 150 if ((host.getTag() instanceof ItemInfo [all...] |
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
BindWidgetTest.java | 315 AppWidgetHost host = new LauncherAppWidgetHost(mTargetContext); local 316 int widgetId = host.allocateAppWidgetId(); 318 host.deleteAppWidgetId(widgetId);
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
MmsRequest.java | 169 // Request a global route for the host to connect 283 * Request the route to the APN (either proxy host or the MMSC host) 288 * @throws MmsHttpException for unknown host or route failure 292 String host = apn.getMmsProxy(); local 293 if (TextUtils.isEmpty(host)) { 295 host = uri.getHost(); 298 // Request route to all resolved host addresses 300 for (final InetAddress addr : InetAddress.getAllByName(host)) { 313 Log.w(MmsService.TAG, "Unknown host " + host) [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
ContactsUtils.java | 243 String host = values.getAsString(Im.CUSTOM_PROTOCOL); local 246 // Try bringing in a well-known host for specific protocols 247 host = ContactsUtils.lookupProviderNameFromId(protocol); 250 if (!TextUtils.isEmpty(host) && !TextUtils.isEmpty(data)) { 251 final String authority = host.toLowerCase();
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
BuiltInPrintService.java | 216 * Return a friendly description string including host and (if present) location 223 String host = printer.getHost(); local 225 return getString(R.string.printer_description, host, printer.location); 227 return host;
|
/prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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/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...] |
/system/netd/server/ |
MDnsSdListener.cpp | 159 const char *domain, const char *host, int port, int txtLen, void *txtRecord) { 162 interfaceName, serviceName, serviceType, domain, host, port, txtLen); 176 serviceType, domain, host, port, txtLen, txtRecord, &MDnsSdListenerRegisterCallback, 443 char *host = NULL; // will use default hostname local 457 serviceType, domain, host, port, length, dst);
|
/system/update_engine/ |
test_http_server.cc | 76 string host; member in struct:chromeos_update_engine::HttpRequest 142 } else if (terms[0] == "Host:") { 144 request->host = terms[1]; 145 LOG(INFO) << "host attribute: " << request->host; 390 url = "http://" + request.host + url;
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
BaseDeviceMetricCollectorTest.java | 402 HostTest host = new HostTest(); local 403 OptionSetter setterHost = new OptionSetter(host); 407 host.run(mBase); 450 HostTest host = new HostTest(); local 451 OptionSetter setterHost = new OptionSetter(host); 455 host.run(mBase);
|
/prebuilts/tools/common/m2/repository/org/eclipse/aether/aether-transport-http/1.0.2.v20150114/ |
aether-transport-http-1.0.2.v20150114.jar | |
/prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/ |
org.eclipse.core.net_1.2.200.v20130430-1352.jar | |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
imaplib.py | 103 Instantiate with: IMAP4([host[, port]])
105 host - host's name (default: localhost);
151 def __init__(self, host = '', port = IMAP4_PORT):
163 self.open(host, port)
221 def open(self, host = '', port = IMAP4_PORT):
222 """Setup connection to remote server on "host:port"
227 self.host = host
229 self.sock = socket.create_connection((host, port)) 1437 host = args[0] variable [all...] |