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

1234

/external/chromium_org/media/blink/
H A Dcache_util_unittest.cc39 size_t colon = lines[i].find(": "); local
41 WebString::fromUTF8(lines[i].substr(0, colon)),
42 WebString::fromUTF8(lines[i].substr(colon + 2)));
/external/chromium_org/net/proxy/
H A Dproxy_server.cc105 std::string::const_iterator colon = std::find(begin, end, ':'); local
106 if (colon != end &&
107 (end - colon) >= 3 &&
108 *(colon + 1) == '/' &&
109 *(colon + 2) == '/') {
110 scheme = GetSchemeFromURIInternal(begin, colon);
111 begin = colon + 3; // Skip past the "://"
/external/chromium_org/tools/gn/
H A Dlabel_pattern.cc124 size_t colon = str.find(':'); local
125 if (colon == std::string::npos) {
128 path = str.substr(0, colon);
129 name = str.substr(colon + 1);
180 if (colon != std::string::npos && name != "*") {
/external/iproute2/ip/
H A Diplink_vlan.c54 char *colon = strchr(*argv, ':'); local
56 if (!colon)
58 *colon = '\0';
62 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/iptables/extensions/
H A Dlibip6t_DNAT.c49 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
[all...]
H A Dlibip6t_SNAT.c49 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
[all...]
H A Dlibipt_DNAT.c70 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
[all...]
H A Dlibipt_SNAT.c70 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
[all...]
/external/libunwind/src/
H A Dos-linux.h209 char perm[16], dash = 0, colon = 0, *cp; local
272 cp = scan_char (cp, &colon);
279 if (dash != '-' || colon != ':')
/external/ltrace/
H A Dglob.c31 const char *colon = memchr(glob + from + 2, ':', length - 1); local
32 if (colon == NULL || colon[1] != ']')
34 return colon - glob;
/external/valgrind/main/coregrind/
H A Dlauncher-linux.c86 const char *colon; local
101 if ((colon = strchr(path, ':')) == NULL)
108 strncpy(fullname, path, colon - path);
109 fullname[colon - path] = '\0';
110 path = colon + 1;
H A Dlauncher-darwin.c103 const char *colon; local
107 if ((colon = strchr(path, ':')) == NULL)
114 memcpy(fullname, path, colon - path);
115 fullname[colon - path] = '\0';
116 path = colon + 1;
/external/valgrind/main/tests/
H A Ds390x_features.c205 char *colon; local
249 colon = strchr(cpu, ':');
251 if (colon == NULL) {
254 } else if (colon == cpu) {
258 } else if (colon[1] == '\0') {
260 *colon = '\0';
263 *colon = ':';
266 *colon = '\0';
268 to = locate_model(colon + 1);
269 *colon
[all...]
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/
H A Dfake_pepper_interface_url_loader.cc26 // Find the next colon; this separates the key from the value.
27 size_t colon = headers.find(':', offset); local
28 if (colon == std::string::npos)
40 size_t nonspace = headers.find_first_not_of(' ', colon + 1);
/external/chromium_org/third_party/skia/tools/
H A Dbench_pictures_main.cpp261 const char* colon = strchr(filters, ':'); local
262 if (colon) {
264 size_t typeLen = colon - filters;
282 && !strncmp(colon + 1, gFilterFlags[fIndex], flagLen)) {
302 err.printf("Unknown arg for --filter %s : missing colon\n", filters);
/external/chromium_org/third_party/webrtc/base/
H A Dsocketaddress.cc185 std::string::size_type colon = str.find(':', closebracket); local
186 if (colon != std::string::npos && colon > closebracket) {
187 SetPort(strtoul(str.substr(colon + 1).c_str(), NULL, 10));
H A Dwin32.cc229 const char* colon = rtc::strchr(addrstart, "::"); local
230 if (colon) {
240 addrstart = colon + 1;
/external/clang/test/Analysis/
H A Dptr-arith.c30 const char *colon = memchr (domain_b, ':', domain_e - domain_b); local
32 for (p = colon + 1; p < domain_e ; p++)
/external/libunwind/tests/
H A Dtest-coredump-unwind.c316 char *colon; local
317 long vaddr = strtol(*argv, &colon, 16);
318 if (*colon != ':')
320 if (_UCD_add_backing_file_at_vaddr(ui, vaddr, colon + 1) < 0)
321 error_msg_and_die("Can't add backing file '%s'", colon + 1);
/external/skia/tools/
H A Dbench_pictures_main.cpp237 const char* colon = strchr(filters, ':'); local
238 if (colon) {
240 size_t typeLen = colon - filters;
258 && !strncmp(colon + 1, gFilterFlags[fIndex], flagLen)) {
278 err.printf("Unknown arg for --filter %s : missing colon\n", filters);
/external/chromium_org/extensions/browser/api/cast_channel/
H A Dcast_channel_api.cc281 size_t colon = path.find_last_of(':'); local
282 if (colon == std::string::npos || colon < 3 || colon > path.size() - 2) {
285 const std::string& ip_address_str = path.substr(2, colon - 2);
286 const std::string& port_str = path.substr(colon + 1);
/external/chromium_org/net/websockets/
H A Dwebsocket_handshake_handler.cc72 std::string::const_iterator colon = std::find(line_begin, line_end, ':'); local
73 if (colon == line_end) {
77 *name_end = colon;
/external/chromium_org/third_party/WebKit/Source/core/xml/
H A DXPathParser.cpp453 size_t colon = qName.find(':'); local
454 if (colon != kNotFound) {
457 namespaceURI = m_resolver->lookupNamespaceURI(qName.left(colon));
460 localName = AtomicString(qName.substring(colon + 1));
/external/chromium_org/third_party/libjingle/source/talk/examples/call/
H A Dcall_main.cc375 int colon = server.find(':'); local
376 if (colon == -1) {
380 host = server.substr(0, colon);
381 port = atoi(server.substr(colon + 1).c_str());

Completed in 903 milliseconds

1234