/freebsd-10.3-release/lib/libc/stdio/ |
H A D | remove.c | 40 #include <sys/stat.h> 47 struct stat sb;
|
/freebsd-10.3-release/sys/dev/sfxge/common/ |
H A D | siena_mac.c | 236 __inout_ecount(EFX_MAC_NSTATS) efsys_stat_t *stat, 253 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); 255 EFSYS_STAT_SUBR_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); 258 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PAUSE_PKTS]), &value); 261 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_UNICST_PKTS]), &value); 264 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_MULTICST_PKTS]), &value); 267 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_BRDCST_PKTS]), &value); 270 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_OCTETS]), &value); 273 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_LE_64_PKTS]), &value); 275 EFSYS_STAT_INCR_QWORD(&(stat[EFX_MAC_TX_LE_64_PKT 233 siena_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-10.3-release/contrib/netbsd-tests/lib/libposix/ |
H A D | t_rename.c | 35 #include <sys/stat.h> 55 struct stat sb; 64 REQUIRE_LIBC(stat("t1", &sb), -1); 70 ATF_REQUIRE_MSG(stat("t1", &sb) != 0, "BSD rename should remove file t1"); 74 REQUIRE_LIBC(stat("t1", &sb), -1);
|
/freebsd-10.3-release/contrib/pjdfstest/tests/unlink/ |
H A D | 00.t | 52 ctime1=`${fstest} stat ${n0} ctime` 55 ctime2=`${fstest} stat ${n0} ctime` 61 ctime1=`${fstest} stat ${n0} ctime` 64 ctime2=`${fstest} stat ${n0} ctime` 70 ctime1=`${fstest} stat ${n0} ctime` 73 ctime2=`${fstest} stat ${n0} ctime` 79 ctime1=`${fstest} stat ${n0} ctime` 82 ctime2=`${fstest} stat ${n0} ctime` 88 ctime1=`${fstest} stat ${n0} ctime` 91 ctime2=`${fstest} stat [all...] |
/freebsd-10.3-release/tools/regression/pjdfstest/tests/unlink/ |
H A D | 00.t | 52 ctime1=`${fstest} stat ${n0} ctime` 55 ctime2=`${fstest} stat ${n0} ctime` 61 ctime1=`${fstest} stat ${n0} ctime` 64 ctime2=`${fstest} stat ${n0} ctime` 70 ctime1=`${fstest} stat ${n0} ctime` 73 ctime2=`${fstest} stat ${n0} ctime` 79 ctime1=`${fstest} stat ${n0} ctime` 82 ctime2=`${fstest} stat ${n0} ctime` 88 ctime1=`${fstest} stat ${n0} ctime` 91 ctime2=`${fstest} stat [all...] |
/freebsd-10.3-release/contrib/apr/threadproc/unix/ |
H A D | thread.c | 43 apr_status_t stat; local 47 stat = pthread_attr_init(&(*new)->attr); 49 if (stat == 0) { 55 stat = errno; 58 return stat; 70 apr_status_t stat; local 74 if ((stat = pthread_attr_setdetachstate(&attr->attr, &arg)) == 0) { 76 if ((stat = pthread_attr_setdetachstate(&attr->attr, 83 stat = errno; 86 return stat; 107 int stat; local 151 apr_status_t stat; local 214 apr_status_t stat; local 232 apr_status_t stat; local [all...] |
/freebsd-10.3-release/contrib/pjdfstest/tests/link/ |
H A D | 03.t | 19 expect 2 stat ${n0} nlink 20 expect 2 stat ${nx} nlink 23 expect 2 stat ${n0} nlink 24 expect 2 stat ${nx} nlink 27 expect 1 stat ${n0} nlink
|
H A D | 13.t | 29 expect 1 stat ${n0}/${n1} nlink 31 expect 2 stat ${n0}/${n1} nlink 33 expect 1 stat ${n0}/${n1} nlink 37 expect 1 stat ${n0}/${n1} nlink 40 expect 2 stat ${n0}/${n1} nlink 42 expect 1 stat ${n0}/${n1} nlink 46 expect 2 stat ${n0}/${n1} nlink 49 expect 1 stat ${n0}/${n1} nlink 53 expect 2 stat ${n0}/${n1} nlink 56 expect 1 stat [all...] |
/freebsd-10.3-release/contrib/pjdfstest/tests/symlink/ |
H A D | 00.t | 18 expect regular,0644 stat ${n1} type,mode 20 expect ENOENT stat ${n1} type,mode 24 time=`${fstest} stat ${n0} ctime` 27 mtime=`${fstest} stat ${n0} mtime` 29 ctime=`${fstest} stat ${n0} ctime`
|
/freebsd-10.3-release/share/examples/ses/srcs/ |
H A D | chpmon.c | 53 ses_encstat stat, *carray; local 79 stat = 0; 80 if (ioctl(fd, SESIOC_SETENCSTAT, (caddr_t) &stat) < 0) { 89 if (ioctl(fd, SESIOC_GETENCSTAT, (caddr_t) &stat) < 0) { 96 if ((stat & BADSTAT) == 0) { 107 if (stat & SES_ENCSTAT_UNRECOV) 110 if (stat & SES_ENCSTAT_CRITICAL) 113 if (stat & SES_ENCSTAT_NONCRITICAL) 116 stat = SES_ENCSTAT_CRITICAL; 117 if (ioctl(fd, SESIOC_SETENCSTAT, (caddr_t) &stat) < [all...] |
H A D | setencstat.c | 50 encioc_enc_status_t stat; local 63 stat = (encioc_enc_status_t)val; 64 if (ioctl(fd, ENCIOC_SETENCSTAT, (caddr_t) &stat) < 0) {
|
/freebsd-10.3-release/tools/regression/pjdfstest/tests/link/ |
H A D | 03.t | 19 expect 2 stat ${n0} nlink 20 expect 2 stat ${nx} nlink 23 expect 2 stat ${n0} nlink 24 expect 2 stat ${nx} nlink 27 expect 1 stat ${n0} nlink
|
H A D | 13.t | 29 expect 1 stat ${n0}/${n1} nlink 31 expect 2 stat ${n0}/${n1} nlink 33 expect 1 stat ${n0}/${n1} nlink 37 expect 1 stat ${n0}/${n1} nlink 40 expect 2 stat ${n0}/${n1} nlink 42 expect 1 stat ${n0}/${n1} nlink 46 expect 2 stat ${n0}/${n1} nlink 49 expect 1 stat ${n0}/${n1} nlink 53 expect 2 stat ${n0}/${n1} nlink 56 expect 1 stat [all...] |
/freebsd-10.3-release/tools/regression/pjdfstest/tests/symlink/ |
H A D | 00.t | 18 expect regular,0644 stat ${n1} type,mode 20 expect ENOENT stat ${n1} type,mode 24 time=`${fstest} stat ${n0} ctime` 27 mtime=`${fstest} stat ${n0} mtime` 29 ctime=`${fstest} stat ${n0} ctime`
|
/freebsd-10.3-release/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_stat.c | 34 #include <sys/stat.h> 54 static const char *path = "stat"; 59 atf_tc_set_md_var(tc, "descr", "Test chflags(2) with stat(2)"); 64 struct stat sa, sb; 67 (void)memset(&sa, 0, sizeof(struct stat)); 68 (void)memset(&sb, 0, sizeof(struct stat)); 73 ATF_REQUIRE(stat(path, &sa) == 0); 75 ATF_REQUIRE(stat(path, &sb) == 0); 78 atf_tc_fail("stat(2) did not detect chflags(2)"); 92 atf_tc_set_md_var(tc, "descr", "Test stat( [all...] |
/freebsd-10.3-release/contrib/openbsm/bin/auditdistd/ |
H A D | fstatat.h | 33 #include <sys/stat.h> 40 fstatat(int fd, const char *path, struct stat *buf, int flag) 58 ret = stat(path, buf);
|
/freebsd-10.3-release/contrib/pjdfstest/tests/chflags/ |
H A D | 00.t | 41 expect none stat ${n0} flags 43 expect ${allflags} stat ${n0} flags 45 expect ${userflags} stat ${n0} flags 47 expect ${systemflags} stat ${n0} flags 49 expect none stat ${n0} flags 57 expect none stat ${n0} flags 59 expect ${allflags} stat ${n0} flags 61 expect ${userflags} stat ${n0} flags 63 expect ${systemflags} stat ${n0} flags 65 expect none stat [all...] |
/freebsd-10.3-release/contrib/libarchive/tar/test/ |
H A D | test_option_newer_than.c | 30 struct stat st; 42 assertEqualInt(0, stat("old.txt", &st)); 45 assertEqualInt(0, stat("middle.txt", &st));
|
H A D | test_option_older_than.c | 31 struct stat st; 44 assertEqualInt(0, stat("old.txt", &st)); 47 assertEqualInt(0, stat("middle.txt", &st));
|
/freebsd-10.3-release/usr.bin/patch/ |
H A D | mkpath.c | 34 #include <sys/stat.h> 49 struct stat sb; 62 if (stat(path, &sb)) {
|
/freebsd-10.3-release/tools/regression/pjdfstest/tests/chflags/ |
H A D | 00.t | 41 expect none stat ${n0} flags 43 expect ${allflags} stat ${n0} flags 45 expect ${userflags} stat ${n0} flags 47 expect ${systemflags} stat ${n0} flags 49 expect none stat ${n0} flags 57 expect none stat ${n0} flags 59 expect ${allflags} stat ${n0} flags 61 expect ${userflags} stat ${n0} flags 63 expect ${systemflags} stat ${n0} flags 65 expect none stat [all...] |
/freebsd-10.3-release/contrib/pjdfstest/tests/chown/ |
H A D | 00.t | 36 expect 123,456 stat ${n1} uid,gid 37 expect 123,456 stat ${n0} uid,gid 74 expect 65534,65533 stat ${n0} uid,gid 75 expect 65534,65533 stat ${n1} uid,gid 78 expect 65534,65532 stat ${n0} uid,gid 79 expect 65534,65532 stat ${n1} uid,gid 82 expect 65534,65531 stat ${n0} uid,gid 83 expect 65534,65531 stat ${n1} uid,gid 116 expect 65534,65533 stat ${n0} uid,gid 121 expect 65534,65533 stat [all...] |
/freebsd-10.3-release/tools/regression/pjdfstest/tests/chown/ |
H A D | 00.t | 36 expect 123,456 stat ${n1} uid,gid 37 expect 123,456 stat ${n0} uid,gid 74 expect 65534,65533 stat ${n0} uid,gid 75 expect 65534,65533 stat ${n1} uid,gid 78 expect 65534,65532 stat ${n0} uid,gid 79 expect 65534,65532 stat ${n1} uid,gid 82 expect 65534,65531 stat ${n0} uid,gid 83 expect 65534,65531 stat ${n1} uid,gid 116 expect 65534,65533 stat ${n0} uid,gid 121 expect 65534,65533 stat [all...] |
/freebsd-10.3-release/contrib/pjdfstest/tests/ftruncate/ |
H A D | 12.t | 17 expect 0 stat ${n0} size 20 expect 999999999999999 stat ${n0} size
|
/freebsd-10.3-release/contrib/pjdfstest/tests/truncate/ |
H A D | 12.t | 17 expect 0 stat ${n0} size 20 expect 999999999999999 stat ${n0} size
|