Searched refs:ArrayUtils (Results 1 – 9 of 9) sorted by relevance
/development/tools/winscope/src/common/ |
D | array_utils_test.ts | 17 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 …]
|
D | file_utils.ts | 17 import {ArrayUtils} from './array_utils'; 194 return ArrayUtils.equal(bufferStart, magicNumber);
|
D | array_utils.ts | 30 export class ArrayUtils { class 202 let result = ArrayUtils.toUintLittleEndian(buffer, start, end);
|
/development/tools/winscope/src/parsers/screen_recording/ |
D | parser_screen_recording_legacy.ts | 17 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;
|
D | parser_screen_recording.ts | 17 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/ |
D | parsing_utils.ts | 17 import {ArrayUtils} from 'common/array_utils'; 25 const bufferContainsMagicNumber = ArrayUtils.equal(
|
/development/tools/winscope/src/trace/ |
D | trace.ts | 17 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/ |
D | log_presenter.ts | 17 import {ArrayUtils} from 'common/array_utils'; 203 ArrayUtils.binarySearchFirstGreaterOrEqual(
|
/development/tools/winscope/src/viewers/components/rects/ |
D | canvas.ts | 16 import {ArrayUtils} from 'common/array_utils'; 614 const fillRegionChanged = !ArrayUtils.equal( 828 !ArrayUtils.equal(newLabel.linePoints, existingLabel.linePoints, (a, b) =>
|