/third_party/musl/src/stat/ |
H A D | fchmodat.c | 24 if (S_ISLNK(st.st_mode)) in fchmodat() 36 if (S_ISLNK(st.st_mode)) ret = __syscall_ret(-EOPNOTSUPP); in fchmodat()
|
/third_party/toybox/toys/posix/ |
H A 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()
|
H A 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()
|
H A D | rm.c | 39 && (!S_ISLNK(try->st.st_mode) && faccessat(fd, try->name, W_OK, 0))) or++; in do_rm()
|
H A D | ls.c | 110 if (S_ISLNK(mode)) return '@'; in endtype() 286 else if (S_ISLNK(mode)) color = 256+36; in color_from_mode() 515 if ((flags & (FLAG_l|FLAG_o|FLAG_n|FLAG_g)) && S_ISLNK(mode)) { in listfiles()
|
/third_party/python/Modules/ |
H A D | _stat.c | 99 #ifndef S_ISLNK 100 # define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK) macro 301 stat_S_ISFUNC(S_ISLNK, 302 "S_ISLNK(mode) -> bool\n\n" 356 if (S_ISLNK(mode)) return 'l'; in filetype() 421 {"S_ISLNK", stat_S_ISLNK, METH_O, stat_S_ISLNK_doc},
|
/third_party/node/deps/uvwasi/src/ |
H A 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 216 if (S_ISLNK(mode)) in uvwasi__stat_to_filetype()
|
/third_party/ntfs-3g/include/ntfs-3g/ |
H A 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/ |
H A 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()
|
H A 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()
|
H A D | ls.c | 109 if (S_ISLNK(mode)) return '@'; in endtype() 276 else if (S_ISLNK(mode)) color = 256+36; in color_from_mode() 503 if ((flags & (FLAG_l|FLAG_o|FLAG_n|FLAG_g)) && S_ISLNK(mode)) { in listfiles()
|
/third_party/ffmpeg/libavformat/ |
H A D | file.c | 53 #ifndef S_ISLNK 55 # define S_ISLNK(m) (((m) & S_IFLNK) == S_IFLNK) macro 57 # define S_ISLNK(m) 0 macro 317 else if (S_ISLNK(st.st_mode)) in file_read_dir()
|
/third_party/toybox/toys/other/ |
H A 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/libfuse/example/ |
H A D | passthrough_helpers.h | 41 } else if (S_ISLNK(mode) && link != NULL) { in mknod_wrapper()
|
/third_party/ltp/testcases/kernel/syscalls/symlink/ |
H A D | symlink04.c | 126 if (!S_ISLNK(stat_buf.st_mode)) { in main()
|
H A D | symlink05.c | 127 if (!S_ISLNK(stat_buf.st_mode)) { in main()
|
/third_party/ltp/testcases/kernel/fs/mongo/ |
H A D | mongo_slinks.c | 57 if (!(S_ISLNK(statbuf.st_mode))) { in main()
|
/third_party/python/Lib/ |
H A D | posixpath.py | 170 return stat.S_ISLNK(st.st_mode) 195 if stat.S_ISLNK(s1.st_mode): 457 is_link = stat.S_ISLNK(st.st_mode)
|
/third_party/musl/libc-test/src/functionalext/supplement/misc/misc_gtest/ |
H A D | misc_nftw64_test.cpp | 31 } else if (S_ISLNK(sb->st_mode)) { in NftwCallback()
|
/third_party/musl/libc-test/src/api/ |
H A D | ftw.c | 49 C(S_ISLNK(0)) in f()
|
/third_party/musl/libc-test/src/functionalext/supplement/stat/ |
H A D | lstat.c | 104 if (S_ISLNK(statbuff.st_mode)) { in lstat_0300()
|
/third_party/ntfs-3g/libfuse-lite/ |
H A 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/eudev/src/shared/ |
H A D | smack-util.c | 181 else if (S_ISLNK(st.st_mode)) in mac_smack_fix()
|
/third_party/gn/src/base/files/ |
H A D | file_posix.cc | 87 is_symbolic_link = S_ISLNK(stat_info.st_mode);
|
/third_party/alsa-utils/alsactl/ |
H A D | init_sysfs.c | 114 if (S_ISLNK(statbuf.st_mode)) { in sysfs_attr_get_value()
|