/dports/databases/postgresql12-docs/postgresql-12.9/src/backend/access/transam/ |
H A D | xlogarchive.c | 62 struct stat stat_buf; in RestoreArchivedFile() local 106 if (stat(xlogpath, &stat_buf) != 0) in RestoreArchivedFile() 227 if (stat(xlogpath, &stat_buf) == 0) in RestoreArchivedFile() 252 (unsigned long) stat_buf.st_size, in RestoreArchivedFile() 565 struct stat stat_buf; in XLogArchiveForceDone() local 570 if (stat(archiveDone, &stat_buf) == 0) in XLogArchiveForceDone() 575 if (stat(archiveReady, &stat_buf) == 0) in XLogArchiveForceDone() 619 struct stat stat_buf; in XLogArchiveCheckDone() local 673 struct stat stat_buf; in XLogArchiveIsBusy() local 718 struct stat stat_buf; in XLogArchiveIsReadyOrDone() local [all …]
|
/dports/databases/postgresql96-docs/postgresql-9.6.24/src/backend/access/transam/ |
H A D | xlogarchive.c | 64 struct stat stat_buf; in RestoreArchivedFile() local 101 if (stat(xlogpath, &stat_buf) != 0) in RestoreArchivedFile() 221 if (stat(xlogpath, &stat_buf) == 0) in RestoreArchivedFile() 246 (unsigned long) stat_buf.st_size, in RestoreArchivedFile() 567 struct stat stat_buf; in XLogArchiveForceDone() local 572 if (stat(archiveDone, &stat_buf) == 0) in XLogArchiveForceDone() 577 if (stat(archiveReady, &stat_buf) == 0) in XLogArchiveForceDone() 621 struct stat stat_buf; in XLogArchiveCheckDone() local 675 struct stat stat_buf; in XLogArchiveIsBusy() local 720 struct stat stat_buf; in XLogArchiveIsReadyOrDone() local [all …]
|
/dports/games/searchandrescue/searchandrescue_1.4.0/sar/ |
H A D | sarmemory.c | 29 sar_memory_stat_struct *stat_buf 104 sar_memory_stat_struct *stat_buf in SARMemoryStat() argument 107 if((core_ptr == NULL) || (stat_buf == NULL)) in SARMemoryStat() 129 stat_buf->vmodel += STRLEN(vmodel->name); in SARMemoryStat() 131 stat_buf->vmodel += vmodel->mem_size; in SARMemoryStat() 141 stat_buf->texture += SARMemoryStatTexture( in SARMemoryStat() 193 stat_buf->scene += m; in SARMemoryStat() 258 stat_buf->object += m; in SARMemoryStat() 260 stat_buf->nobjects += total_objects; in SARMemoryStat() 265 stat_buf->total += stat_buf->texture + stat_buf->vmodel + in SARMemoryStat() [all …]
|
H A D | sarinstall.c | 41 struct stat stat_buf; in SARIsInstalledLocal() local 55 if(stat(dn->local_data, &stat_buf)) in SARIsInstalledLocal() 60 if(!S_ISDIR(stat_buf.st_mode)) in SARIsInstalledLocal() 65 if(stat(fn->options, &stat_buf)) in SARIsInstalledLocal() 70 if(!S_ISREG(stat_buf.st_mode)) in SARIsInstalledLocal() 88 struct stat stat_buf; in SARIsInstalledGlobal() local 100 if(stat(dn->global_data, &stat_buf)) in SARIsInstalledGlobal() 105 if(!S_ISDIR(stat_buf.st_mode)) in SARIsInstalledGlobal() 124 struct stat stat_buf; in SARDoInstallLocal() local 131 if(stat(dn->local_data, &stat_buf)) in SARDoInstallLocal()
|
/dports/devel/tla/tla-1.3.5/src/tla/libfsutils/ |
H A D | copy-file.c | 62 struct stat stat_buf; in copy_file_or_symlink() local 64 safe_lstat (from, &stat_buf); in copy_file_or_symlink() 65 if (S_ISLNK (stat_buf.st_mode)) in copy_file_or_symlink() 113 struct stat stat_buf; in copy_file_list() local 121 safe_lstat (src_path, &stat_buf); in copy_file_list() 125 src_mode = stat_buf.st_mode & 07777; in copy_file_list() 129 src_mode = stat_buf.st_mode & 0777; in copy_file_list() 132 if (S_ISLNK (stat_buf.st_mode)) in copy_file_list() 136 else if (S_ISDIR (stat_buf.st_mode)) in copy_file_list() 141 safe_chown (dest_path, stat_buf.st_uid, stat_buf.st_gid); in copy_file_list() [all …]
|
/dports/misc/gnuls/coreutils-8.30/src/ |
H A D | test.c | 280 struct stat stat_buf, stat_spare; in binary_operator() local 397 struct stat stat_buf; in unary_operator() local 453 && S_ISREG (stat_buf.st_mode)); in unary_operator() 458 && S_ISDIR (stat_buf.st_mode)); in unary_operator() 463 && 0 < stat_buf.st_size); in unary_operator() 468 && S_ISSOCK (stat_buf.st_mode)); in unary_operator() 473 && S_ISCHR (stat_buf.st_mode)); in unary_operator() 478 && S_ISBLK (stat_buf.st_mode)); in unary_operator() 483 && S_ISFIFO (stat_buf.st_mode)); in unary_operator() 491 && S_ISLNK (stat_buf.st_mode)); in unary_operator() [all …]
|
/dports/mail/courier/courier-0.65.3/courier/libs/ |
H A D | readfile.c | 17 char *readfile(const char *filename, struct stat *stat_buf) in readfile() argument 23 if (!stat_buf) stat_buf= &my_buf; in readfile() 26 if (fstat(fileno(fp), stat_buf) || in readfile() 27 fread((p=(char *)courier_malloc(stat_buf->st_size+1)), in readfile() 28 1, stat_buf->st_size, fp) != stat_buf->st_size) in readfile() 34 p[stat_buf->st_size]=0; in readfile()
|
/dports/shells/bash/bash-5.1/ |
H A D | test.c | 517 struct stat stat_buf; local 557 return (S_ISREG (stat_buf.st_mode) || (stat_buf.st_mode & S_IFMT) == 0); 563 return (sh_stat (arg, &stat_buf) == 0 && (S_ISDIR (stat_buf.st_mode))); 566 return (sh_stat (arg, &stat_buf) == 0 && stat_buf.st_size > (off_t) 0); 572 return (sh_stat (arg, &stat_buf) == 0 && S_ISSOCK (stat_buf.st_mode)); 576 return (sh_stat (arg, &stat_buf) == 0 && S_ISCHR (stat_buf.st_mode)); 579 return (sh_stat (arg, &stat_buf) == 0 && S_ISBLK (stat_buf.st_mode)); 585 return (sh_stat (arg, &stat_buf) == 0 && S_ISFIFO (stat_buf.st_mode)); 594 (lstat (arg, &stat_buf) == 0) && S_ISLNK (stat_buf.st_mode)); 598 return (sh_stat (arg, &stat_buf) == 0 && (stat_buf.st_mode & S_ISUID) != 0); [all …]
|
/dports/devel/glib20/glib-2.70.4/gio/ |
H A D | glocalfileinfo.h | 85 GLocalFileStat *stat_buf) in g_local_file_statx() argument 108 GLocalFileStat *stat_buf) in g_local_file_fstat() argument 128 GLocalFileStat *stat_buf) in g_local_file_lstat() argument 139 GLocalFileStat *stat_buf) in g_local_file_stat() argument 209 GLocalFileStat *stat_buf) in g_local_file_fstat() argument 221 return fstat (fd, stat_buf); in g_local_file_fstat() 241 return fstatat (fd, path, stat_buf, flags); in g_local_file_fstatat() 253 GLocalFileStat *stat_buf) in g_local_file_lstat() argument 265 return g_lstat (path, stat_buf); in g_local_file_lstat() 273 GLocalFileStat *stat_buf) in g_local_file_stat() argument [all …]
|
/dports/x11-wm/fvwm2/fvwm-2.6.9/modules/FvwmCommandS/ |
H A D | fifos.c | 39 struct stat stat_buf; in fifos_get_default_name() local 82 (stat("/var/tmp", &stat_buf) == 0) && in fifos_get_default_name() 83 (stat_buf.st_mode & S_IFDIR)) in fifos_get_default_name() 119 rc = fvwm_lstat(f_stem, &stat_buf); in fifos_get_default_name() 123 rc = stat(f_stem, &stat_buf); in fifos_get_default_name() 129 stat_buf.st_uid != owner || in fifos_get_default_name() 130 stat_buf.st_nlink > 1 || in fifos_get_default_name() 131 S_ISDIR(stat_buf.st_mode) || in fifos_get_default_name() 132 FVWM_S_ISLNK(stat_buf.st_mode) || in fifos_get_default_name() 133 (stat_buf.st_mode & FVWM_S_IFLNK) != 0) in fifos_get_default_name()
|
/dports/x11-wm/fvwm2/fvwm-2.6.9/modules/FvwmCommand/ |
H A D | fifos.c | 39 struct stat stat_buf; in fifos_get_default_name() local 82 (stat("/var/tmp", &stat_buf) == 0) && in fifos_get_default_name() 83 (stat_buf.st_mode & S_IFDIR)) in fifos_get_default_name() 119 rc = fvwm_lstat(f_stem, &stat_buf); in fifos_get_default_name() 123 rc = stat(f_stem, &stat_buf); in fifos_get_default_name() 129 stat_buf.st_uid != owner || in fifos_get_default_name() 130 stat_buf.st_nlink > 1 || in fifos_get_default_name() 131 S_ISDIR(stat_buf.st_mode) || in fifos_get_default_name() 132 FVWM_S_ISLNK(stat_buf.st_mode) || in fifos_get_default_name() 133 (stat_buf.st_mode & FVWM_S_IFLNK) != 0) in fifos_get_default_name()
|
/dports/misc/posixtestsuite/posixtestsuite/conformance/interfaces/shm_open/ |
H A D | 26-2.c | 41 struct stat stat_buf; in main() local 61 if(fstat(fd, &stat_buf) != 0) { in main() 66 old_uid = stat_buf.st_uid; in main() 67 old_gid = stat_buf.st_gid; in main() 103 if(fstat(fd, &stat_buf) != 0) { in main() 113 if(stat_buf.st_uid == old_uid && stat_buf.st_gid == old_gid) { in main() 118 if(stat_buf.st_uid != old_uid) in main() 120 if(stat_buf.st_gid != old_gid) in main()
|
/dports/mail/courier/courier-0.65.3/courier/ |
H A D | cmlmcleanup.C | 36 struct stat stat_buf; in purge_tmp() local 47 if (stat(n.c_str(), &stat_buf) == 0 && in purge_tmp() 66 struct stat stat_buf; in purge_commands() local 113 if (stat(n.c_str(), &stat_buf) == 0 && in purge_commands() 151 struct stat stat_buf; in cmdhourly() local 237 struct stat stat_buf; in expirecommands() local 264 struct stat stat_buf; in purgebounces() local 283 struct stat stat_buf; in purgearchive() local 493 struct stat stat_buf; in chkbouncedir() local 512 oldestbounce=stat_buf.st_mtime; in chkbouncedir() [all …]
|
/dports/security/py-angr/angr-9.0.5405/angr/procedures/linux_kernel/ |
H A D | fstat64.py | 13 self._store_i386(stat_buf, stat) 15 self._store_amd64(stat_buf, stat) 17 self._store_ppc32(stat_buf, stat) 19 self._store_mips32(stat_buf, stat) 21 self._store_arm(stat_buf, stat) 26 def _store_arm(self, stat_buf, stat): argument 46 def _store_i386(self, stat_buf, stat): argument 67 def _store_amd64(self, stat_buf, stat): argument 91 def _store_ppc32(self, stat_buf, stat): argument 115 def _store_mips32(self, stat_buf, stat): argument [all …]
|
/dports/lang/clover/mesa-21.3.6/src/drm-shim/ |
H A D | drm_shim.c | 405 return real_stat(path, stat_buf); in stat() 421 return real_stat(path, stat_buf); in stat() 423 memset(stat_buf, 0, sizeof(*stat_buf)); in stat() 425 stat_buf->st_mode = S_IFCHR; in stat() 456 memset(stat_buf, 0, sizeof(*stat_buf)); in stat64() 458 stat_buf->st_mode = S_IFCHR; in stat64() 470 return real_fstat(fd, stat_buf); in fstat() 472 memset(stat_buf, 0, sizeof(*stat_buf)); in fstat() 474 stat_buf->st_mode = S_IFCHR; in fstat() 488 memset(stat_buf, 0, sizeof(*stat_buf)); in fstat64() [all …]
|
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/drm-shim/ |
H A D | drm_shim.c | 405 return real_stat(path, stat_buf); in stat() 421 return real_stat(path, stat_buf); in stat() 423 memset(stat_buf, 0, sizeof(*stat_buf)); in stat() 425 stat_buf->st_mode = S_IFCHR; in stat() 456 memset(stat_buf, 0, sizeof(*stat_buf)); in stat64() 458 stat_buf->st_mode = S_IFCHR; in stat64() 470 return real_fstat(fd, stat_buf); in fstat() 472 memset(stat_buf, 0, sizeof(*stat_buf)); in fstat() 474 stat_buf->st_mode = S_IFCHR; in fstat() 488 memset(stat_buf, 0, sizeof(*stat_buf)); in fstat64() [all …]
|
/dports/graphics/mesa-libs/mesa-21.3.6/src/drm-shim/ |
H A D | drm_shim.c | 405 return real_stat(path, stat_buf); in stat() 421 return real_stat(path, stat_buf); in stat() 423 memset(stat_buf, 0, sizeof(*stat_buf)); in stat() 425 stat_buf->st_mode = S_IFCHR; in stat() 456 memset(stat_buf, 0, sizeof(*stat_buf)); in stat64() 458 stat_buf->st_mode = S_IFCHR; in stat64() 470 return real_fstat(fd, stat_buf); in fstat() 472 memset(stat_buf, 0, sizeof(*stat_buf)); in fstat() 474 stat_buf->st_mode = S_IFCHR; in fstat() 488 memset(stat_buf, 0, sizeof(*stat_buf)); in fstat64() [all …]
|
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/drm-shim/ |
H A D | drm_shim.c | 405 return real_stat(path, stat_buf); in stat() 421 return real_stat(path, stat_buf); in stat() 423 memset(stat_buf, 0, sizeof(*stat_buf)); in stat() 425 stat_buf->st_mode = S_IFCHR; in stat() 456 memset(stat_buf, 0, sizeof(*stat_buf)); in stat64() 458 stat_buf->st_mode = S_IFCHR; in stat64() 470 return real_fstat(fd, stat_buf); in fstat() 472 memset(stat_buf, 0, sizeof(*stat_buf)); in fstat() 474 stat_buf->st_mode = S_IFCHR; in fstat() 488 memset(stat_buf, 0, sizeof(*stat_buf)); in fstat64() [all …]
|
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/drm-shim/ |
H A D | drm_shim.c | 405 return real_stat(path, stat_buf); in stat() 421 return real_stat(path, stat_buf); in stat() 423 memset(stat_buf, 0, sizeof(*stat_buf)); in stat() 425 stat_buf->st_mode = S_IFCHR; in stat() 456 memset(stat_buf, 0, sizeof(*stat_buf)); in stat64() 458 stat_buf->st_mode = S_IFCHR; in stat64() 470 return real_fstat(fd, stat_buf); in fstat() 472 memset(stat_buf, 0, sizeof(*stat_buf)); in fstat() 474 stat_buf->st_mode = S_IFCHR; in fstat() 488 memset(stat_buf, 0, sizeof(*stat_buf)); in fstat64() [all …]
|
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/drm-shim/ |
H A D | drm_shim.c | 405 return real_stat(path, stat_buf); in stat() 421 return real_stat(path, stat_buf); in stat() 423 memset(stat_buf, 0, sizeof(*stat_buf)); in stat() 425 stat_buf->st_mode = S_IFCHR; in stat() 456 memset(stat_buf, 0, sizeof(*stat_buf)); in stat64() 458 stat_buf->st_mode = S_IFCHR; in stat64() 470 return real_fstat(fd, stat_buf); in fstat() 472 memset(stat_buf, 0, sizeof(*stat_buf)); in fstat() 474 stat_buf->st_mode = S_IFCHR; in fstat() 488 memset(stat_buf, 0, sizeof(*stat_buf)); in fstat64() [all …]
|
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/drm-shim/ |
H A D | drm_shim.c | 405 return real_stat(path, stat_buf); in stat() 421 return real_stat(path, stat_buf); in stat() 423 memset(stat_buf, 0, sizeof(*stat_buf)); in stat() 425 stat_buf->st_mode = S_IFCHR; in stat() 456 memset(stat_buf, 0, sizeof(*stat_buf)); in stat64() 458 stat_buf->st_mode = S_IFCHR; in stat64() 470 return real_fstat(fd, stat_buf); in fstat() 472 memset(stat_buf, 0, sizeof(*stat_buf)); in fstat() 474 stat_buf->st_mode = S_IFCHR; in fstat() 488 memset(stat_buf, 0, sizeof(*stat_buf)); in fstat64() [all …]
|
/dports/graphics/libosmesa/mesa-21.3.6/src/drm-shim/ |
H A D | drm_shim.c | 405 return real_stat(path, stat_buf); in stat() 421 return real_stat(path, stat_buf); in stat() 423 memset(stat_buf, 0, sizeof(*stat_buf)); in stat() 425 stat_buf->st_mode = S_IFCHR; in stat() 456 memset(stat_buf, 0, sizeof(*stat_buf)); in stat64() 458 stat_buf->st_mode = S_IFCHR; in stat64() 470 return real_fstat(fd, stat_buf); in fstat() 472 memset(stat_buf, 0, sizeof(*stat_buf)); in fstat() 474 stat_buf->st_mode = S_IFCHR; in fstat() 488 memset(stat_buf, 0, sizeof(*stat_buf)); in fstat64() [all …]
|
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/drm-shim/ |
H A D | drm_shim.c | 405 return real_stat(path, stat_buf); in stat() 421 return real_stat(path, stat_buf); in stat() 423 memset(stat_buf, 0, sizeof(*stat_buf)); in stat() 425 stat_buf->st_mode = S_IFCHR; in stat() 456 memset(stat_buf, 0, sizeof(*stat_buf)); in stat64() 458 stat_buf->st_mode = S_IFCHR; in stat64() 470 return real_fstat(fd, stat_buf); in fstat() 472 memset(stat_buf, 0, sizeof(*stat_buf)); in fstat() 474 stat_buf->st_mode = S_IFCHR; in fstat() 488 memset(stat_buf, 0, sizeof(*stat_buf)); in fstat64() [all …]
|
/dports/graphics/mesa-dri/mesa-21.3.6/src/drm-shim/ |
H A D | drm_shim.c | 405 return real_stat(path, stat_buf); in stat() 421 return real_stat(path, stat_buf); in stat() 423 memset(stat_buf, 0, sizeof(*stat_buf)); in stat() 425 stat_buf->st_mode = S_IFCHR; in stat() 456 memset(stat_buf, 0, sizeof(*stat_buf)); in stat64() 458 stat_buf->st_mode = S_IFCHR; in stat64() 470 return real_fstat(fd, stat_buf); in fstat() 472 memset(stat_buf, 0, sizeof(*stat_buf)); in fstat() 474 stat_buf->st_mode = S_IFCHR; in fstat() 488 memset(stat_buf, 0, sizeof(*stat_buf)); in fstat64() [all …]
|
/dports/textproc/htdig/htdig-3.2.0b6/htnet/ |
H A D | HtFTP.cc | 139 struct stat stat_buf; in Request() local 142 if ( stat(_url.path(), &stat_buf) != 0 || in Request() 143 !(S_ISREG(stat_buf.st_mode) || S_ISDIR(stat_buf.st_mode)) ) in Request() 147 if ( S_ISDIR(stat_buf.st_mode) ) in Request() 164 && stat(filename.get(), &stat_buf) == 0 ) in Request() 166 if (S_ISDIR(stat_buf.st_mode)) in Request() 182 _response._content_length = stat_buf.st_size; in Request() 184 _response._modification_time = new HtDateTime(stat_buf.st_mtime); in Request() 189 if (_modification_time && *_modification_time >= HtDateTime(stat_buf.st_mtime)) in Request() 214 _response._modification_time = new HtDateTime(stat_buf.st_mtime); in Request() [all …]
|