Home
last modified time | relevance | path

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

123

/external/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()
257 if (S_ISLNK(st.st_mode)) { in cpio_main()
Drm.c39 && (!S_ISLNK(try->st.st_mode) && faccessat(fd, try->name, W_OK, 0))) or++; in do_rm()
Dls.c97 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()
Dcp.c160 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/
Dsymlinks.c24 #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/
Dchattr.c43 #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/
Dsys_stat.in.h90 # 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/
Dstat.h19 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) macro
/external/bison/linux-lib/sys/
Dstat.h402 # 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/
Dstat.h402 # 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/
Dcap_file.c248 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/
Dlsattr.c261 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()
Dstat.c97 if (S_ISLNK(stat->st_mode)) in print_stat()
/external/libcap/progs/
Dgetcap.c102 (S_ISLNK(stbuf.st_mode) ? FTW_SL : FTW_NS); in main()
/external/toybox/toys/pending/
Dtest.c65 nolink = !S_ISLNK(st.st_mode); in test_main()
Dmdev.c210 if (S_ISDIR(node->st.st_mode) || S_ISLNK(node->st.st_mode)) { in callback()
Dfile.c217 else if (S_ISLNK(sb.st_mode)) what = "symbolic link"; in do_file()
Dtar.c216 } 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/
Ddirtree.c39 if (S_ISLNK(st.st_mode)) { in dirtree_add_node()
/external/vboot_reference/cgpt/
Dcgpt_find.c200 if (!S_ISLNK(statbuf.st_mode)) in is_wholedev()
/external/selinux/policycoreutils/sandbox/
Dseunshare.c171 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/
Dsestatus.c444 if (S_ISLNK(m.st_mode)) { in main()
/external/selinux/libselinux/src/
Dstringrep.c212 if (S_ISLNK(m)) in mode_to_security_class()
/external/mksh/src/
Dsh.h326 #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/
Dfile_util_posix.cc105 if (S_ISLNK(stat_info.st_mode)) { in VerifySpecificPathControlledByUser()
632 if (S_ISLNK(st.st_mode)) in IsLink()

123