Home
last modified time | relevance | path

Searched refs:TIME_UNIT_TO_NANO (Results 1 – 7 of 7) sorted by relevance

/development/tools/winscope/src/common/
Dtime_units.ts17 export enum TIME_UNIT_TO_NANO { enum
27 {nanosInUnit: TIME_UNIT_TO_NANO['ns'], unit: 'ns'},
28 {nanosInUnit: TIME_UNIT_TO_NANO['ms'], unit: 'ms'},
29 {nanosInUnit: TIME_UNIT_TO_NANO['s'], unit: 's'},
30 {nanosInUnit: TIME_UNIT_TO_NANO['m'], unit: 'm'},
31 {nanosInUnit: TIME_UNIT_TO_NANO['h'], unit: 'h'},
32 {nanosInUnit: TIME_UNIT_TO_NANO['d'], unit: 'd'},
Dutc_offset_test.ts17 import {TIME_UNIT_TO_NANO} from './time_units';
24 utcOffset.initialize(BigInt(TIME_UNIT_TO_NANO.h * 2));
29 utcOffset.initialize(BigInt(TIME_UNIT_TO_NANO.h * 11));
34 utcOffset.initialize(BigInt(TIME_UNIT_TO_NANO.h * 5.5));
39 utcOffset.initialize(BigInt(TIME_UNIT_TO_NANO.h * -8));
44 utcOffset.initialize(BigInt(TIME_UNIT_TO_NANO.h * -10));
49 utcOffset.initialize(BigInt(TIME_UNIT_TO_NANO.h * -4.5));
55 utcOffset.initialize(BigInt(TIME_UNIT_TO_NANO.h * 15)); // later than UTC+14:00
57 utcOffset.initialize(BigInt(TIME_UNIT_TO_NANO.h * -13)); // earlier than UTC-12:00
Dutc_offset.ts17 import {TIME_UNIT_TO_NANO} from './time_units';
30 const valueHours = Number(this.valueNs / BigInt(TIME_UNIT_TO_NANO.m)) / 60;
39 if (valueNs > BigInt(14 * TIME_UNIT_TO_NANO.h)) {
43 if (valueNs < BigInt(-12 * TIME_UNIT_TO_NANO.h)) {
Dtime_test.ts19 import {TIME_UNIT_TO_NANO} from './time_units';
56 const MILLISECOND = BigInt(TIME_UNIT_TO_NANO.ms);
57 const SECOND = BigInt(TIME_UNIT_TO_NANO.s);
58 const MINUTE = BigInt(TIME_UNIT_TO_NANO.m);
59 const HOUR = BigInt(TIME_UNIT_TO_NANO.h);
60 const DAY = BigInt(TIME_UNIT_TO_NANO.d);
Dtimestamp_converter_test.ts20 import {TIME_UNIT_TO_NANO} from './time_units';
23 const MILLISECOND = BigInt(TIME_UNIT_TO_NANO.ms);
24 const SECOND = BigInt(TIME_UNIT_TO_NANO.s);
25 const MINUTE = BigInt(TIME_UNIT_TO_NANO.m);
26 const HOUR = BigInt(TIME_UNIT_TO_NANO.h);
27 const DAY = BigInt(TIME_UNIT_TO_NANO.d);
Dtimestamp_converter.ts25 import {TIME_UNITS, TIME_UNIT_TO_NANO} from './time_units';
264 BigInt(Date.parse(timestampHuman)) * BigInt(TIME_UNIT_TO_NANO['ms']) +
/development/tools/winscope/src/app/
Dloaded_parsers.ts20 import {TIME_UNIT_TO_NANO} from 'common/time_units';
32 5 * TIME_UNIT_TO_NANO.m,
35 5 * TIME_UNIT_TO_NANO.s,