Lines Matching defs:file1
176 const char *file1, *file2;
182 file1 = strrchr(path1, '/');
183 if (file1 != NULL)
184 file1++;
186 file1 = path1;
192 if (strcmp(file1, file2) != 0)
194 if (file1 - path1 >= PATH_MAX || file2 - path2 >= PATH_MAX)
196 if (file1 == path1)
199 memcpy(pathbuf, path1, file1 - path1);
200 pathbuf[file1 - path1] = '\0';