/dports/archivers/dpkg/dpkg-1.19.7/src/ |
H A D | statcmd.c | 143 struct file_stat *filestat; in statdb_node_new() local 145 filestat = nfmalloc(sizeof(*filestat)); in statdb_node_new() 150 filestat->uname = NULL; in statdb_node_new() 154 filestat->gname = NULL; in statdb_node_new() 157 return filestat; in statdb_node_new() 187 if (chown(filename, filestat->uid, filestat->gid) < 0) in statdb_node_apply() 204 if (!filestat) in statdb_node_print() 210 else if (filestat->uname) in statdb_node_print() 218 else if (filestat->gname) in statdb_node_print() 261 struct file_stat **filestat; in statoverride_add() local [all …]
|
/dports/security/secure_delete/secure_delete-3.1/ |
H A D | srm.c | 60 struct stat filestat; in smash_it() local 65 if (lstat(filename, &filestat)) in smash_it() 68 if (S_ISREG(filestat.st_mode) && filestat.st_nlink > 1) { in smash_it() 74 if (filestat.st_blksize > bufsize) { in smash_it() 75 if (filestat.st_blksize > 65532) { in smash_it() 84 if (S_ISDIR(filestat.st_mode)) { in smash_it() 110 if ( (filestat.st_dev != controlstat.st_dev) || (filestat.st_ino != controlstat.st_ino) ) { in smash_it() 152 if (S_ISREG(filestat.st_mode)) { in smash_it() 169 … if (sdel_overwrite(mode, fd, 0, bufsize, filestat.st_size > 0 ? filestat.st_size : 1, zero) == 0) in smash_it() 173 if (S_ISDIR(filestat.st_mode)) { in smash_it() [all …]
|
/dports/net/rdesktop/rdesktop-1.9.0/ |
H A D | disk.c | 165 ret = MIN(filestat->st_ctime, filestat->st_mtime); in get_create_time() 271 struct stat filestat; in open_weak_exclusive() local 357 struct stat filestat; in disk_create() local 421 if ((stat(path, &filestat) == 0) && (S_ISDIR(filestat.st_mode))) in disk_create() 657 struct stat filestat; in disk_query_information() local 749 struct stat filestat; in disk_set_information() local 823 mode = filestat.st_mode; in disk_set_information() 1015 struct stat filestat; in NotifyInfo() local 1050 p->total_time += (filestat.st_mtime + filestat.st_ctime); in NotifyInfo() 1218 struct stat filestat; in disk_query_directory() local [all …]
|
/dports/editors/chexedit/hexedit-0.9.7/src/ |
H A D | file.c | 526 struct stat filestat; in printPage() local 549 if (S_ISDIR (filestat.st_mode)) in printPage() 568 if (filestat.st_mode & 01000) in printPage() 570 if (filestat.st_mode & 0001) in printPage() 575 if (filestat.st_mode & 02000) in printPage() 577 if (filestat.st_mode & 0010) in printPage() 582 if (filestat.st_mode & 01000) in printPage() 584 if (filestat.st_mode & 0100) in printPage() 591 pw = getpwuid (filestat.st_uid); in printPage() 592 gw = getgrgid (filestat.st_gid); in printPage() [all …]
|
/dports/graphics/gegl/gegl-0.4.34/gegl/module/ |
H A D | gegldatafiles.c | 164 struct stat filestat; in gegl_datafiles_read_directories() local 192 err = g_stat (filename, &filestat); in gegl_datafiles_read_directories() 197 file_data.atime = filestat.st_atime; in gegl_datafiles_read_directories() 198 file_data.mtime = filestat.st_mtime; in gegl_datafiles_read_directories() 199 file_data.ctime = filestat.st_ctime; in gegl_datafiles_read_directories() 204 S_ISDIR (filestat.st_mode)) in gegl_datafiles_read_directories() 216 S_ISREG (filestat.st_mode)) in gegl_datafiles_read_directories() 222 S_ISLNK (filestat.st_mode)) in gegl_datafiles_read_directories() 228 (((filestat.st_mode & S_IXUSR) && in gegl_datafiles_read_directories() 229 !S_ISDIR (filestat.st_mode)) || in gegl_datafiles_read_directories() [all …]
|
/dports/sysutils/cfengine316/cfengine-3.16.0/examples/ |
H A D | filestat.cf | 57 "stat[$(f)][$(fields)]" string => filestat($(f), $(fields)); 66 #@ R: fileinfo: file filestat.cf.txt has size = 11 67 #@ R: fileinfo: file filestat.cf.txt has gid = 0 68 #@ R: fileinfo: file filestat.cf.txt has uid = 0 69 #@ R: fileinfo: file filestat.cf.txt has nlink = 1 70 #@ R: fileinfo: file filestat.cf.txt has mode = 33261 71 #@ R: fileinfo: file filestat.cf.txt has modeoct = 100755 72 #@ R: fileinfo: file filestat.cf.txt has permstr = -rwxr-xr-x 73 #@ R: fileinfo: file filestat.cf.txt has permoct = 755 74 #@ R: fileinfo: file filestat.cf.txt has type = regular file [all …]
|
/dports/sysutils/cfengine317/cfengine-3.17.0/examples/ |
H A D | filestat.cf | 57 "stat[$(f)][$(fields)]" string => filestat($(f), $(fields)); 66 #@ R: fileinfo: file filestat.cf.txt has size = 11 67 #@ R: fileinfo: file filestat.cf.txt has gid = 0 68 #@ R: fileinfo: file filestat.cf.txt has uid = 0 69 #@ R: fileinfo: file filestat.cf.txt has nlink = 1 70 #@ R: fileinfo: file filestat.cf.txt has mode = 33261 71 #@ R: fileinfo: file filestat.cf.txt has modeoct = 100755 72 #@ R: fileinfo: file filestat.cf.txt has permstr = -rwxr-xr-x 73 #@ R: fileinfo: file filestat.cf.txt has permoct = 755 74 #@ R: fileinfo: file filestat.cf.txt has type = regular file [all …]
|
/dports/sysutils/cfengine-devel/core-d08ae9eff/examples/ |
H A D | filestat.cf | 57 "stat[$(f)][$(fields)]" string => filestat($(f), $(fields)); 66 #@ R: fileinfo: file filestat.cf.txt has size = 11 67 #@ R: fileinfo: file filestat.cf.txt has gid = 0 68 #@ R: fileinfo: file filestat.cf.txt has uid = 0 69 #@ R: fileinfo: file filestat.cf.txt has nlink = 1 70 #@ R: fileinfo: file filestat.cf.txt has mode = 33261 71 #@ R: fileinfo: file filestat.cf.txt has modeoct = 100755 72 #@ R: fileinfo: file filestat.cf.txt has permstr = -rwxr-xr-x 73 #@ R: fileinfo: file filestat.cf.txt has permoct = 755 74 #@ R: fileinfo: file filestat.cf.txt has type = regular file [all …]
|
/dports/sysutils/cfengine/cfengine-3.19.0/examples/ |
H A D | filestat.cf | 57 "stat[$(f)][$(fields)]" string => filestat($(f), $(fields)); 66 #@ R: fileinfo: file filestat.cf.txt has size = 11 67 #@ R: fileinfo: file filestat.cf.txt has gid = 0 68 #@ R: fileinfo: file filestat.cf.txt has uid = 0 69 #@ R: fileinfo: file filestat.cf.txt has nlink = 1 70 #@ R: fileinfo: file filestat.cf.txt has mode = 33261 71 #@ R: fileinfo: file filestat.cf.txt has modeoct = 100755 72 #@ R: fileinfo: file filestat.cf.txt has permstr = -rwxr-xr-x 73 #@ R: fileinfo: file filestat.cf.txt has permoct = 755 74 #@ R: fileinfo: file filestat.cf.txt has type = regular file [all …]
|
/dports/sysutils/cfengine318/cfengine-3.18.1/examples/ |
H A D | filestat.cf | 57 "stat[$(f)][$(fields)]" string => filestat($(f), $(fields)); 66 #@ R: fileinfo: file filestat.cf.txt has size = 11 67 #@ R: fileinfo: file filestat.cf.txt has gid = 0 68 #@ R: fileinfo: file filestat.cf.txt has uid = 0 69 #@ R: fileinfo: file filestat.cf.txt has nlink = 1 70 #@ R: fileinfo: file filestat.cf.txt has mode = 33261 71 #@ R: fileinfo: file filestat.cf.txt has modeoct = 100755 72 #@ R: fileinfo: file filestat.cf.txt has permstr = -rwxr-xr-x 73 #@ R: fileinfo: file filestat.cf.txt has permoct = 755 74 #@ R: fileinfo: file filestat.cf.txt has type = regular file [all …]
|
/dports/sysutils/cfengine319/cfengine-3.19.0/examples/ |
H A D | filestat.cf | 57 "stat[$(f)][$(fields)]" string => filestat($(f), $(fields)); 66 #@ R: fileinfo: file filestat.cf.txt has size = 11 67 #@ R: fileinfo: file filestat.cf.txt has gid = 0 68 #@ R: fileinfo: file filestat.cf.txt has uid = 0 69 #@ R: fileinfo: file filestat.cf.txt has nlink = 1 70 #@ R: fileinfo: file filestat.cf.txt has mode = 33261 71 #@ R: fileinfo: file filestat.cf.txt has modeoct = 100755 72 #@ R: fileinfo: file filestat.cf.txt has permstr = -rwxr-xr-x 73 #@ R: fileinfo: file filestat.cf.txt has permoct = 755 74 #@ R: fileinfo: file filestat.cf.txt has type = regular file [all …]
|
/dports/sysutils/safecat/safecat-1.13/ |
H A D | stat_dir.c | 10 struct stat filestat; in stat_dir() local 12 if(stat(dirname,&filestat) != 0) { in stat_dir() 15 if( !S_ISDIR(filestat.st_mode) ) { in stat_dir() 18 if((filestat.st_mode & S_IWUSR) != S_IWUSR) { in stat_dir() 21 filestat.st_mode = 0; in stat_dir()
|
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/crates/wasi-common/src/old/snapshot_0/sys/unix/ |
H A D | host_impl.rs | 173 let filetype = yanix::file::FileType::from_stat_st_mode(filestat.st_mode); in filestat_from_nix() 174 let dev = stdev_from_nix(filestat.st_dev)?; in filestat_from_nix() 175 let ino = stino_from_nix(filestat.st_ino)?; in filestat_from_nix() 177 filestat.st_atime.try_into()?, in filestat_from_nix() 178 filestat.st_atime_nsec.try_into()?, in filestat_from_nix() 181 filestat.st_ctime.try_into()?, in filestat_from_nix() 182 filestat.st_ctime_nsec.try_into()?, in filestat_from_nix() 185 filestat.st_mtime.try_into()?, in filestat_from_nix() 186 filestat.st_mtime_nsec.try_into()?, in filestat_from_nix() 192 nlink: stnlink_from_nix(filestat.st_nlink)?, in filestat_from_nix() [all …]
|
/dports/games/zhlt/zhlt-3.4/common/ |
H A D | filelib.cpp | 41 struct stat filestat; in getfiletime() local 43 if (stat(filename, &filestat) == 0) in getfiletime() 44 filetime = std::max(filestat.st_mtime, filestat.st_ctime); in getfiletime() 57 struct stat filestat; in getfilesize() local 59 if (stat(filename, &filestat) == 0) in getfilesize() 60 size = filestat.st_size; in getfilesize()
|
/dports/lang/ferite/ferite-1.0.2/libs/aphex/src/ |
H A D | aphex_file.c | 63 struct stat filestat; in aphex_file_exists_path() local 68 if( stat( file, &filestat ) != -1 ) in aphex_file_exists_path() 81 struct stat filestat; in aphex_file_exists() local 87 if( stat( file, &filestat ) != -1 ) in aphex_file_exists() 133 struct stat filestat; in aphex_open_file() local 138 if( stat( actual_filename, &filestat ) == -1 ) /* tried the actual file name */ in aphex_open_file() 146 if( stat( actual_filename, &filestat ) != -1 ) /* same sirectory as main script */ in aphex_open_file() 157 file->size = filestat.st_size; in aphex_open_file()
|
/dports/news/trn/trn-3.6/ |
H A D | addng.c | 195 fstat(fileno(actfp),&filestat); /* find active file size */ in find_new_groups() 196 lastactsiz = filestat.st_size; /* just to save it in .rnlast */ in find_new_groups() 198 stat(ACTIVE_TIMES,&filestat); /* did active.times file grow? */ in find_new_groups() 199 if (filestat.st_size == lastnewsize) in find_new_groups() 201 lastnewsize = filestat.st_size; in find_new_groups() 246 fstat(fileno(actfp),&filestat); /* did active file grow? */ in find_new_groups() 248 if (filestat.st_size == lastactsiz) in find_new_groups() 250 lastactsiz = filestat.st_size; /* remember new size */ in find_new_groups() 296 if (stat(tst,&filestat) < 0) 299 return filestat.st_mtime;
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/lucet-wasi-wasmsbx/src/ |
H A D | memory.rs | 275 st_dev: dec_device(filestat.st_dev), in dec_filestat() 276 st_ino: dec_inode(filestat.st_ino), in dec_filestat() 279 st_size: dec_filesize(filestat.st_size), in dec_filestat() 280 st_atim: dec_timestamp(filestat.st_atim), in dec_filestat() 281 st_mtim: dec_timestamp(filestat.st_mtim), in dec_filestat() 282 st_ctim: dec_timestamp(filestat.st_ctim), in dec_filestat() 295 st_dev: enc_device(filestat.st_dev), in enc_filestat() 296 st_ino: enc_inode(filestat.st_ino), in enc_filestat() 299 st_size: enc_filesize(filestat.st_size), in enc_filestat() 300 st_atim: enc_timestamp(filestat.st_atim), in enc_filestat() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/lucet-wasi-wasmsbx/src/ |
H A D | memory.rs | 275 st_dev: dec_device(filestat.st_dev), in dec_filestat() 276 st_ino: dec_inode(filestat.st_ino), in dec_filestat() 279 st_size: dec_filesize(filestat.st_size), in dec_filestat() 280 st_atim: dec_timestamp(filestat.st_atim), in dec_filestat() 281 st_mtim: dec_timestamp(filestat.st_mtim), in dec_filestat() 282 st_ctim: dec_timestamp(filestat.st_ctim), in dec_filestat() 295 st_dev: enc_device(filestat.st_dev), in enc_filestat() 296 st_ino: enc_inode(filestat.st_ino), in enc_filestat() 299 st_size: enc_filesize(filestat.st_size), in enc_filestat() 300 st_atim: enc_timestamp(filestat.st_atim), in enc_filestat() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/lucet-wasi/src/ |
H A D | memory.rs | 275 st_dev: dec_device(filestat.st_dev), in dec_filestat() 276 st_ino: dec_inode(filestat.st_ino), in dec_filestat() 279 st_size: dec_filesize(filestat.st_size), in dec_filestat() 280 st_atim: dec_timestamp(filestat.st_atim), in dec_filestat() 281 st_mtim: dec_timestamp(filestat.st_mtim), in dec_filestat() 282 st_ctim: dec_timestamp(filestat.st_ctim), in dec_filestat() 295 st_dev: enc_device(filestat.st_dev), in enc_filestat() 296 st_ino: enc_inode(filestat.st_ino), in enc_filestat() 299 st_size: enc_filesize(filestat.st_size), in enc_filestat() 300 st_atim: enc_timestamp(filestat.st_atim), in enc_filestat() [all …]
|
/dports/devel/interactive_rebase_tool/git-interactive-rebase-tool-1.2.1/cargo-crates/libgit2-sys-0.7.11/libgit2/src/ |
H A D | diff_stats.c | 52 const diff_file_stats *filestat, in git_diff_file_stats__full_to_buf() argument 91 filestat->insertions + filestat->deletions) < 0) in git_diff_file_stats__full_to_buf() 94 if (filestat->insertions || filestat->deletions) { in git_diff_file_stats__full_to_buf() 99 if (git_buf_putcn(out, '+', filestat->insertions) < 0 || in git_diff_file_stats__full_to_buf() 100 git_buf_putcn(out, '-', filestat->deletions) < 0) in git_diff_file_stats__full_to_buf() 103 size_t total = filestat->insertions + filestat->deletions; in git_diff_file_stats__full_to_buf() 106 size_t plus = full * filestat->insertions / total; in git_diff_file_stats__full_to_buf()
|
/dports/devel/git-absorb/git-absorb-0.6.6/cargo-crates/libgit2-sys-0.12.13+1.0.1/libgit2/src/ |
H A D | diff_stats.c | 52 const diff_file_stats *filestat, in diff_file_stats_full_to_buf() argument 106 filestat->insertions + filestat->deletions) < 0) in diff_file_stats_full_to_buf() 109 if (filestat->insertions || filestat->deletions) { in diff_file_stats_full_to_buf() 114 if (git_buf_putcn(out, '+', filestat->insertions) < 0 || in diff_file_stats_full_to_buf() 115 git_buf_putcn(out, '-', filestat->deletions) < 0) in diff_file_stats_full_to_buf() 118 size_t total = filestat->insertions + filestat->deletions; in diff_file_stats_full_to_buf() 121 size_t plus = full * filestat->insertions / total; in diff_file_stats_full_to_buf()
|
/dports/devel/R-cran-git2r/git2r/src/libgit2/src/ |
H A D | diff_stats.c | 52 const diff_file_stats *filestat, in git_diff_file_stats__full_to_buf() argument 106 filestat->insertions + filestat->deletions) < 0) in git_diff_file_stats__full_to_buf() 109 if (filestat->insertions || filestat->deletions) { in git_diff_file_stats__full_to_buf() 114 if (git_buf_putcn(out, '+', filestat->insertions) < 0 || in git_diff_file_stats__full_to_buf() 115 git_buf_putcn(out, '-', filestat->deletions) < 0) in git_diff_file_stats__full_to_buf() 118 size_t total = filestat->insertions + filestat->deletions; in git_diff_file_stats__full_to_buf() 121 size_t plus = full * filestat->insertions / total; in git_diff_file_stats__full_to_buf()
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/libgit2-sys-0.12.7+1.0.0/libgit2/src/ |
H A D | diff_stats.c | 52 const diff_file_stats *filestat, in git_diff_file_stats__full_to_buf() argument 106 filestat->insertions + filestat->deletions) < 0) in git_diff_file_stats__full_to_buf() 109 if (filestat->insertions || filestat->deletions) { in git_diff_file_stats__full_to_buf() 114 if (git_buf_putcn(out, '+', filestat->insertions) < 0 || in git_diff_file_stats__full_to_buf() 115 git_buf_putcn(out, '-', filestat->deletions) < 0) in git_diff_file_stats__full_to_buf() 118 size_t total = filestat->insertions + filestat->deletions; in git_diff_file_stats__full_to_buf() 121 size_t plus = full * filestat->insertions / total; in git_diff_file_stats__full_to_buf()
|
/dports/devel/gbump/gbump-1.0.1/cargo-crates/libgit2-sys-0.9.1/libgit2/src/ |
H A D | diff_stats.c | 52 const diff_file_stats *filestat, in git_diff_file_stats__full_to_buf() argument 106 filestat->insertions + filestat->deletions) < 0) in git_diff_file_stats__full_to_buf() 109 if (filestat->insertions || filestat->deletions) { in git_diff_file_stats__full_to_buf() 114 if (git_buf_putcn(out, '+', filestat->insertions) < 0 || in git_diff_file_stats__full_to_buf() 115 git_buf_putcn(out, '-', filestat->deletions) < 0) in git_diff_file_stats__full_to_buf() 118 size_t total = filestat->insertions + filestat->deletions; in git_diff_file_stats__full_to_buf() 121 size_t plus = full * filestat->insertions / total; in git_diff_file_stats__full_to_buf()
|
/dports/devel/gitui/gitui-0.10.1/cargo-crates/libgit2-sys-0.12.12+1.0.1/libgit2/src/ |
H A D | diff_stats.c | 52 const diff_file_stats *filestat, in diff_file_stats_full_to_buf() argument 106 filestat->insertions + filestat->deletions) < 0) in diff_file_stats_full_to_buf() 109 if (filestat->insertions || filestat->deletions) { in diff_file_stats_full_to_buf() 114 if (git_buf_putcn(out, '+', filestat->insertions) < 0 || in diff_file_stats_full_to_buf() 115 git_buf_putcn(out, '-', filestat->deletions) < 0) in diff_file_stats_full_to_buf() 118 size_t total = filestat->insertions + filestat->deletions; in diff_file_stats_full_to_buf() 121 size_t plus = full * filestat->insertions / total; in diff_file_stats_full_to_buf()
|