Home
last modified time | relevance | path

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

123

/external/toybox/toys/posix/
Dcpio.c137 } else if (S_ISLNK(mode)) { in cpio_main()
182 if (!S_ISREG(mode) && !S_ISLNK(mode) && !getpid()) { in cpio_main()
229 if (!S_ISREG(st.st_mode) && !S_ISLNK(st.st_mode)) st.st_size = 0; in cpio_main()
246 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.c103 if (S_ISLNK(mode)) return '@'; in endtype()
285 else if (S_ISLNK(mode)) color = 256+36; in color_from_mode()
467 if ((flags & (FLAG_l|FLAG_o|FLAG_n|FLAG_g)) && S_ISLNK(mode)) { in listfiles()
Dcp.c121 if (S_ISLNK(try->st.st_mode) && (flags & FLAG_d)) flags |= FLAG_r;
231 if (S_ISLNK(try->st.st_mode)
/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/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/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/toybox/toys/other/
Dlsattr.c268 if ((S_ISLNK(root->st.st_mode) && chattr.recursive) in update_attr()
269 || (!S_ISREG(root->st.st_mode) && !S_ISLNK(root->st.st_mode) in update_attr()
Dstat.c90 if (S_ISLNK(stat->st_mode)) in print_stat()
/external/openssh/openbsd-compat/
Drealpath.c145 if (S_ISLNK(sb.st_mode)) { in realpath()
/external/toybox/toys/pending/
Dtest.c65 nolink = !S_ISLNK(st.st_mode); in test_main()
Dmdev.c214 if (S_ISDIR(node->st.st_mode) || S_ISLNK(node->st.st_mode)) { in callback()
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/openssh/
Ddefines.h157 #ifndef S_ISLNK
158 # define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK) macro
/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/libselinux/src/
Dstringrep.c190 if (S_ISLNK(m)) in mode_to_security_class()
Dmatchpathcon.c416 if (S_ISLNK(mode)) { in matchpathcon()
/external/selinux/policycoreutils/sestatus/
Dsestatus.c444 if (S_ISLNK(m.st_mode)) { in main()
/external/mksh/src/
Dsh.h329 #ifndef S_ISLNK
330 #define S_ISLNK(m) ((m & 0170000) == 0120000) macro
423 #undef S_ISLNK
424 #define S_ISLNK(m) (/* CONSTCOND */ 0) macro
/external/e2fsprogs/ext2ed/
Dinode_com.c251 if (S_ISLNK (type_data.u.t_ext2_inode.i_mode)) { in type_ext2_inode___show()

123