Lines Matching refs:sb
150 struct stat sb; in TEST() local
151 int rc = fstat(fd, &sb); in TEST()
153 ASSERT_EQ(sb.st_mode & 0777, 0600U); in TEST()
2486 struct stat sb; in TEST() local
2490 ASSERT_EQ(-1, lstat(tf.path, &sb)); in TEST()
2495 ASSERT_EQ(-1, lstat(td.path, &sb)); in TEST()
2799 struct stat sb; in TEST() local
2800 ASSERT_EQ(0, stat(old_path.c_str(), &sb)); in TEST()
2801 ASSERT_EQ(-1, stat(new_path.c_str(), &sb)); in TEST()
2805 ASSERT_EQ(-1, stat(old_path.c_str(), &sb)); in TEST()
2806 ASSERT_EQ(0, stat(new_path.c_str(), &sb)); in TEST()
2817 struct stat sb; in TEST() local
2818 ASSERT_EQ(0, stat(old_path.c_str(), &sb)); in TEST()
2819 ASSERT_EQ(-1, stat(new_path.c_str(), &sb)); in TEST()
2823 ASSERT_EQ(-1, stat(old_path.c_str(), &sb)); in TEST()
2824 ASSERT_EQ(0, stat(new_path.c_str(), &sb)); in TEST()
2838 struct stat sb; in TEST()
2839 ASSERT_EQ(0, stat(old_path.c_str(), &sb)); in TEST()
2840 ASSERT_EQ(-1, stat(new_path.c_str(), &sb)); in TEST()
2844 ASSERT_EQ(-1, stat(old_path.c_str(), &sb)); in TEST()
2845 ASSERT_EQ(0, stat(new_path.c_str(), &sb)); in TEST()