Lines Matching refs:st
44 struct stat st{};
47 if (stat(g_testRoot.c_str(), &st) < 0) {
120 struct stat st {};
121 if (stat(fullPath.c_str(), &st) < 0) {
125 if (S_ISDIR(st.st_mode)) {
218 struct stat st{};
223 if (stat(file.c_str(), &st) < 0) {
338 struct stat st{};
339 int ret = stat(blockDevice.c_str(), &st);
341 bool isBlock = S_ISBLK(st.st_mode);
365 struct stat st{};
366 int ret = stat(blockDevice.c_str(), &st);
372 ret = stat(blockDevice.c_str(), &st);