Home
last modified time | relevance | path

Searched refs:partial_cmp (Results 1 – 25 of 39) sorted by relevance

12

/third_party/rust/crates/rustix/src/net/
Dip.rs1077 fn partial_cmp(&self, other: &Ipv4Addr) -> Option<Ordering> { in partial_cmp() method
1085 fn partial_cmp(&self, other: &Ipv4Addr) -> Option<Ordering> { in partial_cmp() method
1087 IpAddr::V4(v4) => v4.partial_cmp(other), in partial_cmp()
1096 fn partial_cmp(&self, other: &IpAddr) -> Option<Ordering> { in partial_cmp() method
1098 IpAddr::V4(v4) => self.partial_cmp(v4), in partial_cmp()
1865 fn partial_cmp(&self, other: &Ipv6Addr) -> Option<Ordering> { in partial_cmp() method
1873 fn partial_cmp(&self, other: &Ipv6Addr) -> Option<Ordering> { in partial_cmp() method
1876 IpAddr::V6(v6) => v6.partial_cmp(other), in partial_cmp()
1884 fn partial_cmp(&self, other: &IpAddr) -> Option<Ordering> { in partial_cmp() method
1887 IpAddr::V6(v6) => self.partial_cmp(v6), in partial_cmp()
Daddr.rs602 fn partial_cmp(&self, other: &SocketAddrV4) -> Option<Ordering> { in partial_cmp() method
609 fn partial_cmp(&self, other: &SocketAddrV6) -> Option<Ordering> { in partial_cmp() method
/third_party/rust/crates/cxx/gen/build/src/
Dcargo.rs83 fn partial_cmp(&self, rhs: &Self) -> Option<Ordering> { in partial_cmp() method
121 fn partial_cmp(&self, rhs: &Self) -> Option<Ordering> { in partial_cmp() method
146 fn partial_cmp(&self, rhs: &Self) -> Option<Ordering> { in partial_cmp() method
/third_party/rust/crates/regex/src/
Dinput.rs422 fn partial_cmp(&self, other: &char) -> Option<Ordering> { in partial_cmp() method
423 self.0.partial_cmp(&(*other as u32)) in partial_cmp()
429 fn partial_cmp(&self, other: &Char) -> Option<Ordering> { in partial_cmp() method
430 (*self as u32).partial_cmp(&other.0) in partial_cmp()
/third_party/rust/crates/rust-openssl/openssl/src/
Dasn1.rs260 fn partial_cmp(&self, other: &Asn1TimeRef) -> Option<Ordering> { in partial_cmp() method
267 fn partial_cmp(&self, other: &Asn1Time) -> Option<Ordering> { in partial_cmp() method
274 fn partial_cmp(&self, other: &Asn1Time) -> Option<Ordering> { in partial_cmp() method
398 fn partial_cmp(&self, other: &Asn1Time) -> Option<Ordering> { in partial_cmp() method
405 fn partial_cmp(&self, other: &Asn1TimeRef) -> Option<Ordering> { in partial_cmp() method
412 fn partial_cmp(&self, other: &&'a Asn1TimeRef) -> Option<Ordering> { in partial_cmp() method
Dbn.rs1179 fn partial_cmp(&self, oth: &BigNumRef) -> Option<Ordering> { in partial_cmp() method
1185 fn partial_cmp(&self, oth: &BigNum) -> Option<Ordering> { in partial_cmp() method
1197 fn partial_cmp(&self, oth: &BigNum) -> Option<Ordering> { in partial_cmp() method
1198 self.deref().partial_cmp(oth.deref()) in partial_cmp()
1203 fn partial_cmp(&self, oth: &BigNumRef) -> Option<Ordering> { in partial_cmp() method
1204 self.deref().partial_cmp(oth) in partial_cmp()
/third_party/rust/crates/tracing/tracing-subscriber/src/filter/env/
Dfield.rs88 .partial_cmp(that) in cmp()
117 fn partial_cmp(&self, other: &Self) -> Option<Ordering> { in partial_cmp() method
215 fn partial_cmp(&self, other: &Self) -> Option<Ordering> { in partial_cmp() method
335 fn partial_cmp(&self, other: &Self) -> Option<Ordering> { in partial_cmp() method
431 fn partial_cmp(&self, other: &Self) -> Option<Ordering> { in partial_cmp() method
/third_party/rust/crates/clap/src/parser/matches/
Dany_value.rs67 fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> { in partial_cmp() method
68 self.type_id.partial_cmp(&other.type_id) in partial_cmp()
/third_party/rust/crates/cxx/macro/src/
Dderive.rs204 match ::cxx::core::cmp::PartialOrd::partial_cmp(&self.#fields, &other.#fields) { in struct_partial_ord()
215 … fn partial_cmp(&self, other: &Self) -> ::cxx::core::option::Option<::cxx::core::cmp::Ordering> { in struct_partial_ord()
283 … fn partial_cmp(&self, other: &Self) -> ::cxx::core::option::Option<::cxx::core::cmp::Ordering> { in enum_partial_ord()
284 ::cxx::core::cmp::PartialOrd::partial_cmp(&self.repr, &other.repr) in enum_partial_ord()
/third_party/rust/crates/log/src/kv/
Dkey.rs83 fn partial_cmp(&self, other: &Key<'ko>) -> Option<cmp::Ordering> { in partial_cmp() method
84 self.as_str().partial_cmp(other.as_str()) in partial_cmp()
/third_party/rust/crates/codespan/codespan-reporting/src/
Ddiagnostic.rs48 fn partial_cmp(&self, other: &Severity) -> Option<std::cmp::Ordering> { in partial_cmp() method
49 u8::partial_cmp(&self.to_cmp_int(), &other.to_cmp_int()) in partial_cmp()
/third_party/rust/crates/rustix/src/backend/linux_raw/net/
Daddr.rs125 fn partial_cmp(&self, other: &Self) -> Option<core::cmp::Ordering> { in partial_cmp() method
128 self.unix.sun_path[..self_len].partial_cmp(&other.unix.sun_path[..other_len]) in partial_cmp()
/third_party/rust/crates/cxx/src/
Dcxx_string.rs243 fn partial_cmp(&self, other: &Self) -> Option<Ordering> { in partial_cmp() method
244 self.as_bytes().partial_cmp(other.as_bytes()) in partial_cmp()
/third_party/rust/crates/proc-macro2/src/
Dlocation.rs26 fn partial_cmp(&self, other: &Self) -> Option<Ordering> { in partial_cmp() method
/third_party/rust/crates/tracing/tracing-core/src/
Dmetadata.rs912 fn partial_cmp(&self, other: &Level) -> Option<cmp::Ordering> { in partial_cmp() method
946 fn partial_cmp(&self, other: &LevelFilter) -> Option<cmp::Ordering> { in partial_cmp() method
988 fn partial_cmp(&self, other: &LevelFilter) -> Option<cmp::Ordering> { in partial_cmp() method
1022 fn partial_cmp(&self, other: &Level) -> Option<cmp::Ordering> { in partial_cmp() method
/third_party/rust/crates/clap/src/builder/
Dstr.rs289 fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> { in partial_cmp() method
290 self.as_str().partial_cmp(other.as_str()) in partial_cmp()
Dos_str.rs318 fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> { in partial_cmp() method
319 self.as_os_str().partial_cmp(other.as_os_str()) in partial_cmp()
Ddebug_asserts.rs402 fn partial_cmp(&self, other: &Flag) -> Option<Ordering> { in partial_cmp() method
413 s1.partial_cmp(s2) in partial_cmp()
422 self.partial_cmp(other).unwrap() in cmp()
/third_party/rust/crates/rustix/src/backend/libc/net/
Daddr.rs227 fn partial_cmp(&self, other: &Self) -> Option<core::cmp::Ordering> { in partial_cmp() method
230 self.unix.sun_path[..self_len].partial_cmp(&other.unix.sun_path[..other_len]) in partial_cmp()
/third_party/rust/crates/rust-openssl/openssl/src/x509/
Dmod.rs622 fn partial_cmp(&self, other: &Self) -> Option<cmp::Ordering> { in partial_cmp() method
628 fn partial_cmp(&self, other: &X509) -> Option<cmp::Ordering> { in partial_cmp() method
629 <X509Ref as PartialOrd<X509Ref>>::partial_cmp(self, other) in partial_cmp()
754 fn partial_cmp(&self, other: &Self) -> Option<cmp::Ordering> { in partial_cmp() method
755 X509Ref::partial_cmp(self, other) in partial_cmp()
760 fn partial_cmp(&self, other: &X509Ref) -> Option<cmp::Ordering> { in partial_cmp() method
761 X509Ref::partial_cmp(self, other) in partial_cmp()
/third_party/rust/crates/syn/src/
Dlifetime.rs98 fn partial_cmp(&self, other: &Lifetime) -> Option<Ordering> { in partial_cmp() method
/third_party/rust/crates/minimal-lexical/src/
Dheapvec.rs158 fn partial_cmp(&self, other: &Self) -> Option<cmp::Ordering> { in partial_cmp() method
Dstackvec.rs266 fn partial_cmp(&self, other: &Self) -> Option<cmp::Ordering> { in partial_cmp() method
/third_party/rust/crates/clap/src/parser/features/
Dsuggestions.rs24 candidates.sort_by(|a, b| a.0.partial_cmp(&b.0).unwrap_or(Ordering::Equal)); in did_you_mean()
/third_party/rust/crates/log/src/
Dlib.rs475 fn partial_cmp(&self, other: &Level) -> Option<cmp::Ordering> { in partial_cmp() method
502 fn partial_cmp(&self, other: &LevelFilter) -> Option<cmp::Ordering> { in partial_cmp() method
682 fn partial_cmp(&self, other: &LevelFilter) -> Option<cmp::Ordering> { in partial_cmp() method
709 fn partial_cmp(&self, other: &Level) -> Option<cmp::Ordering> { in partial_cmp() method

12