Home
last modified time | relevance | path

Searched refs:S_ISLNK (Results 1 - 25 of 100) sorted by relevance

1234

/third_party/musl/src/stat/
H A Dfchmodat.c24 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 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()
H A 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()
H A Drm.c39 && (!S_ISLNK(try->st.st_mode) && faccessat(fd, try->name, W_OK, 0))) or++; in do_rm()
H A Dls.c110 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.c99 #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 Duv_mapping.c23 #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 Ddir.h40 #ifndef S_ISLNK
41 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) macro
/third_party/toybox/porting/liteos_a/toys/posix/
H A 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()
H A 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()
H A Dls.c109 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 Dfile.c53 #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 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/libfuse/example/
H A Dpassthrough_helpers.h41 } else if (S_ISLNK(mode) && link != NULL) { in mknod_wrapper()
/third_party/ltp/testcases/kernel/syscalls/symlink/
H A Dsymlink04.c126 if (!S_ISLNK(stat_buf.st_mode)) { in main()
H A Dsymlink05.c127 if (!S_ISLNK(stat_buf.st_mode)) { in main()
/third_party/ltp/testcases/kernel/fs/mongo/
H A Dmongo_slinks.c57 if (!(S_ISLNK(statbuf.st_mode))) { in main()
/third_party/python/Lib/
H A Dposixpath.py170 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 Dmisc_nftw64_test.cpp31 } else if (S_ISLNK(sb->st_mode)) { in NftwCallback()
/third_party/musl/libc-test/src/api/
H A Dftw.c49 C(S_ISLNK(0)) in f()
/third_party/musl/libc-test/src/functionalext/supplement/stat/
H A Dlstat.c104 if (S_ISLNK(statbuff.st_mode)) { in lstat_0300()
/third_party/ntfs-3g/libfuse-lite/
H A 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/eudev/src/shared/
H A Dsmack-util.c181 else if (S_ISLNK(st.st_mode)) in mac_smack_fix()
/third_party/gn/src/base/files/
H A Dfile_posix.cc87 is_symbolic_link = S_ISLNK(stat_info.st_mode);
/third_party/alsa-utils/alsactl/
H A Dinit_sysfs.c114 if (S_ISLNK(statbuf.st_mode)) { in sysfs_attr_get_value()

Completed in 12 milliseconds

1234