Searched refs:st_mode (Results 26 - 50 of 540) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/bftpd-1.6.6/
H A Ddirlist.c169 if (S_ISDIR(statbuf.st_mode) || S_ISLNK(statbuf.st_mode))
183 if (S_ISLNK(statbuf.st_mode)) {
205 if (S_ISDIR(statbuf.st_mode))
207 if (statbuf.st_mode & S_IRUSR)
209 if (statbuf.st_mode & S_IWUSR)
211 if (statbuf.st_mode & S_IXUSR)
213 if (statbuf.st_mode & S_IRGRP)
215 if (statbuf.st_mode & S_IWGRP)
217 if (statbuf.st_mode
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/unzip60/theos/
H A D_stat.c123 st->st_mode = S_IFDIR|S_IRUSR|S_IWUSR|S_IROTH|S_IWOTH;
265 st->st_mode = S_IFBLK | S_IWUSR | S_IRUSR;
267 st->st_mode |= S_IWGRP | S_IWOTH | S_IRGRP | S_IROTH;
269 st->st_mode = S_IFCHR | S_IWUSR;
271 st->st_mode |= S_IRUSR;
273 st->st_mode |= S_IWGRP | S_IWOTH;
275 st->st_mode |= S_IRGRP | S_IROTH;
300 case _FDB_STAT_LIBRARY: st->st_mode = S_IFLIB; break;
301 case _FDB_STAT_DIRECTORY: st->st_mode = S_IFDIR; break;
302 case _FDB_STAT_STREAM: st->st_mode
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/e2fsprogs/
H A Dchattr.c108 if (S_ISLNK(st.st_mode) && gp->recursive)
115 if (!S_ISREG(st.st_mode) && !S_ISLNK(st.st_mode) && !S_ISDIR(st.st_mode))
134 if (!S_ISDIR(st.st_mode))
141 if (gp->recursive && S_ISDIR(st.st_mode))
H A Dlsattr.c72 if (S_ISDIR(st.st_mode) && (option_mask32 & OPT_RECUR)
91 } else if (S_ISDIR(st.st_mode) && !(option_mask32 & OPT_DIRS_OPT)) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/share/grabbag/
H A Dfile.c59 (void)chmod(destpath, srcstat.st_mode);
94 stats.st_mode &= ~S_IWUSR;
95 stats.st_mode &= ~S_IWGRP;
96 stats.st_mode &= ~S_IWOTH;
99 stats.st_mode |= S_IWUSR;
103 stats.st_mode &= ~S_IWRITE;
105 stats.st_mode |= S_IWRITE;
107 if(0 != chmod(filename, stats.st_mode))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Dfile-has-acl.c33 if (! S_ISLNK (sb->st_mode))
61 if (ret == 0 && S_ISDIR (sb->st_mode))
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/e2p/
H A Dfgetsetflags.c47 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) {
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/libbb/
H A Disdirectory.c33 if (status < 0 || !(S_ISDIR(statBuf->st_mode))) {
H A Dpidfile.c31 wrote_pidfile = (fstat(pid_fd, &sb) == 0) && S_ISREG(sb.st_mode);
H A Dfind_root_device.c45 if (S_ISBLK(ap->st.st_mode) && ap->st.st_rdev == ap->dev) {
49 if (S_ISDIR(ap->st.st_mode)) {
69 a.dev = S_ISBLK(a.st.st_mode) ? a.st.st_rdev : a.st.st_dev;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/include/asm/
H A Dstat.h22 mode_t st_mode; member in struct:stat
57 mode_t st_mode; member in struct:stat64
98 mode_t st_mode; member in struct:stat
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/parisc/include/asm/
H A Dstat.h9 mode_t st_mode; /* 16 bits */ member in struct:stat
44 mode_t st_mode; /* 16 bits */ member in struct:hpux_stat64
81 unsigned int st_mode; member in struct:stat64
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/db/
H A DLogStats.java35 private int st_mode; field in class:LogStats
40 return st_mode;
212 + "\n st_mode=" + st_mode
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/coreutils/
H A Dchmod.c47 if (S_ISLNK(statbuf->st_mode))
50 newmode = statbuf->st_mode;
57 || (OPT_CHANGED && statbuf->st_mode != newmode)
H A Dstat.c33 if (S_ISREG(st->st_mode)) return st->st_size == 0 ? "regular empty file" : "regular file";
34 if (S_ISDIR(st->st_mode)) return "directory";
35 if (S_ISBLK(st->st_mode)) return "block special file";
36 if (S_ISCHR(st->st_mode)) return "character special file";
37 if (S_ISFIFO(st->st_mode)) return "fifo";
38 if (S_ISLNK(st->st_mode)) return "symbolic link";
39 if (S_ISSOCK(st->st_mode)) return "socket";
184 if (S_ISLNK(statbuf->st_mode)) {
208 printf(pformat, (unsigned long) (statbuf->st_mode & (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)));
211 printf(pformat, bb_mode_string(statbuf->st_mode));
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zip30/theos/
H A D_stat.c123 st->st_mode = S_IFDIR|S_IRUSR|S_IWUSR|S_IROTH|S_IWOTH;
381 st->st_mode = S_IFBLK | S_IWUSR | S_IRUSR;
383 st->st_mode |= S_IWGRP | S_IWOTH | S_IRGRP | S_IROTH;
385 st->st_mode = S_IFCHR | S_IWUSR;
387 st->st_mode |= S_IRUSR;
389 st->st_mode |= S_IWGRP | S_IWOTH;
391 st->st_mode |= S_IRGRP | S_IROTH;
417 case _FDB_STAT_LIBRARY: st->st_mode = S_IFLIB; break;
418 case _FDB_STAT_DIRECTORY: st->st_mode = S_IFDIR; break;
419 case _FDB_STAT_STREAM: st->st_mode
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/unzip60/macos/source/
H A Dmacstat.c108 buf->st_mode |= S_IRUSR | S_IRGRP | S_IROTH;
114 buf->st_mode |= S_IFDIR;
119 buf->st_mode |= S_IFLNK;
121 buf->st_mode |= S_IFREG;
130 buf->st_mode |= S_IXUSR | S_IXGRP | S_IXOTH;
137 buf->st_mode |= S_IWUSR | S_IWGRP | S_IWOTH;
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/
H A Dchattr.c121 if (S_ISLNK(st.st_mode) && recursive)
128 if (!S_ISREG(st.st_mode) && !S_ISLNK(st.st_mode) && !S_ISDIR(st.st_mode))
146 if (!S_ISDIR(st.st_mode))
153 if (S_ISDIR(st.st_mode) && recursive)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/os/
H A Dos_dir.c66 if (!S_ISREG(sb.st_mode) && !S_TYPEISSHM(&sb)) {
68 if (!S_ISREG(sb.st_mode)) {
70 if (!returndir || !S_ISDIR(sb.st_mode))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/wget-1.12/lib/
H A Dlseek.c55 if (!S_ISREG (statbuf.st_mode))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zip30/cmsmvs/
H A Dcstat.h36 short st_mode; /* Bit mask giving information about */ member in struct:stat
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/smbd/
H A Ddosmode.c98 dir_mode = sbuf.st_mode & ~S_ISUID;
157 if ((sbuf->st_mode & S_IWUSR) == 0) {
167 if (MAP_ARCHIVE(conn) && ((sbuf->st_mode & S_IXUSR) != 0))
170 if (MAP_SYSTEM(conn) && ((sbuf->st_mode & S_IXGRP) != 0))
173 if (MAP_HIDDEN(conn) && ((sbuf->st_mode & S_IXOTH) != 0))
176 if (S_ISDIR(sbuf->st_mode))
183 if (S_ISLNK(sbuf->st_mode) && S_ISDIR(sbuf->st_mode))
238 if (S_ISDIR(sbuf->st_mode)) {
399 if (S_ISREG(sbuf->st_mode)) {
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/examples/libsmbclient/smbwrapper/
H A Dsmbw_stat.c29 external->s_mode = internal->st_mode;
82 statbuf.st_mode = 0040777;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/scripts/dtc/
H A Dfstree.c51 if (S_ISREG(st.st_mode)) {
68 } else if (S_ISDIR(st.st_mode)) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/init/
H A Ddo_mounts.h28 if (!S_ISBLK(stat.st_mode))
40 if (!S_ISBLK(stat.st_mode))

Completed in 273 milliseconds

1234567891011>>