/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 | 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) &
|
D | dependency_manager_util.py | 46 return stat.S_IMODE(os.stat(file_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)
|
/external/python/cpython3/Lib/test/ |
D | test_stat.py | 121 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)
|
D | test_dbm_dumb.py | 59 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/ |
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/cpython3/Tools/scripts/ |
D | mkreal.py | 19 mode = S_IMODE(st[ST_MODE]) 32 mode = S_IMODE(st[ST_MODE])
|
D | which.py | 37 mode = S_IMODE(st[ST_MODE])
|
/external/python/cpython3/Lib/distutils/ |
D | file_util.py | 101 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/ |
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/cpython3/Modules/ |
D | _stat.c | 50 #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/ |
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/cpython3/Lib/distutils/tests/ |
D | test_dir_util.py | 64 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/ |
D | bccache.py | 221 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/ |
D | stat.py | 21 def S_IMODE(mode): function
|
D | shutil.py | 104 mode = stat.S_IMODE(st.st_mode) 110 mode = stat.S_IMODE(st.st_mode)
|
/external/libchrome/third_party/jinja2/ |
D | bccache.py | 246 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/ |
D | stat.py | 21 def S_IMODE(mode): function
|
/external/python/pyfakefs/pyfakefs/tests/ |
D | test_utils.py | 56 return self.assertEqual(stat.S_IMODE(expected), stat.S_IMODE(actual))
|
/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/login_UserPolicyKeys/ |
D | login_UserPolicyKeys.py | 58 mode = stat.S_IMODE(info.st_mode)
|
/external/autotest/client/cros/ |
D | pkcs11.py | 111 path_perms = stat.S_IMODE(stat_buf.st_mode)
|