/external/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) */
|
/external/ltp/testcases/kernel/syscalls/fchown/ |
D | fchown02.c | 42 #define FILE_MODE S_IFREG | S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH 43 #define NEW_PERMS1 S_IFREG | S_IRWXU | S_IRWXG | S_ISUID | S_ISGID 44 #define NEW_PERMS2 S_IFREG | S_IRWXU | S_ISGID 45 #define EXP_PERMS S_IFREG | S_IRWXU | S_IRWXG
|
D | fchown03.c | 45 #define FILE_MODE (mode_t)(S_IFREG | S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) 46 #define NEW_PERMS (mode_t)(S_IFREG | S_IRWXU | S_IRWXG | S_ISUID | S_ISGID)
|
/external/ltp/testcases/kernel/syscalls/chown/ |
D | chown02.c | 84 #define FILE_MODE (S_IFREG|S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH) 85 #define NEW_PERMS1 (S_IFREG|S_IRWXU|S_IRWXG|S_ISUID|S_ISGID) 86 #define NEW_PERMS2 (S_IFREG|S_IRWXU|S_ISGID) 87 #define EXP_PERMS (S_IFREG|S_IRWXU|S_IRWXG)
|
D | chown03.c | 87 #define FILE_MODE (S_IFREG|S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH) 88 #define NEW_PERMS (S_IFREG|S_IRWXU|S_IRWXG|S_ISUID|S_ISGID)
|
/external/expat/xmlwf/ |
D | readfilemap.c | 56 # ifndef S_IFREG 57 # define S_IFREG _S_IFREG macro 62 # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
|
/external/python/cpython3/Lib/ |
D | stat.py | 39 S_IFREG = 0o100000 # regular file variable 60 return S_IFMT(mode) == S_IFREG 114 (S_IFREG, "-"),
|
/external/strace/xlat/ |
D | modetypes.h | 11 #if defined(S_IFREG) || (defined(HAVE_DECL_S_IFREG) && HAVE_DECL_S_IFREG) 12 XLAT(S_IFREG),
|
D | modetypes.in | 1 S_IFREG
|
/external/syslinux/com32/include/sys/ |
D | stat.h | 15 #define S_IFREG 0100000 macro 24 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
|
/external/python/cpython2/Lib/ |
D | stat.py | 33 S_IFREG = 0100000 variable 50 return S_IFMT(mode) == S_IFREG
|
/external/kernel-headers/original/uapi/linux/ |
D | stat.h | 12 #define S_IFREG 0100000 macro 22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
|
/external/ltp/testcases/kernel/syscalls/ftruncate/ |
D | ftruncate02.c | 134 stat_buf.st_mode &= ~S_IFREG; in main() 168 stat_buf.st_mode &= ~S_IFREG; in main()
|
/external/libbrillo/brillo/streams/ |
D | file_stream_unittest.cc | 143 CreateStream(S_IFREG, Stream::AccessMode::READ_WRITE); in SetUp() 199 CreateStream(S_IFREG, Stream::AccessMode::READ_WRITE); in TEST_F() 203 CreateStream(S_IFREG, Stream::AccessMode::READ); in TEST_F() 205 CreateStream(S_IFREG, Stream::AccessMode::WRITE); in TEST_F() 210 CreateStream(S_IFREG, Stream::AccessMode::READ_WRITE); in TEST_F() 214 CreateStream(S_IFREG, Stream::AccessMode::READ); in TEST_F() 216 CreateStream(S_IFREG, Stream::AccessMode::WRITE); in TEST_F() 225 CreateStream(S_IFREG, Stream::AccessMode::READ_WRITE); in TEST_F() 236 CreateStream(S_IFREG, Stream::AccessMode::READ); in TEST_F() 238 CreateStream(S_IFREG, Stream::AccessMode::WRITE); in TEST_F() [all …]
|
/external/adhd/cras/src/tests/ |
D | file_wait_unittest.cc | 81 EXPECT_EQ(0, mknod(file_path, S_IFREG | 0600, 0)); in SimpleFileWait() 189 EXPECT_EQ(0, mknod(file_path.c_str(), S_IFREG | 0600, 0)); in TEST() 211 EXPECT_EQ(0, mknod(file_path.c_str(), S_IFREG | 0600, 0)); in TEST()
|
/external/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify04.c | 162 do_open_test(file, 0, S_IFREG); in test_open_file() 222 verify_event(S_IFREG); in test01()
|
/external/e2fsprogs/contrib/android/ |
D | basefs_allocator.c | 122 if (mode != S_IFREG) in base_fs_alloc_set_target() 140 if (!allocator || !allocator->cur_entry || mode != S_IFREG) in base_fs_alloc_unset_target()
|
/external/syslinux/core/fs/ext2/ |
D | ext2_fs.h | 45 #define S_IFREG 0100000 // Regular file macro 55 #define T_IFREG (S_IFREG >> S_IFSHIFT)
|
/external/syslinux/com32/lib/sys/ |
D | fstat.c | 54 buf->st_mode = S_IFREG | 0444; in fstat()
|
/external/ipsec-tools/src/racoon/ |
D | safefile.c | 74 case S_IFREG:
|
/external/strace/tests-mx32/ |
D | umode_t.c | 71 test_syscall(S_IFREG); in main()
|
/external/strace/tests-m32/ |
D | umode_t.c | 71 test_syscall(S_IFREG); in main()
|
/external/strace/tests/ |
D | umode_t.c | 71 test_syscall(S_IFREG); in main()
|
/external/libgsm/inc/ |
D | toast.h | 43 #define S_ISREG(x) ((x) & S_IFREG)
|
/external/lz4/programs/ |
D | util.h | 200 if (r || !(statbuf->st_mode & S_IFREG)) return 0; /* No good... */ in UTIL_getFileStat() 215 if (r || !(statbuf.st_mode & S_IFREG)) return 0; /* No good... */ in UTIL_getFileSize() 241 if (r || !(statbuf.st_mode & S_IFREG)) return 0; /* No good... */ in UTIL_doesFileExists()
|