Searched defs:colon (Results 1 - 25 of 33) sorted by relevance

12

/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 "://"
H A Dproxy_config_service_linux.cc48 std::string::size_type colon = host.find("://"); local
49 if (colon != std::string::npos)
50 host = host.substr(colon + 3);
/external/iptables/extensions/
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_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_connrate.c60 char *colon; local
63 if ((colon = strchr(buffer, ':')) == NULL)
65 *colon = '\0';
67 si->to = parse_value(colon+1, 0xFFFFFFFF);
/external/dropbear/
H A Dscpmisc.c116 colon(char *cp) function
120 if (*cp == ':') /* Leading colon is part of file name. */
/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/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/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/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/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/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...]
/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;
H A Dnet_ipx.cpp236 char *colon; local
294 colon = Q_strrchr (my_ipx_address, ':');
295 if (colon)
296 *colon = 0;
/external/webkit/WebCore/xml/
H A DXPathParser.cpp456 int colon = qName.find(':'); local
457 if (colon >= 0) {
460 namespaceURI = m_resolver->lookupNamespaceURI(qName.left(colon));
463 localName = qName.substring(colon + 1);
/external/chromium/net/http/
H A Dhttp_util.cc289 // ensure match is suffixed by colon
469 const char* colon = std::find(begin, end, ':'); local
470 if (colon == end)
474 const char* name_end = colon;
630 string::const_iterator colon = find(name_begin_, values_end_, ':'); local
631 if (colon == values_end_)
634 name_end_ = colon;
646 values_begin_ = 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/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/gtest/src/
H A Dgtest-death-test.cc1187 const ::std::string::size_type colon = str.find(delimiter, pos); local
1188 if (colon == ::std::string::npos) {
1192 parsed.push_back(str.substr(pos, colon - pos));
1193 pos = colon + 1;
/external/openssl/crypto/err/
H A Derr.c886 * colon-separated fields, i.e. 4 colons ... */
895 char *colon = strchr(s, ':'); local
896 if (colon == NULL || colon > &buf[len-1] - NUM_COLONS + i)
898 /* set colon no. i at last possible position
900 colon = &buf[len-1] - NUM_COLONS + i;
901 *colon = ':';
903 s = colon + 1;
/external/ppp/pppd/
H A Dipcp.c414 char *colon; local
422 if ((colon = strchr(arg, ':')) == NULL)
428 * If colon first character, then no local addr.
430 if (colon != arg && option_priority >= prio_local) {
431 *colon = '\0';
445 *colon = ':';
450 * If colon last character, then no remote addr.
452 if (*++colon != '\0' && option_priority >= prio_remote) {
453 if ((remote = inet_addr(colon)) == (u_int32_t) -1) {
454 if ((hp = gethostbyname(colon))
[all...]
/external/protobuf/gtest/src/
H A Dgtest-death-test.cc1047 const ::std::string::size_type colon = str.find(delimiter, pos); local
1048 if (colon == ::std::string::npos) {
1052 parsed.push_back(str.substr(pos, colon - pos));
1053 pos = colon + 1;

Completed in 381 milliseconds

12