/haiku/headers/os/package/hpkg/ |
H A D | PackageEntry.h | 78 fMode = (fMode & ~(uint32)S_IFMT) | (type & S_IFMT);
|
/haiku/headers/os/package/hpkg/v1/ |
H A D | PackageEntry.h | 80 fMode = (fMode & ~(uint32)S_IFMT) | (type & S_IFMT);
|
/haiku/headers/posix/sys/ |
H A D | stat.h | 56 #define S_IFMT 00000170000 /* type of file */ macro 65 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) 66 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK) 67 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) 68 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) 69 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) 70 #define S_ISFIFO(mode) (((mode) & S_IFMT) == S_IFIFO) 71 #define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK)
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | Utility.h | 29 mode &= S_IFMT;
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/ |
H A D | BeOSKernelVolume.cpp | 158 *type = st.st_mode & S_IFMT; 199 *type = (st.st_mode & S_IFMT);
|
/haiku/src/bin/unzip/ |
H A D | unzpriv.h | 1155 # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) 1163 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
|
/haiku/src/system/boot/platform/amiga_m68k/ |
H A D | stage1.S | 59 #define S_IFMT 00000170000o define
|
/haiku/src/system/boot/platform/atari_m68k/ |
H A D | stage1.S | 72 #define S_IFMT 00000170000o define
|
/haiku/src/system/libroot/posix/glibc/stdio-common/ |
H A D | tempname.c | 69 # define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
|
/haiku/src/tests/system/kernel/file_corruption/driver/ |
H A D | checksum_device.cpp | 344 switch (st.st_mode & S_IFMT) {
|
/haiku/src/tests/system/kernel/file_corruption/fs/ |
H A D | Node.cpp | 139 ASSERT((mode & S_IFMT) == (Mode() & S_IFMT));
|
H A D | Volume.cpp | 94 switch (st.st_mode & S_IFMT) { 307 switch (nodeData->mode & S_IFMT) {
|
/haiku/src/tools/fs_shell/ |
H A D | stat_util.cpp | 51 switch (mode & S_IFMT) {
|
/haiku/headers/private/fs_shell/ |
H A D | fssh_api_wrapper.h | 1283 #define S_IFMT FSSH_S_IFMT macro
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | Inode.h | 68 { return (Mode() & (S_IFMT
|
/haiku/src/add-ons/kernel/file_systems/bindfs/ |
H A D | Volume.cpp | 87 fRootNode->Mode() & S_IFMT, 0);
|
H A D | kernel_interface.cpp | 180 *_type = node->Mode() & S_IFMT;
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | file.cpp | 674 perms &= ~S_IFMT; perms |= S_IFDIR;
|
/haiku/src/add-ons/kernel/file_systems/ntfs/ |
H A D | kernel_interface.cpp | 749 if (ntfs_fuse_create(&volume->lowntfs, directory->inode, name, mode & (S_IFMT | 07777),
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | dir.h | 41 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) 47 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
|
/haiku/src/add-ons/kernel/file_systems/packagefs/ |
H A D | kernel_interface.cpp | 201 *_type = node->Mode() & S_IFMT;
|
/haiku/src/add-ons/kernel/file_systems/packagefs/volume/ |
H A D | Volume.cpp | 656 node->Mode() & S_IFMT, 0);
|
/haiku/src/add-ons/kernel/file_systems/reiserfs/ |
H A D | kernel_interface.cpp | 251 *_type = foundNode->GetStatData()->GetMode() & S_IFMT;
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/ |
H A D | FUSEVolume.cpp | 782 FUSENode* node = new(std::nothrow) FUSENode(st.st_ino, st.st_mode & S_IFMT); 2782 node = new(std::nothrow) FUSENode(st.st_ino, st.st_mode & S_IFMT); 3307 int type = st != NULL ? st->st_mode & S_IFMT : 0; 3319 int type = st != NULL ? st->st_mode & S_IFMT : 0; 3401 type = st.st_mode & S_IFMT; 3533 type = st.st_mode & S_IFMT;
|
/haiku/src/add-ons/kernel/file_systems/websearchfs/ |
H A D | websearchfs.c | 278 *_type = n->st.st_mode & ~S_IUMSK; /*XXX: S_IFMT ?*/ 342 //*type = n->st.st_type & ~S_IUMSK; /*XXX: S_IFMT ?*/ 737 fill_default_stat(&n->st, ns->nsid, n->vnid, (perms & ~S_IFMT) | (mkdir?S_IFDIR:S_IFREG));
|