Lines Matching defs:file2
185 const char *file1, *file2;
196 file2 = strrchr(path2, '/');
197 if (file2 != NULL)
198 file2++;
200 file2 = path2;
201 if (strcmp(file1, file2) != 0)
203 if (file1 - path1 >= PATH_MAX || file2 - path2 >= PATH_MAX)
213 if (file2 == path2)
216 memcpy(pathbuf, path2, file2 - path2);
217 pathbuf[file2 - path2] = '\0';