Lines Matching refs:root
31 char *root = NULL; local
75 if (get_line (&root, &root_allocated, fpin) < 0)
86 if ((cp = strrchr (root, '\n')) != NULL)
96 (strchr (root, ':') == NULL) &&
98 ! isabsolute (root))
109 if ((strchr (root, ':') == NULL) && !isdir (root))
111 if (!isdir (root))
117 CVSADM_ROOT, root);
123 strip_trailing_slashes (root);
124 ret = xstrdup (root);
128 if (root != NULL)
129 free (root);
327 free_cvsroot_t (root) in free_cvsroot_t() argument
328 cvsroot_t *root; in free_cvsroot_t()
330 if (root->original != NULL)
331 free (root->original);
332 if (root->username != NULL)
333 free (root->username);
334 if (root->password != NULL)
337 memset (root->password, 0, strlen (root->password));
338 free (root->password);
340 if (root->hostname != NULL)
341 free (root->hostname);
342 if (root->directory != NULL)
343 free (root->directory);
344 free (root);
713 normalize_cvsroot (root) in normalize_cvsroot() argument
714 const cvsroot_t *root; in normalize_cvsroot()
721 sprintf (port_s, "%d", get_cvs_port_number (root));
730 p = hostname = xstrdup(root->hostname);
738 username = root->username ? root->username : getcaller();
741 + strlen(root->directory) + 12);
743 username, hostname, port_s, root->directory);