/external/u-boot/drivers/rtc/ |
D | i2c_rtc_emul.c | 39 long base_time; member 63 long sandbox_i2c_rtc_get_set_base_time(struct udevice *dev, long base_time) in sandbox_i2c_rtc_get_set_base_time() argument 68 old_base_time = plat->base_time; in sandbox_i2c_rtc_get_set_base_time() 69 if (base_time != -1) in sandbox_i2c_rtc_get_set_base_time() 70 plat->base_time = base_time; in sandbox_i2c_rtc_get_set_base_time() 81 plat->base_time = rtc_mktime(&now); in reset_time() 96 now = plat->base_time; in sandbox_i2c_rtc_get() 114 now = plat->base_time; in sandbox_i2c_rtc_set()
|
/external/libchrome/crypto/ |
D | nss_util_unittest.cc | 37 base::Time base_time; in TEST() local 38 EXPECT_TRUE(base::Time::FromUTCExploded(exploded, &base_time)); in TEST() 40 EXPECT_EQ(base_time, PRTimeToBaseTime(pr_time)); in TEST() 41 EXPECT_EQ(pr_time, BaseTimeToPRTime(base_time)); in TEST()
|
/external/grpc-grpc/tools/github/ |
D | pr_latency.py | 60 base_time, argument 71 pr, base_time, test_time, diff_time, successes, failures, 76 str(base_time), 78 str(int((test_time - base_time).total_seconds())),
|
/external/toolchain-utils/deprecated/mem_tests/ |
D | utils.py | 7 def compute_total_diff(line, base_time): argument 22 return (timestamp - base_time).total_seconds()
|
D | total_mem_sampled.py | 22 base_time = datetime(2014, 6, 11, 0, 0) variable 30 total_diff = compute_total_diff(line, base_time)
|
D | total_mem_actual.py | 25 base_time = datetime(2014, 6, 11, 0, 0) variable 31 total_diff = compute_total_diff(line, base_time)
|
D | mem_groups.py | 31 base_time = datetime(2014, 6, 11, 0, 0) variable 43 total_diff = compute_total_diff(line, base_time)
|
/external/u-boot/arch/x86/cpu/coreboot/ |
D | timestamp.c | 19 uint64_t base_time; member 41 tse->entry_stamp = ts_time - ts_table->base_time; in timestamp_add()
|
/external/u-boot/test/dm/ |
D | rtc.c | 124 long old_base_time, base_time; in dm_test_rtc_reset() local 138 base_time = sandbox_i2c_rtc_get_set_base_time(emul, -1); in dm_test_rtc_reset() 139 ut_asserteq(old_base_time, base_time); in dm_test_rtc_reset()
|
/external/walt/pywalt/pywalt/ |
D | walt.py | 102 self.base_time = None 189 self.base_time = t0 234 times_local_received[i] = time.time() - self.base_time 246 times_local_sent[i] = time.time() - self.base_time 647 is_sync = bridge_command.group(1) == 'sync' or not self.walt.base_time 654 self.walt.base_time += self.walt.min_lag 661 dt0 = (time.time() - self.walt.base_time) * 1e6
|
/external/u-boot/arch/sandbox/include/asm/ |
D | test.h | 94 long sandbox_i2c_rtc_get_set_base_time(struct udevice *dev, long base_time);
|
/external/python/cpython3/Lib/test/ |
D | datetimetester.py | 3870 base_time = self.theclass(12, 30, 45, 217456) 3887 t = base_time.replace(tzinfo=tzi)
|