/dports/misc/xtar/xtar-1.4/common/ |
H A D | stat.c | 45 struct stat statbuf; in stat_mtime() local 59 struct stat statbuf; in stat_atime() local 73 struct stat statbuf; in stat_ctime() local 87 struct stat statbuf; in stat_size() local 101 struct stat statbuf; in stat_mode() local 115 struct stat statbuf; in stat_uid() local 120 return(statbuf.st_uid); in stat_uid() 129 struct stat statbuf; in stat_gid() local 134 return(statbuf.st_gid); in stat_gid() 143 struct stat statbuf; in stat_isdir() local [all …]
|
/dports/net/samba412/samba-4.12.15/source3/smbd/ |
H A D | statvfs.c | 87 statbuf->BlockSize = sbuf.f_bsize; in bsd_statvfs() 88 statbuf->TotalBlocks = sbuf.f_blocks; in bsd_statvfs() 89 statbuf->BlocksAvail = sbuf.f_bfree; in bsd_statvfs() 90 statbuf->UserBlocksAvail = sbuf.f_bavail; in bsd_statvfs() 91 statbuf->TotalFileNodes = sbuf.f_files; in bsd_statvfs() 92 statbuf->FreeFileNodes = sbuf.f_ffree; in bsd_statvfs() 93 statbuf->FsIdentifier = in bsd_statvfs() 102 statbuf->FsCapabilities = in bsd_statvfs() 139 statbuf->FsCapabilities = in posix_statvfs() 170 return bsd_statvfs(path, statbuf); in sys_statvfs() [all …]
|
/dports/sysutils/busybox/busybox-1.26.2/coreutils/ |
H A D | stat.c | 321 if (S_ISLNK(statbuf->st_mode)) { 356 pw_ent = getpwuid(statbuf->st_uid); 362 gw_ent = getgrgid(statbuf->st_gid); 590 struct stat statbuf; in do_stat() local 616 if (S_ISBLK(statbuf.st_mode) || S_ISCHR(statbuf.st_mode)) { in do_stat() 641 if (S_ISBLK(statbuf.st_mode) || S_ISCHR(statbuf.st_mode)) { in do_stat() 709 gw_ent = getgrgid(statbuf.st_gid); in do_stat() 710 pw_ent = getpwuid(statbuf.st_uid); in do_stat() 712 if (S_ISLNK(statbuf.st_mode)) in do_stat() 726 file_type(&statbuf), in do_stat() [all …]
|
/dports/net-mgmt/collectd5/collectd-5.12.0/src/ |
H A D | df.c | 278 if (statbuf.f_bfree < statbuf.f_bavail) in df_read() 279 statbuf.f_bfree = statbuf.f_bavail; in df_read() 280 if (statbuf.f_blocks < statbuf.f_bfree) in df_read() 281 statbuf.f_blocks = statbuf.f_bfree; in df_read() 284 blk_reserved = (uint64_t)(statbuf.f_bfree - statbuf.f_bavail); in df_read() 285 blk_used = (uint64_t)(statbuf.f_blocks - statbuf.f_bfree); in df_read() 318 if (statbuf.f_ffree < statbuf.f_favail) in df_read() 319 statbuf.f_ffree = statbuf.f_favail; in df_read() 320 if (statbuf.f_files < statbuf.f_ffree) in df_read() 321 statbuf.f_files = statbuf.f_ffree; in df_read() [all …]
|
/dports/devel/gnulib/gnulib-20140202-stable/lib/ |
H A D | stat-size.h | 53 # define ST_BLKSIZE(statbuf) DEV_BSIZE argument 56 # define ST_NBLOCKS(statbuf) \ argument 57 ((statbuf).st_size / ST_NBLOCKSIZE + ((statbuf).st_size % ST_NBLOCKSIZE != 0)) 60 # define ST_NBLOCKS(statbuf) \ argument 61 (S_ISREG ((statbuf).st_mode) || S_ISDIR ((statbuf).st_mode) ? \ 62 st_blocks ((statbuf).st_size) : 0) 74 # define ST_BLKSIZE(statbuf) ((0 < (statbuf).st_blksize \ argument 87 # define ST_NBLOCKS(statbuf) \ argument 88 (S_ISREG ((statbuf).st_mode) || S_ISDIR ((statbuf).st_mode) \ 89 ? (statbuf).st_blocks * ST_BLKSIZE (statbuf) / ST_NBLOCKSIZE : 0) [all …]
|
/dports/sysutils/coreutils/coreutils-8.32/lib/ |
H A D | stat-size.h | 53 # define ST_BLKSIZE(statbuf) DEV_BSIZE argument 56 # define ST_NBLOCKS(statbuf) \ argument 57 ((statbuf).st_size / ST_NBLOCKSIZE + ((statbuf).st_size % ST_NBLOCKSIZE != 0)) 60 # define ST_NBLOCKS(statbuf) \ argument 61 (S_ISREG ((statbuf).st_mode) || S_ISDIR ((statbuf).st_mode) ? \ 62 st_blocks ((statbuf).st_size) : 0) 73 # define ST_BLKSIZE(statbuf) ((0 < (statbuf).st_blksize \ argument 82 # define ST_NBLOCKS(statbuf) \ argument 83 (S_ISREG ((statbuf).st_mode) || S_ISDIR ((statbuf).st_mode) \ 84 ? (statbuf).st_blocks * ST_BLKSIZE (statbuf) / ST_NBLOCKSIZE : 0) [all …]
|
/dports/misc/gnuls/coreutils-8.30/lib/ |
H A D | stat-size.h | 53 # define ST_BLKSIZE(statbuf) DEV_BSIZE argument 56 # define ST_NBLOCKS(statbuf) \ argument 57 ((statbuf).st_size / ST_NBLOCKSIZE + ((statbuf).st_size % ST_NBLOCKSIZE != 0)) 60 # define ST_NBLOCKS(statbuf) \ argument 61 (S_ISREG ((statbuf).st_mode) || S_ISDIR ((statbuf).st_mode) ? \ 62 st_blocks ((statbuf).st_size) : 0) 74 # define ST_BLKSIZE(statbuf) ((0 < (statbuf).st_blksize \ argument 87 # define ST_NBLOCKS(statbuf) \ argument 88 (S_ISREG ((statbuf).st_mode) || S_ISDIR ((statbuf).st_mode) \ 89 ? (statbuf).st_blocks * ST_BLKSIZE (statbuf) / ST_NBLOCKSIZE : 0) [all …]
|
/dports/x11-fm/worker/worker-4.10.0/src/ |
H A D | fileentry.cc | 88 memset( &statbuf, 0, sizeof( statbuf ) ); in FileEntry() 135 memcpy( &( tfe->statbuf ), &statbuf, sizeof( statbuf ) ); in duplicate() 165 memset( &statbuf, 0, sizeof( statbuf ) ); in readInfos() 306 return statbuf.size; in size() 416 return statbuf.dev; in dev() 646 memcpy( &statbuf, &( other.statbuf ), sizeof( statbuf ) ); in FileEntry() 685 memset( &statbuf, 0, sizeof( statbuf ) ); in FileEntry() 750 if ( ( statbuf.inode != fe.statbuf.inode ) || ( statbuf.dev != fe.statbuf.dev ) ) return false; in equals() 753 if ( statbuf.size != fe.statbuf.size ) return false; in equals() 763 if ( statbuf.lastmod != fe.statbuf.lastmod ) return false; in equals() [all …]
|
/dports/sysutils/cfengine/cfengine-3.19.0/libcfnet/ |
H A D | stat_cache.c | 113 assert(statbuf != NULL); in cf_remote_stat() 288 statbuf->st_uid = cfst.cf_uid; in cf_remote_stat() 289 statbuf->st_gid = cfst.cf_gid; in cf_remote_stat() 294 statbuf->st_ino = cfst.cf_ino; in cf_remote_stat() 295 statbuf->st_dev = cfst.cf_dev; in cf_remote_stat() 359 assert(statbuf != NULL); in StatParseResponse() 394 statbuf->cf_uid = (uid_t) d4; in StatParseResponse() 395 statbuf->cf_gid = (gid_t) d5; in StatParseResponse() 401 statbuf->cf_ino = d11; in StatParseResponse() 402 statbuf->cf_nlink = d12; in StatParseResponse() [all …]
|
/dports/sysutils/cfengine317/cfengine-3.17.0/libcfnet/ |
H A D | stat_cache.c | 113 assert(statbuf != NULL); in cf_remote_stat() 284 statbuf->st_uid = cfst.cf_uid; in cf_remote_stat() 285 statbuf->st_gid = cfst.cf_gid; in cf_remote_stat() 290 statbuf->st_ino = cfst.cf_ino; in cf_remote_stat() 291 statbuf->st_dev = cfst.cf_dev; in cf_remote_stat() 355 assert(statbuf != NULL); in StatParseResponse() 390 statbuf->cf_uid = (uid_t) d4; in StatParseResponse() 391 statbuf->cf_gid = (gid_t) d5; in StatParseResponse() 397 statbuf->cf_ino = d11; in StatParseResponse() 398 statbuf->cf_nlink = d12; in StatParseResponse() [all …]
|
/dports/sysutils/cfengine316/cfengine-3.16.0/libcfnet/ |
H A D | stat_cache.c | 113 assert(statbuf != NULL); in cf_remote_stat() 284 statbuf->st_uid = cfst.cf_uid; in cf_remote_stat() 285 statbuf->st_gid = cfst.cf_gid; in cf_remote_stat() 290 statbuf->st_ino = cfst.cf_ino; in cf_remote_stat() 291 statbuf->st_dev = cfst.cf_dev; in cf_remote_stat() 355 assert(statbuf != NULL); in StatParseResponse() 390 statbuf->cf_uid = (uid_t) d4; in StatParseResponse() 391 statbuf->cf_gid = (gid_t) d5; in StatParseResponse() 397 statbuf->cf_ino = d11; in StatParseResponse() 398 statbuf->cf_nlink = d12; in StatParseResponse() [all …]
|
/dports/sysutils/cfengine-devel/core-d08ae9eff/libcfnet/ |
H A D | stat_cache.c | 113 assert(statbuf != NULL); in cf_remote_stat() 288 statbuf->st_uid = cfst.cf_uid; in cf_remote_stat() 289 statbuf->st_gid = cfst.cf_gid; in cf_remote_stat() 294 statbuf->st_ino = cfst.cf_ino; in cf_remote_stat() 295 statbuf->st_dev = cfst.cf_dev; in cf_remote_stat() 359 assert(statbuf != NULL); in StatParseResponse() 394 statbuf->cf_uid = (uid_t) d4; in StatParseResponse() 395 statbuf->cf_gid = (gid_t) d5; in StatParseResponse() 401 statbuf->cf_ino = d11; in StatParseResponse() 402 statbuf->cf_nlink = d12; in StatParseResponse() [all …]
|
/dports/sysutils/cfengine319/cfengine-3.19.0/libcfnet/ |
H A D | stat_cache.c | 113 assert(statbuf != NULL); in cf_remote_stat() 288 statbuf->st_uid = cfst.cf_uid; in cf_remote_stat() 289 statbuf->st_gid = cfst.cf_gid; in cf_remote_stat() 294 statbuf->st_ino = cfst.cf_ino; in cf_remote_stat() 295 statbuf->st_dev = cfst.cf_dev; in cf_remote_stat() 359 assert(statbuf != NULL); in StatParseResponse() 394 statbuf->cf_uid = (uid_t) d4; in StatParseResponse() 395 statbuf->cf_gid = (gid_t) d5; in StatParseResponse() 401 statbuf->cf_ino = d11; in StatParseResponse() 402 statbuf->cf_nlink = d12; in StatParseResponse() [all …]
|
/dports/sysutils/cfengine318/cfengine-3.18.1/libcfnet/ |
H A D | stat_cache.c | 113 assert(statbuf != NULL); in cf_remote_stat() 288 statbuf->st_uid = cfst.cf_uid; in cf_remote_stat() 289 statbuf->st_gid = cfst.cf_gid; in cf_remote_stat() 294 statbuf->st_ino = cfst.cf_ino; in cf_remote_stat() 295 statbuf->st_dev = cfst.cf_dev; in cf_remote_stat() 359 assert(statbuf != NULL); in StatParseResponse() 394 statbuf->cf_uid = (uid_t) d4; in StatParseResponse() 395 statbuf->cf_gid = (gid_t) d5; in StatParseResponse() 401 statbuf->cf_ino = d11; in StatParseResponse() 402 statbuf->cf_nlink = d12; in StatParseResponse() [all …]
|
/dports/devel/gettext-tools/gettext-0.21/gettext-tools/gnulib-tests/ |
H A D | test-supersede-open.h | 26 struct stat statbuf; in test_open_supersede() local 30 ASSERT (stat (filename, &statbuf) < 0); in test_open_supersede() 39 ASSERT (stat (filename, &statbuf) < 0); in test_open_supersede() 44 ASSERT (stat (filename, &statbuf) == 0); in test_open_supersede() 54 ASSERT (stat (filename, &statbuf) == 0); in test_open_supersede() 55 dev_t orig_dev = statbuf.st_dev; in test_open_supersede() 56 ino_t orig_ino = statbuf.st_ino; in test_open_supersede() 64 ASSERT (stat (filename, &statbuf) == 0); in test_open_supersede() 81 ASSERT (stat (filename, &statbuf) == 0); in test_open_supersede() 123 dev_t orig_dev = statbuf.st_dev; in test_open_supersede() [all …]
|
H A D | test-supersede-fopen.h | 26 struct stat statbuf; in test_fopen_supersede() local 30 ASSERT (stat (filename, &statbuf) < 0); in test_fopen_supersede() 40 ASSERT (stat (filename, &statbuf) < 0); in test_fopen_supersede() 45 ASSERT (stat (filename, &statbuf) == 0); in test_fopen_supersede() 55 ASSERT (stat (filename, &statbuf) == 0); in test_fopen_supersede() 56 dev_t orig_dev = statbuf.st_dev; in test_fopen_supersede() 57 ino_t orig_ino = statbuf.st_ino; in test_fopen_supersede() 66 ASSERT (stat (filename, &statbuf) == 0); in test_fopen_supersede() 83 ASSERT (stat (filename, &statbuf) == 0); in test_fopen_supersede() 126 dev_t orig_dev = statbuf.st_dev; in test_fopen_supersede() [all …]
|
/dports/devel/gettext-po-mode/gettext-0.21/gettext-tools/gnulib-tests/ |
H A D | test-supersede-open.h | 26 struct stat statbuf; in test_open_supersede() local 30 ASSERT (stat (filename, &statbuf) < 0); in test_open_supersede() 39 ASSERT (stat (filename, &statbuf) < 0); in test_open_supersede() 44 ASSERT (stat (filename, &statbuf) == 0); in test_open_supersede() 54 ASSERT (stat (filename, &statbuf) == 0); in test_open_supersede() 55 dev_t orig_dev = statbuf.st_dev; in test_open_supersede() 56 ino_t orig_ino = statbuf.st_ino; in test_open_supersede() 64 ASSERT (stat (filename, &statbuf) == 0); in test_open_supersede() 81 ASSERT (stat (filename, &statbuf) == 0); in test_open_supersede() 123 dev_t orig_dev = statbuf.st_dev; in test_open_supersede() [all …]
|
H A D | test-supersede-fopen.h | 26 struct stat statbuf; in test_fopen_supersede() local 30 ASSERT (stat (filename, &statbuf) < 0); in test_fopen_supersede() 40 ASSERT (stat (filename, &statbuf) < 0); in test_fopen_supersede() 45 ASSERT (stat (filename, &statbuf) == 0); in test_fopen_supersede() 55 ASSERT (stat (filename, &statbuf) == 0); in test_fopen_supersede() 56 dev_t orig_dev = statbuf.st_dev; in test_fopen_supersede() 57 ino_t orig_ino = statbuf.st_ino; in test_fopen_supersede() 66 ASSERT (stat (filename, &statbuf) == 0); in test_fopen_supersede() 83 ASSERT (stat (filename, &statbuf) == 0); in test_fopen_supersede() 126 dev_t orig_dev = statbuf.st_dev; in test_fopen_supersede() [all …]
|
/dports/devel/gettext-runtime/gettext-0.21/gettext-tools/gnulib-tests/ |
H A D | test-supersede-open.h | 26 struct stat statbuf; in test_open_supersede() local 30 ASSERT (stat (filename, &statbuf) < 0); in test_open_supersede() 39 ASSERT (stat (filename, &statbuf) < 0); in test_open_supersede() 44 ASSERT (stat (filename, &statbuf) == 0); in test_open_supersede() 54 ASSERT (stat (filename, &statbuf) == 0); in test_open_supersede() 55 dev_t orig_dev = statbuf.st_dev; in test_open_supersede() 56 ino_t orig_ino = statbuf.st_ino; in test_open_supersede() 64 ASSERT (stat (filename, &statbuf) == 0); in test_open_supersede() 81 ASSERT (stat (filename, &statbuf) == 0); in test_open_supersede() 123 dev_t orig_dev = statbuf.st_dev; in test_open_supersede() [all …]
|
H A D | test-supersede-fopen.h | 26 struct stat statbuf; in test_fopen_supersede() local 30 ASSERT (stat (filename, &statbuf) < 0); in test_fopen_supersede() 40 ASSERT (stat (filename, &statbuf) < 0); in test_fopen_supersede() 45 ASSERT (stat (filename, &statbuf) == 0); in test_fopen_supersede() 55 ASSERT (stat (filename, &statbuf) == 0); in test_fopen_supersede() 56 dev_t orig_dev = statbuf.st_dev; in test_fopen_supersede() 57 ino_t orig_ino = statbuf.st_ino; in test_fopen_supersede() 66 ASSERT (stat (filename, &statbuf) == 0); in test_fopen_supersede() 83 ASSERT (stat (filename, &statbuf) == 0); in test_fopen_supersede() 126 dev_t orig_dev = statbuf.st_dev; in test_fopen_supersede() [all …]
|
/dports/devel/libtextstyle/gettext-0.21/gettext-tools/gnulib-tests/ |
H A D | test-supersede-open.h | 26 struct stat statbuf; in test_open_supersede() local 30 ASSERT (stat (filename, &statbuf) < 0); in test_open_supersede() 39 ASSERT (stat (filename, &statbuf) < 0); in test_open_supersede() 44 ASSERT (stat (filename, &statbuf) == 0); in test_open_supersede() 54 ASSERT (stat (filename, &statbuf) == 0); in test_open_supersede() 55 dev_t orig_dev = statbuf.st_dev; in test_open_supersede() 56 ino_t orig_ino = statbuf.st_ino; in test_open_supersede() 64 ASSERT (stat (filename, &statbuf) == 0); in test_open_supersede() 81 ASSERT (stat (filename, &statbuf) == 0); in test_open_supersede() 123 dev_t orig_dev = statbuf.st_dev; in test_open_supersede() [all …]
|
H A D | test-supersede-fopen.h | 26 struct stat statbuf; in test_fopen_supersede() local 30 ASSERT (stat (filename, &statbuf) < 0); in test_fopen_supersede() 40 ASSERT (stat (filename, &statbuf) < 0); in test_fopen_supersede() 45 ASSERT (stat (filename, &statbuf) == 0); in test_fopen_supersede() 55 ASSERT (stat (filename, &statbuf) == 0); in test_fopen_supersede() 56 dev_t orig_dev = statbuf.st_dev; in test_fopen_supersede() 57 ino_t orig_ino = statbuf.st_ino; in test_fopen_supersede() 66 ASSERT (stat (filename, &statbuf) == 0); in test_fopen_supersede() 83 ASSERT (stat (filename, &statbuf) == 0); in test_fopen_supersede() 126 dev_t orig_dev = statbuf.st_dev; in test_fopen_supersede() [all …]
|
/dports/sysutils/dcfldd/dcfldd-1.7.1/src/ |
H A D | system.h | 224 # define ST_NBLOCKS(statbuf) \ argument 225 (S_ISREG ((statbuf).st_mode) \ 227 ? (statbuf).st_size / ST_NBLOCKSIZE + ((statbuf).st_size % ST_NBLOCKSIZE != 0) : 0) 229 # define ST_NBLOCKS(statbuf) \ argument 230 (S_ISREG ((statbuf).st_mode) \ 236 # define ST_BLKSIZE(statbuf) ((statbuf).st_blksize > 0 \ argument 249 (S_ISREG ((statbuf).st_mode) \ 251 ? (statbuf).st_blocks * ST_BLKSIZE(statbuf)/ST_NBLOCKSIZE : 0) 258 # define ST_NBLOCKS(statbuf) \ argument 259 (S_ISREG ((statbuf).st_mode) \ [all …]
|
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/tests/ |
H A D | test-supersede-fopen.h | 26 struct stat statbuf; in test_fopen_supersede() local 30 ASSERT (stat (filename, &statbuf) < 0); in test_fopen_supersede() 40 ASSERT (stat (filename, &statbuf) < 0); in test_fopen_supersede() 45 ASSERT (stat (filename, &statbuf) == 0); in test_fopen_supersede() 55 ASSERT (stat (filename, &statbuf) == 0); in test_fopen_supersede() 56 dev_t orig_dev = statbuf.st_dev; in test_fopen_supersede() 57 ino_t orig_ino = statbuf.st_ino; in test_fopen_supersede() 66 ASSERT (stat (filename, &statbuf) == 0); in test_fopen_supersede() 96 dev_t new_dev = statbuf.st_dev; in test_fopen_supersede() 128 dev_t orig_dev = statbuf.st_dev; in test_fopen_supersede() [all …]
|
H A D | test-supersede-open.h | 26 struct stat statbuf; in test_open_supersede() local 30 ASSERT (stat (filename, &statbuf) < 0); in test_open_supersede() 39 ASSERT (stat (filename, &statbuf) < 0); in test_open_supersede() 44 ASSERT (stat (filename, &statbuf) == 0); in test_open_supersede() 54 ASSERT (stat (filename, &statbuf) == 0); in test_open_supersede() 55 dev_t orig_dev = statbuf.st_dev; in test_open_supersede() 56 ino_t orig_ino = statbuf.st_ino; in test_open_supersede() 64 ASSERT (stat (filename, &statbuf) == 0); in test_open_supersede() 94 dev_t new_dev = statbuf.st_dev; in test_open_supersede() 125 dev_t orig_dev = statbuf.st_dev; in test_open_supersede() [all …]
|