Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_stat.py124 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)
Dtest_dbm_dumb.py61 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode)
63 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode)
Dtest_uu.py246 stat.S_IMODE(os.stat(self.tmpout).st_mode),
Dtest_pathlib.py2095 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)
Dtest_tempfile.py459 mode = stat.S_IMODE(os.stat(file.name).st_mode)
796 mode = stat.S_IMODE(os.stat(dir).st_mode)
Dtest_pydoc.py952 current_mode = stat.S_IMODE(os.stat(pkgdir).st_mode)
Dtest_os.py1609 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/
Dmkreal.py19 mode = S_IMODE(st[ST_MODE])
32 mode = S_IMODE(st[ST_MODE])
Dwhich.py37 mode = S_IMODE(st[ST_MODE])
/third_party/python/Modules/
D_stat.c50 #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/
Dfile_util.py101 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/
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)
/third_party/jinja2/
Dbccache.py226 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/
Dbccache.py226 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/
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:
/third_party/python/Lib/
Dstat.py21 def S_IMODE(mode): function
Dshutil.py307 chmod_func(dst, stat.S_IMODE(st.st_mode))
373 mode = stat.S_IMODE(st.st_mode)
/third_party/boost/tools/build/test/
DTestCmd.py580 _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__.py537 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/
Dstat.rst82 .. function:: S_IMODE(mode)
/third_party/python/Mac/BuildScript/
Dbuild-installer.py1256 os.chmod(p, stat.S_IMODE(st.st_mode) | stat.S_IWGRP)