Home | History | Annotate | Download | only in unit

Lines Matching refs:sb

57   struct stat sb;
58 ASSERT_EQ(0, stat(path.c_str(), &sb)) << strerror(errno);
59 ASSERT_TRUE(S_ISDIR(sb.st_mode));
61 ASSERT_EQ(mode, sb.st_mode & mask);
75 struct stat sb;
76 ASSERT_EQ(0, stat((prefix + "/a").c_str(), &sb)) << strerror(errno);
77 ASSERT_TRUE(S_ISDIR(sb.st_mode));
79 ASSERT_EQ(-1, stat(path.c_str(), &sb));
94 struct stat sb;
95 ASSERT_EQ(0, stat(path.c_str(), &sb)) << strerror(errno);
96 ASSERT_TRUE(S_ISDIR(sb.st_mode));
98 ASSERT_EQ(mode, sb.st_mode & mask);
101 ASSERT_EQ(0, stat((prefix + "/a").c_str(), &sb)) << strerror(errno);
102 ASSERT_TRUE(S_ISDIR(sb.st_mode));
103 ASSERT_EQ(mode, sb.st_mode & mask);