Lines Matching refs:st
83 struct stat st {};
84 if (stat(fileName.c_str(), &st) == 0) {
89 if (isRecursive && S_ISDIR(st.st_mode)) {
93 totalSize += st.st_size;
119 struct stat st {};
121 stat(file_name.c_str(), &st);
122 if (S_ISDIR(st.st_mode)) {
136 struct stat st {};
137 if (stat(path.c_str(), &st) == 0 && S_ISREG(st.st_mode)) {
145 struct stat st {};
146 if (stat(path.c_str(), &st) == 0 && S_ISDIR(st.st_mode)) {