Searched refs:is_socket (Results 1 – 9 of 9) 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()
52 TEST_FUNC(is_socket); in TEST_CASE()83 TEST_CHECK(e.is_socket() == is_socket(st)); in TEST_CASE()138 TEST_CHECK(e.is_socket(ec) == is_socket(st)); in TEST_CASE()187 TEST_CHECK(e.is_socket(ec) == is_socket(st)); in TEST_CASE()250 TEST_CHECK(e.is_socket(ec) == is_socket(st)); in TEST_CASE()
168 bool is_socket(file_status s) noexcept;169 bool is_socket(const path& p);170 bool is_socket(const path& p, error_code& ec) noexcept;
548 int is_socket; in signal_set_wakeup_fd() local572 is_socket = 0; in signal_set_wakeup_fd()603 is_socket = 1; in signal_set_wakeup_fd()613 wakeup.use_send = is_socket; in signal_set_wakeup_fd()
564 is_socket = stat.S_ISSOCK(mode)565 if not (is_char or is_fifo or is_socket):578 if is_socket or (is_fifo and not sys.platform.startswith("aix")):
168 bool is_socket(file_status s) noexcept;169 bool is_socket(const path& p);170 bool is_socket(const path& p, error_code& ec) noexcept;1725 inline _LIBCPP_INLINE_VISIBILITY bool is_socket(file_status __s) noexcept {1729 inline _LIBCPP_INLINE_VISIBILITY bool is_socket(const path& __p) {1730 return is_socket(__status(__p));1733 inline _LIBCPP_INLINE_VISIBILITY bool is_socket(const path& __p,1735 return is_socket(__status(__p, &__ec));2063 bool is_socket() const { return __get_ft() == file_type::socket; }2066 bool is_socket(error_code& __ec) const noexcept {
1920 self.assertFalse(P.is_socket())1925 self.assertFalse((P / 'fileA').is_socket())1926 self.assertFalse((P / 'dirA').is_socket())1927 self.assertFalse((P / 'non-existing').is_socket())1928 self.assertFalse((P / 'fileA' / 'bah').is_socket())1941 self.assertTrue(P.is_socket())2197 f.is_socket()
1445 def is_socket(self): member in Path
788 .. method:: Path.is_socket()