Searched refs:epoch_time (Results 1 – 7 of 7) sorted by relevance
/external/autotest/client/common_lib/ |
D | time_utils.py | 58 def epoch_time_to_date_string(epoch_time, fmt_string=TIME_FMT): argument 68 if epoch_time: 70 int(epoch_time)).strftime(fmt_string)
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/ |
D | last_write_time.pass.cpp | 425 const file_time_type epoch_time = now - now.time_since_epoch(); in TEST_CASE() local 430 epoch_time - Minutes(3) - Sec(42) - SubSec(17); in TEST_CASE() 435 epoch_time - Sec(2) - SubSec(17); in TEST_CASE() 437 const file_time_type just_before_epoch_time = epoch_time - SubSec(17); in TEST_CASE() 445 {"file, epoch_time", file, epoch_time}, in TEST_CASE() 446 {"dir, epoch_time", dir, epoch_time}, in TEST_CASE()
|
/external/crosvm/devices/src/ |
D | pl030.rs | 62 let epoch_time = SystemTime::now() in get_epoch_time() localVariable 65 epoch_time.as_secs() as u32 in get_epoch_time()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/ |
D | last_write_time.pass.cpp | 469 const file_time_type epoch_time = now - now.time_since_epoch(); in set_last_write_time_dynamic_env_test() local 474 epoch_time - Minutes(3) - Sec(42) - SubSec(17); in set_last_write_time_dynamic_env_test() 480 epoch_time - Sec(2) - SubSec(17); in set_last_write_time_dynamic_env_test() 482 const file_time_type just_before_epoch_time = epoch_time - SubSec(17); in set_last_write_time_dynamic_env_test() 491 {"file, epoch_time", file, epoch_time}, in set_last_write_time_dynamic_env_test() 492 {"dir, epoch_time", dir, epoch_time}, in set_last_write_time_dynamic_env_test()
|
/external/python/mobly/mobly/ |
D | utils.py | 156 def epoch_to_human_time(epoch_time): argument 169 if isinstance(epoch_time, int): 171 d = datetime.datetime.fromtimestamp(epoch_time / 1000)
|
D | logger.py | 123 def epoch_to_log_line_timestamp(epoch_time, time_zone=None): argument 137 s, ms = divmod(epoch_time, 1000)
|
/external/tensorflow/tensorflow/lite/g3doc/examples/jax_conversion/ |
D | overview.ipynb | 249 " epoch_time = time.time() - start_time\n", 254 " print(\"Epoch {} in {:0.2f} sec\".format(epoch, epoch_time))\n",
|