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

12345

/external/libmicrohttpd/src/examples/
H A Dmhd2spdy_structures.c74 char *colon; local
95 colon = strrchr((*uri)->host_and_port, ':');
96 if(NULL == colon)
104 port = atoi(colon + 1);
111 asprintf(&((*uri)->host), "%.*s", (int)(colon - (*uri)->host_and_port), (*uri)->host_and_port);
/external/iproute2/ip/
H A Diplink_vlan.c61 char *colon = strchr(*argv, ':'); local
63 if (!colon)
65 *colon = '\0';
69 if (get_u32(&m.to, colon + 1, 0))
/external/iproute2/misc/
H A Dlnstat_util.c303 const char *colon = strchr(name, ':'); local
307 if (colon) {
308 file = strndup(name, colon-name);
309 field = colon+1;
/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/libvncserver/libvncclient/
H A Dvncviewer.c330 char* colon=strchr(argv[i+1],':'); local
337 if(colon) {
338 client->destHost[(int)(colon-argv[i+1])] = '\0';
339 client->destPort = atoi(colon+1);
343 char* colon=strchr(argv[i],':'); local
348 if(colon) {
350 client->serverHost[(int)(colon-argv[i])] = '\0';
351 client->serverPort = atoi(colon+1);
/external/valgrind/coregrind/
H A Dlauncher-linux.c94 const char *colon; local
109 if ((colon = strchr(path, ':')) == NULL)
116 strncpy(fullname, path, colon - path);
117 fullname[colon - path] = '\0';
118 path = colon + 1;
H A Dlauncher-darwin.c107 const char *colon; local
111 if ((colon = strchr(path, ':')) == NULL)
118 memcpy(fullname, path, colon - path);
119 fullname[colon - path] = '\0';
120 path = colon + 1;
/external/valgrind/tests/
H A Ds390x_features.c206 char *colon; local
250 colon = strchr(cpu, ':');
252 if (colon == NULL) {
255 } else if (colon == cpu) {
259 } else if (colon[1] == '\0') {
261 *colon = '\0';
264 *colon = ':';
267 *colon = '\0';
269 to = locate_model(colon + 1);
270 *colon
[all...]
/external/boringssl/src/crypto/bio/
H A Dconnect.c139 const char *colon = strchr(name, ':'); local
140 if (colon == NULL || strchr(colon + 1, ':') != NULL) { /* IPv6 address */
145 host_len = colon - name;
146 port = 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/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.c52 char *arg, *start, *end = NULL, *colon = NULL, *dash, *error; local
62 /* Lets assume one colon is port information. Otherwise its an IPv6 address */
63 colon = strchr(arg, ':');
64 if (colon && strchr(colon+1, ':'))
65 colon = NULL;
75 colon = strchr(end + 1, ':');
78 if (colon) {
87 port = atoi(colon+1);
90 "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.c73 char *arg, *colon, *dash, *error; local
80 colon = strchr(arg, ':');
82 if (colon) {
91 port = atoi(colon+1);
94 "Port `%s' not valid\n", colon+1);
96 error = strchr(colon+1, ':');
101 dash = strchr(colon, '-');
116 "Port range `%s' funky\n", colon+1);
120 /* Starts with a colon? No IP info...*/
121 if (colon
[all...]
/external/kmod/tools/
H A Dmodinfo.c91 const char *colon = strchr(value, ':'); local
92 if (colon == NULL) {
99 namelen = colon - value;
101 param = colon + 1;
108 type = colon + 1;
/external/libnl/lib/route/
H A Dclassid.c156 char *colon, *end; local
175 h = strtoul(str, &colon, 16);
178 if (colon == str) {
180 if (*colon == ':') {
187 if (!(colon = strpbrk(str, ":"))) {
192 len = colon - str;
206 if (colon[1] == '\0')
214 if (':' == *colon) {
220 if ('\0' == colon[1]) {
228 l = strtoul(colon
[all...]
/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/syslinux/gpxe/src/core/
H A Dgdbstub.c227 int colon; local
228 if ( !gdbstub_get_packet_args ( stub, args, sizeof args / sizeof args [ 0 ], &colon ) ||
229 colon >= stub->len || stub->payload [ colon ] != ':' ||
230 ( stub->len - colon - 1 ) % 2 != 0 ) {
234 gdbstub_from_hex_buf ( ( char * ) args [ 0 ], &stub->payload [ colon + 1 ], ( stub->len - colon - 1 ) / 2 );
/external/webrtc/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/llvm/lib/TableGen/
H A DTGLexer.h40 colon, semi, // : ; enumerator in enum:llvm::tgtok::TokKind
/external/sqlite/android/
H A Dsqlite3_android.cpp180 // check SECONDARY_STORAGE, which should be a colon separated list of paths
183 const char* colon = strchr(secondary_paths, ':'); local
184 int length = (colon ? colon - secondary_paths : strlen(secondary_paths));
/external/swiftshader/third_party/LLVM/lib/TableGen/
H A DTGLexer.h39 colon, semi, // : ; enumerator in enum:llvm::tgtok::TokKind
/external/tcpdump/
H A Dprint-esp.c260 char *colon, *p; local
262 colon = strchr(decode, ':');
263 if (colon == NULL) {
267 *colon = '\0';
295 colon++;
296 if (colon[0] == '0' && colon[1] == 'x') {
299 colon += 2;
300 sa->secretlen = espprint_decode_hex(ndo, sa->secret, sizeof(sa->secret), colon);
303 i = strlen(colon);
326 char *colon; local
[all...]
/external/boringssl/src/crypto/err/
H A Derr.c389 /* output may be truncated; make sure we always have 5 colon-separated
402 char *colon = strchr(s, ':'); local
405 if (colon == NULL || colon > last_pos) {
406 /* set colon |i| at last possible position (buf[len-1] is the
407 * terminating 0). If we're setting this colon, then all whole of the
414 s = colon + 1;

Completed in 548 milliseconds

12345