Home
last modified time | relevance | path

Searched refs:readFds (Results 1 - 6 of 6) sorted by relevance

/foundation/communication/dsoftbus/components/nstackx/nstackx_core/platform/liteos/dfile/
H A Dsys_dfile_session.c25 fd_set writeFds, readFds; in WaitSocketEvent() local
33 FD_ZERO(&readFds); in WaitSocketEvent()
37 FD_SET(fd, &readFds); in WaitSocketEvent()
57 FD_SET(pipe, &readFds); in WaitSocketEvent()
63 int32_t ret = select(nfds, &readFds, &writeFds, NULL, &tv); in WaitSocketEvent()
72 if (FD_ISSET(fd, &readFds) && (canRead != NULL)) { in WaitSocketEvent()
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/platform/unix/dfile/
H A Dsys_dfile_session.c25 fd_set writeFds, readFds; in WaitSocketEvent() local
33 FD_ZERO(&readFds); in WaitSocketEvent()
37 FD_SET(fd, &readFds); in WaitSocketEvent()
57 FD_SET(pipe, &readFds); in WaitSocketEvent()
63 int32_t ret = select(nfds, &readFds, &writeFds, NULL, &tv); in WaitSocketEvent()
72 if (FD_ISSET(fd, &readFds) && (canRead != NULL)) { in WaitSocketEvent()
/foundation/communication/dsoftbus/adapter/common/kernel/posix/
H A Dsoftbus_adapter_socket.c305 int32_t nfds, SoftBusFdSet *readFds, SoftBusFdSet *writeFds, SoftBusFdSet *exceptFds, SoftBusSockTimeOut *timeout) in SoftBusSocketSelect()
311 if (readFds != NULL) { in SoftBusSocketSelect()
312 tempReadSet = (fd_set *)readFds->fdsBits; in SoftBusSocketSelect()
304 SoftBusSocketSelect( int32_t nfds, SoftBusFdSet *readFds, SoftBusFdSet *writeFds, SoftBusFdSet *exceptFds, SoftBusSockTimeOut *timeout) SoftBusSocketSelect() argument
/foundation/communication/dsoftbus/tests/adapter/unittest/
H A Dsoftbus_socket_test.cpp1261 SoftBusFdSet readFds;
1269 SoftBusSocketFdZero(&readFds);
1270 SoftBusSocketFdSet(socketFd, &readFds);
1271 ret = SoftBusSocketSelect(SET_SIZE, &readFds, NULL, NULL, &tv);
1342 SoftBusFdSet readFds, writeFds, exceptFds; in HWTEST_F() local
1347 SoftBusSocketFdZero(&readFds); in HWTEST_F()
1350 int32_t ret = SoftBusSocketSelect(SET_SIZE, &readFds, &writeFds, &exceptFds, &tv); in HWTEST_F()
1382 SoftBusFdSet readFds, writeFds, exceptFds; in HWTEST_F() local
1383 int32_t ret = SoftBusSocketSelect(SET_SIZE, &readFds, &writeFds, &exceptFds, &tv); in HWTEST_F()
/foundation/communication/dsoftbus/adapter/common/include/
H A Dsoftbus_adapter_socket.h155 int32_t SoftBusSocketSelect(int32_t nfds, SoftBusFdSet *readFds, SoftBusFdSet *writeFds, SoftBusFdSet *exceptFds,
/foundation/communication/dsoftbus/components/nstackx/fillp/include/
H A Dfillpcallbacks.h137 * @param[in] readFds Indicates the fd for read.
145 typedef FILLP_INT (*FillpSelectFunc)(IN FILLP_INT maxFd, IN void *readFds,

Completed in 7 milliseconds