Home
last modified time | relevance | path

Searched refs:poll (Results 1 - 22 of 22) sorted by relevance

/base/hiviewdfx/hilog/frameworks/libhilog/socket/
H A Dsocket_server.cpp21 #include <poll.h>
91 int result = TEMP_FAILURE_RETRY(poll(&info, 1, timeout.count())); in Poll()
H A Dseq_packet_socket_server.cpp23 #include <poll.h>
48 if (pollResult == 0) { // poll == 0 means timeout in AcceptingLoop()
56 std::cerr << "Wrong poll result data. Result: " << pollResult << " OutEvent: " << outEvent << "\n"; in AcceptingLoop()
/base/startup/init/interfaces/innerkits/fd_holder/
H A Dfd_holder.c47 STATIC int BuildSendData(char *buffer, size_t size, const char *serviceName, bool hold, bool poll) in BuildSendData() argument
53 if (!hold && poll) { in BuildSendData()
54 BEGET_LOGE("Get fd with poll set, invalid parameter"); in BuildSendData()
63 if (!poll) { in BuildSendData()
/base/security/security_guard/test/unittest/data_collect/sa/
H A Dkernel_interface_adapter.h24 #include <poll.h>
/base/startup/init/ueventd/
H A Dueventd_main.c17 #include <poll.h>
58 ret = poll(&pfd, 1, timeout); in PollUeventdSocketTimeout()
61 INIT_LOGI("poll ueventd socket timeout, ueventd exit"); in PollUeventdSocketTimeout()
64 INIT_LOGI("poll ueventd socket timeout, but init not complete"); in PollUeventdSocketTimeout()
66 INIT_LOGE("Failed to poll ueventd socket!"); in PollUeventdSocketTimeout()
H A Dueventd_socket.c16 #include <poll.h>
/base/request/request/services/src/task/
H A Doperator.rs106 // for next poll's speed compare
113 match Pin::new(self.sleep.as_mut().unwrap()).poll(cx) {
/base/powermgr/battery_manager/charger/include/dev/
H A Ddrm_driver.h27 #include <poll.h>
/base/update/updater/services/ui/driver/
H A Ddrm_driver.h25 #include <poll.h>
/base/startup/init/services/modules/init_context/
H A Dinit_context.c17 #include <poll.h>
240 int ret = poll(&pfd, 1, timeout); in SubInitMain()
245 PLUGIN_LOGE("Failed to poll sub init socket!"); in SubInitMain()
/base/hiviewdfx/hiview/base/include/
H A Devent_loop.h31 #include <poll.h>
102 // poll event from file descriptor source
/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/src/
H A Dnativetoken_oper_test.cpp18 #include <poll.h>
H A Dnativetoken_kit_test.cpp18 #include <poll.h>
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/
H A Ddfx_dumprequest.c22 #include <poll.h>
517 pollRet = poll(pfds, 1, timeout); in ReadPipeTimeout()
H A Ddfx_signal_handler.c22 #include <poll.h>
/base/hiviewdfx/faultloggerd/interfaces/innerkits/dump_catcher/
H A Ddfx_dump_catcher.cpp25 #include <poll.h>
358 DFXLOGI("%{public}s :: %{public}s :: pid(%{public}d) poll ret: %{public}d", in DoDumpRemotePid()
461 int pollRet = poll(readfds, fdsSize, remainTime); in DoDumpRemotePoll()
466 resMsg.append("Result: poll timeout.\n"); in DoDumpRemotePoll()
477 resMsg.append("Result: poll error, errno(" + std::to_string(errno) + ")\n"); in DoDumpRemotePoll()
487 resMsg.append("Result: poll timeout.\n"); in DoDumpRemotePoll()
501 resMsg.append("Result: poll events error.\n"); in DoDumpRemotePoll()
528 resMsg.append("Result: poll timeout.\n"); in DoDumpRemotePoll()
/base/msdp/device_status/rust/modules/scheduler/sys/src/
H A Dscheduler.rs383 fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> in poll() functions
385 call_debug_enter!("EpollHandlerFuture::poll"); in poll()
/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/mock/
H A Dnativetoken_oper_test.cpp18 #include <poll.h>
/base/startup/init/services/init/standard/
H A Dinit.c18 #include <poll.h>
/base/hiviewdfx/hidumper/frameworks/native/
H A Ddump_utils.cpp20 #include <poll.h>
/base/startup/init/test/unittest/innerkits/
H A Dinnerkits_unittest.cpp49 int BuildSendData(char *buffer, size_t size, const char *serviceName, bool hold, bool poll);
/base/hiviewdfx/hiview/base/
H A Devent_loop.cpp92 HIVIEW_LOGE("Fail to Create event poll queue."); in InitEventQueueNotifier()
299 HIVIEW_LOGW("Invalid poll fd."); in AddFileDescriptorEventCallback()
374 poll(watchFds_, watchedFdSize_, timeout); in PollNextEvent()

Completed in 12 milliseconds