Home
last modified time | relevance | path

Searched refs:S_ISLNK (Results 1 – 25 of 107) 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.c145 } else if (S_ISLNK(mode)) { in cpio_main()
191 if (!S_ISREG(mode) && !S_ISLNK(mode) && !geteuid() in cpio_main()
240 if (!S_ISREG(st.st_mode) && !S_ISLNK(st.st_mode)) st.st_size = 0; in cpio_main()
258 if (S_ISLNK(st.st_mode)) { in cpio_main()
Dcp.c143 if (S_ISLNK(try->st.st_mode) && (flags & FLAG_d)) flags |= FLAG_r; in cp_node()
253 if (S_ISLNK(try->st.st_mode) in cp_node()
272 if (S_ISLNK(try->st.st_mode)) fstat(fdin, &try->st); in cp_node()
Drm.c40 && (!S_ISLNK(try->st.st_mode) && faccessat(fd, try->name, W_OK, 0))) or++; in do_rm()
Dls.c110 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/python/cpython3/Modules/
D_stat.c95 #ifndef S_ISLNK
96 # define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK) macro
297 stat_S_ISFUNC(S_ISLNK,
352 if (S_ISLNK(mode)) return 'l'; in filetype()
/external/f2fs-tools/fsck/
Dsegment.c118 ASSERT(!S_ISLNK(le16_to_cpu(inode->i.i_mode))); in f2fs_read()
200 ASSERT(!S_ISLNK(le16_to_cpu(inode->i.i_mode))); in f2fs_write()
280 ASSERT(!S_ISLNK(le16_to_cpu(inode->i.i_mode))); in f2fs_filesize_update()
/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/ltp/testcases/kernel/syscalls/symlink/
Dsymlink05.c127 if (!S_ISLNK(stat_buf.st_mode)) { in main()
Dsymlink04.c126 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/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/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/Demo/comparisons/
Dsystemtest.py56 if S_ISLNK(mode):
/external/python/cpython2/Lib/
Dstat.py55 def S_ISLNK(mode): function
/external/libcap/progs/
Dgetcap.c102 (S_ISLNK(stbuf.st_mode) ? FTW_SL : FTW_NS); in main()
/external/kernel-headers/original/uapi/linux/
Dstat.h21 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) macro
/external/python/cpython3/Lib/
Dstat.py66 def S_ISLNK(mode): function
/external/u-boot/include/linux/
Dstat.h22 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) macro
/external/u-boot/fs/yaffs2/
Dyportenv.h253 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) macro
/external/linux-kselftest/tools/testing/selftests/proc/
Dfd-001-lookup.c41 assert(S_ISLNK(st.st_mode)); in test_lookup_pass()
/external/perfetto/src/traced/probes/filesystem/
Dfile_scanner.cc97 if (S_ISLNK(buf.st_mode)) { in NextDirectory()
/external/openssh/openbsd-compat/
Drealpath.c171 if (S_ISLNK(sb.st_mode)) { in realpath()

12345