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())).toBeTrue();
32 expect(ArrayUtils.equal([], new Uint8Array())).toBeTrue();
[all …]
Darray_utils.ts27 class ArrayUtils { class
150 let result = ArrayUtils.toUintLittleEndian(buffer, start, end);
161 export {ArrayUtils};
Dfile_utils.ts17 import {ArrayUtils} from './array_utils';
112 return ArrayUtils.equal(bufferStart, magicNumber);
/development/tools/winscope/src/parsers/screen_recording/
Dparser_screen_recording.ts17 import {ArrayUtils} from 'common/array_utils';
105 let pos = ArrayUtils.searchSubarray(
126 ArrayUtils.toUintLittleEndian(videoData, pos, pos + 4),
141 const offset = ArrayUtils.toIntLittleEndian(videoData, pos, pos + 8);
156 ArrayUtils.toUintLittleEndian(videoData, pos, pos + 4),
174 const timestamp = ArrayUtils.toUintLittleEndian(videoData, pos, pos + 8);
Dparser_screen_recording_legacy.ts17 import {ArrayUtils} from 'common/array_utils';
64 let pos = ArrayUtils.searchSubarray(
85 ArrayUtils.toUintLittleEndian(videoData, pos, pos + 4),
104 ArrayUtils.toUintLittleEndian(videoData, pos, pos + 8) * 1000n;
/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';
236 ArrayUtils.binarySearchFirstGreaterOrEqual(
269 ArrayUtils.binarySearchFirstGreaterOrEqual(
292 ArrayUtils.binarySearchFirstGreater(this.getFullTraceTimestamps(), time),
358 ArrayUtils.binarySearchFirstGreaterOrEqual(
367 ArrayUtils.binarySearchFirstGreaterOrEqual(
/development/tools/winscope/src/viewers/viewer_protolog/
Dpresenter.ts17 import {ArrayUtils} from 'common/array_utils';
228 ArrayUtils.binarySearchFirstGreaterOrEqual(
/development/tools/winscope/src/viewers/viewer_transactions/
Dpresenter.ts17 import {ArrayUtils} from 'common/array_utils';
342 ArrayUtils.binarySearchFirstGreaterOrEqual(