Searched refs:GetPosixFilePermissions (Results 1 – 6 of 6) sorted by relevance
/external/libbrillo/brillo/ |
D | file_utils_test.cc | 72 EXPECT_TRUE(base::GetPosixFilePermissions(file_path_, &actual_permissions)); in ExpectFilePermissions() 203 base::GetPosixFilePermissions(temp_dir_.GetPath().Append("a"), &mode)); in TEST_F() 207 base::GetPosixFilePermissions(temp_dir_.GetPath().Append("a/b"), &mode)); in TEST_F() 210 EXPECT_TRUE(base::GetPosixFilePermissions(temp_dir_.GetPath().Append("a/b/c"), in TEST_F() 216 EXPECT_TRUE(base::GetPosixFilePermissions(temp_dir_.GetPath(), &mode)); in TEST_F() 228 EXPECT_TRUE(base::GetPosixFilePermissions( in TEST_F() 266 EXPECT_TRUE(base::GetPosixFilePermissions(filename, &file_mode)); in TEST_F() 281 EXPECT_TRUE(base::GetPosixFilePermissions(dirname, &dir_mode)); in TEST_F() 282 EXPECT_TRUE(base::GetPosixFilePermissions(subdirname, &subdir_mode)); in TEST_F() 308 EXPECT_TRUE(base::GetPosixFilePermissions(filename, &file_mode)); in TEST_F() [all …]
|
D | scoped_umask_test.cc | 31 EXPECT_TRUE(base::GetPosixFilePermissions(path, &mode)); in CheckFilePermissions()
|
/external/libchrome/base/files/ |
D | file_util_unittest.cc | 200 ASSERT_TRUE(GetPosixFilePermissions(path, &mode)); in ChangePosixFilePermissions() 242 EXPECT_TRUE(GetPosixFilePermissions(path, &mode)); in IsReadOnly() 803 EXPECT_TRUE(GetPosixFilePermissions(file_name, &mode)); in TEST_F() 808 EXPECT_TRUE(GetPosixFilePermissions(file_name, &mode)); in TEST_F() 815 EXPECT_TRUE(GetPosixFilePermissions(file_name, &mode)); in TEST_F() 840 EXPECT_TRUE(GetPosixFilePermissions(file_name, &mode)); in TEST_F() 846 EXPECT_TRUE(GetPosixFilePermissions(file_name, &mode)); in TEST_F() 855 EXPECT_TRUE(GetPosixFilePermissions(file_name, &mode)); in TEST_F() 883 EXPECT_TRUE(GetPosixFilePermissions(subdir_path, &mode)); in TEST_F() 888 EXPECT_TRUE(GetPosixFilePermissions(subdir_path, &mode)); in TEST_F() [all …]
|
D | file_util.h | 228 BASE_EXPORT bool GetPosixFilePermissions(const FilePath& path, int* mode);
|
D | file_util_posix.cc | 531 bool GetPosixFilePermissions(const FilePath& path, int* mode) { in GetPosixFilePermissions() function 577 if (GetPosixFilePermissions(file.Append(executable), &permissions) && in ExecutableExistsInPath()
|
/external/libbrillo/brillo/files/ |
D | file_util_test.cc | 127 ASSERT_TRUE(base::GetPosixFilePermissions(path, &actual_permissions)); in ExpectPermissions()
|