/external/iptables/extensions/ |
libipt_connbytes.c | 33 char *colon,*p; local 35 si->count.from = strtoul(arg,&colon,10); 36 if (*colon != ':') 38 si->count.to = strtoul(colon+1,&p,10); 39 if (p == colon+1) {
|
libipt_connrate.c | 60 char *colon; local 63 if ((colon = strchr(buffer, ':')) == NULL) 65 *colon = '\0'; 67 si->to = parse_value(colon+1, 0xFFFFFFFF);
|
libipt_DNAT.c | 61 char *colon, *dash, *error; local 65 colon = strchr(arg, ':'); 67 if (colon) { 76 port = atoi(colon+1); 79 "Port `%s' not valid\n", colon+1); 81 error = strchr(colon+1, ':'); 86 dash = strchr(colon, '-'); 101 "Port range `%s' funky\n", colon+1); 105 /* Starts with a colon? No IP info...*/ 106 if (colon == arg [all...] |
libipt_SNAT.c | 61 char *colon, *dash, *error; local 65 colon = strchr(arg, ':'); 67 if (colon) { 76 port = atoi(colon+1); 79 "Port `%s' not valid\n", colon+1); 81 error = strchr(colon+1, ':'); 86 dash = strchr(colon, '-'); 101 "Port range `%s' funky\n", colon+1); 105 /* Starts with a colon? No IP info...*/ 106 if (colon == arg [all...] |
/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 | 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 | 104 std::string::const_iterator colon = std::find(begin, end, ':'); local 105 if (colon != end && 106 (end - colon) >= 3 && 107 *(colon + 1) == '/' && 108 *(colon + 2) == '/') { 109 scheme = GetSchemeFromURI(begin, colon); 110 begin = colon + 3; // Skip past the "://"
|
proxy_config_service_linux.cc | 48 std::string::size_type colon = host.find("://"); local 49 if (colon != std::string::npos) 50 host = host.substr(colon + 3); [all...] |
/external/iproute2/ip/ |
iplink_vlan.c | 53 char *colon = strchr(*argv, ':'); local 55 if (!colon) 57 *colon = '\0'; 61 if (get_u32(&m.to, colon + 1, 0))
|
/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);
|
/packages/apps/Browser/src/com/android/browser/ |
BrowserHomepagePreference.java | 77 int colon = url.indexOf(':'); local 79 if (colon == -1 && space == -1) { 80 // if no colon, no space, add "http://" to make it a url
|
/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
|
/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/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();
|
/libcore/luni/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/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/base/third_party/xdg_mime/ |
xdgmimeglob.c | 572 char *colon, *colon2; local 579 colon = strchr (line, ':'); 580 if (colon == NULL) 582 *(colon++) = '\0'; 583 colon[strlen (colon) -1] = '\0'; 584 colon2 = strchr (colon, ':'); 589 mimetype = colon; 596 glob = colon;
|
/external/chromium/googleurl/src/ |
url_parse.cc | 71 // colon) where we'll begin parsing. 120 // Find the first colon in the user section, which separates the username and 157 int colon = -1; local 159 // Find the last right-bracket, and the last colon. 166 colon = i; 171 if (colon > ipv6_terminator) { 173 *hostname = MakeRange(serverinfo.begin, colon); 176 *port_num = MakeRange(colon + 1, serverinfo.end()); 303 // Find the first colon character. 310 return false; // No colon found: no schem [all...] |
/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;
|
/external/tcpdump/ |
print-esp.c | 221 char *colon, *p; local 232 colon = strchr(decode, ':'); 233 if (colon == NULL) { 237 *colon = '\0'; 239 len = colon - decode; 265 colon++; 266 if (colon[0] == '0' && colon[1] == 'x') { 268 colon += 2; 269 len = strlen(colon) / 2 [all...] |
/external/webkit/WebCore/xml/ |
XPathParser.cpp | 456 int colon = qName.find(':'); local 457 if (colon >= 0) { 460 namespaceURI = m_resolver->lookupNamespaceURI(qName.left(colon)); 463 localName = qName.substring(colon + 1);
|
/frameworks/base/tests/CoreTests/android/core/ |
URLTest.java | 106 int colon = header.indexOf(":"); local 107 String key = header.substring(0, colon); 108 String value = header.substring(colon + 1).trim();
|