Searched refs:st_mode (Results 51 - 75 of 540) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/libbb/
H A Dremove_file.c30 if (S_ISDIR(path_stat.st_mode)) {
86 && !S_ISLNK(path_stat.st_mode) && isatty(0))
H A Dexecable.c19 return (!access(name, X_OK) && !stat(name, &s) && S_ISREG(s.st_mode));
H A Dfind_mount_point.c30 if ((s.st_mode & S_IFMT) == S_IFBLK)
H A Dmake_directory.c70 || (stat(path, &st) < 0 || !S_ISDIR(st.st_mode))) {
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/miscutils/
H A Dmountpoint.c31 if (S_ISBLK(st.st_mode)) {
43 if (S_ISDIR(st.st_mode)) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ncftp-3.2.5/source/libncftp/
H A Drftw.c157 ftwip->curStat.st_mode = S_IFDIR;
161 ftwip->curStat.st_mode = S_IFLNK;
165 ftwip->curStat.st_mode = S_IFREG;
172 ftwip->curStat.st_mode |= (fip->mode & 00777);
177 ftwip->curStat.st_mode = S_IFDIR;
181 ftwip->curStat.st_mode = S_IFLNK;
185 ftwip->curStat.st_mode = S_IFREG;
192 ftwip->curStat.st_mode |= (fip->mode & 00777);
209 ftwip->curStat.st_mode = S_IFDIR | 00755;
214 ftwip->curStat.st_mode
[all...]
H A Du_misc.c286 stp->st_mode = st32.st_mode;
292 if (S_ISREG(stp->st_mode)) {
337 stp->st_mode = st32.st_mode;
343 if (S_ISREG(stp->st_mode)) {
H A Du_mkdirs.c61 if (! S_ISDIR(st.st_mode)) {
72 if (! S_ISDIR(st.st_mode)) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zip30/qdos/
H A Dqfileio.c72 if ((s.st_mode & S_IFDIR) == 0)
200 *a = ((ulg)s.st_mode << 16) | !(s.st_mode & S_IWRITE);
201 if ((s.st_mode & S_IFMT) == S_IFDIR) {
206 *n = (s.st_mode & S_IFMT) == S_IFREG ? s.st_size : -1L;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zip30/macos/source/
H A Dunixlike.c122 buf->st_mode |= UNX_IXUSR | UNX_IXGRP | UNX_IXOTH | UNX_IFDIR;
137 buf->st_mode |= UNX_IRUSR | UNX_IRGRP | UNX_IROTH;
143 buf->st_mode |= UNX_IFDIR;
148 buf->st_mode |= UNX_IFLNK;
150 buf->st_mode |= UNX_IFREG;
158 buf->st_mode |= UNX_IXUSR | UNX_IXGRP | UNX_IXOTH;
164 buf->st_mode |= UNX_IWUSR | UNX_IWGRP | UNX_IWOTH;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/modules/
H A Dvfs_netatalk.c86 if (S_ISDIR(orig_info->st_mode)) {
246 if (S_ISDIR(orig_info.st_mode) || S_ISREG(orig_info.st_mode)) {
302 if (S_ISDIR(orig_info.st_mode) || S_ISREG(orig_info.st_mode)) {
334 if (!S_ISDIR(orig_info.st_mode) && !S_ISREG(orig_info.st_mode)) {
366 if (!S_ISDIR(orig_info.st_mode) && !S_ISREG(orig_info.st_mode)) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/unzip60/cmsmvs/
H A Dvmstat.h33 short st_mode; member in struct:stat
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/unzip60/macos/source/
H A Dmacstat.h28 unsigned short st_mode; member in struct:stat
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zip30/atheos/
H A Datheos.c100 if ((s.st_mode & S_IFREG) == S_IFREG ||
101 (s.st_mode & S_IFLNK) == S_IFLNK)
107 else if ((s.st_mode & S_IFDIR) == S_IFDIR)
150 } /* (s.st_mode & S_IFDIR) */
301 *a = ((ulg)s.st_mode << 16) | !(s.st_mode & S_IWRITE);
322 legacy_modes = s.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
323 if (S_ISDIR(s.st_mode))
325 if (S_ISREG(s.st_mode))
327 if (S_ISLNK(s.st_mode))
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/util-linux/
H A Dswaponoff.c23 if (S_ISREG(st.st_mode))
H A Dswitch_root.c41 if (S_ISDIR(st.st_mode)) {
94 if (lstat("/init", &st1) || !S_ISREG(st1.st_mode) || statfs("/", &stfs) ||
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/
H A Dlsattr.c80 if (S_ISDIR(st.st_mode) && !(flags & OPT_DIRS_OPT))
100 if (S_ISDIR(st.st_mode) && (flags & OPT_RECUR) &&
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/torture/
H A Dcmd_vfs.c523 if (S_ISREG(st.st_mode)) printf(" Regular File\n");
524 else if (S_ISDIR(st.st_mode)) printf(" Directory\n");
525 else if (S_ISCHR(st.st_mode)) printf(" Character Device\n");
526 else if (S_ISBLK(st.st_mode)) printf(" Block Device\n");
527 else if (S_ISFIFO(st.st_mode)) printf(" Fifo\n");
528 else if (S_ISLNK(st.st_mode)) printf(" Symbolic Link\n");
529 else if (S_ISSOCK(st.st_mode)) printf(" Socket\n");
540 printf(" Access: %05o", (st.st_mode) & 007777);
589 if (S_ISREG(st.st_mode)) printf(" Regular File\n");
590 else if (S_ISDIR(st.st_mode)) print
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/editors/
H A Ddiff.c281 || (stb1.st_mode & S_IFMT) != (stb2.st_mode & S_IFMT)
935 if (S_ISDIR(stb1.st_mode) != S_ISDIR(stb2.st_mode))
936 return (S_ISDIR(stb1.st_mode) ? D_MISMATCH1 : D_MISMATCH2);
1046 stb2.st_mode = stb1.st_mode;
1053 if (stb1.st_mode == 0)
1054 stb1.st_mode = stb2.st_mode;
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zip30/unix/
H A Dunix.c144 if (S_ISREG(s.st_mode) || S_ISLNK(s.st_mode))
147 if ((s.st_mode & S_IFREG) == S_IFREG || (s.st_mode & S_IFLNK) == S_IFLNK)
149 if ((s.st_mode & S_IFREG) == S_IFREG)
158 else if (S_ISDIR(s.st_mode))
160 else if ((s.st_mode & S_IFDIR) == S_IFDIR)
204 } /* (s.st_mode & S_IFDIR) */
206 else if (S_ISFIFO(s.st_mode))
208 else if ((s.st_mode
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/unzip60/acorn/
H A Driscos.c48 res->st_mode = ((attr & 0001) << 8) | ((attr & 0002) << 6) |
53 res->st_mode |= S_IFREG;
56 res->st_mode |= S_IFDIR | 0700;
60 res->st_mode |= S_IFDIR | 0700;
62 res->st_mode |= S_IFREG;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/rand/
H A Drandfile.c155 if (sb.st_mode & (S_IFBLK | S_IFCHR)) {
206 if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/rand/
H A Drandfile.c155 if (sb.st_mode & (S_IFBLK | S_IFCHR)) {
206 if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/bin/ad/
H A Dad_ls.c186 switch (statp->st_mode & S_IFMT) {
228 if (S_ISDIR(st->st_mode))
387 #define TYPE(b) ((st->st_mode & (S_IFMT)) == (b))
388 #define MODE(b) ((st->st_mode & (b)) == (b))
496 if (S_ISREG(st.st_mode) || ls_d)
577 if (S_ISDIR(st.st_mode)) {
647 if (S_ISDIR(st.st_mode))
668 if ( ! S_ISDIR(st.st_mode))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/
H A Dfile.c61 ret |= st.st_mode&S_IRUSR ? mask&AVIO_FLAG_READ : 0;
62 ret |= st.st_mode&S_IWUSR ? mask&AVIO_FLAG_WRITE : 0;

Completed in 120 milliseconds

1234567891011>>