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

1234567

/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
H A DQName.java29 int colon = qname.indexOf(':');
31 if (colon >= 0)
33 prefix = qname.substring(0, colon);
34 localName = qname.substring(colon + 1);
/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/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/apache-http/src/org/apache/http/message/
H A DBufferedHeader.java89 int colon = buffer.indexOf(':');
90 if (colon == -1) {
94 String s = buffer.substringTrimmed(0, colon);
101 this.valuePos = colon + 1;
/external/harfbuzz_ng/src/
H A Dhb-buffer-deserialize-json.rl73 colon = space* ':' space*;
81 glyph = "\"g\"" colon (glyph_string | glyph_number);
82 cluster = "\"cl\"" colon (unum >tok %parse_cluster);
83 xoffset = "\"dx\"" colon (num >tok %parse_x_offset);
84 yoffset = "\"dy\"" colon (num >tok %parse_y_offset);
85 xadvance= "\"ax\"" colon (num >tok %parse_x_advance);
86 yadvance= "\"ay\"" colon (num >tok %parse_y_advance);
/external/ant-glob/src/org/apache/tools/ant/util/
H A DFileUtils.java136 int colon = filename.indexOf(':');
137 return (Character.isLetter(c) && colon == 1
139 || (ON_NETWARE && colon > 0);
158 int colon = path.indexOf(':');
159 if (colon > 0 && (ON_DOS || ON_NETWARE)) {
161 int next = 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/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/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/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/vogar/src/vogar/
H A DSshTarget.java43 int colon = hostAndPort.indexOf(":");
44 if (colon != -1) {
45 host = hostAndPort.substring(0, colon);
46 port = Integer.parseInt(hostAndPort.substring(colon + 1));
/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/apache-xml/src/main/java/org/apache/xml/serializer/
H A DTreeWalker.java331 final int colon = attrName.indexOf(':');
340 if (colon < 0)
343 prefix = attrName.substring(colon + 1);
348 else if (colon > 0) {
349 prefix = attrName.substring(0,colon);
478 final int colon = attrName.indexOf(':');
486 if (colon < 0)
489 prefix = attrName.substring(colon + 1);
493 else if (colon > 0) {
494 prefix = attrName.substring(0, colon);
[all...]
/external/ipsec-tools/src/libipsec/
H A Dpolicy_token.l77 colon \:
140 unique{colon}{decstring} {
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DXML11Char.java415 final int colon = str.indexOf(':');
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/owasp/sanitizer/src/tests/org/owasp/html/
H A DCssTokensTest.java202 int colon = golden.lastIndexOf(':');
203 if (colon >= 0) { // Unambiguous since : not allowed in identifier.
204 type = TokenType.valueOf(golden.substring(colon + 1));
205 golden = golden.substring(0, colon);
402 int colon = golden.lastIndexOf(':');
404 golden.substring(0, colon) + ":"
405 + CssTokens.TokenType.valueOf(golden.substring(colon+1)).name());
1171 "@page .broken {} /* no colon */",
/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 Dhttpcommon-inl.h52 if (const CTYPE* colon = strchrn(val, len, static_cast<CTYPE>(':'))) {
53 host_.assign(val, colon - val);
54 // Note: In every case, we're guaranteed that colon is followed by a null,
56 port_ = static_cast<uint16_t>(::strtoul(colon + 1, NULL, 10));
/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/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/syslinux/com32/gdbstub/
H A Dgdbstub.c414 int colon; local
416 (stub, args, sizeof args / sizeof args[0], &colon) || colon >= stub->len
417 || stub->payload[colon] != ':' || (stub->len - colon - 1) % 2 != 0) {
421 gdbstub_from_hex_buf((char *)args[0], &stub->payload[colon + 1],
422 (stub->len - colon - 1) / 2);

Completed in 1246 milliseconds

1234567