/freebsd-11-stable/contrib/libarchive/tar/test/ |
H A D | test_0.c | 40 struct stat st; 43 if (!assertEqualInt(0, stat(testprogfile, &st))) {
|
/freebsd-11-stable/bin/stty/ |
H A D | util.c | 39 #include <sys/stat.h> 58 struct stat sb1, sb2;
|
/freebsd-11-stable/contrib/pjdfstest/tests/chmod/ |
H A D | 08.t | 28 expect 0644 stat ${n0} mode 31 expect 0600 stat ${n0} mode 33 supported lchmod && expect 0400 stat ${n0} mode 39 expect 0600 stat ${n0} mode 41 supported lchmod && expect 0400 stat ${n0} mode 50 expect 0600 stat ${n0} mode 52 supported lchmod && expect 0500 stat ${n0} mode 55 expect 0400 stat ${n0} mode 63 expect 0644 stat ${n0} mode 66 expect 0600 stat [all...] |
H A D | 11.t | 27 expect 01621 stat ${n1} mode 30 expect 01700 stat ${n1} mode 54 expect 01755 stat ${n1} mode 57 expect 01700 stat ${n1} mode 68 expect 0640 stat ${n1} mode 70 expect 0640 stat ${n1} mode 74 expect 0644 stat ${n1} mode 76 expect 0640 stat ${n1} mode 80 expect 01644 stat ${n1} mode 82 expect 01640 stat [all...] |
/freebsd-11-stable/contrib/pjdfstest/tests/open/ |
H A D | 00.t | 58 time=`${fstest} stat . ctime` 61 atime=`${fstest} stat ${n0} atime` 63 mtime=`${fstest} stat ${n0} mtime` 65 ctime=`${fstest} stat ${n0} ctime` 67 mtime=`${fstest} stat . mtime` 69 ctime=`${fstest} stat . ctime` 75 dmtime=`${fstest} stat . mtime` 76 dctime=`${fstest} stat . ctime` 79 mtime=`${fstest} stat . mtime` 81 ctime=`${fstest} stat [all...] |
/freebsd-11-stable/contrib/libarchive/cpio/test/ |
H A D | test_option_a.c | 56 struct stat st; 86 assertEqualInt(0, stat(files[i].name, &st)); 96 struct stat st; 107 assertEqualInt(0, stat("f0", &st)); 124 assertEqualInt(0, stat(files[1].name, &st)); 132 assertEqualInt(0, stat(files[2].name, &st)); 148 assertEqualInt(0, stat(files[3].name, &st)); 157 assertEqualInt(0, stat(files[4].name, &st));
|
/freebsd-11-stable/contrib/libarchive/cat/test/ |
H A D | test_0.c | 39 struct stat st; 42 if (!assertEqualInt(0, stat(testprogfile, &st))) {
|
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | findconfig.c | 10 #include <sys/stat.h> 21 struct stat sbuf; 26 if (stat(result, &sbuf) == 0) { 32 if (stat(result, &sbuf) == 0) { 43 if (stat(result, &sbuf) == 0) { 49 if (stat(result, &sbuf) == 0) {
|
/freebsd-11-stable/contrib/pjdfstest/tests/mknod/ |
H A D | 02.t | 15 expect fifo,0644 stat ${nx} type,mode 20 expect block,0644 stat ${nx} type,mode 25 expect char,0644 stat ${nx} type,mode
|
H A D | 03.t | 17 expect fifo stat ${nx} type 22 expect block stat ${nx} type 27 expect char stat ${nx} type
|
/freebsd-11-stable/contrib/pjdfstest/tests/rmdir/ |
H A D | 00.t | 21 time=`${fstest} stat ${n0} ctime` 24 mtime=`${fstest} stat ${n0} mtime` 26 ctime=`${fstest} stat ${n0} ctime`
|
/freebsd-11-stable/share/examples/ses/srcs/ |
H A D | sesd.c | 61 encioc_enc_status_t stat, nstat, *carray; local 133 if (ioctl(fd, ENCIOC_GETENCSTAT, (caddr_t) &stat) < 0) { 139 if (stat != 0 && clear) { 149 if (stat == carray[dev]) 152 carray[dev] = stat; 153 if ((stat & ALLSTAT) == 0) { 157 if (stat & SES_ENCSTAT_INFO) { 161 if (stat & SES_ENCSTAT_NONCRITICAL) { 165 if (stat & SES_ENCSTAT_CRITICAL) { 169 if (stat [all...] |
/freebsd-11-stable/contrib/pjdfstest/tests/chown/ |
H A D | 08.t | 27 expect 0,0 stat ${n0} uid,gid 30 expect 65534,65534 stat ${n0} uid,gid 36 expect 65534,65534 stat ${n0} uid,gid 45 expect 65534,65534 stat ${n0} uid,gid 53 expect 0,0 stat ${n0} uid,gid 56 expect 65534,65534 stat ${n0} uid,gid 62 expect 0,0 stat ${n0} uid,gid 65 expect 65534,65534 stat ${n0} uid,gid 71 expect 65534,65534 stat ${n0} uid,gid 78 expect 0,0 stat [all...] |
/freebsd-11-stable/tools/regression/tmpfs/ |
H A D | t_times | 45 eval $(stat -s a | sed -e 's|st_|ost_|g') || die 53 eval $(stat -s a) || die 61 eval $(stat -s a) || die 68 eval $(stat -s b | sed -e 's|st_|ost_|g') || die 73 eval $(stat -s b) || die 80 eval $(stat -s c | sed -e 's|st_|ost_|g') || die 85 eval $(stat -s c) || die 93 eval $(stat -s e | sed -e 's|st_|dost_|g') || die 94 eval $(stat -s e/a | sed -e 's|st_|ost_|g') || die 97 eval $(stat [all...] |
H A D | t_setattr | 46 eval $(stat -s own | sed -e 's|st_|ost_|g') 48 eval $(stat -s own) 59 eval $(stat -s grp | sed -e 's|st_|ost_|g') 61 eval $(stat -s grp) 73 eval $(stat -s owngrp) 85 eval $(stat -s mode) 96 eval $(stat -s times)
|
/freebsd-11-stable/stand/i386/libfirewire/ |
H A D | fwohci.c | 88 uint32_t fun, stat; local 112 stat = OREAD(sc, FWOHCI_INTSTAT); 113 if ((stat & OHCI_INT_REG_FAIL) != 0 || 395 fwohci_intr_body(struct fwohci_softc *sc, uint32_t stat, int count) argument 400 if(stat & OREAD(sc, FWOHCI_INTMASK)) 405 stat & OHCI_INT_EN ? "DMA_EN ":"", 406 stat & OHCI_INT_PHY_REG ? "PHY_REG ":"", 407 stat & OHCI_INT_CYC_LONG ? "CYC_LONG ":"", 408 stat & OHCI_INT_ERR ? "INT_ERR ":"", 409 stat 453 uint32_t stat; local 469 uint32_t stat; local [all...] |
/freebsd-11-stable/sys/dev/sfxge/common/ |
H A D | ef10_mac.c | 574 __inout_ecount(EFX_MAC_NSTATS) efsys_stat_t *stat, 591 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); 594 EFSYS_STAT_SUBR_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); 597 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PAUSE_PKTS]), &value); 600 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_UNICST_PKTS]), &value); 603 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_MULTICST_PKTS]), &value); 606 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_BRDCST_PKTS]), &value); 609 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_OCTETS]), &value); 612 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_LE_64_PKTS]), &value); 614 EFSYS_STAT_INCR_QWORD(&(stat[EFX_MAC_TX_LE_64_PKT 571 ef10_mac_stats_update( __in efx_nic_t *enp, __in efsys_mem_t *esmp, __inout_ecount(EFX_MAC_NSTATS) efsys_stat_t *stat, __inout_opt uint32_t *generationp) argument [all...] |
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_symlinkat.c | 43 #include <sys/stat.h> 62 struct stat ost, nst; 73 ATF_REQUIRE(stat(FILE, &ost) == 0); 74 ATF_REQUIRE(stat(LINK, &nst) == 0); 87 struct stat ost, nst; 96 ATF_REQUIRE(stat(FILE, &ost) == 0); 97 ATF_REQUIRE(stat(LINK, &nst) == 0); 110 struct stat st; 119 ATF_REQUIRE(stat(LINK, &st) == -1);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/librumphijack/ |
H A D | t_vfs.sh | 127 # stat default format sans changetime and filename 131 atf_check -s exit:0 -o save:stat.out \ 132 stat -f "${statstr}" /rump/mnt/filename 135 atf_check -s exit:0 -o file:stat.out \ 136 stat -f "${statstr}" /rump/mnt/dir/same 145 atf_check -s exit:0 -o save:stat.out \ 146 stat -f "${statstr}" /rump/mnt/filename 149 atf_check -s exit:0 -o file:stat.out \ 150 stat -f "${statstr}" /rump/mnt/filename 151 atf_check -s exit:0 -o file:stat [all...] |
/freebsd-11-stable/contrib/sendmail/test/ |
H A D | t_exclopen.c | 42 #include <sys/stat.h> 69 struct stat st; 81 if (stat(Attackee, &st) >= 0) 91 if (stat(Attackee, &st) >= 0) 101 if (stat(Attackee, &st) < 0)
|
/freebsd-11-stable/contrib/pjdfstest/tests/chflags/ |
H A D | 12.t | 24 expect UF_IMMUTABLE stat ${n0}/${n1} flags 26 expect none stat ${n0}/${n1} flags 29 expect none stat ${n0}/${n1} flags 32 expect UF_IMMUTABLE stat ${n0}/${n1} flags 34 expect none stat ${n0}/${n1} flags 50 expect UF_NODUMP stat /${n0}/${n1} flags 52 expect none stat /${n0}/${n1} flags 55 expect none stat /${n0}/${n1} flags 58 expect UF_NODUMP stat /${n0}/${n1} flags 60 expect none stat / [all...] |
/freebsd-11-stable/contrib/pjdfstest/tests/ftruncate/ |
H A D | 08.t | 27 expect 0 stat ${n0} size 30 expect 123 stat ${n0} size 36 expect 123 stat ${n0} size 45 expect 0 stat ${n0} size 48 expect 123 stat ${n0} size 56 expect 0 stat ${n0} size 59 expect 123 stat ${n0} size 65 expect 123 stat ${n0} size 72 expect 0 stat ${n0} size 75 expect 123 stat [all...] |
/freebsd-11-stable/contrib/pjdfstest/tests/truncate/ |
H A D | 08.t | 27 expect 0 stat ${n0} size 30 expect 123 stat ${n0} size 36 expect 123 stat ${n0} size 45 expect 0 stat ${n0} size 48 expect 123 stat ${n0} size 56 expect 0 stat ${n0} size 59 expect 123 stat ${n0} size 65 expect 123 stat ${n0} size 72 expect 0 stat ${n0} size 75 expect 123 stat [all...] |
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | glob.h | 48 #include <sys/stat.h> 54 struct stat; 61 struct stat **gl_statv; /* Stat entries corresponding to gl_pathv */ 67 * versions of closedir(3), readdir(3), opendir(3), stat(2) 73 int (*gl_lstat)(const char *, struct stat *); 74 int (*gl_stat)(const char *, struct stat *); 97 #define GLOB_KEEPSTAT 0x4000 /* Retain stat data for paths in gl_statv. */
|
/freebsd-11-stable/tools/regression/priv/ |
H A D | priv_vfs_generation.c | 34 * Confirm that a generation number isn't returned by stat() when not running 41 #include <sys/stat.h> 58 struct stat sb; 70 if (stat(fpath, &sb) < 0) { 87 struct stat sb; 90 error = stat(fpath, &sb); 92 warn("priv_vfs_generation(asroot, injail) stat");
|