Lines Matching refs:sdup
768 char *sdup, *tmp;
778 sdup = xstrdup(s);
781 if ((tmp = colon(sdup)) == NULL)
791 tmp = strrchr(sdup, '@');
795 if (*sdup != '\0')
796 user = xstrdup(sdup);
798 host = xstrdup(cleanhostname(sdup));
817 free(sdup);
835 char *sdup, *cp, *tmp;
846 if ((sdup = tmp = strdup(s)) == NULL)
879 free(sdup);
2421 char *cp, *sdup;
2430 sdup = xstrdup(s);
2432 if ((cp = strchr(sdup, '=')) == NULL || cp == sdup) {
2433 free(sdup);
2438 free(sdup);
2443 *typep = xstrdup(sdup);
2446 free(sdup);