Lines Matching refs:path1
686 const char *path1,
697 path1_len = strlen(path1);
700 if (SVN_PATH_IS_EMPTY(path1) || SVN_PATH_IS_EMPTY(path2))
703 while (path1[i] == path2[i])
706 if (path1[i] == '/')
718 if (i == 1 && path1[0] == '/' && path2[0] == '/')
730 if (last_dirsep == 1 && path1[0] == '/' && path1[1] == '/')
737 if (i == 3 && path1[2] == '/' && path1[1] == ':')
747 if ((path1[i - 1] == ':' && path2[i] == '/') ||
748 (path2[i - 1] == ':' && path1[i] == '/'))
751 if (path1[i - 1] == ':' || path2[i - 1] == ':')
762 || ((i == path2_len) && (path1[i] == '/'))
774 last_dirsep == 2 && path1[1] == ':' && path1[2] == '/'
778 if (last_dirsep == 0 && path1[0] == '/' && path2[0] == '/')
810 is_child(path_type_t type, const char *path1, const char *path2,
816 if (SVN_PATH_IS_EMPTY(path1)) /* "" is the parent */
831 things like path1:"foo///bar" and path2:"foo/bar/baz"? It doesn't
836 for (i = 0; path1[i] && path2[i]; i++)
837 if (path1[i] != path2[i])
843 ... path1[i] == '\0'
846 / path1[i] == '\0'
850 X:/ path1[i] == '\0'
855 if (path1[i] == '\0' && path2[i])
857 if (path1[i - 1] == '/'
859 || ((type == type_dirent) && path1[i - 1] == ':')