/third_party/e2fsprogs/include/mingw/sys/ |
D | stat.h | 12 #ifndef S_ISLNK 14 #define S_ISLNK(mode) __S_ISTYPE((mode), __S_IFLNK) macro 16 #define S_ISLNK(mode) 0 macro
|
/third_party/musl/src/stat/ |
D | fchmodat.c | 20 if (S_ISLNK(st.st_mode)) in fchmodat() 32 if (S_ISLNK(st.st_mode)) ret = -EOPNOTSUPP; in fchmodat()
|
/third_party/toybox/toys/posix/ |
D | cpio.c | 145 } 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()
|
D | cp.c | 143 if (S_ISLNK(try->st.st_mode) && (flags & FLAG_d)) flags |= FLAG_r; in cp_node() 252 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()
|
D | rm.c | 39 && (!S_ISLNK(try->st.st_mode) && faccessat(fd, try->name, W_OK, 0))) or++; in do_rm()
|
/third_party/python/Modules/ |
D | _stat.c | 99 #ifndef S_ISLNK 100 # define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK) macro 301 stat_S_ISFUNC(S_ISLNK, 356 if (S_ISLNK(mode)) return 'l'; in filetype()
|
/third_party/e2fsprogs/util/ |
D | symlinks.c | 28 #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))
|
/third_party/node/deps/uvwasi/src/ |
D | uv_mapping.c | 23 #if !defined(S_ISLNK) && defined(S_IFMT) && defined(S_IFLNK) 24 # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) macro 212 if (S_ISLNK(mode)) in uvwasi__stat_to_filetype()
|
/third_party/e2fsprogs/misc/ |
D | chattr.c | 44 #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
|
/third_party/ffmpeg/libavformat/ |
D | file.c | 51 #ifndef S_ISLNK 53 # define S_ISLNK(m) (((m) & S_IFLNK) == S_IFLNK) macro 55 # define S_ISLNK(m) 0 macro 318 else if (S_ISLNK(st.st_mode)) in file_read_dir()
|
/third_party/ntfs-3g/include/ntfs-3g/ |
D | dir.h | 40 #ifndef S_ISLNK 41 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) macro
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
D | rm.c | 36 if (S_ISREG(stat_info.st_mode) || S_ISLNK(stat_info.st_mode)) { in toybox_cmd_do_rmdir() 89 && (!S_ISLNK(try->st.st_mode) && faccessat(fd, try->name, W_OK, 0))) or++; in do_rm()
|
D | cp.c | 127 if (S_ISLNK(try->st.st_mode) && (flags & FLAG_d)) flags |= FLAG_r; in cp_node() 225 if (S_ISLNK(try->st.st_mode) in cp_node() 245 if (S_ISLNK(try->st.st_mode)) fstat(fdin, &try->st); in cp_node()
|
/third_party/ltp/testcases/kernel/syscalls/symlink/ |
D | symlink05.c | 127 if (!S_ISLNK(stat_buf.st_mode)) { in main()
|
D | symlink04.c | 126 if (!S_ISLNK(stat_buf.st_mode)) { in main()
|
/third_party/ltp/testcases/kernel/fs/mongo/ |
D | mongo_slinks.c | 57 if (!(S_ISLNK(statbuf.st_mode))) { in main()
|
/third_party/toybox/toys/other/ |
D | lsattr.c | 264 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()
|
/third_party/f2fs-tools/fsck/ |
D | segment.c | 173 ASSERT(!S_ISLNK(le16_to_cpu(inode->i.i_mode))); in f2fs_read() 256 ASSERT(!S_ISLNK(le16_to_cpu(inode->i.i_mode))); in f2fs_write() 337 ASSERT(!S_ISLNK(le16_to_cpu(inode->i.i_mode))); in f2fs_filesize_update()
|
/third_party/python/Lib/ |
D | posixpath.py | 170 return stat.S_ISLNK(st.st_mode) 195 if stat.S_ISLNK(s1.st_mode): 436 is_link = stat.S_ISLNK(st.st_mode)
|
D | stat.py | 70 def S_ISLNK(mode): function
|
/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
D | nftw.c | 43 } else if (S_ISLNK(sb->st_mode)) { in nftw_callback()
|
/third_party/musl/libc-test/src/functionalext/supplement/stat/ |
D | lstat.c | 96 if (S_ISLNK(statbuff.st_mode)) { in lstat_0300()
|
/third_party/ntfs-3g/libfuse-lite/ |
D | mount_util.c | 46 if (lstat(_PATH_MOUNTED, &stbuf) != -1 && S_ISLNK(stbuf.st_mode)) in mtab_needs_update() 289 if (S_ISLNK(stbuf.st_mode)) in mtab_needs_update()
|
/third_party/musl/libc-test/src/api/ |
D | ftw.c | 49 C(S_ISLNK(0)) in f()
|
/third_party/ltp/lib/ |
D | tst_kernel.c | 109 if (stat(path, &st) || !(S_ISREG(st.st_mode) || S_ISLNK(st.st_mode))) { in tst_search_driver()
|