/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/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/libbrillo/brillo/ |
D | file_utils_test.cc | 265 int file_mode = 0; in TEST_F() local 266 EXPECT_TRUE(base::GetPosixFilePermissions(filename, &file_mode)); in TEST_F() 267 EXPECT_EQ(mode & ~mask, file_mode & 0777); in TEST_F() 307 int file_mode = 0; in TEST_F() local 308 EXPECT_TRUE(base::GetPosixFilePermissions(filename, &file_mode)); in TEST_F() 309 EXPECT_EQ(mode & ~mask, file_mode & 0777); in TEST_F() 321 int file_mode = 0; in TEST_F() local 322 EXPECT_TRUE(base::GetPosixFilePermissions(filename, &file_mode)); in TEST_F() 323 EXPECT_EQ(mode & ~mask, file_mode & 0777); in TEST_F()
|
/external/selinux/libsemanage/src/ |
D | conf-parse.y | 88 | file_mode 170 file_mode: FILE_MODE '=' ARG { 171 current_conf->file_mode = strtoul($3, NULL, 8); 362 conf->file_mode = 0644;
|
D | semanage_conf.h | 45 mode_t file_mode; member
|
D | direct_api.c | 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() 1619 sh->conf->file_mode); in semanage_direct_commit() 1637 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/llvm-project/llvm/test/DebugInfo/PDB/Native/ |
D | pdb-native-compilands.test | 41 BIGREAD: f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\file_mode.obj
|
/external/libbrillo/brillo/streams/ |
D | file_stream_test.cc | 165 void CreateStream(mode_t file_mode, Stream::AccessMode access_mode) { in CreateStream() argument 167 EXPECT_CALL(*fd, GetFileMode()).WillOnce(Return(file_mode)); in CreateStream()
|
/external/llvm-project/llvm/test/DebugInfo/PDB/ |
D | pdbdump-headers.test | 700 BIG-NEXT: Mod 0021 | `f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\file_mode.o… 1011 BIG-NEXT: Mod 0021 | `f:\dd\vctools\crt\vcstartup\build\md\msvcrt_kernel32\obj1r\i386\file_mode.o… 1012 … - (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
|