/third_party/ltp/testcases/kernel/syscalls/mknod/ |
H A D | mknod01.c | 21 S_IFREG | 0777, 26 S_IFREG | 04700, 27 S_IFREG | 02700, 28 S_IFREG | 06700,
|
/third_party/ltp/testcases/kernel/syscalls/fchown/ |
H A D | fchown02.c | 27 #define FILE_MODE (S_IFREG|S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH) 28 #define NEW_PERMS1 (S_IFREG|S_IRWXU|S_IRWXG|S_ISUID|S_ISGID) 29 #define NEW_PERMS2 (S_IFREG|S_IRWXU|S_ISGID) 30 #define EXP_PERMS (S_IFREG|S_IRWXU|S_IRWXG)
|
H A D | fchown03.c | 30 #define FILE_MODE (S_IFREG|S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH) 31 #define NEW_PERMS (S_IFREG|S_IRWXU|S_IRWXG|S_ISUID|S_ISGID)
|
H A D | fchown05.c | 20 #define FILE_MODE (S_IFREG|S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH)
|
/third_party/ltp/testcases/kernel/syscalls/chown/ |
H A D | chown02.c | 21 #define NEW_PERMS1 (S_IFREG|S_IRWXU|S_IRWXG|S_ISUID|S_ISGID) 22 #define NEW_PERMS2 (S_IFREG|S_IRWXU|S_ISGID) 23 #define EXP_PERMS (S_IFREG|S_IRWXU|S_IRWXG)
|
H A D | chown03.c | 25 #define FILE_MODE (S_IFREG|S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH) 26 #define NEW_PERMS (S_IFREG|S_IRWXU|S_IRWXG|S_ISUID|S_ISGID)
|
H A D | chown05.c | 20 #define FILE_MODE (S_IFREG|S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH)
|
/third_party/skia/third_party/externals/expat/expat/xmlwf/ |
H A D | readfilemap.c | 64 # ifndef S_IFREG 65 # define S_IFREG _S_IFREG macro 70 # define S_ISREG(m) (((m)&S_IFMT) == S_IFREG)
|
/third_party/python/Lib/ |
H A D | stat.py | 39 S_IFREG = 0o100000 # regular file variable 64 return S_IFMT(mode) == S_IFREG 131 (S_IFREG, "-"),
|
/third_party/ltp/testcases/kernel/syscalls/fchmod/ |
H A D | fchmod01.c | 35 if ((file_mode & ~S_IFREG) != mode) { in verify_fchmod() 38 TESTFILE, file_mode & ~S_IFREG, mode); in verify_fchmod()
|
H A D | fchmod02.c | 39 if ((file_mode & ~S_IFREG) != PERMS) { in verify_fchmod()
|
/third_party/rust/crates/nix/test/ |
H A D | test_stat.rs | 379 mknod(&target, SFlag::S_IFREG, Mode::S_IRWXU, 0).unwrap(); in test_mknod() 381 assert_eq!(mode & libc::S_IFREG, libc::S_IFREG); in test_mknod() 407 SFlag::S_IFREG, in test_mknodat() 419 assert_eq!(mode & libc::S_IFREG, libc::S_IFREG); in test_mknodat()
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | stat.h | 34 #define S_IFREG 0100000 macro 47 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
|
/third_party/musl/porting/linux/user/include/sys/ |
H A D | stat.h | 34 #define S_IFREG 0100000 macro 47 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | stat.h | 34 #define S_IFREG 0100000 macro 47 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | stat.h | 34 #define S_IFREG 0100000 macro 47 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | stat.h | 34 #define S_IFREG 0100000 macro 47 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
|
/third_party/ltp/testcases/kernel/syscalls/fanotify/ |
H A D | fanotify04.c | 133 do_open_test(file, 0, S_IFREG); in test_open_file() 184 verify_event(S_IFREG); in test01()
|
/third_party/musl/include/sys/ |
H A D | stat.h | 41 #define S_IFREG 0100000 macro 54 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
|
/third_party/libwebsockets/win32port/dirent/ |
H A D | dirent-win32.h | 72 #if !defined(S_IFREG) 73 # define S_IFREG _S_IFREG macro 169 #define DT_REG S_IFREG 194 # define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
|
/third_party/libfuse/example/ |
H A D | invalidate_path.c | 92 stbuf->st_mode = S_IFREG | 0444; in xmp_getattr() 97 stbuf->st_mode = S_IFREG | 0444; in xmp_getattr()
|
/third_party/node/deps/uvwasi/src/ |
H A D | uv_mapping.c | 11 #if !defined(S_ISREG) && defined(S_IFMT) && defined(S_IFREG) 12 # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
|
/third_party/lz4/programs/ |
H A D | util.h | 132 # define UTIL_STAT_MODE_ISREG(st_mode) ((st_mode) & S_IFREG) 137 # define UTIL_STAT_MODE_ISREG(st_mode) ((st_mode) & S_IFREG) 394 if (r || !(statbuf->st_mode & S_IFREG)) return 0; /* No good... */ in UTIL_getFDStat() 407 if (r || !(statbuf->st_mode & S_IFREG)) return 0; /* No good... */ in UTIL_getFileStat()
|
/third_party/ltp/testcases/kernel/syscalls/chmod/ |
H A D | chmod01.c | 30 {&test_file, S_IFREG, "verify permissions of file"},
|
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/ |
H A D | types.rs | 255 /// `S_IFREG` 256 RegularFile = linux_raw_sys::general::S_IFREG as isize, 286 linux_raw_sys::general::S_IFREG => Self::RegularFile, 301 Self::RegularFile => linux_raw_sys::general::S_IFREG,
|