Home
last modified time | relevance | path

Searched refs:num_seconds (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/lldb/source/API/
DSBListener.cpp167 bool SBListener::WaitForEventForBroadcaster(uint32_t num_seconds, in WaitForEventForBroadcaster() argument
172 num_seconds, broadcaster, event); in WaitForEventForBroadcaster()
176 if (num_seconds != UINT32_MAX) in WaitForEventForBroadcaster()
177 timeout = std::chrono::seconds(num_seconds); in WaitForEventForBroadcaster()
190 uint32_t num_seconds, const SBBroadcaster &broadcaster, in WaitForEventForBroadcasterWithType() argument
195 num_seconds, broadcaster, event_type_mask, event); in WaitForEventForBroadcasterWithType()
199 if (num_seconds != UINT32_MAX) in WaitForEventForBroadcasterWithType()
200 timeout = std::chrono::seconds(num_seconds); in WaitForEventForBroadcasterWithType()
/external/llvm-project/lldb/bindings/interface/
DSBListener.i58 WaitForEvent (uint32_t num_seconds,
62 WaitForEventForBroadcaster (uint32_t num_seconds,
67 WaitForEventForBroadcasterWithType (uint32_t num_seconds,
/external/rust/crates/chrono/src/
Doldtime.rs147 self.num_seconds() / SECS_PER_DAY in num_days()
153 self.num_seconds() / SECS_PER_HOUR in num_hours()
159 self.num_seconds() / SECS_PER_MINUTE in num_minutes()
163 pub fn num_seconds(&self) -> i64 { in num_seconds() method
187 let secs_part = self.num_seconds() * MILLIS_PER_SEC; in num_milliseconds()
195 let secs_part = try_opt!(self.num_seconds().checked_mul(MICROS_PER_SEC)); in num_microseconds()
203 let secs_part = try_opt!(self.num_seconds().checked_mul(NANOS_PER_SEC as i64)); in num_nanoseconds()
498 assert_eq!(Duration::zero().num_seconds(), 0); in test_duration_num_seconds()
499 assert_eq!(Duration::seconds(1).num_seconds(), 1); in test_duration_num_seconds()
500 assert_eq!(Duration::seconds(-1).num_seconds(), -1); in test_duration_num_seconds()
[all …]
/external/llvm-project/lldb/include/lldb/API/
DSBListener.h51 bool WaitForEvent(uint32_t num_seconds, lldb::SBEvent &event);
53 bool WaitForEventForBroadcaster(uint32_t num_seconds,
58 uint32_t num_seconds, const lldb::SBBroadcaster &broadcaster,
/external/rust/crates/nix/src/sys/
Dtime.rs35 self.num_seconds() / 3600 in num_hours()
40 self.num_seconds() / 60 in num_minutes()
43 fn num_seconds(&self) -> i64; in num_seconds() method
161 fn num_seconds(&self) -> i64 { in num_seconds() method
178 let secs = self.num_seconds() * 1_000_000_000; in num_nanoseconds()
366 fn num_seconds(&self) -> i64 { in num_seconds() method
379 let secs = self.num_seconds() * 1_000_000; in num_microseconds()
/external/llvm-project/lldb/test/API/functionalities/signal/
DTestSendSignal.py100 num_seconds = 5
105 num_seconds, broadcaster, event_type_mask, event)
/external/rust/crates/plotters/src/coord/ranged1d/types/
Ddatetime.rs994 .map(|(p, n)| (*n - *p).num_seconds()) in test_datetime_long_range()
1000 .map(|(p, n)| (*n - *p).num_seconds()) in test_datetime_long_range()
1018 .map(|(p, n)| (*n - *p).num_seconds()) in test_datetime_medium_range()
1024 .map(|(p, n)| (*n - *p).num_seconds()) in test_datetime_medium_range()
1042 .map(|(p, n)| (*n - *p).num_seconds()) in test_datetime_short_range()
1048 .map(|(p, n)| (*n - *p).num_seconds()) in test_datetime_short_range()
1093 .map(|(p, n)| (*n - *p).num_seconds()) in test_duration_long_range()
1099 .map(|(p, n)| (*n - *p).num_seconds()) in test_duration_long_range()
1116 .map(|(p, n)| (*n - *p).num_seconds()) in test_duration_daily_range()
1122 .map(|(p, n)| (*n - *p).num_seconds()) in test_duration_daily_range()
/external/rust/crates/criterion/src/
Dlib.rs901 let num_seconds = value_t!(matches.value_of("profile-time"), u64).unwrap_or_else(|e| { in configure_from_args() localVariable
906 if num_seconds < 1 { in configure_from_args()
911 Mode::Profile(Duration::from_secs(num_seconds)) in configure_from_args()
997 let num_seconds = value_t!(matches.value_of("warm-up-time"), u64).unwrap_or_else(|e| { in configure_from_args() localVariable
1002 let dur = std::time::Duration::new(num_seconds, 0); in configure_from_args()
1008 let num_seconds = in configure_from_args() localVariable
1014 let dur = std::time::Duration::new(num_seconds, 0); in configure_from_args()
/external/autotest/server/cros/cfm/configurable_test/
Dactions.py313 def __init__(self, num_seconds): argument
319 self._num_seconds = num_seconds
/external/rust/crates/chrono/src/format/
Dparsed.rs1113 parse!(timestamp: min_days_from_year_1970.num_seconds()), in test_parsed_to_naive_datetime_with_offset()
1117 parse!(timestamp: year_0_from_year_1970.num_seconds()), in test_parsed_to_naive_datetime_with_offset()
1121 parse!(timestamp: max_days_from_year_1970.num_seconds() + 86399), in test_parsed_to_naive_datetime_with_offset()
/external/rust/crates/chrono/src/naive/
Dtime.rs557 let rhssecs = rhs.num_seconds(); in overflowing_add_signed()
Ddate.rs127 let maxsecs = MAX_DATE.signed_duration_since(MIN_DATE).num_seconds(); in test_date_bounds()
/external/rust/crates/libc/src/
Dpsp.rs3298 pub fn sceRtcTickAddSeconds(dest_tick: *mut u64, src_tick: *const u64, num_seconds: u64) in sceRtcTickAddSeconds()