Lines Matching defs:colon
332 const char *line, *colon, *temp, *str;
365 colon = FindFirst(str, ':', NULL);
366 if (!colon || colon > line) {
369 "%s: colon missing on line %d, ignoring line\n",
377 length = colon - str;
385 colon++;
386 while (*colon == ' ' || *colon == '\t')
387 colon++;
388 length = line - colon;
390 strncpy(entry.value, colon, length);
584 char client[MAXHOSTNAMELEN], server[MAXHOSTNAMELEN], *colon;
591 /* search for final colon to skip over any embedded colons in IPv6
593 colon = strrchr(server, ':');
595 if (colon) {
596 /* remove extra colon if there are exactly two, since it indicates
598 if ((colon > server) && (*(colon - 1) == ':') &&
599 (((colon - 1) == server) || (*(colon - 2) != ':'))) {
600 *(colon - 1) = ':';
602 *colon++ = '\0';
603 sscanf(colon, "%d", &n);