Searched refs:file_stat (Results 1 – 6 of 6) 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()
150 struct stat file_stat; in findConfigFile() local151 if (stat(filePath.c_str(), &file_stat) == 0 && S_ISREG(file_stat.st_mode)) { in findConfigFile()
152 struct stat file_stat; in findConfigFile() local153 if (stat(filePath.c_str(), &file_stat) == 0 && S_ISREG(file_stat.st_mode)) { in findConfigFile()
222 struct stat file_stat; in findConfigFilePathFromTransportConfigPaths() local223 if (stat(filePath.c_str(), &file_stat) == 0 && S_ISREG(file_stat.st_mode)) { in findConfigFilePathFromTransportConfigPaths()