/freebsd-current/bin/stty/ |
H A D | util.c | 48 struct stat sb1, sb2; local 51 !fstat(STDOUT_FILENO, &sb1) && !fstat(STDERR_FILENO, &sb2) && 52 (sb1.st_rdev != sb2.st_rdev))
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | tmpfs8.sh | 100 struct stat sb1, sb2, sb3; 110 bzero(&sb2, sizeof(sb2)); 137 r2 = stat(new, &sb2); 139 bcmp(&sb1, &sb2, sizeof(sb1)) == 0) { 145 "size = %jd\n", new , (uintmax_t)sb2.st_ino, 146 (uintmax_t)sb2.st_nlink, sb2.st_blocks); 148 if (bcmp(&sb2, &sb3, sizeof(sb2)) [all...] |
H A D | rename6.sh | 103 struct stat sb1, sb2; 131 if (stat(logfile, &sb1) == 0 && stat(new, &sb2) == 0 && 132 bcmp(&sb1, &sb2, sizeof(sb1)) == 0) { 138 "size = %jd\n", new , (uintmax_t)sb2.st_ino, 139 (uintmax_t)sb2.st_nlink, sb2.st_blocks);
|
H A D | rename7.sh | 88 struct stat sb1, sb2; 92 if (stat("r1", &sb1) == 0 && stat("r2", &sb2) == 0 && 93 bcmp(&sb1, &sb2, sizeof(sb1)) == 0) { 106 struct stat sb1, sb2; 111 if (stat("r1", &sb1) == 0 && stat("r2", &sb2) == 0 && 112 bcmp(&sb1, &sb2, sizeof(sb1)) == 0) {
|
H A D | rename8.sh | 117 struct stat sb, sb2; 149 if (stat(file2, &sb2) < 0) 155 if (sb.st_ino != sb2.st_ino || 159 (uintmax_t)sb2.st_ino);
|
/freebsd-current/usr.bin/cmp/ |
H A D | cmp.c | 98 struct stat sb1, sb2; local 228 if (fstat(fd2, &sb2)) { 234 if (!S_ISREG(sb2.st_mode)) 245 if (zflag && sb1.st_size != sb2.st_size) { 252 fd2, file2, skip2, sb2.st_size, limit);
|
/freebsd-current/tests/sys/kern/ |
H A D | kern_descrip_test.c | 58 struct stat sb1, sb2; local 64 ATF_REQUIRE(fstat(fd2, &sb2) != -1); 65 ATF_REQUIRE(bcmp(&sb1, &sb2, sizeof(sb1)) == 0);
|
H A D | unix_passfd_test.c | 151 samefile(struct stat *sb1, struct stat *sb2) argument 154 ATF_REQUIRE_MSG(sb1->st_dev == sb2->st_dev, "different device"); 155 ATF_REQUIRE_MSG(sb1->st_ino == sb2->st_ino, "different inode");
|
/freebsd-current/usr.bin/tail/ |
H A D | forward.c | 308 struct stat sb2; local 363 fstat(fileno(ftmp), &sb2) == -1) { 378 if (sb2.st_ino != file->st.st_ino || 379 sb2.st_dev != file->st.st_dev || 380 sb2.st_nlink == 0) { 384 memcpy(&file->st, &sb2,
|
/freebsd-current/bin/ln/ |
H A D | ln.c | 178 struct stat sb1, sb2; local 210 if (stat(pathbuf, &sb2) != 0) 212 return sb1.st_dev == sb2.st_dev && sb1.st_ino == sb2.st_ino;
|
/freebsd-current/contrib/netbsd-tests/fs/vfs/ |
H A D | t_vnops.c | 70 struct stat sb1, sb2; local 78 if (rump_sys_stat(pb, &sb2) == -1) 81 ATF_REQUIRE(memcmp(&sb1, &sb2, sizeof(sb1)) == 0); 88 struct stat sb1, sb2; local 100 if (rump_sys_stat(pb, &sb2) == -1) 117 if (timespeccmp(&sb2.st_atimespec, &sb1.st_atimespec, >) && 118 timespeccmp(&sb2.st_atimespec, &atplus1, <)) 119 sb2.st_atimespec = sb1.st_atimespec; 121 if (memcmp(&sb1, &sb2, sizeof(sb1)) != 0) { 126 (long long)sb1.FN, (long long)sb2 702 struct stat sb, sb2; local [all...] |
/freebsd-current/lib/msun/src/ |
H A D | s_erff.c | 74 sb2 = 3.04982710e+00, /* 0x4043305e */ variable 117 S=one+s*(sb1+s*(sb2+s*sb3)); 170 S=one+s*(sb1+s*(sb2+s*sb3));
|
H A D | s_erf.c | 185 sb2 = 3.25792512996573918826e+02, /* 0x40745CAE, 0x221B9F0A */ variable 233 S=one+s*(sb1+s*(sb2+s*(sb3+s*(sb4+s*(sb5+s*(sb6+s*sb7)))))); 292 S=one+s*(sb1+s*(sb2+s*(sb3+s*(sb4+s*(sb5+s*(sb6+s*sb7))))));
|
/freebsd-current/tests/sys/fs/fusefs/ |
H A D | read.cc | 353 struct stat sb1, sb2; local 371 ASSERT_EQ(0, fstat(fd, &sb2)); 374 EXPECT_TRUE(timespeccmp(&sb1.st_atim, &sb2.st_atim, <)); 375 EXPECT_TRUE(timespeccmp(&sb1.st_ctim, &sb2.st_ctim, ==)); 376 EXPECT_TRUE(timespeccmp(&sb1.st_mtim, &sb2.st_mtim, ==)); 387 struct stat sb1, sb2; local 407 ASSERT_EQ(0, fstat(fd, &sb2)); 410 EXPECT_TRUE(timespeccmp(&sb1.st_atim, &sb2.st_atim, <)); 411 EXPECT_TRUE(timespeccmp(&sb1.st_ctim, &sb2.st_ctim, ==)); 412 EXPECT_TRUE(timespeccmp(&sb1.st_mtim, &sb2 852 struct stat sb1, sb2; local 888 struct stat sb1, sb2; local [all...] |
/freebsd-current/sys/dev/led/ |
H A D | led.c | 91 struct sbuf *sb2 = NULL; local 93 sb2 = sc->spec; 110 *sb = sb2;
|
/freebsd-current/crypto/heimdal/lib/krb5/ |
H A D | fcache.c | 251 struct stat sb1, sb2; local 276 ret = fstat (fd, &sb2); 285 if (sb1.st_dev != sb2.st_dev || sb1.st_ino != sb2.st_ino) { 293 if (sb2.st_nlink != 0) {
|
/freebsd-current/lib/msun/ld80/ |
H A D | s_erfl.c | 180 #define sb2 (sb2u.e) macro 262 S=one+s*(sb1+s*(sb2+s*(sb3+s*(sb4+s*(sb5+s*(sb6+s*sb7)))))); 321 S=one+s*(sb1+s*(sb2+s*(sb3+s*(sb4+s*(sb5+s*(sb6+s*sb7))))));
|
/freebsd-current/lib/msun/ld128/ |
H A D | s_erfl.c | 151 sb2 = 5.02757713761390460534494530537572834e3L, /* 0x400b3a39, 0x3bf4a690, 0x3025d28d, 0xfd40a891 */ variable 242 S=one+s*(sb1+s*(sb2+s*(sb3+s*(sb4+s*(sb5+s*(sb6+s*(sb7+ 309 S=one+s*(sb1+s*(sb2+s*(sb3+s*(sb4+s*(sb5+s*(sb6+s*(sb7+
|
/freebsd-current/tests/sys/file/ |
H A D | path_test.c | 463 struct stat sb, sb2; local 475 ATF_REQUIRE_MSG(fstatat(AT_FDCWD, "test", &sb2, 0) == 0, 477 ATF_REQUIRE_MSG(sb.st_dev == sb2.st_dev, "st_dev mismatch"); 478 ATF_REQUIRE_MSG(sb.st_ino == sb2.st_ino, "st_ino mismatch");
|
/freebsd-current/contrib/mandoc/ |
H A D | mandocdb.c | 2205 struct stat sb1, sb2; local 2266 if (fstat(fd2, &sb2) == -1) { 2270 if (sb1.st_size != sb2.st_size) 2277 if ((cp2 = mmap(NULL, sb2.st_size, PROT_READ, MAP_PRIVATE, 2295 munmap(cp2, sb2.st_size);
|
/freebsd-current/crypto/openssl/crypto/aria/ |
H A D | aria.c | 791 static const unsigned char sb2[256] = { variable 996 o->c[i + 1] = sb2[x->c[i + 1] ^ y->c[i + 1]]; 1013 o[i + 3] = sb2[x->c[i + 3] ^ y->c[i + 3]];
|
/freebsd-current/contrib/bsnmp/tests/ |
H A D | catch.hpp | 7698 double sb2 = sb * sb; 7700 auto c_max = [n, mn, sb2, sg2](double x) -> double { 7705 double k1 = sb2 - n * sg2 + nd; 7710 auto var_out = [n, sb2, sg2](double c) { 7712 return (nc / n) * (sb2 - nc * sg2); 7715 return std::min(var_out(1), var_out(std::min(c_max(0.), c_max(mg_min)))) / sb2;
|