Lines Matching refs:sb
126 struct stat sb; in TEST() local
127 int rc = fstat(fd, &sb); in TEST()
129 ASSERT_EQ(sb.st_mode & 0777, 0600U); in TEST()
2438 struct stat sb; in TEST() local
2442 ASSERT_EQ(-1, lstat(tf.path, &sb)); in TEST()
2447 ASSERT_EQ(-1, lstat(td.path, &sb)); in TEST()
2745 struct stat sb; in TEST() local
2746 ASSERT_EQ(0, stat(old_path.c_str(), &sb)); in TEST()
2747 ASSERT_EQ(-1, stat(new_path.c_str(), &sb)); in TEST()
2751 ASSERT_EQ(-1, stat(old_path.c_str(), &sb)); in TEST()
2752 ASSERT_EQ(0, stat(new_path.c_str(), &sb)); in TEST()
2763 struct stat sb; in TEST() local
2764 ASSERT_EQ(0, stat(old_path.c_str(), &sb)); in TEST()
2765 ASSERT_EQ(-1, stat(new_path.c_str(), &sb)); in TEST()
2769 ASSERT_EQ(-1, stat(old_path.c_str(), &sb)); in TEST()
2770 ASSERT_EQ(0, stat(new_path.c_str(), &sb)); in TEST()
2784 struct stat sb; in TEST()
2785 ASSERT_EQ(0, stat(old_path.c_str(), &sb)); in TEST()
2786 ASSERT_EQ(-1, stat(new_path.c_str(), &sb)); in TEST()
2790 ASSERT_EQ(-1, stat(old_path.c_str(), &sb)); in TEST()
2791 ASSERT_EQ(0, stat(new_path.c_str(), &sb)); in TEST()