Searched refs:USB_PACKET_FLAG (Results 1 - 6 of 6) sorted by relevance
/developtools/hdc/hdc_rust/src/cffi/ |
H A D | usb_types.h | 43 const std::string USB_PACKET_FLAG = "UB"; // must 2bytes
variable
|
/developtools/hdc/hdc_rust/src/transfer/ |
H A D | usb.rs | 163 if buf[..config::USB_PACKET_FLAG.len()] != config::USB_PACKET_FLAG[..] { in check_protocol_head() 166 format!("USB_PACKET_FLAG incorrect, content: {:#?}", buf), in check_protocol_head() 219 flag: [config::USB_PACKET_FLAG[0], config::USB_PACKET_FLAG[1]], in build_header()
|
/developtools/hdc/src/common/ |
H A D | usb.cpp | 71 head.flag[i] = USB_PACKET_FLAG.data()[i]; in BuildPacketHeader() 118 if (memcmp(usbPayloadHeader->flag, USB_PACKET_FLAG.c_str(), USB_PACKET_FLAG.size())) { in IsUsbPacketHeader()
|
H A D | usb.h | 45 const string USB_PACKET_FLAG = "UB"; // must 2bytes member in Hdc::HdcUSBBase
|
/developtools/hdc/hdc_rust/src/host_transfer/ |
H A D | host_usb.rs | 164 if buf[..config::USB_PACKET_FLAG.len()] != config::USB_PACKET_FLAG[..] { in check_protocol_head() 167 format!("USB_PACKET_FLAG incorrect, content: {:#?}", buf), in check_protocol_head() 198 flag: [config::USB_PACKET_FLAG[0], config::USB_PACKET_FLAG[1]], in build_header()
|
/developtools/hdc/hdc_rust/src/ |
H A D | config.rs | 313 pub const USB_PACKET_FLAG: &[u8] = "UB".as_bytes(); consts
|
Completed in 3 milliseconds