Home
last modified time | relevance | path

Searched refs:S_IFREG (Results 1 - 25 of 125) sorted by relevance

12345

/third_party/ltp/testcases/kernel/syscalls/mknod/
H A Dmknod01.c21 S_IFREG | 0777,
26 S_IFREG | 04700,
27 S_IFREG | 02700,
28 S_IFREG | 06700,
/third_party/ltp/testcases/kernel/syscalls/fchown/
H A Dfchown02.c27 #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 Dfchown03.c30 #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 Dfchown05.c20 #define FILE_MODE (S_IFREG|S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH)
/third_party/ltp/testcases/kernel/syscalls/chown/
H A Dchown02.c21 #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 Dchown03.c25 #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 Dchown05.c20 #define FILE_MODE (S_IFREG|S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH)
/third_party/skia/third_party/externals/expat/expat/xmlwf/
H A Dreadfilemap.c64 # 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 Dstat.py39 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 Dfchmod01.c35 if ((file_mode & ~S_IFREG) != mode) { in verify_fchmod()
38 TESTFILE, file_mode & ~S_IFREG, mode); in verify_fchmod()
H A Dfchmod02.c39 if ((file_mode & ~S_IFREG) != PERMS) { in verify_fchmod()
/third_party/rust/crates/nix/test/
H A Dtest_stat.rs379 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 Dstat.h34 #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 Dstat.h34 #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 Dstat.h34 #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 Dstat.h34 #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 Dstat.h34 #define S_IFREG 0100000 macro
47 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
/third_party/ltp/testcases/kernel/syscalls/fanotify/
H A Dfanotify04.c133 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 Dstat.h41 #define S_IFREG 0100000 macro
54 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
/third_party/libwebsockets/win32port/dirent/
H A Ddirent-win32.h72 #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 Dinvalidate_path.c92 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 Duv_mapping.c11 #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 Dutil.h132 # 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 Dchmod01.c30 {&test_file, S_IFREG, "verify permissions of file"},
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
H A Dtypes.rs255 /// `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,

Completed in 11 milliseconds

12345