Searched refs:szBuf (Results 1 – 3 of 3) sorted by relevance
/base/msdp/device_status/frameworks/native/src/ |
D | fd_listener.cpp | 40 char szBuf[MAX_PACKET_BUF_SIZE] = {}; in OnReadable() local 42 ssize_t size = recv(fd, szBuf, MAX_PACKET_BUF_SIZE, MSG_DONTWAIT | MSG_NOSIGNAL); in OnReadable() 44 iClient_->OnRecvMsg(szBuf, size); in OnReadable()
|
/base/sensors/sensor/frameworks/native/sensor/src/ |
D | fd_listener.cpp | 42 char szBuf[MAX_DATA_BUF_SIZE] = {}; in OnReadable() local 44 ssize_t size = recv(fd, szBuf, MAX_DATA_BUF_SIZE, MSG_DONTWAIT | MSG_NOSIGNAL); in OnReadable() 48 receiveMessage(szBuf, size); in OnReadable()
|
/base/msdp/device_status/services/native/src/ |
D | stream_server.cpp | 205 char szBuf[MAX_PACKET_BUF_SIZE] = {}; in OnEpollRecv() local 207 ssize_t size = recv(fd, szBuf, MAX_PACKET_BUF_SIZE, MSG_DONTWAIT | MSG_NOSIGNAL); in OnEpollRecv() 209 if (!buf.Write(szBuf, size)) { in OnEpollRecv()
|