Lines Matching refs:st
36 struct stat st; in FileExists() local
37 return stat(path.c_str(), &st) == 0; in FileExists()
45 struct stat st; in DirectoryExists() local
46 if (stat(path.c_str(), &st) == -1) { in DirectoryExists()
49 if ((st.st_mode & S_IFMT) != S_IFDIR) { in DirectoryExists()
98 struct stat st; in FileSize() local
99 if (stat(path.c_str(), &st) == -1) { in FileSize()
102 return st.st_size; in FileSize()
107 struct stat st; in FileModificationTime() local
108 if (stat(path.c_str(), &st) == -1) { in FileModificationTime()
111 std::chrono::seconds seconds(st.st_mtim.tv_sec); in FileModificationTime()