Lines Matching defs:file2
190 const char *file1, *file2;
201 file2 = strrchr(path2, '/');
202 if (file2 != NULL)
203 file2++;
205 file2 = path2;
206 if (strcmp(file1, file2) != 0)
208 if (file1 - path1 >= PATH_MAX || file2 - path2 >= PATH_MAX)
218 if (file2 == path2)
221 memcpy(pathbuf, path2, file2 - path2);
222 pathbuf[file2 - path2] = '\0';