| /freebsd/lib/libc/tests/stdio/ |
| H A D | mkostemp_test.c | 52 struct stat st1, st2; in test_one() local 89 if (fstat(fd, &st2) == -1) { in test_one() 102 if (!S_ISREG(st2.st_mode) || (st2.st_mode & 0777) != 0600 || in test_one() 103 st2.st_nlink != 1 || st2.st_size != 0) { in test_one() 109 if (st1.st_dev != st2.st_dev || st1.st_ino != st2.st_ino) { in test_one() 116 if (fstat(fd, &st2) == -1) in test_one() 120 else if (st2.st_nlink != 0) in test_one()
|
| /freebsd/tests/sys/kern/pipe/ |
| H A D | pipe_ino_test.c | 45 struct stat st1, st2; in main() local 52 if (fstat(pipefd[1], &st2) == -1) in main() 54 if (st1.st_dev != st2.st_dev || st1.st_dev == 0 || st2.st_dev == 0) in main() 56 (uintmax_t)st1.st_dev, (uintmax_t)st2.st_dev); in main() 57 if (st1.st_ino == st2.st_ino) in main()
|
| /freebsd/crypto/openssl/crypto/aes/asm/ |
| H A D | aesni-xts-avx512.pl | 503 my $st2 = $_[1]; 513 vpternlogq \$0x96, $t0, $tw2, $st2 528 vaesenc $t0, $st2, $st2 533 vaesenc $t0, $st2, $st2 538 vaesenc $t0, $st2, $st2 554 vaesenc $t0, $st2, $st2 559 vaesenc $t0, $st2, $st2 564 vaesenc $t0, $st2, $st2 569 vaesenc $t0, $st2, $st2 574 vaesenc $t0, $st2, $st2 [all …]
|
| /freebsd/lib/libc/string/ |
| H A D | wcscoll.c | 76 const int32_t *st2 = NULL; in wcscoll_l() local 134 &pri2, pass, &st2); in wcscoll_l() 141 st2 = NULL; in wcscoll_l() 143 check2 = (st2 != NULL); in wcscoll_l() 164 while (*w1 || *w2 || st1 || st2) { in wcscoll_l() 182 while (*w2 || st2) { in wcscoll_l() 184 pass, &st2); in wcscoll_l() 194 st2 = NULL; in wcscoll_l()
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | tmpfs22.sh | 82 struct stat st1, st2; 105 if (fstat(fd, &st2) == -1) 108 if (st1.st_mtime == st2.st_mtime) { 110 (long)st1.st_mtime, (long)st2.st_mtime);
|
| /freebsd/crypto/openssl/test/testutil/ |
| H A D | tests.c | 276 int test_str_eq(const char *file, int line, const char *st1, const char *st2, in test_str_eq() argument 282 test_fail_string_message(NULL, file, line, "string", st1, st2, "==", in test_str_eq() 290 int test_str_ne(const char *file, int line, const char *st1, const char *st2, in test_str_ne() argument 296 test_fail_string_message(NULL, file, line, "string", st1, st2, "!=", in test_str_ne() 304 int test_strn_eq(const char *file, int line, const char *st1, const char *st2, in test_strn_eq() argument 310 test_fail_string_message(NULL, file, line, "string", st1, st2, "==", in test_strn_eq() 318 int test_strn_ne(const char *file, int line, const char *st1, const char *st2, in test_strn_ne() argument 324 test_fail_string_message(NULL, file, line, "string", st1, st2, "!=", in test_strn_ne() 332 int test_mem_eq(const char *file, int line, const char *st1, const char *st2, in test_mem_eq() argument 338 test_fail_memory_message(NULL, file, line, "memory", st1, st2, "==", in test_mem_eq() [all …]
|
| /freebsd/contrib/pam-krb5/tests/portable/ |
| H A D | mkstemp-t.c | 38 struct stat st1, st2; in main() local 67 ok(fstat(fd, &st2) == 0, "...and stat of open file descriptor works"); in main() 68 ok(st1.st_ino == st2.st_ino, "...and they're the same file"); in main()
|
| /freebsd/crypto/heimdal/lib/krb5/ |
| H A D | kuserok.c | 139 struct stat st2; in check_directory() local 142 if(fstat(fd, &st2) < 0) { in check_directory() 146 if(st.st_dev != st2.st_dev || st.st_ino != st2.st_ino) { in check_directory()
|
| /freebsd/contrib/netbsd-tests/lib/libc/c063/ |
| H A D | t_fstatat.c | 61 struct stat st1, st2; in ATF_TC_BODY() local 71 ATF_REQUIRE(stat(FILE, &st2) == 0); in ATF_TC_BODY() 72 ATF_REQUIRE(memcmp(&st1, &st2, sizeof(st1)) == 0); in ATF_TC_BODY()
|
| /freebsd/usr.bin/diff/ |
| H A D | diffreg_new.c | 152 struct stat st1, st2; in diffreg_new() local 183 f2 = openfile(file2, &str2, &st2); in diffreg_new() 232 ret = diff_atomize_file(&right, cfg, f2, (uint8_t *)str2, st2.st_size, in diffreg_new() 294 munmap(str2, st2.st_size); in diffreg_new()
|
| /freebsd/tests/sys/kern/ |
| H A D | copy_file_range.c | 61 struct stat st1, st2; in cmpfile() local 67 ATF_REQUIRE(fstat(fd2, &st2) == 0); in cmpfile() 68 if (st1.st_size != st2.st_size) in cmpfile()
|
| /freebsd/sys/dev/flash/ |
| H A D | w25n.c | 371 uint8_t st1, st2, st3; in w25n_attach() local 393 err = w25n_read_status_register(sc, STATUS_REG_2, &st2); in w25n_attach() 410 st1, st2, st3); in w25n_attach() 418 if ((st2 & STATUS_REG_2_ECC_EN) == 0) { in w25n_attach() 423 if ((st2 & STATUS_REG_2_BUF_EN) == 0) { in w25n_attach()
|
| /freebsd/contrib/llvm-project/libcxx/src/filesystem/ |
| H A D | file_descriptor.h | 279 inline bool stat_equivalent(const StatT& st1, const StatT& st2) { in stat_equivalent() argument 280 return (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino); in stat_equivalent()
|
| H A D | operations.cpp | 625 StatT st1 = {}, st2 = {}; in __equivalent() local 629 auto s2 = detail::posix_stat(p2.native(), st2, &ec2); in __equivalent() 633 return detail::stat_equivalent(st1, st2); in __equivalent()
|
| /freebsd/lib/libutil/ |
| H A D | pw_util.c | 284 struct stat st1, st2; in pw_edit() local 342 if (stat(tempname, &st2) == -1) in pw_edit() 344 return (st1.st_mtim.tv_sec != st2.st_mtim.tv_sec || in pw_edit() 345 st1.st_mtim.tv_nsec != st2.st_mtim.tv_nsec); in pw_edit()
|
| /freebsd/crypto/openssl/test/ocsp-tests/ |
| H A D | ISOP_ND3.ors | 9 kvrz4PwKZQMT6r1eRCLs6NaagOZT84QHhZ6TAA+QHjfK406KL8F9mFgbGKbW+st2
|
| /freebsd/crypto/krb5/src/kadmin/server/ |
| H A D | ovsec_kadmd.c | 121 int st1, st2; in write_pid_file() local 128 st2 = (fclose(file) == EOF) ? errno : 0; in write_pid_file() 129 return st1 ? st1 : st2; in write_pid_file()
|
| /freebsd/contrib/atf/atf-c/detail/ |
| H A D | fs_test.c | 378 atf_fs_stat_t st1, st2; in ATF_TC_BODY() local 388 RE(atf_fs_stat_init(&st2, &p2)); in ATF_TC_BODY() 391 atf_fs_stat_get_device(&st2)); in ATF_TC_BODY() 393 atf_fs_stat_get_inode(&st2)); in ATF_TC_BODY() 395 atf_fs_stat_fini(&st2); in ATF_TC_BODY()
|
| /freebsd/crypto/krb5/src/kdc/ |
| H A D | main.c | 838 int st1, st2; in write_pid_file() local 845 st2 = (fclose(file) == EOF) ? errno : 0; in write_pid_file() 846 return st1 ? st1 : st2; in write_pid_file()
|
| /freebsd/sys/contrib/libsodium/src/libsodium/crypto_onetimeauth/poly1305/sse2/ |
| H A D | poly1305_sse2.c | 109 uint64_t rt0, rt1, rt2, st2, c; in poly1305_init_ext() local 160 st2 = rt2 * (5 << 2); in poly1305_init_ext() 162 d[0] = ((uint128_t) rt0 * rt0) + ((uint128_t)(rt1 * 2) * st2); in poly1305_init_ext() 163 d[1] = ((uint128_t) rt2 * st2) + ((uint128_t)(rt0 * 2) * rt1); in poly1305_init_ext()
|
| /freebsd/crypto/krb5/src/lib/gssapi/mechglue/ |
| H A D | g_initialize.c | 446 struct stat st1, st2; in check_link_mtime() local 452 if (stat(filename, &st2) != 0) in check_link_mtime() 454 return (st1.st_mtime > st2.st_mtime) ? st1.st_mtime : st2.st_mtime; in check_link_mtime()
|
| /freebsd/crypto/krb5/src/kprop/ |
| H A D | kpropd.c | 184 int st1, st2; in write_pid_file() local 191 st2 = (fclose(fp) == EOF) ? errno : 0; in write_pid_file() 192 return st1 ? st1 : st2; in write_pid_file()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
| H A D | RegisterInfos_i386.h | 260 DEFINE_FP_MM(mm, 2, st2), DEFINE_FP_MM(mm, 3, st3),
|
| /freebsd/contrib/sqlite3/autosetup/teaish/ |
| H A D | core.tcl | 2471 array set st2 [file stat $dest] 2472 if {($st1(mtime) == $st2(mtime)) 2473 && ($st1(size) == $st2(size))} {
|
| /freebsd/contrib/libarchive/libarchive/test/ |
| H A D | main.c | 1227 struct stat st1, st2; in is_hardlink() 1237 r = lstat(path2, &st2); in is_hardlink() 1243 return (st1.st_ino == st2.st_ino && st1.st_dev == st2.st_dev); in is_hardlink()
|