Searched refs:MAX_PACKET_BUF_SIZE (Results 1 – 15 of 15) sorted by relevance
/base/msdp/device_status/frameworks/native/src/ |
D | fd_listener.cpp | 40 char szBuf[MAX_PACKET_BUF_SIZE] = {}; in OnReadable() 42 ssize_t size = recv(fd, szBuf, MAX_PACKET_BUF_SIZE, MSG_DONTWAIT | MSG_NOSIGNAL); in OnReadable() 58 if (static_cast<size_t>(size) < MAX_PACKET_BUF_SIZE) { in OnReadable()
|
D | client.cpp | 175 if (size == 0 || size > MAX_PACKET_BUF_SIZE) { in OnRecvMsg()
|
/base/sensors/sensor/utils/ipc/include/ |
D | proto.h | 29 static const size_t MAX_PACKET_BUF_SIZE = 256; variable
|
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/ |
D | stream_session.rs | 26 const MAX_PACKET_BUF_SIZE: usize = 256; constant 117 if size == 0 || size > MAX_PACKET_BUF_SIZE { in session_send_msg()
|
D | epoll_manager.rs | 22 const MAX_PACKET_BUF_SIZE: usize = 256; constant
|
D | stream_buffer.rs | 35 pub const MAX_PACKET_BUF_SIZE: usize = 256; constant 299 if !(0..=MAX_PACKET_BUF_SIZE).contains(&size) { in read_client_packets()
|
/base/msdp/device_status/utils/common/include/ |
D | proto.h | 26 static constexpr size_t MAX_PACKET_BUF_SIZE { 256 };
|
/base/msdp/device_status/services/native/src/ |
D | devicestatus_dumper.cpp | 385 char buf[MAX_PACKET_BUF_SIZE] = {}; in CheckDefineOutput() 386 int32_t ret = snprintf_s(buf, MAX_PACKET_BUF_SIZE, MAX_PACKET_BUF_SIZE - 1, fmt, args...); in CheckDefineOutput()
|
D | stream_server.cpp | 205 char szBuf[MAX_PACKET_BUF_SIZE] = {}; in OnEpollRecv() 207 ssize_t size = recv(fd, szBuf, MAX_PACKET_BUF_SIZE, MSG_DONTWAIT | MSG_NOSIGNAL); in OnEpollRecv() 226 if (static_cast<size_t>(size) < MAX_PACKET_BUF_SIZE) { in OnEpollRecv()
|
/base/sensors/sensor/utils/ipc/src/ |
D | stream_socket.cpp | 55 if (head->size < 0 || head->size > MAX_PACKET_BUF_SIZE) { in OnReadPackets()
|
D | stream_session.cpp | 57 if ((size == 0) || (size > MAX_PACKET_BUF_SIZE)) { in SendMsg()
|
/base/msdp/device_status/utils/ipc/src/ |
D | stream_client.cpp | 50 if ((size == 0) || (size > MAX_PACKET_BUF_SIZE)) { in SendMsg()
|
D | stream_session.cpp | 46 if ((size == 0) || (size > MAX_PACKET_BUF_SIZE)) { in SendMsg()
|
D | stream_socket.cpp | 93 …f (static_cast<int32_t>(head->size) < 0 || static_cast<size_t>(head->size) > MAX_PACKET_BUF_SIZE) { in OnReadPackets()
|
/base/sensors/sensor/frameworks/native/sensor/src/ |
D | sensor_service_client.cpp | 381 if (size == 0 || size > MAX_PACKET_BUF_SIZE) { in ReceiveMessage()
|