Home
last modified time | relevance | path

Searched refs:uint8Array (Results 1 – 4 of 4) sorted by relevance

/developtools/smartperf_host/ide/test/hdc/common/
DSerialize.test.ts70 let uint8Array = new Uint8Array(data); variable
71 let dataBuffer = uint8Array.buffer;
83 let uint8Array = new Uint8Array(data); variable
84 let dataBuffer = uint8Array.buffer;
97 let uint8Array = new Uint8Array(data); variable
98 expect(Serialize.parseString(uint8Array, 1)).not.toBeUndefined();
106 let uint8Array = new Uint8Array(data); variable
107 expect(Serialize.parseHandshake(uint8Array)).toEqual({
/developtools/smartperf_host/ide/src/trace/database/
DConvertTraceWorker.ts50 let uint8Array = new Uint8Array(fileData.slice(0, 8)); // 获取前8个字节,用来判断文件是htrace还是raw trace variable
52 let headerStr = enc.decode(uint8Array);
93 let uint8Array = new Uint8Array(fileData.slice(0, 1024));
94 convertModule.HEAPU8.set(uint8Array, dataHeader);
106 let uint8Array = new Uint8Array(fileData.slice(0, 12));
107 convertModule.HEAPU8.set(uint8Array, dataHeader);
DTraceWorker.ts244 let uint8Array = new Uint8Array(e.data.buffer); variable
380 let headArray = uint8Array.slice(0, offset);
382 while (offset < uint8Array.length) {
406 let commonData = uint8Array.slice(item.startOffset, item.endOffset);
410 let freeData = uint8Array.slice(12);
426 while (wrSize < uint8Array.length) {
427 const sliceLen = Math.min(uint8Array.length - wrSize, REQ_BUF_SIZE);
428 const dataSlice = uint8Array.subarray(wrSize, wrSize + sliceLen);
431 r2 = Module._TraceStreamerParseDataEx(sliceLen, wrSize === uint8Array.length ? 1 : 0);
921 let uint8Array = new Uint8Array(arrayBuffer.buf); variable
[all …]
/developtools/smartperf_host/ide/src/hdc/common/
DSerialize.ts249 let uint8Array = new Uint8Array(data);
251 let dataBuffer = uint8Array.buffer;
260 let uint8Array = new Uint8Array(data);
263 let dataBuffer = uint8Array.buffer;