Home
last modified time | relevance | path

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

/external/libcxx/test/std/input.output/filesystems/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/cronet/buildtools/third_party/libc++/trunk/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_socket/
Dis_socket.pass.cpp32 ASSERT_NOEXCEPT(is_socket(s)); in signature_test()
33 ASSERT_NOEXCEPT(is_socket(p, ec)); in signature_test()
34 ASSERT_NOT_NOEXCEPT(is_socket(p)); in signature_test()
57 assert(is_socket(s) == TC.expect); in is_socket_status_test()
65 assert(is_socket(p) == false); in test_exist_not_found()
85 assert(is_socket(p, ec) == false); in test_is_socket_fails()
88 TEST_THROWS_TYPE(filesystem_error, is_socket(p)); in test_is_socket_fails()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/
Dfile_type_obs.pass.cpp50 TEST_FUNC(is_socket); in signatures()
80 assert(e.is_socket() == is_socket(st)); in test_without_ec()
141 assert(e.is_socket(ec) == is_socket(st)); in test_with_ec()
197 assert(e.is_socket(ec) == is_socket(st)); in test_with_ec_dne()
263 assert(e.is_socket(ec) == is_socket(st)); in test_with_ec_cannot_resolve()
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/
Dfile_type_obs.pass.cpp52 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()
/external/cronet/buildtools/third_party/libc++/trunk/include/__filesystem/
Doperations.h136 inline _LIBCPP_HIDE_FROM_ABI bool is_socket(file_status __s) noexcept { return __s.type() == file_t… in is_socket() function
137 inline _LIBCPP_HIDE_FROM_ABI bool is_socket(const path& __p) { return is_socket(__status(__p)); } in is_socket() function
138 inline _LIBCPP_HIDE_FROM_ABI bool is_socket(const path& __p, error_code& __ec) noexcept { return is… in is_socket() function
Ddirectory_entry.h165 bool is_socket() const { return __get_ft() == file_type::socket; } in is_socket() function
168 bool is_socket(error_code& __ec) const noexcept { in is_socket() function
/external/libcxx/include/experimental/
Dfilesystem168 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;
/external/cronet/buildtools/third_party/libc++/trunk/include/
Dfilesystem207 bool is_socket() const;
208 bool is_socket(error_code& ec) const noexcept;
361 bool is_socket(file_status s) noexcept;
362 bool is_socket(const path& p);
363 bool is_socket(const path& p, error_code& ec) noexcept;
/external/libiio/src/iiod/
Dops.h78 bool is_socket, bool use_aio, struct thread_pool *pool);
Dops.c1352 bool is_socket, bool use_aio, struct thread_pool *pool) in interpreter() argument
1366 pdata.fd_in_is_socket = is_socket; in interpreter()
1367 pdata.fd_out_is_socket = is_socket; in interpreter()
/external/python/cpython3/Modules/
Dsignalmodule.c745 int is_socket; local
771 is_socket = 0;
803 is_socket = 1;
813 wakeup.use_send = is_socket;
/external/python/cpython3/Lib/test/
Dtest_pathlib.py2303 self.assertFalse(P.is_socket())
2310 self.assertFalse((P / 'fileA').is_socket())
2311 self.assertFalse((P / 'dirA').is_socket())
2312 self.assertFalse((P / 'non-existing').is_socket())
2313 self.assertFalse((P / 'fileA' / 'bah').is_socket())
2314 self.assertIs((P / 'fileA\udfff').is_socket(), False)
2315 self.assertIs((P / 'fileA\x00').is_socket(), False)
2328 self.assertTrue(P.is_socket())
2331 self.assertIs(self.cls(BASE, 'mysock\udfff').is_socket(), False)
2332 self.assertIs(self.cls(BASE, 'mysock\x00').is_socket(), False)
[all …]
/external/libcxx/include/
Dfilesystem168 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 {
/external/armnn/third-party/ghc/
Dfilesystem.hpp655 bool is_socket() const;
656 bool is_socket(std::error_code& ec) const noexcept;
894 GHC_FS_API bool is_socket(file_status s) noexcept;
895 GHC_FS_API bool is_socket(const path& p);
896 GHC_FS_API bool is_socket(const path& p, std::error_code& ec) noexcept;
3867 GHC_INLINE bool is_socket(file_status s) noexcept in is_socket() function
3872 GHC_INLINE bool is_socket(const path& p) in is_socket() function
3874 return is_socket(status(p)); in is_socket()
3877 GHC_INLINE bool is_socket(const path& p, std::error_code& ec) noexcept in is_socket() function
3879 return is_socket(status(p, ec)); in is_socket()
[all …]
/external/python/cpython3/Lib/asyncio/
Dunix_events.py598 is_socket = stat.S_ISSOCK(mode)
599 if not (is_char or is_fifo or is_socket):
612 if is_socket or (is_fifo and not sys.platform.startswith("aix")):
/external/python/cpython3/Lib/
Dpathlib.py1414 def is_socket(self): member in Path
/external/python/parse_type/tasks/_vendor/
Dpathlib.py1261 def is_socket(self): member in Path
/external/python/cpython3/Doc/library/
Dpathlib.rst691 :meth:`~Path.is_fifo()`, :meth:`~Path.is_socket()` now return ``False``
863 .. method:: Path.is_socket()
/external/python/cpython3/Doc/whatsnew/
D3.8.rst1082 :meth:`~pathlib.Path.is_socket()` now return ``False`` instead of raising
/external/python/cpython3/Misc/NEWS.d/
D3.8.0a1.rst4160 :meth:`~pathlib.Path.is_socket()` now return ``False`` instead of raising