/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl15.c | 104 int dochild1(int file_flag, int file_mode) in dochild1() argument 109 if ((fd_B = open(tmpname, file_flag, file_mode)) < 0) { in dochild1() 184 int dofork(int file_flag, int file_mode) in dofork() argument 195 if (self_exec(argv0, "nddds", 1, file_flag, file_mode, in dofork() 201 dochild1(file_flag, file_mode); in dofork() 241 int dochild2(int file_flag, int file_mode, int dup_flag) in dochild2() argument 246 if ((fd_C = open(tmpname, file_flag, file_mode)) < 0) { in dochild2() 359 int run_test(int file_flag, int file_mode, int dup_flag) in run_test() argument 384 if ((fd_A = open(tmpname, file_flag, file_mode)) < 0) { in run_test() 395 dofork(file_flag, file_mode); in run_test() [all …]
|
D | fcntl16.c | 444 int run_test(int file_flag, int file_mode, int start, int end) in run_test() argument 455 fd = SAFE_OPEN(cleanup, tmpname, file_flag, file_mode); in run_test()
|
D | fcntl14.c | 777 void run_test(int file_flag, int file_mode, int seek, int start, int end) in run_test() argument 782 fd = SAFE_OPEN(cleanup, tmpname, file_flag, file_mode); in run_test()
|
/external/ltp/testcases/kernel/syscalls/fchmod/ |
D | fchmod01.c | 23 mode_t file_mode, mode; in verify_fchmod() local 33 file_mode = stat_buf.st_mode; in verify_fchmod() 35 if ((file_mode & ~S_IFREG) != mode) { in verify_fchmod() 38 TESTFILE, file_mode & ~S_IFREG, mode); in verify_fchmod()
|
D | fchmod02.c | 30 mode_t file_mode; in verify_fchmod() local 37 file_mode = stat_buf.st_mode; in verify_fchmod() 39 if ((file_mode & ~S_IFREG) != PERMS) { in verify_fchmod() 41 TESTFILE, file_mode, PERMS); in verify_fchmod()
|
D | fchmod03.c | 100 mode_t file_mode; /* mode permissions set on testfile */ in main() local 123 file_mode = stat_buf.st_mode; in main() 126 if ((file_mode & PERMS) != PERMS) in main() 128 "Expected 0777", TESTFILE, file_mode); in main()
|
/external/libbrillo/brillo/ |
D | file_utils_unittest.cc | 163 int file_mode = 0; in TEST_F() local 164 EXPECT_TRUE(base::GetPosixFilePermissions(filename, &file_mode)); in TEST_F() 165 EXPECT_EQ(mode & ~mask, file_mode & 0777); in TEST_F() 205 int file_mode = 0; in TEST_F() local 206 EXPECT_TRUE(base::GetPosixFilePermissions(filename, &file_mode)); in TEST_F() 207 EXPECT_EQ(mode & ~mask, file_mode & 0777); in TEST_F() 219 int file_mode = 0; in TEST_F() local 220 EXPECT_TRUE(base::GetPosixFilePermissions(filename, &file_mode)); in TEST_F() 221 EXPECT_EQ(mode & ~mask, file_mode & 0777); in TEST_F()
|
/external/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod03.c | 104 mode_t file_mode; in main() local 125 file_mode = stat_buf.st_mode; in main() 128 if ((file_mode & PERMS) != PERMS) { in main() 130 "Expected 0777", TESTFILE, file_mode); in main()
|
/external/selinux/libsemanage/src/ |
D | conf-parse.y | 88 | file_mode 169 file_mode: FILE_MODE '=' ARG { 170 current_conf->file_mode = strtoul($3, NULL, 8); 350 conf->file_mode = 0644;
|
D | semanage_conf.h | 45 mode_t file_mode; member
|
D | direct_api.c | 1591 sh->conf->file_mode); in semanage_direct_commit() 1598 sh->conf->file_mode); in semanage_direct_commit() 1605 sh->conf->file_mode); in semanage_direct_commit() 1612 sh->conf->file_mode); in semanage_direct_commit() 1630 sh->conf->file_mode); in semanage_direct_commit()
|
D | semanage_store.c | 1643 ret = semanage_copy_file(src, dst, sh->conf->file_mode); in semanage_install_final_tmp()
|
/external/ltp/runtest/ |
D | fs_perms_simple | 5 # fs_perms file_mode file_uid file_gid test_uid test_gid mode (r|w|x) expected_result
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/PDB/Native/ |
D | pdb-native-compilands.test | 39 BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\file_mode.obj
|
/external/libbrillo/brillo/streams/ |
D | file_stream_unittest.cc | 159 void CreateStream(mode_t file_mode, Stream::AccessMode access_mode) { in CreateStream() argument 161 EXPECT_CALL(*fd, GetFileMode()).WillOnce(Return(file_mode)); in CreateStream()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/PDB/ |
D | pdbdump-headers.test | 697 BIG-NEXT: Mod 0021 | `f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\file_mode.o… 1008 BIG-NEXT: Mod 0021 | `f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\file_mode.o… 1009 … - (MD5: 749603C05EB2FB5024819A3107DA9A7D) f:\dd\vctools\crt\vcstartup\src\defaults\file_mode.cpp
|
/external/llvm/test/DebugInfo/PDB/ |
D | pdbdump-headers.test | 1764 ; BIG-NEXT: 3535: f:\dd\vctools\crt\vcstartup\src\defaults\file_mode.cpp 2289 ; BIG-NEXT: Name: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\file_mode.o… 2301 ; BIG-NEXT: f:\dd\vctools\crt\vcstartup\src\defaults\file_mode.cpp
|