Home
last modified time | relevance | path

Searched defs:SystemTime (Results 1 – 25 of 33) sorted by relevance

12

/third_party/rust/rust/library/std/src/sys/windows/
Dtime.rs21 pub struct SystemTime { struct
27 pub const UNIX_EPOCH: SystemTime = SystemTime { argument
65 impl SystemTime { impl
74 fn from_intervals(intervals: i64) -> SystemTime { in from_intervals()
97 pub fn checked_add_duration(&self, other: &Duration) -> Option<SystemTime> { in checked_add_duration()
102 pub fn checked_sub_duration(&self, other: &Duration) -> Option<SystemTime> { in checked_sub_duration()
108 impl PartialEq for SystemTime { implementation
114 impl Eq for SystemTime {} implementation
116 impl PartialOrd for SystemTime { implementation
122 impl Ord for SystemTime { implementation
[all …]
/third_party/rust/rust/library/std/src/
Dtime.rs239 pub struct SystemTime(time::SystemTime); struct
461 impl SystemTime { implementation
562 pub fn checked_add(&self, duration: Duration) -> Option<SystemTime> { in checked_add()
570 pub fn checked_sub(&self, duration: Duration) -> Option<SystemTime> { in checked_sub()
576 impl Add<Duration> for SystemTime { implementation
583 fn add(self, dur: Duration) -> SystemTime { in add()
589 impl AddAssign<Duration> for SystemTime { implementation
596 impl Sub<Duration> for SystemTime { implementation
599 fn sub(self, dur: Duration) -> SystemTime { in sub()
605 impl SubAssign<Duration> for SystemTime { implementation
[all …]
/third_party/rust/rust/library/std/src/sys/solid/
Dtime.rs7 pub struct SystemTime(abi::time_t); struct
11 impl SystemTime { impl
49 pub fn checked_add_duration(&self, other: &Duration) -> Option<SystemTime> { in checked_add_duration()
53 pub fn checked_sub_duration(&self, other: &Duration) -> Option<SystemTime> { in checked_sub_duration()
Dfs.rs105 pub fn modified(&self) -> io::Result<SystemTime> { in modified()
109 pub fn accessed(&self) -> io::Result<SystemTime> { in accessed()
113 pub fn created(&self) -> io::Result<SystemTime> { in created()
133 pub fn set_accessed(&mut self, _t: SystemTime) {} in set_accessed()
134 pub fn set_modified(&mut self, _t: SystemTime) {} in set_modified()
/third_party/rust/rust/library/std/src/sys/wasi/
Dtime.rs9 pub struct SystemTime(Duration); struct
41 impl SystemTime { implementation
46 pub fn from_wasi_timestamp(ts: wasi::Timestamp) -> SystemTime { in from_wasi_timestamp()
58 pub fn checked_add_duration(&self, other: &Duration) -> Option<SystemTime> { in checked_add_duration()
62 pub fn checked_sub_duration(&self, other: &Duration) -> Option<SystemTime> { in checked_sub_duration()
Dfs.rs95 pub fn modified(&self) -> io::Result<SystemTime> { in modified()
99 pub fn accessed(&self) -> io::Result<SystemTime> { in accessed()
103 pub fn created(&self) -> io::Result<SystemTime> { in created()
123 pub fn set_accessed(&mut self, t: SystemTime) { in set_accessed()
127 pub fn set_modified(&mut self, t: SystemTime) { in set_modified()
/third_party/rust/rust/library/std/src/sys/sgx/
Dtime.rs8 pub struct SystemTime(Duration); struct
30 impl SystemTime { implementation
39 pub fn checked_add_duration(&self, other: &Duration) -> Option<SystemTime> { in checked_add_duration()
43 pub fn checked_sub_duration(&self, other: &Duration) -> Option<SystemTime> { in checked_sub_duration()
/third_party/rust/rust/library/std/src/sys/unsupported/
Dtime.rs7 pub struct SystemTime(Duration); struct
29 impl SystemTime { impl
38 pub fn checked_add_duration(&self, other: &Duration) -> Option<SystemTime> { in checked_add_duration()
42 pub fn checked_sub_duration(&self, other: &Duration) -> Option<SystemTime> { in checked_sub_duration()
Dfs.rs43 pub fn modified(&self) -> io::Result<SystemTime> { in modified()
47 pub fn accessed(&self) -> io::Result<SystemTime> { in accessed()
51 pub fn created(&self) -> io::Result<SystemTime> { in created()
93 pub fn set_accessed(&mut self, _t: SystemTime) {} in set_accessed()
94 pub fn set_modified(&mut self, _t: SystemTime) {} in set_modified()
/third_party/rust/rust/library/std/src/sys/unix/
Dtime.rs27 pub struct SystemTime { struct
37 impl SystemTime { argument
39 pub fn new(tv_sec: i64, tv_nsec: i64) -> SystemTime { in new()
47 pub fn checked_add_duration(&self, other: &Duration) -> Option<SystemTime> { in checked_add_duration()
51 pub fn checked_sub_duration(&self, other: &Duration) -> Option<SystemTime> { in checked_sub_duration()
56 impl From<libc::timespec> for SystemTime { implementation
57 fn from(t: libc::timespec) -> SystemTime { in from()
62 impl fmt::Debug for SystemTime { implementation
271 impl SystemTime { implementation
287 impl From<libc::timeval> for SystemTime { implementation
[all …]
Dfs.rs450 pub fn modified(&self) -> io::Result<SystemTime> { in modified()
454 pub fn accessed(&self) -> io::Result<SystemTime> { in accessed()
458 pub fn created(&self) -> io::Result<SystemTime> { in created()
471 pub fn modified(&self) -> io::Result<SystemTime> { in modified()
483 pub fn modified(&self) -> io::Result<SystemTime> { in modified()
488 pub fn modified(&self) -> io::Result<SystemTime> { in modified()
498 pub fn accessed(&self) -> io::Result<SystemTime> { in accessed()
510 pub fn accessed(&self) -> io::Result<SystemTime> { in accessed()
515 pub fn accessed(&self) -> io::Result<SystemTime> { in accessed()
527 pub fn created(&self) -> io::Result<SystemTime> { in created()
[all …]
/third_party/rust/crates/humantime/src/
Dwrapper.rs80 fn as_ref(&self) -> &SystemTime { &self.0 } in as_ref()
85 fn deref(&self) -> &SystemTime { &self.0 } in deref()
89 fn into(self) -> SystemTime { self.0 } in into()
Ddate.rs85 pub fn parse_rfc3339(s: &str) -> Result<SystemTime, Error> { in parse_rfc3339()
109 pub fn parse_rfc3339_weak(s: &str) -> Result<SystemTime, Error> { in parse_rfc3339_weak()
245 pub fn get_ref(&self) -> &SystemTime { in get_ref()
382 fn from_sec(sec: u64) -> (String, SystemTime) { in from_sec() argument
/third_party/rust/rust/library/std/src/sys/hermit/
Dtime.rs193 pub struct SystemTime(Timespec); struct
197 impl SystemTime { impl
209 pub fn checked_add_duration(&self, other: &Duration) -> Option<SystemTime> { in checked_add_duration()
213 pub fn checked_sub_duration(&self, other: &Duration) -> Option<SystemTime> { in checked_sub_duration()
Dfs.rs66 pub fn modified(&self) -> io::Result<SystemTime> { in modified()
70 pub fn accessed(&self) -> io::Result<SystemTime> { in accessed()
74 pub fn created(&self) -> io::Result<SystemTime> { in created()
116 pub fn set_accessed(&mut self, _t: SystemTime) {} in set_accessed()
117 pub fn set_modified(&mut self, _t: SystemTime) {} in set_modified()
/third_party/skia/third_party/externals/spirv-tools/test/
Dtimer_test.cpp34 double SystemTime() override { return 0.002723; } in SystemTime() function in spvtools::utils::__anon3641a77a0111::MockTimer
95 double SystemTime() override { return count_stop_ * 0.002723; } in SystemTime() function in spvtools::utils::__anon3641a77a0111::MockCumulativeTimer
/third_party/spirv-tools/test/
Dtimer_test.cpp34 double SystemTime() override { return 0.002723; } in SystemTime() function in spvtools::utils::__anone96ba6c50111::MockTimer
95 double SystemTime() override { return count_stop_ * 0.002723; } in SystemTime() function in spvtools::utils::__anone96ba6c50111::MockCumulativeTimer
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dtimer_test.cpp34 double SystemTime() override { return 0.002723; } in SystemTime() function in spvtools::utils::__anon2a250d660111::MockTimer
95 double SystemTime() override { return count_stop_ * 0.002723; } in SystemTime() function in spvtools::utils::__anon2a250d660111::MockCumulativeTimer
/third_party/rust/rust/src/tools/clippy/clippy_dev/src/
Dserve.rs45 fn mtime(path: impl AsRef<Path>) -> SystemTime { in mtime()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
Dtimer.h147 virtual double SystemTime() { in SystemTime() function
353 double SystemTime() override { return sys_time_; } in SystemTime() function
/third_party/spirv-tools/source/util/
Dtimer.h147 virtual double SystemTime() { in SystemTime() function
353 double SystemTime() override { return sys_time_; } in SystemTime() function
/third_party/skia/third_party/externals/spirv-tools/source/util/
Dtimer.h147 virtual double SystemTime() { in SystemTime() function
353 double SystemTime() override { return sys_time_; } in SystemTime() function
/third_party/rust/rust/compiler/rustc_incremental/src/persist/
Dfs.rs567 fn extract_timestamp_from_session_dir(directory_name: &str) -> Result<SystemTime, ()> { in extract_timestamp_from_session_dir()
586 fn string_to_timestamp(s: &str) -> Result<SystemTime, ()> { in string_to_timestamp()
853 deletion_candidates: UnordMap<(SystemTime, PathBuf), Option<flock::Lock>>, in all_except_most_recent()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DTimer.h29 double SystemTime; ///< System time elapsed. variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DTimer.h29 double SystemTime; ///< System time elapsed. variable

12