Home
last modified time | relevance | path

Searched defs:Instant (Results 1 – 25 of 401) sorted by relevance

12345678910>>...17

/aosp_15_r20/external/rust/android-crates-io/crates/tokio/src/time/
Dinstant.rs34 pub struct Instant { struct
35 std: std::time::Instant, argument
38 impl Instant { implementation
53 pub fn from_std(std: std::time::Instant) -> Instant { in from_std()
66 pub fn into_std(self) -> std::time::Instant { in into_std()
141 pub fn checked_add(&self, duration: Duration) -> Option<Instant> { in checked_add()
148 pub fn checked_sub(&self, duration: Duration) -> Option<Instant> { in checked_sub()
153 impl From<std::time::Instant> for Instant { implementation
154 fn from(time: std::time::Instant) -> Instant { in from()
159 impl From<Instant> for std::time::Instant { implementation
[all …]
Dinterval.rs108 pub fn interval_at(start: Instant, period: Duration) -> Interval { in interval_at()
115 start: Instant, in internal_interval_at()
341 fn next_timeout(&self, timeout: Instant, now: Instant, period: Duration) -> Instant { in next_timeout()
433 pub async fn tick(&mut self) -> Instant { in tick()
462 pub fn poll_tick(&mut self, cx: &mut Context<'_>) -> Poll<Instant> { in poll_tick()
625 pub fn reset_at(&mut self, deadline: Instant) { in reset_at()
/aosp_15_r20/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DTimeExtensions.kt45 fun Instant.toLocalDate(): LocalDate { in toLocalDate() method
49 fun Instant.toLocalTime(): LocalTime { in Instant() method
53 fun Instant.toLocalDateTime(): LocalDateTime { in Instant() method
57 fun Instant.withinOneMinuteAfter(other: Instant): Boolean { in Instant() method
61 fun Instant.withinOneHourAfter(other: Instant): Boolean { in Instant() method
65 fun Instant.withinOneDayAfter(other: Instant): Boolean { in withinOneDayAfter() method
69 fun Instant.isOnSameDay(other: Instant): Boolean { in Instant() method
75 fun Instant.isOnDayBefore(other: Instant): Boolean { in Instant() method
81 fun Instant.isOnDayAfter(other: Instant): Boolean { in Instant() method
87 fun Instant.atStartOfDay(): Instant { in atStartOfDay() method
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/std/src/sys/pal/hermit/
H A Dtime.rs102 pub struct Instant(Timespec); struct
104 impl Instant { impl
130 pub fn checked_add_duration(&self, other: &Duration) -> Option<Instant> { in checked_add_duration()
134 pub fn checked_sub_duration(&self, other: &Duration) -> Option<Instant> { in checked_sub_duration()
138 pub fn checked_add(&self, duration: Duration) -> Option<Instant> { in checked_add()
142 pub fn checked_sub(&self, duration: Duration) -> Option<Instant> { in checked_sub()
147 impl Add<Duration> for Instant { implementation
154 fn add(self, other: Duration) -> Instant { in add()
159 impl AddAssign<Duration> for Instant { implementation
165 impl Sub<Duration> for Instant { implementation
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/std/src/sys/pal/hermit/
H A Dtime.rs102 pub struct Instant(Timespec); struct
104 impl Instant { implementation
130 pub fn checked_add_duration(&self, other: &Duration) -> Option<Instant> { in checked_add_duration()
134 pub fn checked_sub_duration(&self, other: &Duration) -> Option<Instant> { in checked_sub_duration()
138 pub fn checked_add(&self, duration: Duration) -> Option<Instant> { in checked_add()
142 pub fn checked_sub(&self, duration: Duration) -> Option<Instant> { in checked_sub()
147 impl Add<Duration> for Instant { implementation
154 fn add(self, other: Duration) -> Instant { in add()
159 impl AddAssign<Duration> for Instant { implementation
165 impl Sub<Duration> for Instant { implementation
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/std/src/sys/pal/hermit/
H A Dtime.rs104 pub struct Instant(Timespec); struct
106 impl Instant { impl
132 pub fn checked_add_duration(&self, other: &Duration) -> Option<Instant> { in checked_add_duration()
136 pub fn checked_sub_duration(&self, other: &Duration) -> Option<Instant> { in checked_sub_duration()
140 pub fn checked_add(&self, duration: Duration) -> Option<Instant> { in checked_add()
144 pub fn checked_sub(&self, duration: Duration) -> Option<Instant> { in checked_sub()
149 impl Add<Duration> for Instant { implementation
156 fn add(self, other: Duration) -> Instant { in add()
161 impl AddAssign<Duration> for Instant { implementation
167 impl Sub<Duration> for Instant { implementation
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/std/src/sys/pal/hermit/
H A Dtime.rs104 pub struct Instant(Timespec); struct
106 impl Instant { implementation
132 pub fn checked_add_duration(&self, other: &Duration) -> Option<Instant> { in checked_add_duration()
136 pub fn checked_sub_duration(&self, other: &Duration) -> Option<Instant> { in checked_sub_duration()
140 pub fn checked_add(&self, duration: Duration) -> Option<Instant> { in checked_add()
144 pub fn checked_sub(&self, duration: Duration) -> Option<Instant> { in checked_sub()
149 impl Add<Duration> for Instant { implementation
156 fn add(self, other: Duration) -> Instant { in add()
161 impl AddAssign<Duration> for Instant { implementation
167 impl Sub<Duration> for Instant { implementation
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/std/src/sys/pal/hermit/
H A Dtime.rs104 pub struct Instant(Timespec); struct
106 impl Instant { implementation
132 pub fn checked_add_duration(&self, other: &Duration) -> Option<Instant> { in checked_add_duration()
136 pub fn checked_sub_duration(&self, other: &Duration) -> Option<Instant> { in checked_sub_duration()
140 pub fn checked_add(&self, duration: Duration) -> Option<Instant> { in checked_add()
144 pub fn checked_sub(&self, duration: Duration) -> Option<Instant> { in checked_sub()
149 impl Add<Duration> for Instant { implementation
156 fn add(self, other: Duration) -> Instant { in add()
161 impl AddAssign<Duration> for Instant { implementation
167 impl Sub<Duration> for Instant { implementation
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/std/src/
H A Dtime.rs156 pub struct Instant(time::Instant); struct
272 impl Instant { implementation
395 pub fn checked_add(&self, duration: Duration) -> Option<Instant> { in checked_add()
403 pub fn checked_sub(&self, duration: Duration) -> Option<Instant> { in checked_sub()
409 impl Add<Duration> for Instant { implementation
416 fn add(self, other: Duration) -> Instant { in add()
422 impl AddAssign<Duration> for Instant { implementation
429 impl Sub<Duration> for Instant { implementation
432 fn sub(self, other: Duration) -> Instant { in sub()
438 impl SubAssign<Duration> for Instant { implementation
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/std/src/
H A Dtime.rs156 pub struct Instant(time::Instant); struct
272 impl Instant { impl
395 pub fn checked_add(&self, duration: Duration) -> Option<Instant> { in checked_add()
403 pub fn checked_sub(&self, duration: Duration) -> Option<Instant> { in checked_sub()
409 impl Add<Duration> for Instant { implementation
416 fn add(self, other: Duration) -> Instant { in add()
422 impl AddAssign<Duration> for Instant { implementation
429 impl Sub<Duration> for Instant { implementation
432 fn sub(self, other: Duration) -> Instant { in sub()
438 impl SubAssign<Duration> for Instant { implementation
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/std/src/
H A Dtime.rs156 pub struct Instant(time::Instant); struct
272 impl Instant { implementation
395 pub fn checked_add(&self, duration: Duration) -> Option<Instant> { in checked_add()
403 pub fn checked_sub(&self, duration: Duration) -> Option<Instant> { in checked_sub()
409 impl Add<Duration> for Instant { implementation
416 fn add(self, other: Duration) -> Instant { in add()
422 impl AddAssign<Duration> for Instant { implementation
429 impl Sub<Duration> for Instant { implementation
432 fn sub(self, other: Duration) -> Instant { in sub()
438 impl SubAssign<Duration> for Instant { implementation
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/std/src/
H A Dtime.rs156 pub struct Instant(time::Instant); struct
272 impl Instant { impl
395 pub fn checked_add(&self, duration: Duration) -> Option<Instant> { in checked_add()
403 pub fn checked_sub(&self, duration: Duration) -> Option<Instant> { in checked_sub()
409 impl Add<Duration> for Instant { implementation
416 fn add(self, other: Duration) -> Instant { in add()
422 impl AddAssign<Duration> for Instant { implementation
429 impl Sub<Duration> for Instant { implementation
432 fn sub(self, other: Duration) -> Instant { in sub()
438 impl SubAssign<Duration> for Instant { implementation
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/std/src/
H A Dtime.rs156 pub struct Instant(time::Instant); struct
272 impl Instant { implementation
395 pub fn checked_add(&self, duration: Duration) -> Option<Instant> { in checked_add()
403 pub fn checked_sub(&self, duration: Duration) -> Option<Instant> { in checked_sub()
409 impl Add<Duration> for Instant { implementation
416 fn add(self, other: Duration) -> Instant { in add()
422 impl AddAssign<Duration> for Instant { implementation
429 impl Sub<Duration> for Instant { implementation
432 fn sub(self, other: Duration) -> Instant { in sub()
438 impl SubAssign<Duration> for Instant { implementation
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/instant/src/
Dwasm.rs6 pub struct Instant(Duration); struct
8 impl Ord for Instant { implementation
14 impl Eq for Instant {} implementation
16 impl Instant { impl
40 pub fn checked_add(&self, duration: Duration) -> Option<Instant> { in checked_add()
48 pub fn checked_sub(&self, duration: Duration) -> Option<Instant> { in checked_sub()
71 impl Add<Duration> for Instant { implementation
80 impl AddAssign<Duration> for Instant { implementation
87 impl Sub<Duration> for Instant { implementation
96 impl Sub<Instant> for Instant { implementation
[all …]
/aosp_15_r20/external/rust/crates/quiche/src/recovery/bbr/
Dper_ack.rs49 r: &mut Recovery, packet: &Acked, now: Instant, in bbr_update_model_and_state()
59 pub fn bbr_update_control_parameters(r: &mut Recovery, now: Instant) { in bbr_update_control_parameters()
105 fn bbr_update_rtprop(r: &mut Recovery, now: Instant) { in bbr_update_rtprop()
254 fn bbr_check_drain(r: &mut Recovery, now: Instant) { in bbr_check_drain()
268 fn bbr_enter_probe_bw(r: &mut Recovery, now: Instant) { in bbr_enter_probe_bw()
287 fn bbr_check_cycle_phase(r: &mut Recovery, now: Instant) { in bbr_check_cycle_phase()
295 fn bbr_advance_cycle_phase(r: &mut Recovery, now: Instant) { in bbr_advance_cycle_phase()
326 fn bbr_check_probe_rtt(r: &mut Recovery, now: Instant) { in bbr_check_probe_rtt()
352 fn bbr_handle_probe_rtt(r: &mut Recovery, now: Instant) { in bbr_handle_probe_rtt()
374 fn bbr_exit_probe_rtt(r: &mut Recovery, now: Instant) { in bbr_exit_probe_rtt()
/aosp_15_r20/external/rust/android-crates-io/crates/quiche/src/recovery/bbr/
Dper_ack.rs49 r: &mut Recovery, packet: &Acked, now: Instant, in bbr_update_model_and_state()
59 pub fn bbr_update_control_parameters(r: &mut Recovery, now: Instant) { in bbr_update_control_parameters()
105 fn bbr_update_rtprop(r: &mut Recovery, now: Instant) { in bbr_update_rtprop()
254 fn bbr_check_drain(r: &mut Recovery, now: Instant) { in bbr_check_drain()
268 fn bbr_enter_probe_bw(r: &mut Recovery, now: Instant) { in bbr_enter_probe_bw()
287 fn bbr_check_cycle_phase(r: &mut Recovery, now: Instant) { in bbr_check_cycle_phase()
295 fn bbr_advance_cycle_phase(r: &mut Recovery, now: Instant) { in bbr_advance_cycle_phase()
326 fn bbr_check_probe_rtt(r: &mut Recovery, now: Instant) { in bbr_check_probe_rtt()
352 fn bbr_handle_probe_rtt(r: &mut Recovery, now: Instant) { in bbr_handle_probe_rtt()
374 fn bbr_exit_probe_rtt(r: &mut Recovery, now: Instant) { in bbr_exit_probe_rtt()
/aosp_15_r20/external/rust/android-crates-io/crates/quiche/src/recovery/
Dmod.rs320 handshake_status: HandshakeStatus, now: Instant, trace_id: &str, in on_packet_sent()
385 fn on_packet_sent_cc(&mut self, sent_bytes: usize, now: Instant) { in on_packet_sent_cc()
389 pub fn set_pacing_rate(&mut self, rate: u64, now: Instant) { in set_pacing_rate()
393 pub fn get_packet_send_time(&self) -> Instant { in get_packet_send_time()
398 &mut self, epoch: packet::Epoch, now: Instant, packet_size: usize, in schedule_next_packet()
421 epoch: packet::Epoch, handshake_status: HandshakeStatus, now: Instant, in on_ack_received()
578 &mut self, handshake_status: HandshakeStatus, now: Instant, in on_loss_detection_timeout()
645 now: Instant, in on_pkt_num_space_discarded()
668 pub fn loss_detection_timer(&self) -> Option<Instant> { in loss_detection_timer()
737 &mut self, latest_rtt: Duration, ack_delay: Duration, now: Instant, in update_rtt()
[all …]
/aosp_15_r20/external/rust/crates/quiche/src/recovery/
Dmod.rs320 handshake_status: HandshakeStatus, now: Instant, trace_id: &str, in on_packet_sent()
385 fn on_packet_sent_cc(&mut self, sent_bytes: usize, now: Instant) { in on_packet_sent_cc()
389 pub fn set_pacing_rate(&mut self, rate: u64, now: Instant) { in set_pacing_rate()
393 pub fn get_packet_send_time(&self) -> Instant { in get_packet_send_time()
398 &mut self, epoch: packet::Epoch, now: Instant, packet_size: usize, in schedule_next_packet()
421 epoch: packet::Epoch, handshake_status: HandshakeStatus, now: Instant, in on_ack_received()
578 &mut self, handshake_status: HandshakeStatus, now: Instant, in on_loss_detection_timeout()
645 now: Instant, in on_pkt_num_space_discarded()
668 pub fn loss_detection_timer(&self) -> Option<Instant> { in loss_detection_timer()
737 &mut self, latest_rtt: Duration, ack_delay: Duration, now: Instant, in update_rtt()
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/std/src/sys/pal/sgx/
H A Dtime.rs5 pub struct Instant(Duration); struct
12 impl Instant { implementation
21 pub fn checked_add_duration(&self, other: &Duration) -> Option<Instant> { in checked_add_duration()
25 pub fn checked_sub_duration(&self, other: &Duration) -> Option<Instant> { in checked_sub_duration()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/
H A Dtime.rs4 pub struct Instant(Duration); struct
11 impl Instant { implementation
20 pub fn checked_add_duration(&self, other: &Duration) -> Option<Instant> { in checked_add_duration()
24 pub fn checked_sub_duration(&self, other: &Duration) -> Option<Instant> { in checked_sub_duration()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/std/src/sys/pal/sgx/
H A Dtime.rs5 pub struct Instant(Duration); struct
12 impl Instant { implementation
21 pub fn checked_add_duration(&self, other: &Duration) -> Option<Instant> { in checked_add_duration()
25 pub fn checked_sub_duration(&self, other: &Duration) -> Option<Instant> { in checked_sub_duration()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/
H A Dtime.rs4 pub struct Instant(Duration); struct
11 impl Instant { implementation
20 pub fn checked_add_duration(&self, other: &Duration) -> Option<Instant> { in checked_add_duration()
24 pub fn checked_sub_duration(&self, other: &Duration) -> Option<Instant> { in checked_sub_duration()
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/
H A Dtime.rs4 pub struct Instant(Duration); struct
11 impl Instant { implementation
20 pub fn checked_add_duration(&self, other: &Duration) -> Option<Instant> { in checked_add_duration()
24 pub fn checked_sub_duration(&self, other: &Duration) -> Option<Instant> { in checked_sub_duration()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/std/src/sys/pal/sgx/
H A Dtime.rs5 pub struct Instant(Duration); struct
12 impl Instant { implementation
21 pub fn checked_add_duration(&self, other: &Duration) -> Option<Instant> { in checked_add_duration()
25 pub fn checked_sub_duration(&self, other: &Duration) -> Option<Instant> { in checked_sub_duration()
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/
H A Dtime.rs4 pub struct Instant(Duration); struct
11 impl Instant { impl
20 pub fn checked_add_duration(&self, other: &Duration) -> Option<Instant> { in checked_add_duration()
24 pub fn checked_sub_duration(&self, other: &Duration) -> Option<Instant> { in checked_sub_duration()

12345678910>>...17