Home
last modified time | relevance | path

Searched refs:statbuf (Results 126 – 150 of 6507) sorted by relevance

12345678910>>...261

/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/mysys/
H A Dmy_redel.c94 MY_STAT statbuf; in my_copystat() local
96 if (my_stat(from, &statbuf, MyFlags) == NULL) in my_copystat()
99 if ((statbuf.st_mode & S_IFMT) != S_IFREG) in my_copystat()
103 if (chmod(to, statbuf.st_mode & 07777)) in my_copystat()
116 if (statbuf.st_nlink > 1 && MyFlags & MY_LINK_WARNING) in my_copystat()
119 my_error(EE_LINK_WARNING,MYF(0),from,statbuf.st_nlink); in my_copystat()
122 if (chown(to, statbuf.st_uid, statbuf.st_gid)) in my_copystat()
138 timep.actime = statbuf.st_atime; in my_copystat()
139 timep.modtime = statbuf.st_mtime; in my_copystat()
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/mysys/
H A Dmy_redel.c94 MY_STAT statbuf; in my_copystat() local
96 if (my_stat(from, &statbuf, MyFlags) == NULL) in my_copystat()
99 if ((statbuf.st_mode & S_IFMT) != S_IFREG) in my_copystat()
103 if (chmod(to, statbuf.st_mode & 07777)) in my_copystat()
116 if (statbuf.st_nlink > 1 && MyFlags & MY_LINK_WARNING) in my_copystat()
119 my_error(EE_LINK_WARNING,MYF(0),from,statbuf.st_nlink); in my_copystat()
122 if (chown(to, statbuf.st_uid, statbuf.st_gid)) in my_copystat()
138 timep.actime = statbuf.st_atime; in my_copystat()
139 timep.modtime = statbuf.st_mtime; in my_copystat()
/dports/databases/percona57-client/percona-server-5.7.36-39/mysys/
H A Dmy_redel.c94 MY_STAT statbuf; in my_copystat() local
96 if (my_stat(from, &statbuf, MyFlags) == NULL) in my_copystat()
99 if ((statbuf.st_mode & S_IFMT) != S_IFREG) in my_copystat()
103 if (chmod(to, statbuf.st_mode & 07777)) in my_copystat()
116 if (statbuf.st_nlink > 1 && MyFlags & MY_LINK_WARNING) in my_copystat()
119 my_error(EE_LINK_WARNING,MYF(0),from,statbuf.st_nlink); in my_copystat()
122 if (chown(to, statbuf.st_uid, statbuf.st_gid)) in my_copystat()
138 timep.actime = statbuf.st_atime; in my_copystat()
139 timep.modtime = statbuf.st_mtime; in my_copystat()
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/mysys/
H A Dmy_redel.c94 MY_STAT statbuf; in my_copystat() local
96 if (my_stat(from, &statbuf, MyFlags) == NULL) in my_copystat()
99 if ((statbuf.st_mode & S_IFMT) != S_IFREG) in my_copystat()
103 if (chmod(to, statbuf.st_mode & 07777)) in my_copystat()
116 if (statbuf.st_nlink > 1 && MyFlags & MY_LINK_WARNING) in my_copystat()
119 my_error(EE_LINK_WARNING,MYF(0),from,statbuf.st_nlink); in my_copystat()
122 if (chown(to, statbuf.st_uid, statbuf.st_gid)) in my_copystat()
138 timep.actime = statbuf.st_atime; in my_copystat()
139 timep.modtime = statbuf.st_mtime; in my_copystat()
/dports/databases/mysql57-client/mysql-5.7.36/mysys/
H A Dmy_redel.c94 MY_STAT statbuf; in my_copystat() local
96 if (my_stat(from, &statbuf, MyFlags) == NULL) in my_copystat()
99 if ((statbuf.st_mode & S_IFMT) != S_IFREG) in my_copystat()
103 if (chmod(to, statbuf.st_mode & 07777)) in my_copystat()
116 if (statbuf.st_nlink > 1 && MyFlags & MY_LINK_WARNING) in my_copystat()
119 my_error(EE_LINK_WARNING,MYF(0),from,statbuf.st_nlink); in my_copystat()
122 if (chown(to, statbuf.st_uid, statbuf.st_gid)) in my_copystat()
138 timep.actime = statbuf.st_atime; in my_copystat()
139 timep.modtime = statbuf.st_mtime; in my_copystat()
/dports/mail/gensig/gensig-2.3/
H A Dsigfifo.c46 struct stat statbuf; in setup_fifo() local
67 if ((rv = stat(directory, &statbuf))) in setup_fifo()
79 rv = stat(fifo_name, &statbuf); in setup_fifo()
81 if ( (rv == 0) && (S_ISFIFO(statbuf.st_mode)) ) in setup_fifo()
91 else if (S_ISREG(statbuf.st_mode)) in setup_fifo()
120 struct stat statbuf; in reset_fifo() local
134 if ((rv = stat(dname, &statbuf))) in reset_fifo()
145 rv = stat(fifo_name, &statbuf); in reset_fifo()
147 if ( (rv == 0) && (S_ISFIFO(statbuf.st_mode)) ) in reset_fifo()
156 else if ( (rv == 0) && (! S_ISREG(statbuf.st_mode)) ) in reset_fifo()
/dports/misc/bogosort/bogosort-0.4.2/
H A Dsystem.h259 # define ST_BLKSIZE(statbuf) DEV_BSIZE argument
261 # define ST_NBLOCKS(statbuf) (((statbuf).st_size + 512 - 1) / 512) argument
263 # define ST_NBLOCKS(statbuf) (st_blocks ((statbuf).st_size)) argument
267 # define ST_BLKSIZE(statbuf) ((statbuf).st_blksize > 0 \ argument
268 ? (statbuf).st_blksize : DEV_BSIZE)
272 # define ST_NBLOCKS(statbuf) ((statbuf).st_blocks * 2) argument
276 # define ST_NBLOCKS(statbuf) ((statbuf).st_blocks * 8) argument
279 # define ST_NBLOCKS(statbuf) ((statbuf).st_blocks * ST_BLKSIZE(statbuf)/512) argument
281 # define ST_NBLOCKS(statbuf) ((statbuf).st_blocks) argument
/dports/astro/starplot/starplot-0.95.5/
H A Dsystem.h261 # define ST_BLKSIZE(statbuf) DEV_BSIZE argument
263 # define ST_NBLOCKS(statbuf) (((statbuf).st_size + 512 - 1) / 512) argument
265 # define ST_NBLOCKS(statbuf) (st_blocks ((statbuf).st_size)) argument
269 # define ST_BLKSIZE(statbuf) ((statbuf).st_blksize > 0 \ argument
270 ? (statbuf).st_blksize : DEV_BSIZE)
274 # define ST_NBLOCKS(statbuf) ((statbuf).st_blocks * 2) argument
278 # define ST_NBLOCKS(statbuf) ((statbuf).st_blocks * 8) argument
281 # define ST_NBLOCKS(statbuf) ((statbuf).st_blocks * ST_BLKSIZE(statbuf)/512) argument
283 # define ST_NBLOCKS(statbuf) ((statbuf).st_blocks) argument
/dports/misc/hotkeys/hotkeys-0.5.7.1/src/
H A Dcommon.h262 # define ST_BLKSIZE(statbuf) DEV_BSIZE argument
264 # define ST_NBLOCKS(statbuf) (((statbuf).st_size + 512 - 1) / 512) argument
266 # define ST_NBLOCKS(statbuf) (st_blocks ((statbuf).st_size)) argument
270 # define ST_BLKSIZE(statbuf) ((statbuf).st_blksize > 0 \ argument
271 ? (statbuf).st_blksize : DEV_BSIZE)
275 # define ST_NBLOCKS(statbuf) ((statbuf).st_blocks * 2) argument
279 # define ST_NBLOCKS(statbuf) ((statbuf).st_blocks * 8) argument
282 # define ST_NBLOCKS(statbuf) ((statbuf).st_blocks * ST_BLKSIZE(statbuf)/512) argument
284 # define ST_NBLOCKS(statbuf) ((statbuf).st_blocks) argument
/dports/sysutils/pwsafe/pwsafe-1dbcfd0/
H A Dsystem.h258 # define ST_BLKSIZE(statbuf) DEV_BSIZE argument
260 # define ST_NBLOCKS(statbuf) (((statbuf).st_size + 512 - 1) / 512) argument
262 # define ST_NBLOCKS(statbuf) (st_blocks ((statbuf).st_size)) argument
266 # define ST_BLKSIZE(statbuf) ((statbuf).st_blksize > 0 \ argument
267 ? (statbuf).st_blksize : DEV_BSIZE)
271 # define ST_NBLOCKS(statbuf) ((statbuf).st_blocks * 2) argument
275 # define ST_NBLOCKS(statbuf) ((statbuf).st_blocks * 8) argument
278 # define ST_NBLOCKS(statbuf) ((statbuf).st_blocks * ST_BLKSIZE(statbuf)/512) argument
280 # define ST_NBLOCKS(statbuf) ((statbuf).st_blocks) argument
/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client_sdk/src/tests/nacl_io_test/
H A Dfuse_fs_test.cc292 struct stat statbuf; in TEST_F() local
296 EXPECT_EQ(0, node->GetStat(&statbuf)); in TEST_F()
297 EXPECT_TRUE(S_ISREG(statbuf.st_mode)); in TEST_F()
320 struct stat statbuf; in TEST_F() local
324 EXPECT_EQ(0, node->GetStat(&statbuf)); in TEST_F()
325 EXPECT_TRUE(S_ISREG(statbuf.st_mode)); in TEST_F()
330 EXPECT_EQ(0, node->GetStat(&statbuf)); in TEST_F()
331 EXPECT_TRUE(S_ISDIR(statbuf.st_mode)); in TEST_F()
339 EXPECT_EQ(0, statbuf.st_size); in TEST_F()
377 struct stat statbuf; in TEST_F() local
[all …]
/dports/ftp/bbftp-client/bbftp-client-3.2.1/bbftpc/
H A Dbbftp_store_rfio.c227 struct stat64 statbuf ; local
229 struct stat statbuf ;
284 struct stat64 statbuf ; local
286 struct stat statbuf ;
381 struct stat64 statbuf ; local
383 struct stat statbuf ; local
612 struct stat statbuf ; local
715 if (statbuf.st_dev == 0 && statbuf.st_ino == 1) {
738 if (statbuf.st_dev == 0 && statbuf.st_ino == 1) {
1003 struct stat64 statbuf ; local
[all …]
/dports/mail/exim-mysql/exim-4.95/src/lookups/
H A Dlf_check_file.c45 struct stat statbuf; in lf_check_file() local
47 if ((fd >= 0 && fstat(fd, &statbuf) != 0) || in lf_check_file()
48 (fd < 0 && Ustat(filename, &statbuf) != 0)) in lf_check_file()
56 if ((statbuf.st_mode & S_IFMT) != s_type) in lf_check_file()
73 if ((statbuf.st_mode & modemask) != 0) in lf_check_file()
76 "%.4o", filename, type, statbuf.st_mode & 07777, in lf_check_file()
77 statbuf.st_mode & modemask); in lf_check_file()
86 if (owners[i] == statbuf.st_uid) { uid_ok = TRUE; break; } in lf_check_file()
100 if (owngroups[i] == statbuf.st_gid) { gid_ok = TRUE; break; } in lf_check_file()
/dports/mail/exim-sa-exim/exim-4.95/src/lookups/
H A Dlf_check_file.c45 struct stat statbuf; in lf_check_file() local
47 if ((fd >= 0 && fstat(fd, &statbuf) != 0) || in lf_check_file()
48 (fd < 0 && Ustat(filename, &statbuf) != 0)) in lf_check_file()
56 if ((statbuf.st_mode & S_IFMT) != s_type) in lf_check_file()
73 if ((statbuf.st_mode & modemask) != 0) in lf_check_file()
76 "%.4o", filename, type, statbuf.st_mode & 07777, in lf_check_file()
77 statbuf.st_mode & modemask); in lf_check_file()
86 if (owners[i] == statbuf.st_uid) { uid_ok = TRUE; break; } in lf_check_file()
100 if (owngroups[i] == statbuf.st_gid) { gid_ok = TRUE; break; } in lf_check_file()
/dports/mail/exim-postgresql/exim-4.95/src/lookups/
H A Dlf_check_file.c45 struct stat statbuf; in lf_check_file() local
47 if ((fd >= 0 && fstat(fd, &statbuf) != 0) || in lf_check_file()
48 (fd < 0 && Ustat(filename, &statbuf) != 0)) in lf_check_file()
56 if ((statbuf.st_mode & S_IFMT) != s_type) in lf_check_file()
73 if ((statbuf.st_mode & modemask) != 0) in lf_check_file()
76 "%.4o", filename, type, statbuf.st_mode & 07777, in lf_check_file()
77 statbuf.st_mode & modemask); in lf_check_file()
86 if (owners[i] == statbuf.st_uid) { uid_ok = TRUE; break; } in lf_check_file()
100 if (owngroups[i] == statbuf.st_gid) { gid_ok = TRUE; break; } in lf_check_file()
/dports/mail/exim/exim-4.95/src/lookups/
H A Dlf_check_file.c45 struct stat statbuf; in lf_check_file() local
47 if ((fd >= 0 && fstat(fd, &statbuf) != 0) || in lf_check_file()
48 (fd < 0 && Ustat(filename, &statbuf) != 0)) in lf_check_file()
56 if ((statbuf.st_mode & S_IFMT) != s_type) in lf_check_file()
73 if ((statbuf.st_mode & modemask) != 0) in lf_check_file()
76 "%.4o", filename, type, statbuf.st_mode & 07777, in lf_check_file()
77 statbuf.st_mode & modemask); in lf_check_file()
86 if (owners[i] == statbuf.st_uid) { uid_ok = TRUE; break; } in lf_check_file()
100 if (owngroups[i] == statbuf.st_gid) { gid_ok = TRUE; break; } in lf_check_file()
/dports/mail/exim-monitor/exim-4.95/src/lookups/
H A Dlf_check_file.c45 struct stat statbuf; in lf_check_file() local
47 if ((fd >= 0 && fstat(fd, &statbuf) != 0) || in lf_check_file()
48 (fd < 0 && Ustat(filename, &statbuf) != 0)) in lf_check_file()
56 if ((statbuf.st_mode & S_IFMT) != s_type) in lf_check_file()
73 if ((statbuf.st_mode & modemask) != 0) in lf_check_file()
76 "%.4o", filename, type, statbuf.st_mode & 07777, in lf_check_file()
77 statbuf.st_mode & modemask); in lf_check_file()
86 if (owners[i] == statbuf.st_uid) { uid_ok = TRUE; break; } in lf_check_file()
100 if (owngroups[i] == statbuf.st_gid) { gid_ok = TRUE; break; } in lf_check_file()
/dports/mail/exim-ldap2/exim-4.95/src/lookups/
H A Dlf_check_file.c45 struct stat statbuf; in lf_check_file() local
47 if ((fd >= 0 && fstat(fd, &statbuf) != 0) || in lf_check_file()
48 (fd < 0 && Ustat(filename, &statbuf) != 0)) in lf_check_file()
56 if ((statbuf.st_mode & S_IFMT) != s_type) in lf_check_file()
73 if ((statbuf.st_mode & modemask) != 0) in lf_check_file()
76 "%.4o", filename, type, statbuf.st_mode & 07777, in lf_check_file()
77 statbuf.st_mode & modemask); in lf_check_file()
86 if (owners[i] == statbuf.st_uid) { uid_ok = TRUE; break; } in lf_check_file()
100 if (owngroups[i] == statbuf.st_gid) { gid_ok = TRUE; break; } in lf_check_file()
/dports/mail/exim-sqlite/exim-4.95/src/lookups/
H A Dlf_check_file.c45 struct stat statbuf; in lf_check_file() local
47 if ((fd >= 0 && fstat(fd, &statbuf) != 0) || in lf_check_file()
48 (fd < 0 && Ustat(filename, &statbuf) != 0)) in lf_check_file()
56 if ((statbuf.st_mode & S_IFMT) != s_type) in lf_check_file()
73 if ((statbuf.st_mode & modemask) != 0) in lf_check_file()
76 "%.4o", filename, type, statbuf.st_mode & 07777, in lf_check_file()
77 statbuf.st_mode & modemask); in lf_check_file()
86 if (owners[i] == statbuf.st_uid) { uid_ok = TRUE; break; } in lf_check_file()
100 if (owngroups[i] == statbuf.st_gid) { gid_ok = TRUE; break; } in lf_check_file()
/dports/lang/gawk/gawk-5.1.1/vms/
H A Dvms_misc.c303 VMS_fstat (fd, statbuf) in VMS_fstat() argument
305 struct stat *statbuf;
307 int result = fstat (fd, statbuf);
315 result = VMS_stat (nambuf, statbuf);
323 statbuf->st_mode &= ~S_IFREG;
324 statbuf->st_mode |= S_IFCHR;
331 VMS_stat (name, statbuf) in VMS_stat() argument
333 struct stat *statbuf;
335 int result = stat (name, statbuf);
370 statbuf->st_mode &= ~S_IFREG;
[all …]
/dports/mail/perdition/perdition-2.2/perdition/
H A Dsetproctitle.c141 static char statbuf[BUFSIZ]; in set_proc_title() local
156 memset(statbuf, 0, sizeof(statbuf)); in set_proc_title()
157 vsnprintf(statbuf, sizeof(statbuf), fmt, msg); in set_proc_title()
163 setproctitle("%s", statbuf); in set_proc_title()
171 i = strlen(statbuf); in set_proc_title()
176 Argv[0] = statbuf; in set_proc_title()
183 snprintf(Argv[0], maxlen, "%s", statbuf); in set_proc_title()
192 pst.pst_command = statbuf; in set_proc_title()
198 PS_STRINGS->ps_argvstr = statbuf; in set_proc_title()
/dports/lang/gcc6-aux/gcc-6-20180516/libjava/classpath/native/jni/native-lib/
H A Dcpio.c348 struct stat statbuf; in cpio_setFileReadonly() local
350 if (stat(filename, &statbuf) < 0) in cpio_setFileReadonly()
363 struct stat statbuf; in cpio_chmod() local
366 if (stat(filename, &statbuf) < 0) in cpio_chmod()
444 struct stat statbuf; in cpio_checkAccess() local
471 struct stat statbuf; in cpio_isFileExists() local
483 struct stat statbuf; in cpio_checkType() local
488 if (S_ISDIR(statbuf.st_mode)) in cpio_checkType()
498 struct stat statbuf; in cpio_getModificationTime() local
510 struct stat statbuf; in cpio_setModificationTime() local
[all …]
/dports/lang/gcc48/gcc-4.8.5/libjava/classpath/native/jni/native-lib/
H A Dcpio.c348 struct stat statbuf; in cpio_setFileReadonly() local
350 if (stat(filename, &statbuf) < 0) in cpio_setFileReadonly()
363 struct stat statbuf; in cpio_chmod() local
366 if (stat(filename, &statbuf) < 0) in cpio_chmod()
444 struct stat statbuf; in cpio_checkAccess() local
471 struct stat statbuf; in cpio_isFileExists() local
483 struct stat statbuf; in cpio_checkType() local
488 if (S_ISDIR(statbuf.st_mode)) in cpio_checkType()
498 struct stat statbuf; in cpio_getModificationTime() local
510 struct stat statbuf; in cpio_setModificationTime() local
[all …]
/dports/lang/gnat_util/gcc-6-20180516/libjava/classpath/native/jni/native-lib/
H A Dcpio.c348 struct stat statbuf; in cpio_setFileReadonly() local
350 if (stat(filename, &statbuf) < 0) in cpio_setFileReadonly()
363 struct stat statbuf; in cpio_chmod() local
366 if (stat(filename, &statbuf) < 0) in cpio_chmod()
444 struct stat statbuf; in cpio_checkAccess() local
471 struct stat statbuf; in cpio_isFileExists() local
483 struct stat statbuf; in cpio_checkType() local
488 if (S_ISDIR(statbuf.st_mode)) in cpio_checkType()
498 struct stat statbuf; in cpio_getModificationTime() local
510 struct stat statbuf; in cpio_setModificationTime() local
[all …]
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libjava/classpath/native/jni/native-lib/
H A Dcpio.c348 struct stat statbuf; in cpio_setFileReadonly() local
350 if (stat(filename, &statbuf) < 0) in cpio_setFileReadonly()
363 struct stat statbuf; in cpio_chmod() local
366 if (stat(filename, &statbuf) < 0) in cpio_chmod()
444 struct stat statbuf; in cpio_checkAccess() local
471 struct stat statbuf; in cpio_isFileExists() local
483 struct stat statbuf; in cpio_checkType() local
488 if (S_ISDIR(statbuf.st_mode)) in cpio_checkType()
498 struct stat statbuf; in cpio_getModificationTime() local
510 struct stat statbuf; in cpio_setModificationTime() local
[all …]

12345678910>>...261