Home
last modified time | relevance | path

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

12

/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))
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) &
Ddependency_manager_util.py46 return stat.S_IMODE(os.stat(file_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)
/external/python/cpython3/Lib/test/
Dtest_stat.py121 self.assertEqual(self.statmod.S_IMODE(st_mode),
128 self.assertEqual(self.statmod.S_IMODE(st_mode),
135 self.assertEqual(self.statmod.S_IMODE(st_mode),
142 self.assertEqual(self.statmod.S_IMODE(st_mode), 0o444)
Dtest_dbm_dumb.py59 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode)
61 self.assertEqual(stat.S_IMODE(st.st_mode), expected_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/cpython3/Tools/scripts/
Dmkreal.py19 mode = S_IMODE(st[ST_MODE])
32 mode = S_IMODE(st[ST_MODE])
Dwhich.py37 mode = S_IMODE(st[ST_MODE])
/external/python/cpython3/Lib/distutils/
Dfile_util.py101 from stat import ST_ATIME, ST_MTIME, ST_MODE, S_IMODE
160 os.chmod(dst, 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/cpython3/Modules/
D_stat.c50 #ifndef S_IMODE
51 # define S_IMODE 07777 macro
331 return PyLong_FromUnsignedLong(mode & S_IMODE); in stat_S_IMODE()
/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/cpython3/Lib/distutils/tests/
Dtest_dir_util.py64 stat.S_IMODE(os.stat(self.target).st_mode), 0o700 & ~umask)
67 stat.S_IMODE(os.stat(self.target2).st_mode), 0o555 & ~umask)
/external/python/jinja/src/jinja2/
Dbccache.py221 or stat.S_IMODE(actual_dir_stat.st_mode) != stat.S_IRWXU
232 or stat.S_IMODE(actual_dir_stat.st_mode) != stat.S_IRWXU
/external/python/cpython2/Lib/
Dstat.py21 def S_IMODE(mode): function
Dshutil.py104 mode = stat.S_IMODE(st.st_mode)
110 mode = stat.S_IMODE(st.st_mode)
/external/libchrome/third_party/jinja2/
Dbccache.py246 or stat.S_IMODE(actual_dir_stat.st_mode) != stat.S_IRWXU:
255 or stat.S_IMODE(actual_dir_stat.st_mode) != stat.S_IRWXU:
/external/python/cpython3/Lib/
Dstat.py21 def S_IMODE(mode): function
/external/python/pyfakefs/pyfakefs/tests/
Dtest_utils.py56 return self.assertEqual(stat.S_IMODE(expected), stat.S_IMODE(actual))
/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/login_UserPolicyKeys/
Dlogin_UserPolicyKeys.py58 mode = stat.S_IMODE(info.st_mode)
/external/autotest/client/cros/
Dpkcs11.py111 path_perms = stat.S_IMODE(stat_buf.st_mode)

12