Lines Matching refs:sb
122 struct stat sb; in TEST() local
123 int rc = fstat(fd, &sb); in TEST()
125 ASSERT_EQ(sb.st_mode & 0777, 0600U); in TEST()
2373 struct stat sb; in TEST() local
2377 ASSERT_EQ(-1, lstat(tf.path, &sb)); in TEST()
2382 ASSERT_EQ(-1, lstat(td.path, &sb)); in TEST()
2670 struct stat sb; in TEST() local
2671 ASSERT_EQ(0, stat(old_path.c_str(), &sb)); in TEST()
2672 ASSERT_EQ(-1, stat(new_path.c_str(), &sb)); in TEST()
2676 ASSERT_EQ(-1, stat(old_path.c_str(), &sb)); in TEST()
2677 ASSERT_EQ(0, stat(new_path.c_str(), &sb)); in TEST()
2688 struct stat sb; in TEST() local
2689 ASSERT_EQ(0, stat(old_path.c_str(), &sb)); in TEST()
2690 ASSERT_EQ(-1, stat(new_path.c_str(), &sb)); in TEST()
2694 ASSERT_EQ(-1, stat(old_path.c_str(), &sb)); in TEST()
2695 ASSERT_EQ(0, stat(new_path.c_str(), &sb)); in TEST()
2709 struct stat sb; in TEST()
2710 ASSERT_EQ(0, stat(old_path.c_str(), &sb)); in TEST()
2711 ASSERT_EQ(-1, stat(new_path.c_str(), &sb)); in TEST()
2715 ASSERT_EQ(-1, stat(old_path.c_str(), &sb)); in TEST()
2716 ASSERT_EQ(0, stat(new_path.c_str(), &sb)); in TEST()