Searched refs:S_IMODE (Results 1 – 21 of 21) sorted by relevance
/third_party/python/Lib/test/ |
D | test_stat.py | 124 self.assertEqual(self.statmod.S_IMODE(st_mode), 131 self.assertEqual(self.statmod.S_IMODE(st_mode), 138 self.assertEqual(self.statmod.S_IMODE(st_mode), 145 self.assertEqual(self.statmod.S_IMODE(st_mode), 0o444)
|
D | test_dbm_dumb.py | 61 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode) 63 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode)
|
D | test_uu.py | 246 stat.S_IMODE(os.stat(self.tmpout).st_mode),
|
D | test_pathlib.py | 2095 mode = stat.S_IMODE(p.stat().st_mode) # Default mode. 2102 self.assertEqual(stat.S_IMODE(p.stat().st_mode), 0o7555 & mode) 2104 self.assertEqual(stat.S_IMODE(p.parent.stat().st_mode), mode) 2472 self.assertEqual(stat.S_IMODE(st.st_mode), 0o666) 2477 self.assertEqual(stat.S_IMODE(st.st_mode), 0o644) 2494 self.assertEqual(stat.S_IMODE(st.st_mode), 0o666) 2498 self.assertEqual(stat.S_IMODE(st.st_mode), 0o644) 2501 self.assertEqual(stat.S_IMODE(st.st_mode), 0o750)
|
D | test_tempfile.py | 459 mode = stat.S_IMODE(os.stat(file.name).st_mode) 796 mode = stat.S_IMODE(os.stat(dir).st_mode)
|
D | test_pydoc.py | 952 current_mode = stat.S_IMODE(os.stat(pkgdir).st_mode)
|
D | test_os.py | 1609 existing_testfn_mode = stat.S_IMODE( 1624 os.chmod(path, stat.S_IMODE(os.lstat(path).st_mode) & ~S_ISGID)
|
/third_party/python/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])
|
/third_party/python/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()
|
/third_party/python/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]))
|
/third_party/python/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)
|
/third_party/jinja2/ |
D | bccache.py | 226 or stat.S_IMODE(actual_dir_stat.st_mode) != stat.S_IRWXU 237 or stat.S_IMODE(actual_dir_stat.st_mode) != stat.S_IRWXU
|
/third_party/skia/third_party/externals/jinja2/ |
D | bccache.py | 226 or stat.S_IMODE(actual_dir_stat.st_mode) != stat.S_IRWXU 237 or stat.S_IMODE(actual_dir_stat.st_mode) != stat.S_IRWXU
|
/third_party/node/tools/inspector_protocol/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:
|
/third_party/python/Lib/ |
D | stat.py | 21 def S_IMODE(mode): function
|
D | shutil.py | 307 chmod_func(dst, stat.S_IMODE(st.st_mode)) 373 mode = stat.S_IMODE(st.st_mode)
|
/third_party/boost/tools/build/test/ |
D | TestCmd.py | 580 _mode_writable = lambda mode: stat.S_IMODE(mode|0o200) 581 _mode_non_writable = lambda mode: stat.S_IMODE(mode&~0o200)
|
/third_party/python/Lib/test/test_import/ |
D | __init__.py | 537 self.assertEqual(oct(stat.S_IMODE(stat_info.st_mode)), 554 self.assertEqual(oct(stat.S_IMODE(stat_info.st_mode)), oct(mode)) 570 self.assertEqual(oct(stat.S_IMODE(stat_info.st_mode)), oct(expected))
|
/third_party/python/Doc/library/ |
D | stat.rst | 82 .. function:: S_IMODE(mode)
|
/third_party/python/Mac/BuildScript/ |
D | build-installer.py | 1256 os.chmod(p, stat.S_IMODE(st.st_mode) | stat.S_IWGRP)
|