Searched refs:get_inheritable (Results 1 – 16 of 16) sorted by relevance
/third_party/python/Lib/asyncio/ |
D | trsock.py | 70 def get_inheritable(self): member in TransportSocket 71 return self._sock.get_inheritable()
|
/third_party/python/Lib/ |
D | socket.py | 527 def get_inheritable(self): member in socket 532 def get_inheritable(self): member in socket 533 return os.get_inheritable(self.fileno()) 536 get_inheritable.__doc__ = "Get the inheritable flag of the socket"
|
/third_party/python/Lib/test/ |
D | test_os.py | 2192 self.check(os.get_inheritable) 3661 self.assertFalse(os.get_inheritable(fd)) 3668 self.assertFalse(os.get_inheritable(fd2)) 3684 self.assertFalse(os.get_inheritable(fd)) 3861 self.assertEqual(os.get_inheritable(fd), False) 3864 self.assertEqual(os.get_inheritable(fd), True) 3870 self.assertEqual(os.get_inheritable(fd), False) 3877 self.assertEqual(os.get_inheritable(fd), True) 3894 self.assertEqual(os.get_inheritable(fd), False) 3897 self.assertEqual(os.get_inheritable(fd), True) [all …]
|
D | test_devpoll.py | 118 self.assertEqual(os.get_inheritable(devpoll.fileno()), False)
|
D | test_epoll.py | 258 self.assertEqual(os.get_inheritable(epoll.fileno()), False)
|
D | test_kqueue.py | 257 self.assertEqual(os.get_inheritable(kqueue.fileno()), False)
|
D | test_socket.py | 5718 self.assertFalse(s.get_inheritable()) 5723 self.assertEqual(sock.get_inheritable(), False) 5731 self.assertEqual(newsock.get_inheritable(), False) 5737 self.assertEqual(sock.get_inheritable(), True) 5740 self.assertEqual(sock.get_inheritable(), False) 5747 self.assertEqual(sock.get_inheritable(), False) 5754 self.assertEqual(sock.get_inheritable(), True) 5773 self.assertEqual(s1.get_inheritable(), False) 5774 self.assertEqual(s2.get_inheritable(), False)
|
D | test_posix.py | 577 self.assertFalse(os.get_inheritable(fd)) 886 self.assertFalse(os.get_inheritable(r)) 887 self.assertFalse(os.get_inheritable(w))
|
D | test_asyncore.py | 739 self.assertFalse(s.socket.get_inheritable())
|
D | test_subprocess.py | 2349 inheritable = os.get_inheritable(fd) 2905 self.assertEqual(os.get_inheritable(inheritable), True) 2906 self.assertEqual(os.get_inheritable(non_inheritable), False)
|
D | test_tempfile.py | 478 self.assertEqual(os.get_inheritable(file.fd), False)
|
D | test_builtin.py | 1212 self.assertFalse(os.get_inheritable(fileobj.fileno()))
|
/third_party/python/Python/ |
D | fileutils.c | 1260 get_inheritable(int fd, int raise) in get_inheritable() function 1299 return get_inheritable(fd, 1); in _Py_get_inheritable() 1326 int isInheritable = get_inheritable(fd, raise); in set_inheritable()
|
/third_party/python/Doc/whatsnew/ |
D | 3.4.rst | 273 * :func:`os.get_inheritable`, :func:`os.set_inheritable` 275 * :meth:`socket.socket.get_inheritable`, :meth:`socket.socket.set_inheritable` 1174 <fd_inheritance>` of a file descriptor (:func:`os.get_inheritable`, 1395 <fd_inheritance>`, :meth:`~socket.socket.get_inheritable` and
|
/third_party/python/Doc/library/ |
D | socket.rst | 1305 .. method:: socket.get_inheritable()
|
D | os.rst | 1605 .. function:: get_inheritable(fd)
|