Home
last modified time | relevance | path

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

12345

/third_party/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
/third_party/musl/src/stat/
Dfchmodat.c20 if (S_ISLNK(st.st_mode)) in fchmodat()
32 if (S_ISLNK(st.st_mode)) ret = -EOPNOTSUPP; in fchmodat()
/third_party/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()
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()
Drm.c39 && (!S_ISLNK(try->st.st_mode) && faccessat(fd, try->name, W_OK, 0))) or++; in do_rm()
/third_party/python/Modules/
D_stat.c99 #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/
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))
/third_party/node/deps/uvwasi/src/
Duv_mapping.c23 #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/
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
/third_party/ffmpeg/libavformat/
Dfile.c51 #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/
Ddir.h40 #ifndef S_ISLNK
41 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) macro
/third_party/toybox/porting/liteos_a/toys/posix/
Drm.c36 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()
Dcp.c127 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/
Dsymlink05.c127 if (!S_ISLNK(stat_buf.st_mode)) { in main()
Dsymlink04.c126 if (!S_ISLNK(stat_buf.st_mode)) { in main()
/third_party/ltp/testcases/kernel/fs/mongo/
Dmongo_slinks.c57 if (!(S_ISLNK(statbuf.st_mode))) { in main()
/third_party/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()
/third_party/f2fs-tools/fsck/
Dsegment.c173 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/
Dposixpath.py170 return stat.S_ISLNK(st.st_mode)
195 if stat.S_ISLNK(s1.st_mode):
436 is_link = stat.S_ISLNK(st.st_mode)
Dstat.py70 def S_ISLNK(mode): function
/third_party/musl/libc-test/src/functionalext/supplement/misc/
Dnftw.c43 } else if (S_ISLNK(sb->st_mode)) { in nftw_callback()
/third_party/musl/libc-test/src/functionalext/supplement/stat/
Dlstat.c96 if (S_ISLNK(statbuff.st_mode)) { in lstat_0300()
/third_party/ntfs-3g/libfuse-lite/
Dmount_util.c46 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/
Dftw.c49 C(S_ISLNK(0)) in f()
/third_party/ltp/lib/
Dtst_kernel.c109 if (stat(path, &st) || !(S_ISREG(st.st_mode) || S_ISLNK(st.st_mode))) { in tst_search_driver()

12345