Searched refs:file_stat (Results 1 – 8 of 8) sorted by relevance
39 struct stat file_stat; in findConfigPath() local40 if (stat(path.c_str(), &file_stat) != 0) continue; in findConfigPath()41 if (S_ISREG(file_stat.st_mode)) return path; in findConfigPath()
41 struct stat file_stat; in findConfigPath() local42 if (stat(path.c_str(), &file_stat) != 0) continue; in findConfigPath()43 if (S_ISREG(file_stat.st_mode)) return path; in findConfigPath()
188 struct stat file_stat; in main() local248 if (stat(file_path, &file_stat) == -1) { in main()253 file_size = file_stat.st_size; in main()
152 struct stat file_stat; in findConfigFile() local153 if (stat(filePath.c_str(), &file_stat) == 0 && S_ISREG(file_stat.st_mode)) { in findConfigFile()
243 struct stat file_stat; in findConfigFilePathFromTransportConfigPaths() local244 if (stat(filePath.c_str(), &file_stat) == 0 && S_ISREG(file_stat.st_mode)) { in findConfigFilePathFromTransportConfigPaths()
222 struct stat file_stat; in findConfigFilePathFromTransportConfigPaths() local223 if (stat(filePath.c_str(), &file_stat) == 0 && S_ISREG(file_stat.st_mode)) { in findConfigFilePathFromTransportConfigPaths()
241 struct stat file_stat; in findConfigFilePathFromTransportConfigPaths() local242 if (stat(filePath.c_str(), &file_stat) == 0 && S_ISREG(file_stat.st_mode)) { in findConfigFilePathFromTransportConfigPaths()