/dports/accessibility/atkmm/atkmm-2.28.0/atk/atkmm/ |
H A D | range.h | 127 inline void swap(Range& lhs, Range& rhs) noexcept in swap() argument 128 { lhs.swap(rhs); } in swap()
|
H A D | text.h | 86 inline void swap(Attribute& lhs, Attribute& rhs) in swap() argument 87 { lhs.swap(rhs); } in swap()
|
/dports/accessibility/atkmm/atkmm-2.28.0/atk/src/ |
H A D | text.hg | 59 inline void swap(Attribute& lhs, Attribute& rhs) 60 { lhs.swap(rhs); }
|
/dports/accessibility/gammy/gammy-0.9.64/include/ |
H A D | json.hpp | 9215 return lhs.m_it == rhs.m_it; in operator ==() 9220 return lhs.m_it < rhs.m_it; in operator <() 9232 return lhs.m_it - rhs.m_it; in operator -() 11079 return not (lhs == rhs); in operator !=() 20321 return not (lhs == rhs); in operator !=() 20450 return lhs < basic_json(rhs); in operator <() 20461 return basic_json(lhs) < rhs; in operator <() 20485 return not (rhs < lhs); in operator <=() 20531 return not (lhs <= rhs); in operator >() 20542 return lhs > basic_json(rhs); in operator >() [all …]
|
/dports/accessibility/sctd/sctd-0.2.0/cargo-crates/chrono-0.4.11/src/ |
H A D | date.rs | 210 pub fn checked_add_signed(self, rhs: OldDuration) -> Option<Date<Tz>> { in checked_add_signed() 211 let date = try_opt!(self.date.checked_add_signed(rhs)); in checked_add_signed() 219 pub fn checked_sub_signed(self, rhs: OldDuration) -> Option<Date<Tz>> { in checked_sub_signed() 220 let date = try_opt!(self.date.checked_sub_signed(rhs)); in checked_sub_signed() 232 self.date.signed_duration_since(rhs.date) in signed_duration_since() 353 fn add(self, rhs: OldDuration) -> Date<Tz> { in add() 354 self.checked_add_signed(rhs).expect("`Date + Duration` overflowed") in add() 362 fn sub(self, rhs: OldDuration) -> Date<Tz> { in sub() 363 self.checked_sub_signed(rhs).expect("`Date - Duration` overflowed") in sub() 371 fn sub(self, rhs: Date<Tz>) -> OldDuration { in sub() [all …]
|
H A D | datetime.rs | 212 pub fn checked_add_signed(self, rhs: OldDuration) -> Option<DateTime<Tz>> { in checked_add_signed() 213 let datetime = try_opt!(self.datetime.checked_add_signed(rhs)); in checked_add_signed() 222 pub fn checked_sub_signed(self, rhs: OldDuration) -> Option<DateTime<Tz>> { in checked_sub_signed() 223 let datetime = try_opt!(self.datetime.checked_sub_signed(rhs)); in checked_sub_signed() 233 self.datetime.signed_duration_since(rhs.datetime) in signed_duration_since() 611 fn add(self, rhs: OldDuration) -> DateTime<Tz> { in add() 612 self.checked_add_signed(rhs).expect("`DateTime + Duration` overflowed") in add() 620 fn sub(self, rhs: OldDuration) -> DateTime<Tz> { in sub() 621 self.checked_sub_signed(rhs).expect("`DateTime - Duration` overflowed") in sub() 629 fn sub(self, rhs: DateTime<Tz>) -> OldDuration { in sub() [all …]
|
H A D | oldtime.rs | 207 let mut nanos = self.nanos + rhs.nanos; in checked_add() 221 let mut nanos = self.nanos - rhs.nanos; in checked_sub() 299 fn add(self, rhs: Duration) -> Duration { in add() 300 let mut secs = self.secs + rhs.secs; in add() 301 let mut nanos = self.nanos + rhs.nanos; in add() 313 fn sub(self, rhs: Duration) -> Duration { in sub() 314 let mut secs = self.secs - rhs.secs; in sub() 315 let mut nanos = self.nanos - rhs.nanos; in sub() 327 fn mul(self, rhs: i32) -> Duration { in mul() 339 fn div(self, rhs: i32) -> Duration { in div() [all …]
|
/dports/accessibility/sctd/sctd-0.2.0/cargo-crates/chrono-0.4.11/src/naive/ |
H A D | date.rs | 936 let year2 = rhs.year(); in signed_duration_since() 1389 fn add(self, rhs: OldDuration) -> NaiveDate { in add() 1396 fn add_assign(&mut self, rhs: OldDuration) { in add_assign() 1397 *self = self.add(rhs); in add_assign() 1431 fn sub(self, rhs: OldDuration) -> NaiveDate { in sub() 1438 fn sub_assign(&mut self, rhs: OldDuration) { in sub_assign() 1439 *self = self.sub(rhs); in sub_assign() 1474 fn sub(self, rhs: NaiveDate) -> OldDuration { in sub() 1475 self.signed_duration_since(rhs) in sub() 2028 assert_eq!(lhs.checked_add_signed(rhs), sum); in test_date_add() [all …]
|
H A D | datetime.rs | 484 let (time, rhs) = self.time.overflowing_add_signed(rhs); in checked_add_signed() 487 if rhs <= (-1 << MAX_SECS_BITS) || rhs >= (1 << MAX_SECS_BITS) { in checked_add_signed() 566 let (time, rhs) = self.time.overflowing_sub_signed(rhs); in checked_sub_signed() 569 if rhs <= (-1 << MAX_SECS_BITS) || rhs >= (1 << MAX_SECS_BITS) { in checked_sub_signed() 622 self.date.signed_duration_since(rhs.date) + self.time.signed_duration_since(rhs.time) in signed_duration_since() 1255 fn add(self, rhs: OldDuration) -> NaiveDateTime { in add() 1262 fn add_assign(&mut self, rhs: OldDuration) { in add_assign() 1263 *self = self.add(rhs); in add_assign() 1332 fn sub_assign(&mut self, rhs: OldDuration) { in sub_assign() 1333 *self = self.sub(rhs); in sub_assign() [all …]
|
H A D | time.rs | 536 rhs = rhs - OldDuration::nanoseconds(i64::from(rfrac)); in overflowing_add_signed() 540 rhs = rhs + OldDuration::nanoseconds(i64::from(frac)); in overflowing_add_signed() 551 let rhssecs = rhs.num_seconds(); in overflowing_add_signed() 613 let (time, rhs) = self.overflowing_add_signed(-rhs); in overflowing_sub_signed() 1061 self.overflowing_add_signed(rhs).0 in add() 1067 fn add_assign(&mut self, rhs: OldDuration) { in add_assign() 1068 *self = self.add(rhs); in add_assign() 1131 self.overflowing_sub_signed(rhs).0 in sub() 1138 *self = self.sub(rhs); in sub_assign() 1198 self.signed_duration_since(rhs) in sub() [all …]
|
/dports/accessibility/sctd/sctd-0.2.0/cargo-crates/chrono-0.4.11/src/offset/ |
H A D | fixed.rs | 144 fn add_with_leapsecond<T>(lhs: &T, rhs: i32) -> T in add_with_leapsecond() 157 fn add(self, rhs: FixedOffset) -> NaiveTime { in add() 158 add_with_leapsecond(&self, rhs.local_minus_utc) in add() 166 fn sub(self, rhs: FixedOffset) -> NaiveTime { in sub() 167 add_with_leapsecond(&self, -rhs.local_minus_utc) in sub() 175 fn add(self, rhs: FixedOffset) -> NaiveDateTime { in add() 176 add_with_leapsecond(&self, rhs.local_minus_utc) in add() 184 fn sub(self, rhs: FixedOffset) -> NaiveDateTime { in sub() 193 fn add(self, rhs: FixedOffset) -> DateTime<Tz> { in add() 194 add_with_leapsecond(&self, rhs.local_minus_utc) in add() [all …]
|
/dports/accessibility/sctd/sctd-0.2.0/cargo-crates/clap-2.33.0/src/app/ |
H A D | settings.rs | 60 fn bitor(self, rhs: Self) -> Self { AppFlags(self.0 | rhs.0) } in bitor()
|
/dports/accessibility/sctd/sctd-0.2.0/cargo-crates/num-traits-0.2.11/src/ops/ |
H A D | checked.rs | 214 fn checked_shl(&self, rhs: u32) -> Option<Self>; in checked_shl() 221 fn $method(&self, rhs: u32) -> Option<$t> { 222 <$t>::$method(*self, rhs) 260 fn checked_shr(&self, rhs: u32) -> Option<Self>; in checked_shr()
|
H A D | wrapping.rs | 13 ($trait_name:ident, $method:ident, $t:ty, $rhs:ty) => { 14 impl $trait_name<$rhs> for $t { 16 fn $method(&self, v: &$rhs) -> Self { 96 fn $method(&self, rhs: u32) -> $t { 97 <$t>::$method(*self, rhs) 119 fn wrapping_shl(&self, rhs: u32) -> Self; in wrapping_shl() 154 fn wrapping_shr(&self, rhs: u32) -> Self; in wrapping_shr() 202 fn wrapping_shl(&self, rhs: u32) -> Self { in wrapping_shl() 203 Wrapping(self.0.wrapping_shl(rhs)) in wrapping_shl() 210 fn wrapping_shr(&self, rhs: u32) -> Self { in wrapping_shr() [all …]
|
/dports/accessibility/sctd/sctd-0.2.0/cargo-crates/num-traits-0.2.11/src/ |
H A D | pow.rs | 18 fn pow(self, rhs: RHS) -> Self::Output; in pow() 31 ($t:ty, $rhs:ty) => { 32 pow_impl!($t, $rhs, usize, pow); 35 impl Pow<$rhs> for $t { 38 fn pow(self, rhs: $rhs) -> $t { 43 impl<'a> Pow<&'a $rhs> for $t { 46 fn pow(self, rhs: &'a $rhs) -> $t { 51 impl<'a> Pow<$rhs> for &'a $t { 54 fn pow(self, rhs: $rhs) -> $t { 59 impl<'a, 'b> Pow<&'a $rhs> for &'b $t { [all …]
|
/dports/accessibility/sctd/sctd-0.2.0/cargo-crates/time-0.1.42/src/ |
H A D | duration.rs | 214 let mut nanos = self.nanos + rhs.nanos; in checked_add() 228 let mut nanos = self.nanos - rhs.nanos; in checked_sub() 312 fn add(self, rhs: Duration) -> Duration { in add() 313 let mut secs = self.secs + rhs.secs; in add() 314 let mut nanos = self.nanos + rhs.nanos; in add() 326 fn sub(self, rhs: Duration) -> Duration { in sub() 327 let mut secs = self.secs - rhs.secs; in sub() 328 let mut nanos = self.nanos - rhs.nanos; in sub() 340 fn mul(self, rhs: i32) -> Duration { in mul() 352 fn div(self, rhs: i32) -> Duration { in div() [all …]
|
/dports/accessibility/sctd/sctd-0.2.0/cargo-crates/x11-2.18.2/src/ |
H A D | xlib.rs | 2707 fn eq (&self, rhs: &ImageFns) -> bool { in eq() 2708 unsafe { mem_eq(self, rhs) } in eq()
|
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/anyhow-1.0.53/src/ |
H A D | ensure.rs | 81 fn render(msg: &'static str, lhs: &dyn Debug, rhs: &dyn Debug) -> Error { in render() 85 if fmt::write(&mut rhs_buf, format_args!("{:?}", rhs)).is_ok() { in render() 106 (atom () $bail:tt $fuel:tt {($($rhs:tt)+) ($($lhs:tt)+) $op:tt} $dup:tt $(,)?) => { 107 $crate::__fancy_ensure!($($lhs)+, $op, $($rhs)+) 770 ($lhs:expr, $op:tt, $rhs:expr) => { 771 match (&$lhs, &$rhs) { 772 (lhs, rhs) => { 773 if !(lhs $op rhs) { 776 return Err((lhs, rhs).__dispatch_ensure( 783 $crate::private::stringify!($rhs),
|
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/anyhow-1.0.53/tests/ |
H A D | test_ensure.rs | 31 fn add(self, rhs: T) -> Self::Output { in add() 32 let _ = rhs; in add()
|
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/clap-3.0.14/src/ |
H A D | macros.rs | 802 pub(crate) fn insert(&mut self, rhs: Self) { 803 self.0.insert(rhs.0); 807 pub(crate) fn remove(&mut self, rhs: Self) { 808 self.0.remove(rhs.0); 848 fn bitor(mut self, rhs: Self) -> Self::Output { 849 self.0.insert(rhs.0); 865 fn bitor(mut self, rhs: $settings) -> Self::Output { 866 self.set(rhs); 874 fn bitor(self, rhs: Self) -> Self::Output { 877 flags.set(rhs);
|
H A D | mkeymap.rs | 35 fn eq(&self, rhs: &usize) -> bool { in eq() 37 KeyType::Position(x) => x == rhs, in eq() 44 fn eq(&self, rhs: &&str) -> bool { in eq() 46 KeyType::Long(l) => l == rhs, in eq() 53 fn eq(&self, rhs: &OsStr) -> bool { in eq() 55 KeyType::Long(l) => l == rhs, in eq() 62 fn eq(&self, rhs: &char) -> bool { in eq() 64 KeyType::Short(c) => c == rhs, in eq()
|
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/derivative-2.2.0/tests/ |
H A D | derive-ord-packed.rs | 66 fn partial_cmp_tenth(lhs: &u8, rhs: &u8) -> std::option::Option<std::cmp::Ordering> { in partial_cmp_tenth() 70 Some((lhs / 10).cmp(&(rhs / 10))) in partial_cmp_tenth() 73 fn cmp_tenth(lhs: &u8, rhs: &u8) -> std::cmp::Ordering { in cmp_tenth() 74 (lhs / 10).cmp(&(rhs / 10)) in cmp_tenth()
|
H A D | derive-ord.rs | 72 fn partial_cmp_tenth(lhs: &u8, rhs: &u8) -> std::option::Option<std::cmp::Ordering> { in partial_cmp_tenth() 76 Some((lhs / 10).cmp(&(rhs / 10))) in partial_cmp_tenth() 79 fn cmp_tenth(lhs: &u8, rhs: &u8) -> std::cmp::Ordering { in cmp_tenth() 80 (lhs / 10).cmp(&(rhs / 10)) in cmp_tenth()
|
H A D | derive-partial-eq-packed.rs | 51 fn same_parity(lhs: &u8, rhs: &u8) -> bool { in same_parity() 52 lhs % 2 == rhs % 2 in same_parity()
|
H A D | derive-partial-eq.rs | 76 fn same_parity(lhs: &u8, rhs: &u8) -> bool { in same_parity() 77 lhs % 2 == rhs % 2 in same_parity()
|