/external/ltp/testcases/kernel/syscalls/mknod/ |
D | mknod03.c | 88 #define DIR_TEMP "testdir_3" macro 234 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup() 235 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup() 236 SAFE_CHMOD(cleanup, DIR_TEMP, MODE_SGID); in setup() 242 SAFE_STAT(cleanup, DIR_TEMP, &buf); in setup() 247 "%s: Incorrect modes, setgid bit not set", DIR_TEMP); in setup() 252 tst_brkm(TBROK, cleanup, "%s: Incorrect group", DIR_TEMP); in setup() 269 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
|
D | mknod05.c | 88 #define DIR_TEMP "testdir_5" macro 231 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup() 232 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup() 233 SAFE_CHMOD(cleanup, DIR_TEMP, MODE_SGID); in setup() 239 SAFE_STAT(cleanup, DIR_TEMP, &buf); in setup() 243 "%s: Incorrect modes, setgid bit not set", DIR_TEMP); in setup() 248 tst_brkm(TBROK, cleanup, "%s: Incorrect group", DIR_TEMP); in setup() 252 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
|
D | mknod04.c | 88 #define DIR_TEMP "testdir_4" macro 239 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup() 240 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup() 241 SAFE_CHMOD(cleanup, DIR_TEMP, MODE_SGID); in setup() 247 SAFE_STAT(cleanup, DIR_TEMP, &buf); in setup() 252 "%s: Incorrect modes, setgid bit not set", DIR_TEMP); in setup() 257 tst_brkm(TBROK, cleanup, "%s: Incorrect group", DIR_TEMP); in setup() 274 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
|
D | mknod08.c | 87 #define DIR_TEMP "testdir_1" macro 235 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup() 236 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup() 242 SAFE_STAT(cleanup, DIR_TEMP, &buf); in setup() 247 "%s: Incorrect modes, setgid bit set", DIR_TEMP); in setup() 252 tst_brkm(TBROK, cleanup, "%s: Incorrect group", DIR_TEMP); in setup() 269 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
|
D | mknod02.c | 88 #define DIR_TEMP "testdir_2" macro 240 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup() 241 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup() 247 SAFE_STAT(cleanup, DIR_TEMP, &buf); in setup() 252 "%s: Incorrect modes, setgid bit set", DIR_TEMP); in setup() 257 tst_brkm(TBROK, cleanup, "%s: Incorrect group", DIR_TEMP); in setup() 274 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
|
D | mknod07.c | 51 #define DIR_TEMP "testdir_1" macro 140 SAFE_MKDIR(cleanup, DIR_TEMP, DIR_TEMP_MODE); in setup()
|
/external/libchrome/base/ |
D | path_service_unittest.cc | 208 PathService::RemoveOverride(DIR_TEMP); in TEST_F() 211 EXPECT_TRUE(PathService::Get(DIR_TEMP, &original_user_data_dir)); in TEST_F() 212 EXPECT_FALSE(PathService::RemoveOverride(DIR_TEMP)); in TEST_F() 216 EXPECT_TRUE(PathService::Override(DIR_TEMP, temp_dir.GetPath())); in TEST_F() 218 EXPECT_TRUE(PathService::Get(DIR_TEMP, &new_user_data_dir)); in TEST_F() 221 EXPECT_TRUE(PathService::RemoveOverride(DIR_TEMP)); in TEST_F() 222 EXPECT_TRUE(PathService::Get(DIR_TEMP, &new_user_data_dir)); in TEST_F()
|
D | base_paths.h | 34 DIR_TEMP, // Temporary directory. enumerator
|
D | base_paths.cc | 29 case DIR_TEMP: in PathProvider()
|
/external/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod06.c | 33 #define DIR_TEMP "testdir_1" macro 120 SAFE_MKDIR(DIR_TEMP, MODE_RWX); in setup() 122 SAFE_CHMOD(DIR_TEMP, FILE_MODE); in setup() 137 SAFE_CHMOD(DIR_TEMP, MODE_RWX); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/link/ |
D | link07.c | 44 #define DIR_TEMP "testdir_1" macro 102 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup() 106 SAFE_CHMOD(cleanup, DIR_TEMP, MODE_TE); in setup()
|
/external/ltp/testcases/kernel/syscalls/symlink/ |
D | symlink03.c | 94 #define DIR_TEMP "testdir_1" macro 265 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup1() 275 SAFE_CHMOD(cleanup, DIR_TEMP, FILE_MODE); in setup1() 348 SAFE_CHMOD(NULL, DIR_TEMP, MODE_RWX); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/readlink/ |
D | readlink03.c | 34 #define DIR_TEMP "test_dir_1" macro 98 SAFE_MKDIR(DIR_TEMP, 0777); in setup() 101 SAFE_CHMOD(DIR_TEMP, 0444); in setup()
|
/external/ltp/testcases/kernel/syscalls/chown/ |
D | chown04.c | 63 #define DIR_TEMP "testdir_1" macro 65 #define TEST_FILE2 (DIR_TEMP "/tfile_2") 171 SAFE_MKDIR(cleanup, DIR_TEMP, S_IRWXU); in setup()
|
/external/ltp/testcases/kernel/syscalls/lchown/ |
D | lchown02.c | 66 #define DIR_TEMP "testdir_1" macro 228 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup_eacces() 240 SAFE_CHMOD(cleanup, DIR_TEMP, FILE_MODE); in setup_eacces()
|
/external/libchrome/mojo/core/test/ |
D | multiprocess_test_helper.cc | 121 CHECK(base::PathService::Get(base::DIR_TEMP, &temp_dir)); in StartChildWithExtraSwitch()
|
/external/libchrome/mojo/public/cpp/system/tests/ |
D | invitation_unittest.cc | 87 CHECK(base::PathService::Get(base::DIR_TEMP,
|
/external/libchrome/mojo/core/ |
D | invitation_unittest.cc | 316 CHECK(base::PathService::Get(base::DIR_TEMP, in LaunchChildTestClient()
|
/external/libchrome/base/process/ |
D | process_util_unittest.cc | 171 PathService::Get(DIR_TEMP, &tmp_dir); in GetSignalFilePath()
|