Searched refs:PACKET_FLAG (Results 1 – 10 of 10) sorted by relevance
| /developtools/hdc/hdc_rust/src/serializer/ |
| D | pack_assemble.rs | 32 if data[..PACKET_FLAG.len()] != PACKET_FLAG[..] { in unpack_payload_head() 73 flag: [PACKET_FLAG[0], PACKET_FLAG[1]], in concat_pack()
|
| /developtools/hdc/hdc_rust/src/transfer/ |
| D | uart.rs | 114 if buf[..config::PACKET_FLAG.len()] != config::PACKET_FLAG[..] { in check_protocol_head() 164 flag: [config::PACKET_FLAG[0], config::PACKET_FLAG[1]], in build_header() 182 flag: [config::PACKET_FLAG[0], config::PACKET_FLAG[1]], in build_header_obj()
|
| /developtools/smartperf_host/ide/src/hdc/transmission/ |
| D | DataProcessing.ts | 17 import { PACKET_FLAG, USB_PACKET_FLAG } from '../common/ConstantType'; 96 [PACKET_FLAG.charCodeAt(0), PACKET_FLAG.charCodeAt(1)],
|
| /developtools/smartperf_host/ide/src/hdc/common/ |
| D | ConstantType.ts | 17 export const PACKET_FLAG = 'HW'; constant
|
| /developtools/hdc/src/common/ |
| D | define.h | 80 const string PACKET_FLAG = "HW"; // must 2bytes variable
|
| D | uart.h | 85 : flag {PACKET_FLAG[0], PACKET_FLAG[1]},
|
| D | uart.cpp | 832 if (memcmp(head->flag, PACKET_FLAG.c_str(), PACKET_FLAG.size()) != 0) { in ValidateUartPacket() 910 if (memcpy_s(head->flag, sizeof(head->flag), PACKET_FLAG.c_str(), PACKET_FLAG.size()) != in SendUARTData()
|
| D | session.cpp | 834 payloadHead.flag[0] = PACKET_FLAG.at(0); in Send() 835 payloadHead.flag[1] = PACKET_FLAG.at(1); in Send() 903 if (memcmp(bufPtr, PACKET_FLAG.c_str(), PACKET_FLAG.size())) { in OnRead()
|
| /developtools/hdc/test/unittest/common/ |
| D | uart_test.cpp | 529 testHead.flag[0] = PACKET_FLAG.at(0); 530 testHead.flag[1] = PACKET_FLAG.at(1); 547 testHead.flag[0] = PACKET_FLAG.at(0); 554 testHead.flag[1] = PACKET_FLAG.at(1);
|
| /developtools/hdc/hdc_rust/src/ |
| D | config.rs | 261 pub const PACKET_FLAG: &[u8] = "HW".as_bytes(); constant
|