Lines Matching refs:file1
183 const char *file1, *file2;
189 file1 = strrchr(path1, '/');
190 if (file1 != NULL)
191 file1++;
193 file1 = path1;
199 if (strcmp(file1, file2) != 0)
201 if (file1 - path1 >= PATH_MAX || file2 - path2 >= PATH_MAX)
203 if (file1 == path1)
206 memcpy(pathbuf, path1, file1 - path1);
207 pathbuf[file1 - path1] = '\0';