Lines Matching refs:dir_file
61 char dir_file[MAXFONTFILENAMELEN];
77 if (strlen(directory) + 1 + sizeof(FontDirFile) > sizeof(dir_file))
92 strcpy(dir_file, dir_path);
93 if (dir_file[strlen(dir_file) - 1] != '/')
94 strcat(dir_file, "/");
95 strcat(dir_file, FontDirFile);
97 file_fd = open(dir_file, O_RDONLY | O_NOFOLLOW);
102 file = fopen(dir_file, "rt");
108 if (stat (dir_file, &statb) == -1)
172 char dir_file[MAXFONTFILENAMELEN];
175 if (strlen(dir->directory) + sizeof(FontDirFile) > sizeof(dir_file))
178 strcpy (dir_file, dir->directory);
179 strcat (dir_file, FontDirFile);
180 if (stat (dir_file, &statb) == -1)
189 if ((strlen(dir->directory) + sizeof(FontAliasFile)) > sizeof(dir_file))
191 strcpy (dir_file, dir->directory);
192 strcat (dir_file, FontAliasFile);
193 if (stat (dir_file, &statb) == -1)