Home
last modified time | relevance | path

Searched refs:total_seconds (Results 1 – 20 of 20) sorted by relevance

/third_party/python/Tools/peg_generator/scripts/
Dtest_parse_directory.py84 def generate_time_stats(files, total_seconds) -> None: argument
98 if total_seconds > 0:
110 total_seconds = 0
122 total_seconds += dt
129 generate_time_stats(files, total_seconds)
/third_party/node/deps/v8/src/date/
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/
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/rust/crates/humantime/src/
Ddate.rs184 let total_seconds = time + days * 86400; in parse_rfc3339_weak() localVariable
185 if total_seconds > max::SECONDS { in parse_rfc3339_weak()
189 Ok(UNIX_EPOCH + Duration::new(total_seconds, nanos)) in parse_rfc3339_weak()
/third_party/python/Lib/zoneinfo/
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/
Dhelpers.py19 ).total_seconds()
/third_party/skia/infra/bots/
Dutils.py37 duration = (finish-self._start).total_seconds()
/third_party/mesa3d/.gitlab-ci/tests/
Dtest_lava_job_submitter.py232 assert delta_time.total_seconds() >= wait_time
/third_party/mesa3d/.gitlab-ci/lava/
Dlava_job_submitter.py366 max_idle_time_min = max_idle_time.total_seconds() / 60
/third_party/mesa3d/src/gallium/drivers/radeonsi/ci/
Dradeonsi-run-tests.py311 "Completed in {} seconds".format(int((end - start).total_seconds())),
/third_party/python/Modules/
D_zoneinfo.c124 parse_tz_delta(const char *const p, long *total_seconds);
1641 parse_tz_delta(const char *const p, long *total_seconds) in parse_tz_delta() argument
1717 *total_seconds = sign * ((hours * 3600) + (minutes * 60) + seconds); in parse_tz_delta()
D_datetimemodule.c2624 PyObject *total_seconds; in delta_total_seconds() local
2631 total_seconds = PyNumber_TrueDivide(total_microseconds, us_per_second); in delta_total_seconds()
2634 return total_seconds; in delta_total_seconds()
/third_party/python/Lib/
Dplistlib.py772 f = (value - datetime.datetime(2001, 1, 1)).total_seconds()
Ddatetime.py588 def total_seconds(self): member in timedelta
1799 return (self - _EPOCH).total_seconds()
/third_party/python/Lib/test/
Ddatetimetester.py630 self.assertEqual(td.total_seconds(), 31536000.0)
631 for total_seconds in [123456.789012, -123456.789012, 0.123456, 0, 1e6]:
632 td = timedelta(seconds=total_seconds)
633 self.assertEqual(td.total_seconds(), total_seconds)
638 self.assertEqual(td.total_seconds(), td / timedelta(seconds=1))
/third_party/node/tools/
Dtest.py1531 d = td.total_seconds()
/third_party/python/Doc/library/
Ddatetime.rst418 .. method:: timedelta.total_seconds()
441 >>> year.total_seconds()
1371 (dt - datetime(1970, 1, 1, tzinfo=timezone.utc)).total_seconds()
/third_party/python/Lib/test/test_zoneinfo/
Dtest_zoneinfo.py854 utcoff = int(offset.utcoffset.total_seconds())
/third_party/python/Doc/whatsnew/
D2.7.rst1180 gained a :meth:`~datetime.timedelta.total_seconds` method that returns the
/third_party/python/Misc/
DHISTORY13909 - Issue #5788: `datetime.timedelta` objects get a new `total_seconds()` method
14248 - Issue #8644: The accuracy of td.total_seconds() has been improved (by