Home
last modified time | relevance | path

Searched refs:is_fifo (Results 1 – 10 of 10) sorted by relevance

/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_fifo/
Dis_fifo.pass.cpp35 ASSERT_NOEXCEPT(is_fifo(s)); in TEST_CASE()
36 ASSERT_NOEXCEPT(is_fifo(p, ec)); in TEST_CASE()
37 ASSERT_NOT_NOEXCEPT(is_fifo(p)); in TEST_CASE()
60 TEST_CHECK(is_fifo(s) == TC.expect); in TEST_CASE()
67 TEST_CHECK(is_fifo(p) == false); in TEST_CASE()
78 TEST_CHECK(is_fifo(file, ec) == false); in TEST_CASE()
81 TEST_CHECK_THROW(filesystem_error, is_fifo(file)); in TEST_CASE()
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/
Dfile_type_obs.pass.cpp49 TEST_FUNC(is_fifo); in TEST_CASE()
80 TEST_CHECK(e.is_fifo() == is_fifo(st)); in TEST_CASE()
129 TEST_CHECK(e.is_fifo(ec) == is_fifo(st)); in TEST_CASE()
178 TEST_CHECK(e.is_fifo(ec) == is_fifo(st)); in TEST_CASE()
241 TEST_CHECK(e.is_fifo(ec) == is_fifo(st)); in TEST_CASE()
/external/libcxx/include/experimental/
Dfilesystem156 bool is_fifo(file_status s) noexcept;
157 bool is_fifo(const path& p);
158 bool is_fifo(const path& p, error_code& ec) noexcept;
/external/autotest/site_utils/
Dgs_offloader_unittest.py51 def is_fifo(path): function
671 self.assertFalse(is_fifo(fifo1))
673 self.assertFalse(is_fifo(fifo2))
681 self.assertFalse(is_fifo(corrected_fifo3))
686 self.assertFalse(is_fifo(corrected_fifo4))
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/
Dcopy_file.pass.cpp98 TEST_CHECK(is_fifo(fifo)); in TEST_CASE()
/external/python/cpython3/Lib/asyncio/
Dunix_events.py563 is_fifo = stat.S_ISFIFO(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")):
/external/libcxx/include/
Dfilesystem156 bool is_fifo(file_status s) noexcept;
157 bool is_fifo(const path& p);
158 bool is_fifo(const path& p, error_code& ec) noexcept;
1699 inline _LIBCPP_INLINE_VISIBILITY bool is_fifo(file_status __s) noexcept {
1702 inline _LIBCPP_INLINE_VISIBILITY bool is_fifo(const path& __p) {
1703 return is_fifo(__status(__p));
1706 inline _LIBCPP_INLINE_VISIBILITY bool is_fifo(const path& __p,
1708 return is_fifo(__status(__p, &__ec));
2039 bool is_fifo() const { return __get_ft() == file_type::fifo; }
2042 bool is_fifo(error_code& __ec) const noexcept {
/external/python/cpython3/Lib/test/
Dtest_pathlib.py1907 self.assertFalse((P / 'fileA').is_fifo())
1908 self.assertFalse((P / 'dirA').is_fifo())
1909 self.assertFalse((P / 'non-existing').is_fifo())
1910 self.assertFalse((P / 'fileA' / 'bah').is_fifo())
1919 self.assertTrue(P.is_fifo())
1942 self.assertFalse(P.is_fifo())
2196 f.is_fifo()
/external/python/cpython3/Lib/
Dpathlib.py1432 def is_fifo(self): member in Path
/external/python/cpython3/Doc/library/
Dpathlib.rst797 .. method:: Path.is_fifo()