/third_party/ltp/testcases/kernel/syscalls/mknod/ |
D | mknod01.c | 55 S_IFREG | 0777, /* ordinary file with mode 0777 */ 60 S_IFREG | 04700, /* ordinary file with mode 04700 (suid) */ 61 S_IFREG | 02700, /* ordinary file with mode 02700 (sgid) */ 62 S_IFREG | 06700, /* ordinary file with mode 06700 (sgid & suid) */
|
/third_party/ltp/testcases/kernel/syscalls/fchown/ |
D | fchown02.c | 26 #define FILE_MODE (S_IFREG|S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH) 27 #define NEW_PERMS1 (S_IFREG|S_IRWXU|S_IRWXG|S_ISUID|S_ISGID) 28 #define NEW_PERMS2 (S_IFREG|S_IRWXU|S_ISGID) 29 #define EXP_PERMS (S_IFREG|S_IRWXU|S_IRWXG)
|
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)
|
/third_party/ltp/testcases/kernel/syscalls/chown/ |
D | chown02.c | 20 #define NEW_PERMS1 (S_IFREG|S_IRWXU|S_IRWXG|S_ISUID|S_ISGID) 21 #define NEW_PERMS2 (S_IFREG|S_IRWXU|S_ISGID) 22 #define EXP_PERMS (S_IFREG|S_IRWXU|S_IRWXG)
|
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)
|
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/ |
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/ |
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/ |
D | fchmod01.c | 35 if ((file_mode & ~S_IFREG) != mode) { in verify_fchmod() 38 TESTFILE, file_mode & ~S_IFREG, mode); in verify_fchmod()
|
D | fchmod02.c | 39 if ((file_mode & ~S_IFREG) != PERMS) { in verify_fchmod()
|
/third_party/rust/crates/nix/test/ |
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/kernel/include/sys/ |
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_iccarm/kernel/include/sys/ |
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/ |
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/ |
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/ |
D | stat.h | 34 #define S_IFREG 0100000 macro 47 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
|
/third_party/musl/include/sys/ |
D | stat.h | 34 #define S_IFREG 0100000 macro 47 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
|
/third_party/musl/ndk_musl_include/sys/ |
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/ |
D | fanotify04.c | 142 do_open_test(file, 0, S_IFREG); in test_open_file() 193 verify_event(S_IFREG); in test01()
|
/third_party/libwebsockets/win32port/dirent/ |
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/ |
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/ |
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/ |
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/libfuse/test/ |
D | test_syscalls.c | 492 res = check_type(path, S_IFREG); in create_file() 991 res = check_type(testfile, S_IFREG); in test_create() 1051 .st_mode = S_IFREG | 0644, in test_create_unlink() 1081 res = check_type(testfile, S_IFREG); in test_mknod() 1151 err += check_type(testfile, S_IFREG); in do_test_open() 1401 res = check_type(testfile2, S_IFREG); in test_link() 1463 res = check_type(testfile, S_IFREG); in test_link2() 1513 res = check_type(testfile2, S_IFREG); in test_rename_file()
|
/third_party/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod01.c | 27 {TESTFILE, S_IFREG, "verify permissions of file"},
|