Searched refs:is_socket (Results 1 – 8 of 8) sorted by relevance
35 ASSERT_NOEXCEPT(is_socket(s)); in TEST_CASE()36 ASSERT_NOEXCEPT(is_socket(p, ec)); in TEST_CASE()37 ASSERT_NOT_NOEXCEPT(is_socket(p)); in TEST_CASE()60 TEST_CHECK(is_socket(s) == TC.expect); in TEST_CASE()67 TEST_CHECK(is_socket(p) == false); in TEST_CASE()78 TEST_CHECK(is_socket(file, ec) == false); in TEST_CASE()81 TEST_CHECK_THROW(filesystem_error, is_socket(file)); in TEST_CASE()
538 int is_socket; in signal_set_wakeup_fd() local562 is_socket = 0; in signal_set_wakeup_fd()593 is_socket = 1; in signal_set_wakeup_fd()602 wakeup.use_send = is_socket; in signal_set_wakeup_fd()
471 is_socket = stat.S_ISSOCK(mode)472 if not (is_char or is_fifo or is_socket):485 if is_socket or (is_fifo and not sys.platform.startswith("aix")):
167 bool is_socket(file_status s) _NOEXCEPT;168 bool is_socket(const path& p);169 bool is_socket(const path& p, error_code& ec) _NOEXCEPT;1601 bool is_socket(file_status __s) _NOEXCEPT {1606 bool is_socket(const path& __p) {1607 return is_socket(__status(__p));1611 bool is_socket(const path& __p, error_code& __ec) _NOEXCEPT {1612 return is_socket(__status(__p, &__ec));
1884 self.assertFalse(P.is_socket())1889 self.assertFalse((P / 'fileA').is_socket())1890 self.assertFalse((P / 'dirA').is_socket())1891 self.assertFalse((P / 'non-existing').is_socket())1892 self.assertFalse((P / 'fileA' / 'bah').is_socket())1905 self.assertTrue(P.is_socket())
43 struct { Int fd; Bool is_socket; } member
1404 def is_socket(self): member in Path
766 .. method:: Path.is_socket()