Home
last modified time | relevance | path

Searched refs:base_time (Results 1 – 12 of 12) sorted by relevance

/external/u-boot/drivers/rtc/
Di2c_rtc_emul.c39 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/
Dnss_util_unittest.cc37 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/
Dpr_latency.py60 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/
Dutils.py7 def compute_total_diff(line, base_time): argument
22 return (timestamp - base_time).total_seconds()
Dtotal_mem_sampled.py22 base_time = datetime(2014, 6, 11, 0, 0) variable
30 total_diff = compute_total_diff(line, base_time)
Dtotal_mem_actual.py25 base_time = datetime(2014, 6, 11, 0, 0) variable
31 total_diff = compute_total_diff(line, base_time)
Dmem_groups.py31 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/
Dtimestamp.c19 uint64_t base_time; member
41 tse->entry_stamp = ts_time - ts_table->base_time; in timestamp_add()
/external/u-boot/test/dm/
Drtc.c124 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/
Dwalt.py102 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/
Dtest.h94 long sandbox_i2c_rtc_get_set_base_time(struct udevice *dev, long base_time);
/external/python/cpython3/Lib/test/
Ddatetimetester.py3870 base_time = self.theclass(12, 30, 45, 217456)
3887 t = base_time.replace(tzinfo=tzi)