Lines Matching defs:sdup
789 char *sdup, *tmp;
799 sdup = xstrdup(s);
802 if ((tmp = colon(sdup)) == NULL)
812 tmp = strrchr(sdup, '@');
816 if (*sdup != '\0')
817 user = xstrdup(sdup);
819 host = xstrdup(cleanhostname(sdup));
838 free(sdup);
856 char *sdup, *cp, *tmp;
867 if ((sdup = tmp = strdup(s)) == NULL)
900 free(sdup);
2443 char *cp, *sdup;
2452 sdup = xstrdup(s);
2454 if ((cp = strchr(sdup, '=')) == NULL || cp == sdup) {
2455 free(sdup);
2460 free(sdup);
2465 *typep = xstrdup(sdup);
2468 free(sdup);