Home
last modified time | relevance | path

Searched refs:PackHead (Results 1 – 7 of 7) sorted by relevance

/base/sensors/sensor/utils/ipc/src/
Dstream_socket.cpp44 constexpr size_t headSize = sizeof(PackHead); in OnReadPackets()
53 PackHead *head = reinterpret_cast<PackHead *>(buf); in OnReadPackets()
Dnet_packet.cpp65 return (static_cast<int32_t>(sizeof(PackHead)) + StreamBufferGetWpos(streamBufferPtr_.get())); in GetPacketLength()
67 return sizeof(PackHead) + wPos_; in GetPacketLength()
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/stream_buffer/
Dnet_packet.rs29 pub(crate) struct PackHead { struct
100 size_of::<PackHead>() + self.stream_buffer.w_pos in get_packet_length()
103 let head = PackHead { in make_data()
/base/msdp/device_status/utils/ipc/include/
Dnet_packet.h22 using PACKHEAD = struct PackHead { struct
42 return (static_cast<int32_t>(sizeof(PackHead)) + wPos_); in GetPacketLength()
/base/msdp/device_status/utils/ipc/src/
Dstream_socket.cpp82 constexpr int32_t headSize = static_cast<int32_t>(sizeof(PackHead)); in OnReadPackets()
91 PackHead *head = reinterpret_cast<PackHead *>(buf); in OnReadPackets()
/base/sensors/sensor/utils/ipc/include/
Dnet_packet.h23 using PACKHEAD = struct PackHead { struct
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/
Dstream_buffer.rs24 use net_packet::{NetPacket, CNetPacket, PackHead};
274 const HEAD_SIZE: usize = size_of::<PackHead>(); in read_client_packets()
286 let head: *const PackHead = buf as *const PackHead; in read_client_packets() constant