Lines Matching refs:file2
183 const char *file1, *file2;
194 file2 = strrchr(path2, '/');
195 if (file2 != NULL)
196 file2++;
198 file2 = path2;
199 if (strcmp(file1, file2) != 0)
201 if (file1 - path1 >= PATH_MAX || file2 - path2 >= PATH_MAX)
211 if (file2 == path2)
214 memcpy(pathbuf, path2, file2 - path2);
215 pathbuf[file2 - path2] = '\0';