Home
last modified time | relevance | path

Searched refs:maxevents (Results 1 - 9 of 9) sorted by relevance

/foundation/multimodalinput/input/intention/common/epoll/src/
H A Depoll_manager.cpp99 int32_t EpollManager::Wait(struct epoll_event *events, int32_t maxevents) in Wait() argument
101 return WaitTimeout(events, maxevents, -1); in Wait()
104 int32_t EpollManager::WaitTimeout(struct epoll_event *events, int32_t maxevents, int32_t timeout) in WaitTimeout() argument
106 int32_t ret = ::epoll_wait(epollFd_, events, maxevents, timeout); in WaitTimeout()
/foundation/multimodalinput/input/intention/common/epoll/include/
H A Depoll_manager.h42 int32_t Wait(struct epoll_event *events, int32_t maxevents);
43 int32_t WaitTimeout(struct epoll_event *events, int32_t maxevents, int32_t timeout);
/foundation/multimodalinput/input/util/socket/src/
H A Duds_socket.cpp74 int32_t UDSSocket::EpollWait(struct epoll_event &events, int32_t maxevents, int32_t timeout, int32_t epollFd) in EpollWait() argument
83 auto ret = epoll_wait(epollFd, &events, maxevents, timeout); in EpollWait()
/foundation/multimodalinput/input/util/socket/include/
H A Duds_socket.h46 int32_t EpollWait(struct epoll_event &events, int32_t maxevents, int32_t timeout, int32_t epollFd = -1);
/foundation/resourceschedule/ffrt/test/ut/testcase/
H A Dut_ffrt_io.cpp602 int maxevents = 1024; in HWTEST_F() local
613 result = ffrt_epoll_wait(qos_level, &ev, maxevents, timeout); in HWTEST_F()
629 int maxevents = 1024; in HWTEST_F() local
641 result = ffrt_epoll_wait(qos_level, nullptr, maxevents, timeout); in HWTEST_F()
660 int maxevents = -1; in HWTEST_F() local
670 result = ffrt_epoll_wait(qos_level, &ev, maxevents, timeout); in HWTEST_F()
688 int maxevents = 1024; in HWTEST_F() local
698 result = ffrt_epoll_wait(qos_level, &ev, maxevents, timeout); in HWTEST_F()
756 int maxevents = 1024; in HWTEST_F() local
769 result = ffrt_epoll_wait(qos_level, &ev, maxevents, timeou in HWTEST_F()
[all...]
/foundation/resourceschedule/ffrt/src/sync/
H A Dpoller.cpp159 int Poller::WaitFdEvent(struct epoll_event* eventsVec, int maxevents, int timeout) noexcept
169 FFRT_COND_DO_ERR((maxevents < EPOLL_EVENT_SIZE), return -1, "maxEvents:%d cannot be less than 1024", maxevents);
192 m_waitTaskMap[task] = {static_cast<void*>(eventsVec), maxevents, &nfds, currTime};
220 m_waitTaskMap[task] = {static_cast<void*>(eventsVec), maxevents, &nfds, currTime};
H A Dpoller.h100 int WaitFdEvent(struct epoll_event *eventsVec, int maxevents, int timeout) noexcept;
/foundation/multimodalinput/input/intention/services/test/unittest/include/
H A Ddevice_manager_test.h79 int32_t EpollWait(int32_t maxevents, int32_t timeout, struct epoll_event &events);
/foundation/multimodalinput/input/intention/services/test/unittest/src/
H A Ddevice_manager_test.cpp264 int32_t ContextService::EpollWait(int32_t maxevents, int32_t timeout, struct epoll_event &events) in EpollWait() argument
270 return epoll_wait(epollFd_, &events, maxevents, timeout); in EpollWait()

Completed in 5 milliseconds