Home
last modified time | relevance | path

Searched refs:S_IFMT (Results 1 – 25 of 27) sorted by relevance

12

/external/kernel-headers/original/linux/
Dstat.h12 #define S_IFMT 00170000 macro
24 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
25 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
26 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
27 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
28 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK)
29 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO)
30 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
/external/expat/xmlwf/
Dreadfilemap.c27 #ifndef S_IFMT
28 #define S_IFMT _S_IFMT macro
30 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
/external/ipsec-tools/src/racoon/
Dsafefile.c73 switch (s.st_mode & S_IFMT) {
79 (s.st_mode & S_IFMT));
/external/grub/stage2/
Dfsys_minix.c148 #define S_IFMT 00170000 macro
152 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
153 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
154 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
Dfsys_ext2fs.c229 #define S_IFMT 00170000 macro
233 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
234 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
235 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/external/yaffs2/yaffs2/direct/
Dyaffsfs.h118 #ifndef S_IFMT
119 #define S_IFMT 0170000 macro
Ddtest.c505 switch(s.st_mode & S_IFMT) in dumpDirFollow()
552 switch(s.st_mode & S_IFMT) in dump_directory_tree_worker()
567 if((s.st_mode & S_IFMT) == S_IFDIR && recursive) in dump_directory_tree_worker()
913 switch(s.st_mode & S_IFMT){ in huge_directory_test_on_path()
Dyaffsfs.c834 buf->st_mode = obj->yst_mode & ~S_IFMT; // clear out file type bits in yaffsfs_DoStat()
/external/chromium/third_party/libevent/sample/
Devent-test.c93 if ((st.st_mode & S_IFMT) == S_IFREG) { in main()
/external/strace/
Dfile.c611 if ((mode & S_IFMT) == 0)
613 else if ((s = xlookup(modetypes, mode & S_IFMT)) == NULL) {
621 mode &= ~(S_IFMT|S_ISUID|S_ISGID|S_ISVTX);
707 switch (statbuf.st_mode & S_IFMT) {
764 switch (statbuf.st_mode & S_IFMT) {
858 switch (statbuf->st_mode & S_IFMT) {
1001 switch (statbuf.st_mode & S_IFMT) {
1306 switch (mode & S_IFMT) {
1935 switch (mode & S_IFMT) {
/external/oprofile/libutil++/
Dfile_manip.cpp47 mode_t mode = buf.st_mode & ~S_IFMT; in copy_file()
/external/openssl/
De_os.h247 # ifndef S_IFMT
248 # define S_IFMT _S_IFMT macro
/external/clang/lib/Driver/
DCompilation.cpp117 if (::stat(P.c_str(), &buf) == 0 ? (buf.st_mode & S_IFMT) == S_IFREG : in CleanupFileList()
/external/yaffs2/yaffs2/
Dyaffs_fs.c676 obj->yst_mode &= ~S_IFMT; in yaffs_FillInodeFromObject()
683 obj->yst_mode &= ~S_IFMT; in yaffs_FillInodeFromObject()
690 obj->yst_mode &= ~S_IFMT; in yaffs_FillInodeFromObject()
734 switch (obj->yst_mode & S_IFMT) { in yaffs_FillInodeFromObject()
989 switch (mode & S_IFMT) { in yaffs_mknod()
/external/valgrind/main/auxprogs/
Daix5_VKI_info.c67 printf("#define VKI_S_IFMT 0x%08x\n", S_IFMT); in main()
/external/zlib/examples/
Dgun.c522 if (stat(from, &was) != 0 || (was.st_mode & S_IFMT) != S_IFREG) in copymeta()
/external/libxml2/
DxmlIO.c70 # ifndef S_IFMT
72 # define S_IFMT _S_IFMT macro
75 # ifdef S_IFMT
76 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/external/webkit/Source/WebKit2/UIProcess/Launcher/mac/
DProcessLauncherMac.mm272 if (stat(pluginProcessShimPath, &statBuf) == 0 && (statBuf.st_mode & S_IFMT) == S_IFREG)
/external/genext2fs/
Dgenext2fs.c1695 switch(st.st_mode & S_IFMT) in add2fs_from_dir()
1699 if((st.st_mode & S_IFMT) == S_IFREG || st.st_size > 4 * (EXT2_TIND_BLOCK+1)) in add2fs_from_dir()
1741 switch(st.st_mode & S_IFMT) in add2fs_from_dir()
2447 switch(st.st_mode & S_IFMT) in populate_fs()
/external/ppp/pppd/
Dutils.c939 if ((sbuf.st_mode & S_IFMT) != S_IFCHR) {
Dsys-solaris.c2533 if ((sbuf.st_mode & S_IFMT) != S_IFCHR) {
/external/pcre/
Dpcregrep.c345 return ((statbuf.st_mode & S_IFMT) == S_IFDIR)? '/' : 0; in isdirectory()
382 return (statbuf.st_mode & S_IFMT) == S_IFREG; in isregfile()
/external/dropbear/
Dscp.c620 switch (stb.st_mode & S_IFMT) { in source()
/external/llvm/lib/Support/Unix/
DPath.inc422 return ((buf.st_mode & S_IFMT) == S_IFDIR) ? true : false;
/external/openssl/apps/
Dapps.c2978 # define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR)

12