Home
last modified time | relevance | path

Searched refs:supports_dir_fd (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_posix.py1520 … @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 …]
Dtest_glob.py51 if {os.open, os.stat} <= os.supports_dir_fd and os.scandir in os.supports_fd:
Dtest_os.py870 @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:
Dtest_shutil.py556 os.supports_dir_fd and
/external/python/pyfakefs/pyfakefs/tests/
Dfake_os_test.py3032 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/
Dfake_os.py970 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/
Dos.py125 supports_dir_fd = _set variable
444 if {open, stat} <= supports_dir_fd and {scandir, stat} <= supports_fd:
Dshutil.py710 os.supports_dir_fd and
/external/python/cpython3/Doc/library/
Dos.rst1960 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/
D3.3.rst1614 :data:`os.supports_dir_fd` and :data:`os.supports_follows_symlinks`.