Home
last modified time | relevance | path

Searched refs:is_socket (Results 1 – 8 of 8) sorted by relevance

/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.is_socket/
Dis_socket.pass.cpp35 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()
/external/python/cpython3/Modules/
Dsignalmodule.c538 int is_socket; in signal_set_wakeup_fd() local
562 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()
/external/python/cpython3/Lib/asyncio/
Dunix_events.py471 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")):
/external/libcxx/include/experimental/
Dfilesystem167 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));
/external/python/cpython3/Lib/test/
Dtest_pathlib.py1884 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())
/external/valgrind/exp-sgcheck/tests/
Dbad_percentify.c43 struct { Int fd; Bool is_socket; } member
/external/python/cpython3/Lib/
Dpathlib.py1404 def is_socket(self): member in Path
/external/python/cpython3/Doc/library/
Dpathlib.rst766 .. method:: Path.is_socket()