/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, RETOUCH_DONT_MASK) != 0) {
|
/external/apache-http/src/org/apache/http/message/ |
BufferedHeader.java | 84 int colon = buffer.indexOf(':'); local 85 if (colon == -1) { 89 String s = buffer.substringTrimmed(0, colon); 96 this.valuePos = colon + 1;
|
/external/chromium/net/proxy/ |
proxy_server.cc | 109 std::string::const_iterator colon = std::find(begin, end, ':'); local 110 if (colon != end && 111 (end - colon) >= 3 && 112 *(colon + 1) == '/' && 113 *(colon + 2) == '/') { 114 scheme = GetSchemeFromURIInternal(begin, colon); 115 begin = colon + 3; // Skip past the "://"
|
/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))
|
/packages/apps/Browser/src/com/android/browser/ |
UrlUtils.java | 139 int colon = inUrl.indexOf(':'); local 141 for (int index = 0; index < colon; index++) { 147 if (index == colon - 1 && !allLower) { 148 inUrl = inUrl.substring(0, colon).toLowerCase() 149 + inUrl.substring(colon);
|
/external/clang/test/Analysis/ |
ptr-arith.c | 31 const char *colon = memchr (domain_b, ':', domain_e - domain_b); local 33 for (p = colon + 1; p < domain_e ; p++)
|
/external/dropbear/ |
scpmisc.c | 116 colon(char *cp) function 120 if (*cp == ':') /* Leading colon is part of file name. */
|
/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);
|
/cts/tools/vm-tests/ |
Android.mk | 59 colon:= : macro 75 $(hide) java -cp $(subst $(space),$(colon),$^):$(HOST_JDK_TOOLS_JAR) util.build.BuildDalvikSuite $(PRIVATE_SRC_FOLDER) $(PRIVATE_INTERMEDIATES) $<:$(PRIVATE_LIB_FOLDER)/junit.jar:$(HOST_OUT_JAVA_LIBRARIES)/hosttestlib.jar:$(HOST_OUT_JAVA_LIBRARIES)/ddmlib.jar $(PRIVATE_INTERMEDIATES_MAIN_FILES) $(BUILD_UTIL_INTERMEDIATES_CLASSES) $(PRIVATE_INTERMEDIATES_HOSTJUNIT_FILES) $$RUN_VM_TESTS_RTO
|
/cts/tools/vm-tests-tf/ |
Android.mk | 56 colon:= : macro 71 $(hide) java -cp $(subst $(space),$(colon),$^):$(HOST_JDK_TOOLS_JAR) util.build.BuildDalvikSuite $(PRIVATE_SRC_FOLDER) $(PRIVATE_INTERMEDIATES) $<:$(PRIVATE_LIB_FOLDER)/junit.jar:$(HOST_OUT_JAVA_LIBRARIES)/tradefed-prebuilt.jar $(PRIVATE_INTERMEDIATES_MAIN_FILES) $(TF_BUILD_UTIL_INTERMEDIATES_CLASSES) $(PRIVATE_INTERMEDIATES_HOSTJUNIT_FILES) $$RUN_VM_TESTS_RTO
|
/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);
|
XMLChar.java | 652 final int colon = str.indexOf(':'); local 654 if (colon == 0 || colon == str.length() - 1) { 658 if (colon > 0) { 659 final String prefix = str.substring(0,colon); 660 final String localPart = str.substring(colon+1);
|
/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/ |
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/quake/quake/src/QW/client/ |
net_udp.c | 123 char *colon; local 134 for (colon = copy ; *colon ; colon++) 135 if (*colon == ':') 137 *colon = 0; 138 sadr.sin_port = htons(atoi(colon+1));
|
net_wins.c | 99 char *colon; local 110 for (colon = copy ; *colon ; colon++) 111 if (*colon == ':') 113 *colon = 0; 114 sadr.sin_port = htons((short)atoi(colon+1));
|
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
ElementType.java | 70 int colon = name.indexOf(':'); local 71 if (colon == -1) { 74 String prefix = name.substring(0, colon); 89 int colon = name.indexOf(':'); local 90 if (colon == -1) { 94 return name.substring(colon+1).intern();
|
/external/valgrind/main/coregrind/ |
launcher-linux.c | 96 const char *colon; local 100 if ((colon = strchr(path, ':')) == NULL) 107 memcpy(fullname, path, colon - path); 108 fullname[colon - path] = '\0'; 109 path = colon + 1;
|
/external/bluetooth/glib/gio/xdgmime/ |
xdgmimeglob.c | 573 char *colon, *colon2; local 580 colon = strchr (line, ':'); 581 if (colon == NULL) 583 *(colon++) = '\0'; 584 colon[strlen (colon) -1] = '\0'; 585 colon2 = strchr (colon, ':'); 590 mimetype = colon; 597 glob = colon;
|
/external/chromium/googleurl/src/ |
url_parse.cc | 72 // Find the first colon in the user section, which separates the username and 109 int colon = -1; local 111 // Find the last right-bracket, and the last colon. 118 colon = i; 123 if (colon > ipv6_terminator) { 125 *hostname = MakeRange(serverinfo.begin, colon); 128 *port_num = MakeRange(colon + 1, serverinfo.end()); 255 // Find the first colon character. 262 return false; // No colon found: no scheme 269 // colon) where we'll begin parsing [all...] |
/external/chromium/net/websockets/ |
websocket_handshake_handler.cc | 61 std::string::const_iterator colon = std::find(line_begin, line_end, ':'); local 62 if (colon == line_end) { 66 *name_end = colon;
|
/external/chromium/third_party/libjingle/source/talk/examples/call/ |
call_main.cc | 331 int colon = server.find(':'); local 332 if (colon == -1) { 336 host = server.substr(0, colon); 337 port = atoi(server.substr(colon + 1).c_str());
|
/external/quake/quake/src/WinQuake/ |
net_udp.cpp | 144 char *colon; local 186 colon = Q_strrchr (my_tcpip_address, ':'); 187 if (colon) 188 *colon = 0;
|