Searched refs:PayloadHead (Results 1 – 14 of 14) sorted by relevance
/developtools/smartperf_host/ide/src/hdc/hdcclient/ |
D | HdcStream.ts | 22 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
|
D | HdcClient.ts | 20 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/ |
D | PayloadHead.ts | 18 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…
|
D | DataMessage.ts | 18 import { PayloadHead } from './PayloadHead'; 44 let resultPayloadHead: PayloadHead = PayloadHead.parsePlayHead(new DataView(playHeadArray));
|
/developtools/hdc/hdc_rust/src/serializer/ |
D | pack_assemble.rs | 31 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()
|
D | unittest.rs | 92 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()
|
D | native_struct.rs | 37 pub struct PayloadHead { struct
|
D | serialize.rs | 21 use crate::serializer::native_struct::{PayloadHead, PayloadProtect, SessionHandShake}; 326 impl Serialization for PayloadHead { implementation
|
/developtools/smartperf_host/ide/test/hdc/message/ |
D | PayloadHead.test.ts | 16 import { PayloadHead } from '../../../src/hdc/message/PayloadHead'; 19 let payloadHead = new PayloadHead();
|
/developtools/smartperf_host/ide/src/hdc/transmission/ |
D | DataProcessing.ts | 23 import { PayloadHead } from '../message/PayloadHead'; 95 let payloadHead: PayloadHead = new PayloadHead(
|
/developtools/hdc/hdc_rust/src/cffi/ |
D | serial_struct.cpp | 116 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()
|
D | serial_struct.h | 138 struct PayloadHead { struct
|
/developtools/hdc/src/common/ |
D | session.cpp | 833 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()
|
D | session.h | 134 struct PayloadHead { struct 191 int DecryptPayload(HSession hSession, PayloadHead *payloadHeadBe, uint8_t *encBuf);
|