Home
last modified time | relevance | path

Searched refs:S_IMODE (Results 1 – 23 of 23) sorted by relevance

/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Ddependency_manager_util_unittest.py87 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))
Ddependency_manager_util.py43 return stat.S_IMODE(os.stat(file_path).st_mode)
Dcloud_storage_info_unittest.py194 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/
Dtest_stat.py92 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)
Dtest_dumbdbm.py59 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode)
61 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode)
Dtest_tempfile.py385 mode = stat.S_IMODE(os.stat(file.name).st_mode)
634 mode = stat.S_IMODE(os.stat(dir).st_mode)
Dtest_import.py131 self.assertEqual(stat.S_IMODE(s.st_mode),
/external/python/cpython2/Tools/scripts/
Dmkreal.py19 mode = S_IMODE(st[ST_MODE])
33 mode = S_IMODE(st[ST_MODE])
Dwhich.py37 mode = S_IMODE(st[ST_MODE])
/external/python/cpython2/Lib/distutils/
Dfile_util.py106 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/
Dtest_dir_util.py62 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/
Dstat.py21 def S_IMODE(mode): function
Dshutil.py90 mode = stat.S_IMODE(st.st_mode)
96 mode = stat.S_IMODE(st.st_mode)
/external/autotest/client/site_tests/security_ProfilePermissions/
Dsecurity_ProfilePermissions.py38 actual_mode = stat.S_IMODE(s.st_mode)
/external/autotest/client/site_tests/security_RootfsStatefulSymlinks/
Dsecurity_RootfsStatefulSymlinks.py56 mode = oct(stat.S_IMODE(s.st_mode))
/external/autotest/client/site_tests/platform_EncryptedStateful/
Dplatform_EncryptedStateful.py138 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/
Dsecurity_OpenFDs.py58 mode = stat.S_IMODE(link_st_mode)
/external/autotest/client/site_tests/security_RootCA/
Dsecurity_RootCA.py134 if s.st_uid != 0 or stat.S_IMODE(s.st_mode) != 0644:
/external/autotest/client/site_tests/login_UserPolicyKeys/
Dlogin_UserPolicyKeys.py58 mode = stat.S_IMODE(info.st_mode)
/external/autotest/client/cros/
Dpkcs11.py106 path_perms = stat.S_IMODE(stat_buf.st_mode)
/external/autotest/client/cros/crash/
Duser_crash_test.py304 mode = stat.S_IMODE(stat_info.st_mode)
/external/python/cpython2/Doc/library/
Dstat.rst59 .. function:: S_IMODE(mode)
/external/python/cpython2/Mac/BuildScript/
Dbuild-installer.py1218 os.chmod(p, stat.S_IMODE(st.st_mode) | stat.S_IWGRP)