/external/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() 257 if (S_ISLNK(st.st_mode)) { in cpio_main()
|
D | rm.c | 39 && (!S_ISLNK(try->st.st_mode) && faccessat(fd, try->name, W_OK, 0))) or++; in do_rm()
|
D | ls.c | 97 if (S_ISLNK(mode)) return '@'; in endtype() 274 else if (S_ISLNK(mode)) color = 256+36; in color_from_mode() 480 if ((flags & (FLAG_l|FLAG_o|FLAG_n|FLAG_g)) && S_ISLNK(mode)) { in listfiles()
|
D | cp.c | 160 if (S_ISLNK(try->st.st_mode) && (flags & FLAG_d)) flags |= FLAG_r; in cp_node() 270 if (S_ISLNK(try->st.st_mode) in cp_node()
|
/external/e2fsprogs/util/ |
D | symlinks.c | 24 #ifndef S_ISLNK 25 #define S_ISLNK(mode) (((mode) & (_S_IFMT)) == (_S_IFLNK)) macro 291 if (S_ISLNK(st.st_mode)) { in dirwalk() 377 else if (S_ISLNK(st.st_mode))
|
/external/e2fsprogs/misc/ |
D | chattr.c | 43 #ifndef S_ISLNK /* So we can compile even with gcc-warn */ 45 # define S_ISLNK(mode) __S_ISTYPE((mode), __S_IFLNK) macro 47 # define S_ISLNK(mode) 0 macro
|
/external/bison/lib/ |
D | sys_stat.in.h | 90 # undef S_ISLNK 135 #ifndef S_ISLNK 137 # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) 139 # define S_ISLNK(m) 0
|
/external/kernel-headers/original/uapi/linux/ |
D | stat.h | 19 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) macro
|
/external/bison/linux-lib/sys/ |
D | stat.h | 402 # undef S_ISLNK 447 #ifndef S_ISLNK 449 # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) macro 451 # define S_ISLNK(m) 0 macro
|
/external/bison/darwin-lib/sys/ |
D | stat.h | 402 # undef S_ISLNK 447 #ifndef S_ISLNK 449 # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) macro 451 # define S_ISLNK(m) 0 macro
|
/external/libcap/libcap/ |
D | cap_file.c | 248 if (S_ISLNK(buf.st_mode) || !S_ISREG(buf.st_mode)) { in cap_set_fd() 280 if (S_ISLNK(buf.st_mode) || !S_ISREG(buf.st_mode)) { in cap_set_file()
|
/external/toybox/toys/other/ |
D | lsattr.c | 261 if ((S_ISLNK(root->st.st_mode) && chattr.recursive) in update_attr() 262 || (!S_ISREG(root->st.st_mode) && !S_ISLNK(root->st.st_mode) in update_attr()
|
D | stat.c | 97 if (S_ISLNK(stat->st_mode)) in print_stat()
|
/external/libcap/progs/ |
D | getcap.c | 102 (S_ISLNK(stbuf.st_mode) ? FTW_SL : FTW_NS); in main()
|
/external/toybox/toys/pending/ |
D | test.c | 65 nolink = !S_ISLNK(st.st_mode); in test_main()
|
D | mdev.c | 210 if (S_ISDIR(node->st.st_mode) || S_ISLNK(node->st.st_mode)) { in callback()
|
D | file.c | 217 else if (S_ISLNK(sb.st_mode)) what = "symbolic link"; in do_file()
|
D | tar.c | 216 } else if (S_ISLNK(st->st_mode)) { in add_file() 425 if (S_ISLNK(file_hdr->mode)) return; in extract_to_disk() 714 || S_ISLNK(file_hdr->mode) || S_ISDIR(file_hdr->mode)) in unpack_tar()
|
/external/toybox/lib/ |
D | dirtree.c | 39 if (S_ISLNK(st.st_mode)) { in dirtree_add_node()
|
/external/vboot_reference/cgpt/ |
D | cgpt_find.c | 200 if (!S_ISLNK(statbuf.st_mode)) in is_wholedev()
|
/external/selinux/policycoreutils/sandbox/ |
D | seunshare.c | 171 if (S_ISLNK(st->st_mode)) { in check_owner_uid() 183 if (S_ISLNK(st->st_mode)) { in check_owner_gid()
|
/external/selinux/policycoreutils/sestatus/ |
D | sestatus.c | 444 if (S_ISLNK(m.st_mode)) { in main()
|
/external/selinux/libselinux/src/ |
D | stringrep.c | 212 if (S_ISLNK(m)) in mode_to_security_class()
|
/external/mksh/src/ |
D | sh.h | 326 #ifndef S_ISLNK 327 #define S_ISLNK(m) ((m & 0170000) == 0120000) macro 462 #undef S_ISLNK 463 #define S_ISLNK(m) (/* CONSTCOND */ 0) macro
|
/external/libchrome/base/files/ |
D | file_util_posix.cc | 105 if (S_ISLNK(stat_info.st_mode)) { in VerifySpecificPathControlledByUser() 632 if (S_ISLNK(st.st_mode)) in IsLink()
|