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())).toBeTrue(); 32 expect(ArrayUtils.equal([], new Uint8Array())).toBeTrue(); [all …]
|
D | array_utils.ts | 27 class ArrayUtils { class 150 let result = ArrayUtils.toUintLittleEndian(buffer, start, end); 161 export {ArrayUtils};
|
D | file_utils.ts | 17 import {ArrayUtils} from './array_utils'; 112 return ArrayUtils.equal(bufferStart, magicNumber);
|
/development/tools/winscope/src/parsers/screen_recording/ |
D | parser_screen_recording.ts | 17 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);
|
D | parser_screen_recording_legacy.ts | 17 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/ |
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'; 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/ |
D | presenter.ts | 17 import {ArrayUtils} from 'common/array_utils'; 228 ArrayUtils.binarySearchFirstGreaterOrEqual(
|
/development/tools/winscope/src/viewers/viewer_transactions/ |
D | presenter.ts | 17 import {ArrayUtils} from 'common/array_utils'; 342 ArrayUtils.binarySearchFirstGreaterOrEqual(
|