sb2
struct stat sb1, sb2;
if (stat(pathbuf, &sb2) != 0)
return sb1.st_dev == sb2.st_dev && sb1.st_ino == sb2.st_ino;
struct stat sb1, sb2;
!fstat(STDOUT_FILENO, &sb1) && !fstat(STDERR_FILENO, &sb2) &&
(sb1.st_rdev != sb2.st_rdev))
struct stat sb1, sb2;
ret = fstat (fd, &sb2);
if (sb1.st_dev != sb2.st_dev || sb1.st_ino != sb2.st_ino) {
if (sb2.st_nlink != 0) {
static const unsigned char sb2[256] = {
o->c[i + 1] = sb2[x->c[i + 1] ^ y->c[i + 1]];
o[i + 3] = sb2[x->c[i + 3] ^ y->c[i + 3]];
sb2 = 5.02757713761390460534494530537572834e3L, /* 0x400b3a39, 0x3bf4a690, 0x3025d28d, 0xfd40a891 */
S=one+s*(sb1+s*(sb2+s*(sb3+s*(sb4+s*(sb5+s*(sb6+s*(sb7+
S=one+s*(sb1+s*(sb2+s*(sb3+s*(sb4+s*(sb5+s*(sb6+s*(sb7+
S=one+s*(sb1+s*(sb2+s*(sb3+s*(sb4+s*(sb5+s*(sb6+s*sb7))))));
S=one+s*(sb1+s*(sb2+s*(sb3+s*(sb4+s*(sb5+s*(sb6+s*sb7))))));
sb2 = 3.25792512996573918826e+02, /* 0x40745CAE, 0x221B9F0A */
S=one+s*(sb1+s*(sb2+s*(sb3+s*(sb4+s*(sb5+s*(sb6+s*sb7))))));
S=one+s*(sb1+s*(sb2+s*(sb3+s*(sb4+s*(sb5+s*(sb6+s*sb7))))));
S=one+s*(sb1+s*(sb2+s*sb3));
S=one+s*(sb1+s*(sb2+s*sb3));
sb2 = 3.04982710e+00, /* 0x4043305e */
*sb = sb2;
struct sbuf *sb2 = NULL;
sb2 = sc->spec;
struct stat sb, sb2;
ATF_REQUIRE_MSG(fstatat(AT_FDCWD, "test", &sb2, 0) == 0,
ATF_REQUIRE_MSG(sb.st_dev == sb2.st_dev, "st_dev mismatch");
ATF_REQUIRE_MSG(sb.st_ino == sb2.st_ino, "st_ino mismatch");
struct stat sb1, sb2;
ASSERT_EQ(0, fstat(fd, &sb2));
EXPECT_TRUE(timespeccmp(&sb1.st_atim, &sb2.st_atim, ==));
EXPECT_TRUE(timespeccmp(&sb1.st_ctim, &sb2.st_ctim, ==));
EXPECT_TRUE(timespeccmp(&sb1.st_mtim, &sb2.st_mtim, ==));
struct stat sb1, sb2;
ASSERT_EQ(0, fstat(fd, &sb2));
EXPECT_TRUE(timespeccmp(&sb1.st_atim, &sb2.st_atim, ==));
EXPECT_TRUE(timespeccmp(&sb1.st_ctim, &sb2.st_ctim, ==));
EXPECT_TRUE(timespeccmp(&sb1.st_mtim, &sb2.st_mtim, ==));
struct stat sb1, sb2;
ASSERT_EQ(0, fstat(fd, &sb2));
EXPECT_TRUE(timespeccmp(&sb1.st_atim, &sb2.st_atim, <));
EXPECT_TRUE(timespeccmp(&sb1.st_ctim, &sb2.st_ctim, ==));
EXPECT_TRUE(timespeccmp(&sb1.st_mtim, &sb2.st_mtim, ==));
struct stat sb1, sb2;
ASSERT_EQ(0, fstat(fd, &sb2));
EXPECT_TRUE(timespeccmp(&sb1.st_atim, &sb2.st_atim, <));
EXPECT_TRUE(timespeccmp(&sb1.st_ctim, &sb2.st_ctim, ==));
EXPECT_TRUE(timespeccmp(&sb1.st_mtim, &sb2.st_mtim, ==));
struct stat sb, sb1, sb2;
ATF_REQUIRE(fstat(fd2, &sb2) == 0);
if (sb1.st_size > sb2.st_size) {
ATF_REQUIRE(fstat(fd2, &sb2) == 0);
SHA256_FdChunk(fd2, digest1, sb1.st_size, sb2.st_size - sb1.st_size);
ATF_REQUIRE(sb.st_size == sb2.st_size);
SHA256_FdChunk(fd2, digest2, sb1.st_size, sb2.st_size - sb1.st_size);
struct stat sb1, sb2;
ATF_REQUIRE(fstat(fd2, &sb2) != -1);
ATF_REQUIRE(bcmp(&sb1, &sb2, sizeof(sb1)) == 0);
samefile(struct stat *sb1, struct stat *sb2)
ATF_REQUIRE_MSG(sb1->st_dev == sb2->st_dev, "different device");
ATF_REQUIRE_MSG(sb1->st_ino == sb2->st_ino, "different inode");
if (fstat(fd2, &sb2)) {
if (!S_ISREG(sb2.st_mode))
if (zflag && sb1.st_size != sb2.st_size) {
fd2, file2, skip2, sb2.st_size, limit);
struct stat sb1, sb2;
struct stat sb2;
fstat(fileno(ftmp), &sb2) == -1) {
if (sb2.st_ino != file->st.st_ino ||
sb2.st_dev != file->st.st_dev ||
sb2.st_nlink == 0) {
memcpy(&file->st, &sb2,