Home
last modified time | relevance | path

Searched refs:PayloadHead (Results 1 – 14 of 14) sorted by relevance

/developtools/smartperf_host/ide/src/hdc/hdcclient/
DHdcStream.ts22 import { PayloadHead } from '../message/PayloadHead';
101 …let fileRecvPlayHeadArray = fileRecvDataMessage.body!.buffer.slice(0, PayloadHead.getPayloadHeadLe…
102 …let fileRecvResultPayloadHead: PayloadHead = PayloadHead.parsePlayHead(new DataView(fileRecvPlayHe…
112 …let fileCheckPlayHeadArray = fileCheckDataMessage.body!.buffer.slice(0, PayloadHead.getPayloadHead…
113 …let fileCheckResultPayloadHead: PayloadHead = PayloadHead.parsePlayHead(new DataView(fileCheckPlay…
117 PayloadHead.getPayloadHeadLength(),
118 PayloadHead.getPayloadHeadLength() + fileCheckHeadSize
124 PayloadHead.getPayloadHeadLength() + fileCheckHeadSize,
125 PayloadHead.getPayloadHeadLength() + fileCheckHeadSize + fileCheckDataSize
DHdcClient.ts20 import { PayloadHead } from '../message/PayloadHead';
89 let playHeadArray = handBody.buffer.slice(0, PayloadHead.getPayloadHeadLength());
90 let resultPayloadHead: PayloadHead = PayloadHead.parsePlayHead(new DataView(playHeadArray));
95 PayloadHead.getPayloadHeadLength(),
96 PayloadHead.getPayloadHeadLength() + headSize
100 PayloadHead.getPayloadHeadLength() + headSize,
101 PayloadHead.getPayloadHeadLength() + headSize + dataSize
/developtools/smartperf_host/ide/src/hdc/message/
DPayloadHead.ts18 export class PayloadHead extends Object implements BaseBean { class
49 static parsePlayHead(data: DataView): PayloadHead {
62 …return new PayloadHead([flagZero, flagOne], [reserveZero, reserveOne], protocolVer, headSize, data…
90 …return 'PayloadHead: ' + this.getDataView.toString() + ', parsePlayHead: ' + PayloadHead.parsePlay…
DDataMessage.ts18 import { PayloadHead } from './PayloadHead';
44 let resultPayloadHead: PayloadHead = PayloadHead.parsePlayHead(new DataView(playHeadArray));
/developtools/hdc/hdc_rust/src/serializer/
Dpack_assemble.rs31 pub fn unpack_payload_head(data: Vec<u8>) -> io::Result<native_struct::PayloadHead> { in unpack_payload_head() argument
39 let mut payload_head = native_struct::PayloadHead::default(); in unpack_payload_head()
72 let payload_head = native_struct::PayloadHead { in concat_pack()
Dunittest.rs92 let send = native_struct::PayloadHead { in if_session_payload_head_works()
100 let mut recv = native_struct::PayloadHead::default(); in if_session_payload_head_works()
Dnative_struct.rs37 pub struct PayloadHead { struct
Dserialize.rs21 use crate::serializer::native_struct::{PayloadHead, PayloadProtect, SessionHandShake};
326 impl Serialization for PayloadHead { implementation
/developtools/smartperf_host/ide/test/hdc/message/
DPayloadHead.test.ts16 import { PayloadHead } from '../../../src/hdc/message/PayloadHead';
19 let payloadHead = new PayloadHead();
/developtools/smartperf_host/ide/src/hdc/transmission/
DDataProcessing.ts23 import { PayloadHead } from '../message/PayloadHead';
95 let payloadHead: PayloadHead = new PayloadHead(
/developtools/hdc/hdc_rust/src/cffi/
Dserial_struct.cpp116 extern "C" SerializedBuffer SerializePayloadHead(RustStruct::PayloadHead &value) in SerializePayloadHead()
236 extern "C" uint8_t ParsePayloadHead(RustStruct::PayloadHead &value, SerializedBuffer buf) in ParsePayloadHead()
238 (void)memcpy_s(&value, buf.size, reinterpret_cast<struct PayloadHead *>(buf.ptr), buf.size); in ParsePayloadHead()
Dserial_struct.h138 struct PayloadHead { struct
/developtools/hdc/src/common/
Dsession.cpp833 PayloadHead payloadHead = {}; // need convert to big-endian in Send()
839 int finalBufSize = sizeof(PayloadHead) + s.size() + dataSize; in Send()
847 …if (memcpy_s(finayBuf, sizeof(PayloadHead), reinterpret_cast<uint8_t *>(&payloadHead), sizeof(Payl… in Send()
851 if (memcpy_s(finayBuf + sizeof(PayloadHead), s.size(), in Send()
856 …if (dataSize > 0 && memcpy_s(finayBuf + sizeof(PayloadHead) + s.size(), dataSize, data, dataSize))… in Send()
874 int HdcSessionBase::DecryptPayload(HSession hSession, PayloadHead *payloadHeadBe, uint8_t *encBuf) in DecryptPayload()
907 struct PayloadHead *payloadHead = reinterpret_cast<struct PayloadHead *>(bufPtr); in OnRead()
911 int packetHeadSize = sizeof(struct PayloadHead); in OnRead()
945 while (!hSession->isDead && hSession->availTailIndex > static_cast<int>(sizeof(PayloadHead))) { in FetchIOBuf()
Dsession.h134 struct PayloadHead { struct
191 int DecryptPayload(HSession hSession, PayloadHead *payloadHeadBe, uint8_t *encBuf);