Searched refs:colon (Results 1 - 25 of 47) sorted by relevance

12

/external/nist-sip/java/gov/nist/javax/sip/stack/
H A DHopImpl.java100 int colon = hop.indexOf(':',brack);
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);
/external/apache-http/src/org/apache/http/message/
H A DBufferedHeader.java84 int colon = buffer.indexOf(':');
85 if (colon == -1) {
89 String s = buffer.substringTrimmed(0, colon);
96 this.valuePos = colon + 1;
/external/tcpdump/
H A Dprint-esp.c221 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) /
[all...]
/external/iptables/extensions/
H A Dlibipt_DNAT.c61 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
[all...]
H A Dlibipt_SNAT.c61 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
[all...]
H A Dlibipt_connbytes.c33 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) {
H A Dlibipt_connrate.c60 char *colon; local
63 if ((colon = strchr(buffer, ':')) == NULL)
65 *colon = '\0';
67 si->to = parse_value(colon+1, 0xFFFFFFFF);
/external/webkit/WebKit/mac/Misc/
H A DWebNSDataExtras.m355 const UInt8 *colon;
356 for (colon = line; *colon != ':' && colon != eol; colon ++) {
359 if (colon == eol) {
364 lastKey = (NSString *)CFMakeCollectable(CFStringCreateWithBytes(NULL, line, colon - line, kCFStringEncodingISOLatin1, FALSE));
368 for (colon++; colon != eol; colon
[all...]
/external/chromium/net/proxy/
H A Dproxy_server.cc104 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 "://"
/external/tagsoup/src/org/ccil/cowan/tagsoup/
H A DElementType.java70 int colon = name.indexOf(':');
71 if (colon == -1) {
74 String prefix = name.substring(0, colon);
89 int colon = name.indexOf(':');
90 if (colon == -1) {
94 return name.substring(colon+1).intern();
/external/quake/quake/src/QW/client/
H A Dnet_udp.c123 char *colon; local
134 for (colon = copy ; *colon ; colon++)
135 if (*colon == ':')
137 *colon = 0;
138 sadr.sin_port = htons(atoi(colon+1));
H A Dnet_wins.c99 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/dropbear/
H A Dscpmisc.h25 char *colon(char *);
/external/iproute2/ip/
H A Diplink_vlan.c53 char *colon = strchr(*argv, ':'); local
55 if (!colon)
57 *colon = '\0';
61 if (get_u32(&m.to, colon + 1, 0))
/external/ipsec-tools/src/libipsec/
H A Dpolicy_token.l77 colon \:
140 unique{colon}{decstring} {
/external/clearsilver/scripts/
H A Dcs_lint.py85 colon = string.find(cmd, ':')
87 if colon == -1 and bang == -1:
97 elif pound != -1 and colon != -1 and pound < colon:
102 arg = cmd[colon+1:]
103 cmd = cmd[:colon]
105 elif colon == -1:
/external/bluetooth/glib/gio/xdgmime/
H A Dxdgmimeglob.c573 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/
H A Dxdgmimeglob.c572 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/iproute2/misc/
H A Dlnstat_util.c299 const char *colon = strchr(name, ':'); local
303 if (colon) {
304 file = strndup(name, colon-name);
305 field = colon+1;
/external/webkit/WebCore/plugins/
H A DPluginView.cpp1195 const char* colon; local
1196 for (colon = line; *colon != ':' && colon != eol; colon++) {
1199 if (colon == eol)
1203 lastKey = capitalizeRFC822HeaderFieldName(String(line, colon - line));
1206 for (colon++; colon != eol; colon
[all...]
/external/quake/quake/src/WinQuake/
H A Dnet_udp.cpp144 char *colon; local
186 colon = Q_strrchr (my_tcpip_address, ':');
187 if (colon)
188 *colon = 0;
/external/bluetooth/glib/gio/
H A Dgfileinfo.c182 const char *colon; local
200 colon = strstr (attribute, "::");
201 if (colon)
202 ns = g_strndup (attribute, colon - attribute);
1859 * from namespaces with a double colon. Several "namespace::key" strings may be
1883 char *colon; local
1903 colon = strstr (split[i], "::");
1904 if (colon != NULL &&
1905 !(colon[2] == 0 ||
1906 (colon[
[all...]
/external/chromium/sdch/open-vcdiff/src/gtest/
H A Dgtest-death-test.cc691 const ::std::string::size_type colon = str.find(delimiter, pos); local
692 if (colon == ::std::string::npos) {
696 parsed.push_back(str.substr(pos, colon - pos));
697 pos = colon + 1;
/external/oprofile/libop/
H A Dop_events.c354 char const * colon; local
357 end = colon = c;
360 colon = strchr(colon, ':');
362 if (!colon) {
368 if (colon >= end)
371 tag_len = colon - c;
372 val_len = end - (colon + 1);
383 *value = op_xstrndup(colon + 1, val_len);
/external/chromium/googleurl/src/
H A Durl_parse.cc71 // 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 foun
[all...]

Completed in 172 milliseconds

12