Home
last modified time | relevance | path

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

/foundation/multimodalinput/input/frameworks/proxy/module_loader/src/
H A Dmmi_fd_listener.cpp43 char szBuf[MAX_PACKET_BUF_SIZE] = {}; in OnReadable()
48 while (oneRecvSize < MAX_PACKET_BUF_SIZE) { in OnReadable()
49 ssize_t size = recv(fd, szBuf + oneRecvSize, MAX_PACKET_BUF_SIZE - oneRecvSize, in OnReadable()
H A Dmmi_client.cpp187 if (size == 0 || size > MAX_PACKET_BUF_SIZE) { in OnRecvMsg()
/foundation/multimodalinput/input/util/common/include/
H A Dconfig_multimodal.h34 #define MAX_PACKET_BUF_SIZE (1024*8) macro
36 #define MAX_STREAM_BUF_SIZE (MAX_PACKET_BUF_SIZE*2)
/foundation/multimodalinput/input/intention/ipc/socket/src/
H A Dsocket_connection.cpp59 char buf[MAX_PACKET_BUF_SIZE] {}; in OnReadable()
H A Dsocket_session.cpp62 if ((size == 0) || (size > MAX_PACKET_BUF_SIZE)) { in SendMsg()
/foundation/multimodalinput/input/util/socket/src/
H A Duds_client.cpp49 if ((size == 0) || (size > MAX_PACKET_BUF_SIZE)) { in SendMsg()
H A Duds_socket.cpp103 if (head->size < 0 || head->size > MAX_PACKET_BUF_SIZE) { in OnReadPackets()
H A Duds_session.cpp57 if ((size == 0) || (size > MAX_PACKET_BUF_SIZE)) { in SendMsg()
/foundation/multimodalinput/input/service/module_loader/src/
H A Duds_server.cpp270 char szBuf[MAX_PACKET_BUF_SIZE] = {}; in OnEpollRecv()
272 auto size = recv(fd, szBuf, MAX_PACKET_BUF_SIZE, MSG_DONTWAIT | MSG_NOSIGNAL); in OnEpollRecv()
291 if (size < MAX_PACKET_BUF_SIZE) { in OnEpollRecv()
H A Dmmi_service.cpp192 char buf[MAX_PACKET_BUF_SIZE] = {}; in CheckDefineOutput()
193 int32_t ret = snprintf_s(buf, MAX_PACKET_BUF_SIZE, MAX_PACKET_BUF_SIZE - 1, fmt, args...); in CheckDefineOutput()
/foundation/multimodalinput/input/intention/adapters/dsoftbus_adapter/src/
H A Ddsoftbus_adapter_impl.cpp198 if (buffer.Size() > MAX_PACKET_BUF_SIZE) { in SendPacket()
240 if (buffer.Size() > MAX_PACKET_BUF_SIZE) { in BroadcastPacket()
542 if ((head->size < 0) || (static_cast<size_t>(head->size) > MAX_PACKET_BUF_SIZE)) { in HandleSessionData()

Completed in 10 milliseconds