/aosp12/bionic/libc/kernel/uapi/linux/ |
H A D | stat.h | 23 #define S_IFMT 00170000 macro 34 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) 35 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) 36 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) 37 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) 38 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) 39 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) 40 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
|
H A D | gfs2_ondisk.h | 158 #define DT2IF(dt) (((dt) << 12) & S_IFMT) 159 #define IF2DT(sif) (((sif) & S_IFMT) >> 12)
|
/aosp12/packages/modules/adb/sysdeps/ |
H A D | stat.h | 48 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK) 54 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) 58 static_assert(S_IFMT == 00170000, "");
|
/aosp12/bionic/libc/include/android/ |
H A D | legacy_sys_stat_inlines.h | 40 return mknod(__path, (__mode & ~S_IFMT) | S_IFIFO, (dev_t)0); in mkfifo()
|
/aosp12/bionic/libc/bionic/ |
H A D | mkfifo.cpp | 38 return mknodat(fd, path, (mode & ~S_IFMT) | S_IFIFO, 0); in mkfifoat()
|
/aosp12/bionic/tests/headers/posix/ |
H A D | sys_stat_h_mode_constants.h | 29 MACRO(S_IFMT);
|
/aosp12/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
H A D | makebuf.c | 104 return ((st.st_mode & S_IFMT) == S_IFREG && fp->_seek == __sseek ? in __swhatbuf()
|
/aosp12/frameworks/av/media/libstagefright/foundation/ |
H A D | FoundationUtils.cpp | 87 if ((s.st_mode & S_IFMT) == S_IFLNK) { in nameForFd()
|
/aosp12/bionic/tests/ |
H A D | fcntl_test.cpp | 331 ASSERT_EQ(perms, (sb.st_mode & ~S_IFMT)); in TEST() 344 ASSERT_EQ(perms, (sb.st_mode & ~S_IFMT)); in TEST()
|
/aosp12/build/make/tools/libhost/ |
H A D | CopyFile.c | 183 if (chmod(dst, pSrcStat->st_mode & ~(S_IFMT)) != 0) { in setPermissions() 185 dst, pSrcStat->st_mode & ~(S_IFMT), strerror(errno))); in setPermissions()
|
/aosp12/system/update_engine/payload_generator/ |
H A D | deflate_utils.cc | 80 (file.file_stat.st_mode & S_IFMT) == S_IFREG) { in IsRegularFile()
|
/aosp12/system/libbase/ |
H A D | file_test.cpp | 86 ASSERT_EQ(0660U, static_cast<unsigned int>(sb.st_mode & ~S_IFMT)); in TEST()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageManagerTests.java | 20 import static android.system.OsConstants.S_IFMT; 519 sb.append((stat.st_mode & S_IFMT)); in assertDirOwnerGroupPermsIfExists() 536 if ((stat.st_mode & ~S_IFMT) != perms) { in assertDirOwnerGroupPermsIfExists() 540 sb.append(Integer.toOctalString(stat.st_mode & ~S_IFMT)); in assertDirOwnerGroupPermsIfExists()
|
/aosp12/system/core/fs_mgr/libfiemap/ |
H A D | fiemap_writer.cpp | 206 if ((sb.st_mode & S_IFMT) != S_IFBLK) { in GetBlockDeviceForFile()
|
/aosp12/system/tools/hidl/ |
H A D | Coordinator.cpp | 472 if ((sb.st_mode & S_IFMT) != S_IFREG) { in getPackageInterfaceFiles()
|
/aosp12/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 575 snprintf(buf + 100, 8, "%06o ", s.st_mode & ~S_IFMT); in write_tarfile()
|
/aosp12/system/core/init/ |
H A D | builtins.cpp | 424 bool needs_chmod = (mstat.st_mode & ~S_IFMT) != options.mode; in make_dir_with_options()
|
/aosp12/packages/modules/adb/client/ |
H A D | file_sync_client.cpp | 1030 st->st_mode &= ~S_IFMT; in sync_stat_fallback()
|
/aosp12/system/core/fs_mgr/ |
H A D | fs_mgr.cpp | 706 if (lstat(mount_point.c_str(), &info) == 0 && (info.st_mode & S_IFMT) == S_IFLNK) { in prepare_fs_for_mount()
|
/aosp12/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 667 if ((s.st_mode & S_IFMT) == S_IFLNK) { in dump()
|
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/aosp12/frameworks/opt/setupwizard/tools/docs/ |
H A D | android-22.txt | 27997 field public static final int S_IFMT;
|