/system/netd/ |
FirewallController.cpp | 114 char portStr[16]; 115 sprintf(portStr, "%d", port); 126 "--sport", portStr, "-j", "RETURN", NULL); 128 "--dport", portStr, "-j", "RETURN", NULL);
|
/packages/apps/Settings/src/com/android/settings/ |
ProxySelector.java | 119 String portStr = mPortField.getText().toString().trim(); 121 String msg = getActivity().getString(validate(hostname, portStr, exclList)); 183 String portStr = port == -1 ? "" : Integer.toString(port); 184 mPortField.setText(portStr); 243 String portStr = mPortField.getText().toString().trim(); 247 int result = validate(hostname, portStr, exclList); 253 if (portStr.length() > 0) { 255 port = Integer.parseInt(portStr);
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
HopImpl.java | 105 String portstr; local 107 portstr = hop.substring(colon+1,slash); 110 portstr = hop.substring(colon+1); 114 port = Integer.parseInt(portstr);
|
MessageProcessor.java | 245 String portStr = sentBy.substring(ind + 1); 247 int port = Integer.parseInt(portStr);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/ |
DebuggerConnector.java | 139 String portStr = (String) connectMap.get(ATTR_CONNECT_MAP_PORT); 140 if (portStr != null) { 141 Integer port = Integer.valueOf(portStr);
|
/system/core/adb/ |
services.c | 429 char* portstr = strchr(host, ':'); local 435 if (portstr) { 436 if (portstr - host >= (ptrdiff_t)sizeof(hostbuf)) { 441 hostbuf[portstr - host] = 0; 442 if (sscanf(portstr + 1, "%d", &port) == 0) { 443 snprintf(buffer, buffer_size, "bad port number %s", portstr);
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
URI.java | 687 String portStr = p_uriSpec.substring(start, index); 689 if (portStr.length() > 0) 691 for (int i = 0; i < portStr.length(); i++) 693 if (!isDigit(portStr.charAt(i))) 696 portStr + " is invalid. Port should only contain digits!"); 702 port = Integer.parseInt(portStr); [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
URI.java | 707 String portStr = p_uriSpec.substring(start, index); 709 if (portStr.length() > 0) 711 for (int i = 0; i < portStr.length(); i++) 713 if (!isDigit(portStr.charAt(i))) 716 portStr + " is invalid. Port should only contain digits!"); 722 port = Integer.parseInt(portStr); [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
telnetlib.py | 775 portstr = sys.argv[2] 777 port = int(portstr) 779 port = socket.getservbyname(portstr, 'tcp')
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
telnetlib.py | 775 portstr = sys.argv[2] 777 port = int(portstr) 779 port = socket.getservbyname(portstr, 'tcp')
|
/external/openssh/ |
ssh.c | 242 char thishost[NI_MAXHOST], shorthost[NI_MAXHOST], portstr[NI_MAXSERV]; local 744 snprintf(portstr, sizeof(portstr), "%d", options.port); 751 "p", portstr, "u", pw->pw_name, "L", shorthost, 781 "p", portstr, "u", pw->pw_name, "L", shorthost, [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiConfigController.java | 459 String portStr = mProxyPortView.getText().toString(); 464 port = Integer.parseInt(portStr); 465 result = ProxySelector.validate(host, portStr, exclusionList); [all...] |
/external/netperf/ |
nettest_bsd.h | 432 char *portstr,
|
nettest_bsd.c | 781 set_hostname_and_port(char *hostname, char *portstr, int family, int port) 790 sprintf(portstr, "%u", port); [all...] |
/external/ipsec-tools/src/racoon/ |
isakmp.c | 3050 char portstr[PORT_MAX]; local [all...] |