Searched refs:checkSum (Results 1 – 11 of 11) sorted by relevance
| /developtools/smartperf_host/ide/src/hdc/message/ |
| D | PayloadProtect.ts | 25 constructor(channelId: number, commandFlag: number, checkSum: number, vCode: number) { 29 this._checkSum = checkSum; 53 get checkSum(): number { method in PayloadProtect 57 set checkSum(value: number) { method in PayloadProtect
|
| /developtools/smartperf_host/ide/test/hdc/message/ |
| D | PayloadProtect.test.ts | 43 expect(payloadProtect.checkSum).toBeUndefined(); 47 payloadProtect.checkSum = true; 48 expect(payloadProtect.checkSum).toBeTruthy();
|
| /developtools/smartperf_host/ide/src/hdc/common/ |
| D | Serialize.ts | 46 let checkSum = this.serializeU8(3, payloadProtect.checkSum); 48 …let mergedArray = new Uint8Array(channelId.length + commandFlag.length + checkSum.length + vCode.l… 51 mergedArray.set(checkSum, channelId.length + commandFlag.length); 52 mergedArray.set(vCode, channelId.length + commandFlag.length + checkSum.length); 281 let checkSum = this.parseU8(checkSumDataView, 1); 290 return new PayloadProtect(channelId, commandFlag, checkSum, vCode);
|
| /developtools/smartperf_host/ide/src/hdc/transmission/ |
| D | DataProcessing.ts | 34 private static checkSum: number = 0; property in DataProcessing 91 DataProcessing.checkSum,
|
| /developtools/hdc/hdc_rust/src/cffi/ |
| D | serial_struct.cpp | 55 .checkSum = value.checkSum, in SerializePayloadProtect() 175 .checkSum = pp.checkSum, in ParsePayloadProtect()
|
| D | serial_struct.h | 52 uint8_t checkSum; // enable it will be lose about 20% speed member 103 uint8_t checkSum; // enable it will be lose about 20% speed member 236 Field<fieldThree, &BaseStruct::PayloadProtect::checkSum>("checkSum"),
|
| /developtools/smartperf_host/ide/test/hdc/common/ |
| D | Serialize.test.ts | 33 checkSum: 1,
|
| /developtools/hdc/src/common/ |
| D | serial_struct.h | 94 … Field<fieldThree, &Hdc::HdcSessionBase::PayloadProtect::checkSum>("checkSum"),
|
| D | session.h | 56 uint8_t checkSum; // enable it will be lose about 20% speed member
|
| D | session.cpp | 827 …protectBuf.checkSum = (ENABLE_IO_CHECKSUM && dataSize > 0) ? Base::CalcCheckSum(data, dataSize) : … in Send() 887 …if (ENABLE_IO_CHECKSUM && protectBuf.checkSum != 0 && (protectBuf.checkSum != Base::CalcCheckSum(d… in DecryptPayload()
|
| /developtools/packing_tool/adapter/ohos/ |
| D | Compressor.java | 590 private static byte[] checkSum(String filename) throws BundleException { in checkSum() method in Compressor 614 byte[] byteSum = checkSum(filePath); in getSHA256()
|