Home
last modified time | relevance | path

Searched refs:ArrayUtils (Results 1 – 9 of 9) sorted by relevance

/development/tools/winscope/src/common/
Darray_utils_test.ts17 import {ArrayUtils} from './array_utils';
21 expect(ArrayUtils.equal([], [1])).toBeFalse();
22 expect(ArrayUtils.equal([1], [])).toBeFalse();
24 expect(ArrayUtils.equal([], [])).toBeTrue();
25 expect(ArrayUtils.equal([undefined], [undefined])).toBeTrue();
26 expect(ArrayUtils.equal([1, 2, 3], [1, 2, 3])).toBeTrue();
28 expect(ArrayUtils.equal([], new Uint8Array(1))).toBeFalse();
29 expect(ArrayUtils.equal([1], new Uint8Array(1))).toBeFalse();
31 expect(ArrayUtils.equal([], new Uint8Array(0))).toBeTrue();
32 expect(ArrayUtils.equal([1, 2, 3], new Uint8Array([1, 2, 3]))).toBeTrue();
[all …]
Dfile_utils.ts17 import {ArrayUtils} from './array_utils';
194 return ArrayUtils.equal(bufferStart, magicNumber);
Darray_utils.ts30 export class ArrayUtils { class
202 let result = ArrayUtils.toUintLittleEndian(buffer, start, end);
/development/tools/winscope/src/parsers/screen_recording/
Dparser_screen_recording_legacy.ts17 import {ArrayUtils} from 'common/array_utils';
67 let pos = ArrayUtils.searchSubarray(
88 ArrayUtils.toUintLittleEndian(videoData, pos, pos + 4),
107 ArrayUtils.toUintLittleEndian(videoData, pos, pos + 8) * 1000n;
Dparser_screen_recording.ts17 import {ArrayUtils} from 'common/array_utils';
98 let pos = ArrayUtils.searchSubarray(
168 ArrayUtils.toUintLittleEndian(videoData, pos, pos + 4),
183 const offset = ArrayUtils.toIntLittleEndian(videoData, pos, pos + 8);
198 ArrayUtils.toUintLittleEndian(videoData, pos, pos + 4),
216 const timestamp = ArrayUtils.toUintLittleEndian(videoData, pos, pos + 8);
/development/tools/winscope/src/parsers/legacy/
Dparsing_utils.ts17 import {ArrayUtils} from 'common/array_utils';
25 const bufferContainsMagicNumber = ArrayUtils.equal(
/development/tools/winscope/src/trace/
Dtrace.ts17 import {ArrayUtils} from 'common/array_utils';
265 ArrayUtils.binarySearchFirstGreaterOrEqual(
298 ArrayUtils.binarySearchFirstGreaterOrEqual(
321 ArrayUtils.binarySearchFirstGreater(this.getFullTraceTimestamps(), time),
387 ArrayUtils.binarySearchFirstGreaterOrEqual(
396 ArrayUtils.binarySearchFirstGreaterOrEqual(
/development/tools/winscope/src/viewers/common/
Dlog_presenter.ts17 import {ArrayUtils} from 'common/array_utils';
203 ArrayUtils.binarySearchFirstGreaterOrEqual(
/development/tools/winscope/src/viewers/components/rects/
Dcanvas.ts16 import {ArrayUtils} from 'common/array_utils';
614 const fillRegionChanged = !ArrayUtils.equal(
828 !ArrayUtils.equal(newLabel.linePoints, existingLabel.linePoints, (a, b) =>