Searched refs:supports_dir_fd (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_posix.py | 1520 … @unittest.skipUnless(os.access in os.supports_dir_fd, "test needs dir_fd support for os.access()") 1525 @unittest.skipUnless(os.chmod in os.supports_dir_fd, "test needs dir_fd support in os.chmod()") 1534 @unittest.skipUnless(hasattr(os, 'chown') and (os.chown in os.supports_dir_fd), 1541 @unittest.skipUnless(os.stat in os.supports_dir_fd, "test needs dir_fd support in os.stat()") 1568 @unittest.skipUnless(os.utime in os.supports_dir_fd, "test needs dir_fd support in os.utime()") 1604 hasattr(os, "link") and os.link in os.supports_dir_fd, 1619 @unittest.skipUnless(os.mkdir in os.supports_dir_fd, "test needs dir_fd support in os.mkdir()") 1627 and (os.mknod in os.supports_dir_fd) 1645 @unittest.skipUnless(os.open in os.supports_dir_fd, "test needs dir_fd support in os.open()") 1658 @unittest.skipUnless(hasattr(os, 'readlink') and (os.readlink in os.supports_dir_fd), [all …]
|
D | test_glob.py | 51 if {os.open, os.stat} <= os.supports_dir_fd and os.scandir in os.supports_fd:
|
D | test_os.py | 870 @unittest.skipUnless(os.utime in os.supports_dir_fd, 974 if os.utime not in os.supports_dir_fd: 5167 if os.stat in os.supports_dir_fd:
|
D | test_shutil.py | 556 os.supports_dir_fd and
|
/external/python/pyfakefs/pyfakefs/tests/ |
D | fake_os_test.py | 3032 self.os.stat in self.os.supports_dir_fd, os.stat in os.supports_dir_fd 4923 self.os.supports_dir_fd.clear() 4933 self.os.supports_dir_fd.add(fct) 4939 if self.os.access not in self.os.supports_dir_fd: 4943 if self.os.access in self.os.supports_dir_fd: 4950 if self.os.chmod not in self.os.supports_dir_fd: 4954 if self.os.chmod in self.os.supports_dir_fd: 4965 if self.os.chown not in self.os.supports_dir_fd: 4979 if self.os.link not in self.os.supports_dir_fd: 4983 if self.os.link in self.os.supports_dir_fd: [all …]
|
/external/python/pyfakefs/pyfakefs/ |
D | fake_os.py | 970 if check_supported and (fct not in self.supports_dir_fd): 1405 def supports_dir_fd(self) -> Set[Callable]: member in FakeOsModule 1407 self._supports_dir_fd = self.fake_functions(self.os_module.supports_dir_fd)
|
/external/python/cpython3/Lib/ |
D | os.py | 125 supports_dir_fd = _set variable 444 if {open, stat} <= supports_dir_fd and {scandir, stat} <= supports_fd:
|
D | shutil.py | 710 os.supports_dir_fd and
|
/external/python/cpython3/Doc/library/ |
D | os.rst | 1960 on your platform using :data:`os.supports_dir_fd`. If it's unavailable, 3343 .. data:: supports_dir_fd 3356 for its *dir_fd* parameter, use the ``in`` operator on ``supports_dir_fd``. 3360 os.stat in os.supports_dir_fd
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.3.rst | 1614 :data:`os.supports_dir_fd` and :data:`os.supports_follows_symlinks`.
|