Searched refs:readFds (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/platform/liteos/dfile/ |
H A D | sys_dfile_session.c | 25 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()
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/platform/unix/dfile/ |
H A D | sys_dfile_session.c | 25 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()
|
/ohos5.0/drivers/peripheral/bluetooth/hci/hdi_service/implement/ |
H A D | hci_watcher.cpp | 115 fd_set readFds; in WatcherThread() local 120 FD_ZERO(&readFds); in WatcherThread() 125 FD_SET(wakeupPipe_[0], &readFds); in WatcherThread() 130 FD_SET(fd.first, &readFds); in WatcherThread() 144 int ret = select(nfds + 1, &readFds, nullptr, nullptr, timeout); in WatcherThread() 157 if (FD_ISSET(wakeupPipe_[0], &readFds)) { in WatcherThread() 163 if (FD_ISSET(fd.first, &readFds)) { in WatcherThread()
|
/ohos5.0/foundation/communication/dsoftbus/tests/adapter/unittest/ |
H A D | softbus_socket_test.cpp | 1261 SoftBusFdSet readFds; variable 1269 SoftBusSocketFdZero(&readFds); 1270 SoftBusSocketFdSet(socketFd, &readFds); 1271 ret = SoftBusSocketSelect(SET_SIZE, &readFds, NULL, NULL, &tv); 1342 SoftBusFdSet readFds, writeFds, exceptFds; variable 1347 SoftBusSocketFdZero(&readFds); 1350 int32_t ret = SoftBusSocketSelect(SET_SIZE, &readFds, &writeFds, &exceptFds, &tv); 1382 SoftBusFdSet readFds, writeFds, exceptFds; variable 1383 int32_t ret = SoftBusSocketSelect(SET_SIZE, &readFds, &writeFds, &exceptFds, &tv);
|
/ohos5.0/foundation/communication/dsoftbus/adapter/common/kernel/posix/ |
H A D | softbus_adapter_socket.c | 301 …int32_t nfds, SoftBusFdSet *readFds, SoftBusFdSet *writeFds, SoftBusFdSet *exceptFds, SoftBusSockT… in SoftBusSocketSelect() argument 307 if (readFds != NULL) { in SoftBusSocketSelect() 308 tempReadSet = (fd_set *)readFds->fdsBits; in SoftBusSocketSelect()
|
/ohos5.0/foundation/communication/dsoftbus/adapter/common/include/ |
H A D | softbus_adapter_socket.h | 155 int32_t SoftBusSocketSelect(int32_t nfds, SoftBusFdSet *readFds, SoftBusFdSet *writeFds, SoftBusFdS…
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/include/ |
H A D | fillpcallbacks.h | 145 typedef FILLP_INT (*FillpSelectFunc)(IN FILLP_INT maxFd, IN void *readFds,
|