Home
last modified time | relevance | path

Searched refs:S_ISLNK (Results 1 – 25 of 103) sorted by relevance

12345

/external/e2fsprogs/include/mingw/sys/
Dstat.h12 #ifndef S_ISLNK
14 #define S_ISLNK(mode) __S_ISTYPE((mode), __S_IFLNK) macro
16 #define S_ISLNK(mode) 0 macro
/external/toybox/toys/posix/
Dcpio.c147 } else if (S_ISLNK(mode)) { in cpio_main()
193 if (!S_ISREG(mode) && !S_ISLNK(mode) && !geteuid() in cpio_main()
242 if (!S_ISREG(st.st_mode) && !S_ISLNK(st.st_mode)) st.st_size = 0; in cpio_main()
260 if (S_ISLNK(st.st_mode)) { in cpio_main()
Drm.c39 && (!S_ISLNK(try->st.st_mode) && faccessat(fd, try->name, W_OK, 0))) or++; in do_rm()
Dls.c112 if (S_ISLNK(mode)) return '@'; in endtype()
277 else if (S_ISLNK(mode)) color = 256+36; in color_from_mode()
490 if ((flags & (FLAG_l|FLAG_o|FLAG_n|FLAG_g)) && S_ISLNK(mode)) { in listfiles()
/external/e2fsprogs/util/
Dsymlinks.c28 #ifndef S_ISLNK
29 #define S_ISLNK(mode) (((mode) & (_S_IFMT)) == (_S_IFLNK)) macro
295 if (S_ISLNK(st.st_mode)) { in dirwalk()
381 else if (S_ISLNK(st.st_mode))
/external/e2fsprogs/misc/
Dchattr.c44 #ifndef S_ISLNK /* So we can compile even with gcc-warn */
46 # define S_ISLNK(mode) __S_ISTYPE((mode), __S_IFLNK) macro
48 # define S_ISLNK(mode) 0 macro
/external/bison/lib/
Dsys_stat.in.h90 # undef S_ISLNK
135 #ifndef S_ISLNK
137 # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
139 # define S_ISLNK(m) 0
/external/kernel-headers/original/uapi/linux/
Dstat.h19 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) macro
/external/syslinux/com32/include/sys/
Dstat.h23 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) macro
/external/ltp/testcases/kernel/syscalls/symlink/
Dsymlink05.c126 if (!S_ISLNK(stat_buf.st_mode)) { in main()
Dsymlink04.c125 if (!S_ISLNK(stat_buf.st_mode)) { in main()
/external/ltp/testcases/kernel/fs/mongo/
Dmongo_slinks.c57 if (!(S_ISLNK(statbuf.st_mode))) { in main()
/external/bison/darwin-lib/sys/
Dstat.h402 # undef S_ISLNK
447 #ifndef S_ISLNK
449 # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) macro
451 # define S_ISLNK(m) 0 macro
/external/bison/linux-lib/sys/
Dstat.h402 # undef S_ISLNK
447 #ifndef S_ISLNK
449 # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) macro
451 # define S_ISLNK(m) 0 macro
/external/python/cpython2/Demo/comparisons/
Dsystemtest.py56 if S_ISLNK(mode):
/external/libcap/libcap/
Dcap_file.c257 if (S_ISLNK(buf.st_mode) || !S_ISREG(buf.st_mode)) { in cap_set_fd()
289 if (S_ISLNK(buf.st_mode) || !S_ISREG(buf.st_mode)) { in cap_set_file()
/external/python/cpython2/Lib/
Dstat.py55 def S_ISLNK(mode): function
/external/toybox/toys/other/
Dlsattr.c264 if ((S_ISLNK(root->st.st_mode) && chattr.recursive) in update_attr()
265 || (!S_ISREG(root->st.st_mode) && !S_ISLNK(root->st.st_mode) in update_attr()
/external/python/cpython2/Lib/distutils/
Dfilelist.py260 from stat import ST_MODE, S_ISREG, S_ISDIR, S_ISLNK
282 elif S_ISDIR(mode) and not S_ISLNK(mode):
/external/libcap/progs/
Dgetcap.c102 (S_ISLNK(stbuf.st_mode) ? FTW_SL : FTW_NS); in main()
/external/openssh/openbsd-compat/
Drealpath.c171 if (S_ISLNK(sb.st_mode)) { in realpath()
/external/toybox/toys/pending/
Dtest.c65 nolink = !S_ISLNK(st.st_mode); in test_main()
/external/selinux/libselinux/src/
Dmatchpathcon.c438 if (S_ISLNK(mode)) { in matchpathcon()
498 if (S_ISLNK(mode)) { in selinux_file_context_verify()
/external/openssh/
Ddefines.h167 #ifndef S_ISLNK
168 # define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK) macro
/external/python/cpython2/Demo/threads/
Dfind.py127 return (stat[ST_MODE] & 0002) != 0 and not S_ISLNK(stat[ST_MODE])

12345