Home
last modified time | relevance | path

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

/foundation/multimodalinput/input/util/socket/src/
H A Duds_socket.cpp90 void UDSSocket::OnReadPackets(CircleStreamBuffer &circBuf, UDSSocket::PacketCallBackFun callbackFun) in OnReadPackets() argument
93 while (!circBuf.IsEmpty()) { in OnReadPackets()
94 const int32_t unreadSize = circBuf.UnreadSize(); in OnReadPackets()
99 char *buf = const_cast<char *>(circBuf.ReadBuf()); in OnReadPackets()
106 circBuf.Reset(); in OnReadPackets()
118 if (!circBuf.SeekReadPos(pkt.GetPacketLength())) { in OnReadPackets()
121 circBuf.Reset(); in OnReadPackets()
125 if (circBuf.IsEmpty()) { in OnReadPackets()
126 circBuf.Reset(); in OnReadPackets()

Completed in 1 milliseconds