Searched refs:TimeVal (Results 1 – 9 of 9) sorted by relevance
/external/rust/crates/nix/src/sys/ |
D | time.rs | 453 pub struct TimeVal(timeval); struct 465 impl AsRef<timeval> for TimeVal { implementation 471 impl AsMut<timeval> for TimeVal { implementation 477 impl Ord for TimeVal { implementation 480 fn cmp(&self, other: &TimeVal) -> cmp::Ordering { in cmp() 489 impl PartialOrd for TimeVal { implementation 490 fn partial_cmp(&self, other: &TimeVal) -> Option<cmp::Ordering> { in partial_cmp() 495 impl TimeValLike for TimeVal { implementation 497 fn seconds(seconds: i64) -> TimeVal { in seconds() argument 505 TimeVal(timeval { in seconds() [all …]
|
D | resource.rs | 6 use crate::sys::time::TimeVal; 307 pub fn user_time(&self) -> TimeVal { in user_time() argument 308 TimeVal::from(self.0.ru_utime) in user_time() 312 pub fn system_time(&self) -> TimeVal { in system_time() argument 313 TimeVal::from(self.0.ru_stime) in system_time()
|
D | select.rs | 3 use crate::sys::time::{TimeSpec, TimeVal}; 188 T: Into<Option<&'a mut TimeVal>>, in select() argument 305 use crate::sys::time::{TimeVal, TimeValLike}; 395 let mut timeout = TimeVal::seconds(10); in test_select() 414 let mut timeout = TimeVal::seconds(10); in test_select_nfds() 440 let mut timeout = TimeVal::seconds(10); in test_select_nfds2()
|
D | stat.rs | 14 use crate::sys::time::{TimeSpec, TimeVal}; 362 atime: &TimeVal, in utimes() argument 363 mtime: &TimeVal, in utimes() argument 394 atime: &TimeVal, in lutimes() argument 395 mtime: &TimeVal, in lutimes() argument
|
/external/rust/crates/nix/test/ |
D | test_stat.rs | 49 use nix::sys::time::{TimeSpec, TimeVal, TimeValLike}; 230 utimes(&fullpath, &TimeVal::seconds(9990), &TimeVal::seconds(5550)) in test_utimes() 251 lutimes(&fullpath, &TimeVal::seconds(4560), &TimeVal::seconds(1230)) in test_lutimes()
|
/external/cronet/buildtools/third_party/libc++/trunk/src/filesystem/ |
D | filesystem_common.h | 279 using TimeVal = struct timeval; 491 inline TimeVal make_timeval(TimeSpec const& ts) { 494 using int_type = decltype(std::declval<TimeVal>().tv_usec); 498 TimeVal TV = {}; 506 TimeVal ConvertedTS[2] = {make_timeval(TS[0]), make_timeval(TS[1])};
|
/external/rust/crates/nix/src/sys/socket/ |
D | sockopt.rs | 4 use crate::sys::time::TimeVal; 433 TimeVal 441 TimeVal
|
D | mod.rs | 8 use crate::sys::time::TimeVal; 733 ScmTimestamp(TimeVal), 890 ControlMessageOwned::ScmTimestamp(TimeVal::from(tv))
|
/external/rust/crates/nix/ |
D | CHANGELOG.md | 96 - Added const constructors for `TimeSpec` and `TimeVal` 665 `TimeVal`, and `IoVec` are now `repr(transparent)`. This is required for 1406 - Changed `TimeVal` into an opaque Newtype
|