Lines Matching defs:file1
190 const char *file1, *file2;
196 file1 = strrchr(path1, '/');
197 if (file1 != NULL)
198 file1++;
200 file1 = path1;
206 if (strcmp(file1, file2) != 0)
208 if (file1 - path1 >= PATH_MAX || file2 - path2 >= PATH_MAX)
210 if (file1 == path1)
213 memcpy(pathbuf, path1, file1 - path1);
214 pathbuf[file1 - path1] = '\0';