Searched refs:st_mode (Results 1 - 25 of 568) sorted by last modified time
1234567891011>>
/freebsd-11-stable/contrib/libarchive/test_utils/ |
H A D | test_main.c | 1570 mode = (int)(st.st_mode & 0777); 1674 if (!S_ISDIR(st.st_mode)) { 1683 if (mode >= 0 && (mode_t)mode != (st.st_mode & 07777)) { 1686 logprintf(" Found: 0%3o\n", st.st_mode & 07777); 1707 if (r != 0 || !S_ISREG(st.st_mode)) { 1716 if (mode >= 0 && (mode_t)mode != (st.st_mode & 07777)) { 1719 logprintf(" Found: 0%3o\n", st.st_mode & 07777); 1875 if (!S_ISLNK(st.st_mode))
|
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_write_disk_posix.c | 2137 && !S_ISDIR(a->st.st_mode)) { 2153 if (!S_ISDIR(a->st.st_mode)) { 2158 S_ISREG(a->st.st_mode)) { 2198 if ((a->mode != a->st.st_mode) 2316 else if ((st.st_mode & AE_IFMT) == AE_IFREG) { 2506 !S_ISDIR(st.st_mode)) { 2513 fstat(fd, &st) != 0 || !S_ISDIR(st.st_mode))) { 2518 !S_ISDIR(st.st_mode)) { 2835 } else if (S_ISDIR(st.st_mode)) { 2859 } else if (S_ISLNK(st.st_mode)) { [all...] |
H A D | archive_read_support_format_mtree.c | 1285 if (((st->st_mode & S_IFMT) == S_IFREG && 1288 ||((st->st_mode & S_IFMT) == S_IFLNK && 1292 ||((st->st_mode & S_IFSOCK) == S_IFSOCK && 1296 ||((st->st_mode & S_IFMT) == S_IFCHR && 1300 ||((st->st_mode & S_IFMT) == S_IFBLK && 1303 ||((st->st_mode & S_IFMT) == S_IFDIR && 1306 ||((st->st_mode & S_IFMT) == S_IFIFO && 1378 archive_entry_set_perm(entry, st->st_mode);
|
H A D | archive_read_disk_posix.c | 345 /* "is_physical_dir" is equivalent to S_ISDIR(tree_current_lstat()->st_mode) */ 347 /* "is_dir" is equivalent to S_ISDIR(tree_current_stat()->st_mode) */ 1002 if (S_ISREG(st->st_mode) || S_ISDIR(st->st_mode)) { 2572 if (S_ISDIR(st->st_mode)) 2576 if (!S_ISLNK(st->st_mode)) 2589 return (S_ISDIR(st->st_mode)); 2610 if (!S_ISDIR(st->st_mode)) 2626 return (S_ISDIR(st->st_mode));
|
H A D | archive_write_open_filename.c | 201 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode) || 202 S_ISFIFO(st.st_mode)) 215 if (S_ISREG(st.st_mode))
|
H A D | archive_write_open_fd.c | 95 if (S_ISREG(st.st_mode)) 106 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode) || 107 S_ISFIFO(st.st_mode) || (mine->fd == 1))
|
H A D | archive_util.c | 500 if (!S_ISDIR(st.st_mode)) {
|
H A D | archive_read_disk_entry_from_file.c | 229 (S_ISREG(st->st_mode) || S_ISDIR(st->st_mode))) { 255 if (S_ISLNK(st->st_mode)) {
|
/freebsd-11-stable/libexec/ftpd/ |
H A D | ftpd.c | 1716 if (!S_ISREG(st.st_mode)) { 1724 if (S_ISDIR(st.st_mode) || guest) { 1757 restart_point == 0 && cmd == 0 && S_ISREG(st.st_mode)); 2363 code = lstat(filename, &st) == 0 && S_ISDIR(st.st_mode) ? 212 : 213; 2620 if (S_ISDIR(st.st_mode)) { 3219 if (S_ISREG(st.st_mode)) { 3236 } else if (!S_ISDIR(st.st_mode)) 3261 S_ISREG(st.st_mode))) {
|
/freebsd-11-stable/usr.bin/ar/ |
H A D | write.c | 162 if (!S_ISREG(sb.st_mode)) { 191 obj->md = sb.st_mode;
|
/freebsd-11-stable/contrib/sqlite3/ |
H A D | sqlite3.c | [all...] |
H A D | shell.c | 653 return rc || !S_ISREG(x.st_mode); 2143 ** value (file type + permissions, as returned in the stat.st_mode 2184 ** mode: Value of stat.st_mode for directory entry (an integer). 2446 if( !S_ISDIR(sStat.st_mode) ) rc = SQLITE_ERROR; 2485 || !S_ISDIR(sStat.st_mode) 2486 || ((sStat.st_mode&0777)!=(mode&0777) && 0!=chmod(zFile, mode&0777)) 2623 ** Given a numberic st_mode from stat(), convert it into a human-readable 2787 mode_t m = pCur->sStat.st_mode; 2862 sqlite3_result_int64(ctx, pCur->sStat.st_mode); 2870 mode_t m = pCur->sStat.st_mode; [all...] |
H A D | ltmain.sh | 5973 && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) 5992 rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); 6124 if (S_ISLNK (s.st_mode) != 0)
|
/freebsd-11-stable/contrib/unbound/ |
H A D | ltmain.sh | 5973 && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) 5992 rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); 6124 if (S_ISLNK (s.st_mode) != 0)
|
/freebsd-11-stable/usr.sbin/newsyslog/ |
H A D | newsyslog.c | 1032 if (!S_ISREG(st_fm.st_mode)) { 1492 !S_ISREG(sb.st_mode)) 2600 else if (!S_ISDIR(st.st_mode))
|
/freebsd-11-stable/contrib/less/ |
H A D | filename.c | 1013 isdir = (r >= 0 && S_ISDIR(statbuf.st_mode)); 1062 } else if (!S_ISREG(statbuf.st_mode))
|
H A D | cmdbuf.c | 1657 if (r < 0 || !S_ISREG(statbuf.st_mode))
|
/freebsd-11-stable/usr.sbin/jail/ |
H A D | jail.c | 642 if (!S_ISDIR(st.st_mode)) {
|
/freebsd-11-stable/usr.sbin/rtsold/ |
H A D | rtsol.c | 924 switch (s.st_mode & S_IFMT) { 930 path, (s.st_mode & S_IFMT));
|
/freebsd-11-stable/lib/libkvm/ |
H A D | kvm.c | 413 if (S_ISREG(st.st_mode) && st.st_size <= 0) { 418 if (S_ISCHR(st.st_mode)) {
|
/freebsd-11-stable/contrib/ipfilter/tools/ |
H A D | ipmon.c | 1772 l->regular = !S_ISCHR(sb.st_mode);
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_event.c | 1940 st->st_mode = S_IFIFO;
|
/freebsd-11-stable/sbin/hastd/ |
H A D | hastd.c | 196 mode = sb.st_mode;
|
/freebsd-11-stable/contrib/libarchive/libarchive/test/ |
H A D | test_write_disk_secure.c | 172 assert(S_ISLNK(st.st_mode)); 194 assert(S_ISDIR(st.st_mode)); 222 assert(S_ISDIR(st.st_mode)); 252 failure("dir: st.st_mode=%o", st.st_mode); 253 assert((st.st_mode & 0777) == 0755); 256 failure("link_to_dir: st.st_mode=%o", st.st_mode); 257 assert(S_ISLNK(st.st_mode)); 281 failure("link_to_dir: st.st_mode [all...] |
H A D | test_entry.c | 754 st.st_mode = 077777; 815 assertEqualInt(pst->st_mode, 012345); 857 assertEqualInt(pst->st_mode, 012344);
|
Completed in 830 milliseconds
1234567891011>>