OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:epoch_time
(Results
1 - 9
of
9
) sorted by null
/external/autotest/client/common_lib/
time_utils.py
69
def epoch_time_to_date_string(
epoch_time
, fmt_string=TIME_FMT):
72
@param
epoch_time
The number of seconds since the UNIX epoch, as
79
if
epoch_time
:
81
int(
epoch_time
)).strftime(fmt_string)
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.last_write_time/
last_write_time.pass.cpp
226
const file_time_type
epoch_time
= now - now.time_since_epoch();
230
const file_time_type before_epoch_time =
epoch_time
- Minutes(3) - Sec(42) - MicroSec(17);
234
const file_time_type just_before_epoch_time =
epoch_time
- Sec(2) - MicroSec(17);
236
const file_time_type just_before_epoch_time =
epoch_time
- MicroSec(17);
243
{file,
epoch_time
},
244
{dir,
epoch_time
},
266
if (TC.new_time <
epoch_time
) {
/test/vts/runners/host/
logger.py
87
def epochToLogLineTimestamp(
epoch_time
):
88
d = datetime.datetime.fromtimestamp(
epoch_time
/ 1000)
utils.py
138
def epoch_to_human_time(
epoch_time
):
145
epoch_time
: An integer representing an epoch timestamp in milliseconds.
151
if isinstance(
epoch_time
, int):
153
d = datetime.datetime.fromtimestamp(
epoch_time
/ 1000)
/tools/test/connectivity/acts/framework/acts/
logger.py
87
def epoch_to_log_line_timestamp(
epoch_time
):
92
epoch_time
: integer, an epoch timestamp in ms.
98
s, ms = divmod(
epoch_time
, 1000)
utils.py
152
def epoch_to_human_time(
epoch_time
):
159
epoch_time
: An integer representing an epoch timestamp in milliseconds.
165
if isinstance(
epoch_time
, int):
167
d = datetime.datetime.fromtimestamp(
epoch_time
/ 1000)
/external/ltp/tools/
ltp_check
99
$
epoch_time
= $3;
100
$english_time = localtime($
epoch_time
);
/external/libusb/libusb/os/
windows_nt_common.c
36
const uint64_t
epoch_time
= UINT64_C(116444736000000000); // 1970.01.01 00:00:000 in MS Filetime
variable
467
// with a predef
epoch_time
to have an epoch that starts at 1970.01.01 00:00
473
rtime.QuadPart -=
epoch_time
;
wince_usb.c
34
const uint64_t
epoch_time
= UINT64_C(116444736000000000); // 1970.01.01 00:00:000 in MS Filetime
variable
835
// with a predef
epoch_time
to have an epoch that starts at 1970.01.01 00:00
842
rtime.QuadPart -=
epoch_time
;
Completed in 568 milliseconds