Home
last modified time | relevance | path

Searched refs:is_valid_fd (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/mojo/public/cpp/platform/
Dplatform_handle.h116 bool is_valid() const { return is_valid_fd() || is_valid_handle(); } in COMPONENT_EXPORT()
131 bool is_valid() const { return is_valid_fd() || is_valid_mach_port(); } in COMPONENT_EXPORT()
148 bool is_valid() const { return is_valid_fd(); } in COMPONENT_EXPORT()
154 bool is_valid_fd() const { return fd_.is_valid(); } in COMPONENT_EXPORT()
/external/libchrome/mojo/core/
Dembedder_unittest.cc372 ASSERT_TRUE(scoped_handle.is_valid_fd()); in TEST_F()
413 EXPECT_TRUE(scoped_handle.is_valid_fd()); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
Dchannel_fuchsia.cc42 if (!handle.handle().is_valid_fd()) { in UnwrapPlatformHandle()
Dchannel.cc424 DCHECK(handle_vector_[i].handle().is_valid_fd()); in SetHandles()
/external/python/cpython3/Python/
Dpylifecycle.c1673 is_valid_fd(int fd) in is_valid_fd() function
1714 if (!is_valid_fd(fd)) in create_stdio()
1810 if (PyErr_ExceptionMatches(PyExc_OSError) && !is_valid_fd(fd)) { in create_stdio()