Searched refs:S_IMODE (Results 1 – 23 of 23) sorted by relevance
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
D | dependency_manager_util_unittest.py | 87 stat.S_IRUSR & stat.S_IMODE(os.stat(read_only_path).st_mode)) 89 stat.S_IRUSR & stat.S_IMODE(os.stat(sub_read_only_path).st_mode)) 91 stat.S_IRUSR & stat.S_IMODE(os.stat(writable_path).st_mode)) 93 stat.S_IWUSR & stat.S_IMODE(os.stat(writable_path).st_mode)) 95 stat.S_IRUSR & stat.S_IMODE(os.stat(sub_writable_path).st_mode)) 97 stat.S_IWUSR & stat.S_IMODE(os.stat(sub_writable_path).st_mode)) 101 stat.S_IRWXU & stat.S_IMODE(os.stat(executable_path).st_mode)) 104 stat.S_IRWXU & stat.S_IMODE(os.stat(sub_executable_path).st_mode))
|
D | dependency_manager_util.py | 43 return stat.S_IMODE(os.stat(file_path).st_mode)
|
D | cloud_storage_info_unittest.py | 194 self.assertTrue(stat.S_IMODE(os.stat(os.path.abspath(dep_path)).st_mode) & 207 self.assertTrue(stat.S_IMODE(os.stat(os.path.abspath(dep_path)).st_mode) &
|
/external/python/cpython2/Lib/test/ |
D | test_stat.py | 92 self.assertEqual(stat.S_IMODE(st_mode), 98 self.assertEqual(stat.S_IMODE(st_mode), 104 self.assertEqual(stat.S_IMODE(st_mode), 110 self.assertEqual(stat.S_IMODE(st_mode), 0o444)
|
D | test_dumbdbm.py | 59 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode) 61 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode)
|
D | test_tempfile.py | 385 mode = stat.S_IMODE(os.stat(file.name).st_mode) 634 mode = stat.S_IMODE(os.stat(dir).st_mode)
|
D | test_import.py | 131 self.assertEqual(stat.S_IMODE(s.st_mode),
|
/external/python/cpython2/Tools/scripts/ |
D | mkreal.py | 19 mode = S_IMODE(st[ST_MODE]) 33 mode = S_IMODE(st[ST_MODE])
|
D | which.py | 37 mode = S_IMODE(st[ST_MODE])
|
/external/python/cpython2/Lib/distutils/ |
D | file_util.py | 106 from stat import ST_ATIME, ST_MTIME, ST_MODE, S_IMODE 165 os.chmod(dst, S_IMODE(st[ST_MODE]))
|
/external/python/cpython2/Lib/distutils/tests/ |
D | test_dir_util.py | 62 stat.S_IMODE(os.stat(self.target).st_mode), 0o700 & ~umask) 65 stat.S_IMODE(os.stat(self.target2).st_mode), 0o555 & ~umask)
|
/external/python/cpython2/Lib/ |
D | stat.py | 21 def S_IMODE(mode): function
|
D | shutil.py | 90 mode = stat.S_IMODE(st.st_mode) 96 mode = stat.S_IMODE(st.st_mode)
|
/external/autotest/client/site_tests/security_ProfilePermissions/ |
D | security_ProfilePermissions.py | 38 actual_mode = stat.S_IMODE(s.st_mode)
|
/external/autotest/client/site_tests/security_RootfsStatefulSymlinks/ |
D | security_RootfsStatefulSymlinks.py | 56 mode = oct(stat.S_IMODE(s.st_mode))
|
/external/autotest/client/site_tests/platform_EncryptedStateful/ |
D | platform_EncryptedStateful.py | 138 chk.check(stat.S_IMODE(info.st_mode) == (stat.S_IRUSR | stat.S_IWUSR), 148 chk.check(stat.S_IMODE(info.st_mode) == (stat.S_IRUSR | stat.S_IWUSR),
|
/external/autotest/client/site_tests/security_OpenFDs/ |
D | security_OpenFDs.py | 58 mode = stat.S_IMODE(link_st_mode)
|
/external/autotest/client/site_tests/security_RootCA/ |
D | security_RootCA.py | 134 if s.st_uid != 0 or stat.S_IMODE(s.st_mode) != 0644:
|
/external/autotest/client/site_tests/login_UserPolicyKeys/ |
D | login_UserPolicyKeys.py | 58 mode = stat.S_IMODE(info.st_mode)
|
/external/autotest/client/cros/ |
D | pkcs11.py | 106 path_perms = stat.S_IMODE(stat_buf.st_mode)
|
/external/autotest/client/cros/crash/ |
D | user_crash_test.py | 304 mode = stat.S_IMODE(stat_info.st_mode)
|
/external/python/cpython2/Doc/library/ |
D | stat.rst | 59 .. function:: S_IMODE(mode)
|
/external/python/cpython2/Mac/BuildScript/ |
D | build-installer.py | 1218 os.chmod(p, stat.S_IMODE(st.st_mode) | stat.S_IWGRP)
|