/third_party/python/Tools/peg_generator/scripts/ |
D | test_parse_directory.py | 84 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/ |
D | dateparser.cc | 107 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/ |
D | sndfile-info.c | 59 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/ |
D | date.rs | 184 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.py | 151 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/ |
D | helpers.py | 19 ).total_seconds()
|
/third_party/skia/infra/bots/ |
D | utils.py | 37 duration = (finish-self._start).total_seconds()
|
/third_party/mesa3d/.gitlab-ci/tests/ |
D | test_lava_job_submitter.py | 232 assert delta_time.total_seconds() >= wait_time
|
/third_party/mesa3d/.gitlab-ci/lava/ |
D | lava_job_submitter.py | 366 max_idle_time_min = max_idle_time.total_seconds() / 60
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ci/ |
D | radeonsi-run-tests.py | 311 "Completed in {} seconds".format(int((end - start).total_seconds())),
|
/third_party/python/Modules/ |
D | _zoneinfo.c | 124 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.c | 2624 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/ |
D | plistlib.py | 772 f = (value - datetime.datetime(2001, 1, 1)).total_seconds()
|
D | datetime.py | 588 def total_seconds(self): member in timedelta 1799 return (self - _EPOCH).total_seconds()
|
/third_party/python/Lib/test/ |
D | datetimetester.py | 630 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/ |
D | test.py | 1531 d = td.total_seconds()
|
/third_party/python/Doc/library/ |
D | datetime.rst | 418 .. 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/ |
D | test_zoneinfo.py | 854 utcoff = int(offset.utcoffset.total_seconds())
|
/third_party/python/Doc/whatsnew/ |
D | 2.7.rst | 1180 gained a :meth:`~datetime.timedelta.total_seconds` method that returns the
|
/third_party/python/Misc/ |
D | HISTORY | 13909 - Issue #5788: `datetime.timedelta` objects get a new `total_seconds()` method 14248 - Issue #8644: The accuracy of td.total_seconds() has been improved (by
|