Home
last modified time | relevance | path

Searched refs:total_seconds (Results 1 - 16 of 16) sorted by relevance

/third_party/python/Tools/peg_generator/scripts/
H A Dtest_parse_directory.py84 def generate_time_stats(files, total_seconds) -> None:
96 f"{total_bytes:,} bytes in {total_seconds:,.3f} seconds.",
98 if total_seconds > 0:
100 f"That's {total_lines / total_seconds :,.0f} lines/sec,",
101 f"or {total_bytes / total_seconds :,.0f} bytes/sec.",
110 total_seconds = 0
122 total_seconds += dt
129 generate_time_stats(files, total_seconds)
/third_party/node/deps/v8/src/date/
H A Ddateparser.cc107 int total_seconds = static_cast<int>(total_seconds_unsigned); in Write() local
109 total_seconds = -total_seconds; in Write()
111 DCHECK(Smi::IsValid(total_seconds)); in Write()
112 output[UTC_OFFSET] = total_seconds; in Write()
/third_party/libsnd/programs/
H A Dsndfile-info.c59 static double total_seconds = 0.0 ; variable
212 total_seconds += seconds ; in generate_duration_str()
528 printf ("Total Duration : %s\n", format_duration_str (total_seconds)) ; in total_dump()
/third_party/python/Lib/zoneinfo/
H A D_zoneinfo.py151 fold = shift.total_seconds() > timestamp - self._trans_utc[idx - 1]
487 start -= self.std.utcoff.total_seconds()
488 end -= self.dst.utcoff.total_seconds()
/third_party/mesa3d/.gitlab-ci/tests/lava/
H A Dhelpers.py19 ).total_seconds()
/third_party/skia/infra/bots/
H A Dutils.py37 duration = (finish-self._start).total_seconds()
/third_party/mesa3d/.gitlab-ci/tests/
H A Dtest_lava_job_submitter.py232 assert delta_time.total_seconds() >= wait_time
/third_party/python/Lib/test/
H A Ddatetimetester.py641 self.assertEqual(td.total_seconds(), 31536000.0)
642 for total_seconds in [123456.789012, -123456.789012, 0.123456, 0, 1e6]:
643 td = timedelta(seconds=total_seconds)
644 self.assertEqual(td.total_seconds(), total_seconds)
645 # Issue8644: Test that td.total_seconds() has the same
649 self.assertEqual(td.total_seconds(), td / timedelta(seconds=1))
2549 timedelta(hours=22, minutes=59, seconds=59).total_seconds())
2562 ("Too small by a little", min_ts - timedelta(days=1, hours=12).total_seconds()),
2563 ("Too small by a lot", min_ts - timedelta(days=400).total_seconds()),
[all...]
/third_party/mesa3d/.gitlab-ci/lava/
H A Dlava_job_submitter.py366 max_idle_time_min = max_idle_time.total_seconds() / 60
/third_party/mesa3d/src/gallium/drivers/radeonsi/ci/
H A Dradeonsi-run-tests.py311 "Completed in {} seconds".format(int((end - start).total_seconds())),
/third_party/python/Modules/
H A D_zoneinfo.c128 parse_tz_delta(const char *const p, long *total_seconds);
1645 parse_tz_delta(const char *const p, long *total_seconds) in parse_tz_delta() argument
1721 *total_seconds = sign * ((hours * 3600) + (minutes * 60) + seconds); in parse_tz_delta()
H A D_datetimemodule.c2721 PyObject *total_seconds; in delta_total_seconds() local
2728 total_seconds = PyNumber_TrueDivide(total_microseconds, us_per_second); in delta_total_seconds()
2731 return total_seconds; in delta_total_seconds()
2756 {"total_seconds", delta_total_seconds, METH_NOARGS,
/third_party/python/Lib/
H A Dplistlib.py781 f = (value - datetime.datetime(2001, 1, 1)).total_seconds()
H A Ddatetime.py719 def total_seconds(self): member in timedelta
1911 return (self - _EPOCH).total_seconds()
/third_party/node/tools/
H A Dtest.py1530 if hasattr(td, 'total_seconds'):
1531 d = td.total_seconds()
/third_party/python/Lib/test/test_zoneinfo/
H A Dtest_zoneinfo.py854 utcoff = int(offset.utcoffset.total_seconds())

Completed in 32 milliseconds