Lines Matching refs:displayname
95 parse_displayname (const char *displayname,
112 if (!displayname || !displayname[0]) return False;
115 ptr = strrchr(displayname, ':');
117 if ((ptr != displayname) && (*(ptr - 1) == ':')) {
127 len = (ptr - displayname); /* length of host name */
141 } else if (!dnet && (*displayname == '[') && (*(ptr - 1) == ']')) {
144 host = copystring (displayname + 1, len - 2);
146 host = copystring (displayname, len);
170 strlcpy(path, displayname, sizeof(path));
172 strncpy(path, displayname, sizeof(path) - 1);