/external/jetty/src/java/org/eclipse/jetty/client/ |
Address.java | 35 int colon = hostAndPort.indexOf(':'); local 36 if (colon >= 0) 38 host = hostAndPort.substring(0, colon); 39 port = Integer.parseInt(hostAndPort.substring(colon + 1));
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
QName.java | 29 int colon = qname.indexOf(':'); local 31 if (colon >= 0) 33 prefix = qname.substring(0, colon); 34 localName = qname.substring(colon + 1);
|
/libcore/benchmarks/src/benchmarks/regression/ |
SchemePrefixBenchmark.java | 30 int colon = spec.indexOf(':'); local 32 if (colon < 1) { 36 for (int i = 0; i < colon; i++) { 43 return spec.substring(0, colon).toLowerCase(Locale.US);
|
/libcore/luni/src/main/java/libcore/net/url/ |
UrlUtils.java | 102 int colon = spec.indexOf(':'); local 104 if (colon < 1) { 108 for (int i = 0; i < colon; i++) { 115 return spec.substring(0, colon).toLowerCase(Locale.US);
|
/bootable/recovery/applypatch/ |
main.c | 61 char* colon = strchr(argv[i], ':'); local 62 if (colon != NULL) { 63 *colon = '\0'; 64 ++colon; 73 if (colon == NULL) { 77 if (LoadFileContents(colon, &fc) != 0) {
|
/external/apache-http/src/org/apache/http/message/ |
BufferedHeader.java | 89 int colon = buffer.indexOf(':'); local 90 if (colon == -1) { 94 String s = buffer.substringTrimmed(0, colon); 101 this.valuePos = colon + 1;
|
/external/iproute2/ip/ |
iplink_vlan.c | 54 char *colon = strchr(*argv, ':'); local 56 if (!colon) 58 *colon = '\0'; 62 if (get_u32(&m.to, colon + 1, 0))
|
/external/libvncserver/libvncclient/ |
vncviewer.c | 297 char* colon=strchr(argv[i+1],':'); local 304 if(colon) { 305 client->destHost[(int)(colon-argv[i+1])] = '\0'; 306 client->destPort = atoi(colon+1); 310 char* colon=strchr(argv[i],':'); local 315 if(colon) { 317 client->serverHost[(int)(colon-argv[i])] = '\0'; 318 client->serverPort = atoi(colon+1);
|
/external/vogar/src/vogar/ |
SshTarget.java | 40 int colon = hostAndPort.indexOf(":"); local 41 if (colon != -1) { 42 host = hostAndPort.substring(0, colon); 43 port = Integer.parseInt(hostAndPort.substring(colon + 1));
|
/packages/apps/Browser/src/com/android/browser/ |
UrlUtils.java | 140 int colon = inUrl.indexOf(':'); local 142 for (int index = 0; index < colon; index++) { 148 if (index == colon - 1 && !allLower) { 149 inUrl = inUrl.substring(0, colon).toLowerCase() 150 + inUrl.substring(colon);
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
fnmatch.c | 103 const char *colon; local 115 if ((colon = strchr(pattern, ':')) == NULL || colon[1] != ']') { 119 *ep = colon + 2; 120 len = (size_t)(colon - pattern);
|
/external/jmonkeyengine/engine/src/core/com/jme3/asset/ |
AssetConfig.java | 67 String colon = scan.next(); local 68 if (!colon.equals(":")){ 69 throw new IOException("Expected ':', got '"+colon+"'");
|
/external/ltrace/ |
glob.c | 31 const char *colon = memchr(glob + from + 2, ':', length - 1); local 32 if (colon == NULL || colon[1] != ']') 34 return colon - glob;
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
HopImpl.java | 100 int colon = hop.indexOf(':',brack); local 101 int slash = hop.indexOf('/',colon); 103 if (colon>0) { 104 this.host = hop.substring(0,colon); 107 portstr = hop.substring(colon+1,slash); 110 portstr = hop.substring(colon+1);
|
/frameworks/av/media/libstagefright/foundation/ |
ADebug.cpp | 52 char *colon = strchr(current, ':'); local 61 if (errno != 0 || end == current || (end != colon && *end != '\0' && end != next)) { 65 if (colon != NULL) { 67 do { // skip colon and spaces 68 ++colon; 69 } while (isspace(*colon)); 70 size_t globLen = (next == NULL ? strlen(colon) : (next - 1 - colon)); 71 while (globLen > 0 && isspace(colon[globLen - 1])) { 76 colon, globLen, name, strlen(name), true /* ignoreCase */)) [all...] |
/frameworks/compile/mclinker/include/mcld/Support/ |
Path.h | 37 const char colon = ':'; member in namespace:mcld::sys::fs
|
/external/ant-glob/src/org/apache/tools/ant/util/ |
FileUtils.java | 136 int colon = filename.indexOf(':'); local 137 return (Character.isLetter(c) && colon == 1 139 || (ON_NETWARE && colon > 0); 158 int colon = path.indexOf(':'); local 159 if (colon > 0 && (ON_DOS || ON_NETWARE)) { 161 int next = colon + 1;
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
XML11Char.java | 415 final int colon = str.indexOf(':'); local 417 if (colon == 0 || colon == str.length() - 1) { 421 if (colon > 0) { 422 final String prefix = str.substring(0,colon); 423 final String localPart = str.substring(colon+1);
|
/external/clang/test/Analysis/ |
ptr-arith.c | 30 const char *colon = memchr (domain_b, ':', domain_e - domain_b); local 32 for (p = colon + 1; p < domain_e ; p++)
|
/external/iproute2/misc/ |
lnstat_util.c | 299 const char *colon = strchr(name, ':'); local 303 if (colon) { 304 file = strndup(name, colon-name); 305 field = colon+1;
|
/external/iptables/extensions/ |
libip6t_DNAT.c | 49 char *arg, *start, *end = NULL, *colon = NULL, *dash, *error; local 59 /* Lets assume one colon is port information. Otherwise its an IPv6 address */ 60 colon = strchr(arg, ':'); 61 if (colon && strchr(colon+1, ':')) 62 colon = NULL; 72 colon = strchr(end + 1, ':'); 75 if (colon) { 84 port = atoi(colon+1); 87 "Port `%s' not valid\n", colon+1) [all...] |
libip6t_SNAT.c | 49 char *arg, *start, *end = NULL, *colon = NULL, *dash, *error; local 59 /* Lets assume one colon is port information. Otherwise its an IPv6 address */ 60 colon = strchr(arg, ':'); 61 if (colon && strchr(colon+1, ':')) 62 colon = NULL; 72 colon = strchr(end + 1, ':'); 75 if (colon) { 84 port = atoi(colon+1); 87 "Port `%s' not valid\n", colon+1) [all...] |
libipt_DNAT.c | 70 char *arg, *colon, *dash, *error; local 77 colon = strchr(arg, ':'); 79 if (colon) { 88 port = atoi(colon+1); 91 "Port `%s' not valid\n", colon+1); 93 error = strchr(colon+1, ':'); 98 dash = strchr(colon, '-'); 113 "Port range `%s' funky\n", colon+1); 117 /* Starts with a colon? No IP info...*/ 118 if (colon == arg) [all...] |
libipt_SNAT.c | 70 char *arg, *colon, *dash, *error; local 77 colon = strchr(arg, ':'); 79 if (colon) { 88 port = atoi(colon+1); 91 "Port `%s' not valid\n", colon+1); 93 error = strchr(colon+1, ':'); 98 dash = strchr(colon, '-'); 113 "Port range `%s' funky\n", colon+1); 117 /* Starts with a colon? No IP info...*/ 118 if (colon == arg) [all...] |
/external/libunwind/src/ |
os-linux.h | 209 char perm[16], dash = 0, colon = 0, *cp; local 272 cp = scan_char (cp, &colon); 279 if (dash != '-' || colon != ':')
|