Home
last modified time | relevance | path

Searched refs:PACKET_FLAG (Results 1 – 10 of 10) sorted by relevance

/developtools/hdc/hdc_rust/src/serializer/
Dpack_assemble.rs32 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/
Duart.rs114 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/
DDataProcessing.ts17 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/
DConstantType.ts17 export const PACKET_FLAG = 'HW'; constant
/developtools/hdc/src/common/
Ddefine.h80 const string PACKET_FLAG = "HW"; // must 2bytes variable
Duart.h85 : flag {PACKET_FLAG[0], PACKET_FLAG[1]},
Duart.cpp832 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()
Dsession.cpp834 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/
Duart_test.cpp529 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/
Dconfig.rs261 pub const PACKET_FLAG: &[u8] = "HW".as_bytes(); constant