Home
last modified time | relevance | path

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

12345678910>>...12

/external/rust/android-crates-io/extra_versions/crates/http/src/header/
Dvalue.rs629 fn partial_cmp(&self, other: &HeaderValue) -> Option<cmp::Ordering> { in partial_cmp() method
630 self.inner.partial_cmp(&other.inner) in partial_cmp()
657 fn partial_cmp(&self, other: &str) -> Option<cmp::Ordering> { in partial_cmp() method
658 (*self.inner).partial_cmp(other.as_bytes()) in partial_cmp()
664 fn partial_cmp(&self, other: &[u8]) -> Option<cmp::Ordering> { in partial_cmp() method
665 (*self.inner).partial_cmp(other) in partial_cmp()
685 fn partial_cmp(&self, other: &HeaderValue) -> Option<cmp::Ordering> { in partial_cmp() method
686 self.as_bytes().partial_cmp(other.as_bytes()) in partial_cmp()
692 fn partial_cmp(&self, other: &HeaderValue) -> Option<cmp::Ordering> { in partial_cmp() method
693 self.partial_cmp(other.as_bytes()) in partial_cmp()
[all …]
/external/rust/android-crates-io/crates/http/src/header/
Dvalue.rs629 fn partial_cmp(&self, other: &HeaderValue) -> Option<cmp::Ordering> { in partial_cmp() method
630 self.inner.partial_cmp(&other.inner) in partial_cmp()
657 fn partial_cmp(&self, other: &str) -> Option<cmp::Ordering> { in partial_cmp() method
658 (*self.inner).partial_cmp(other.as_bytes()) in partial_cmp()
664 fn partial_cmp(&self, other: &[u8]) -> Option<cmp::Ordering> { in partial_cmp() method
665 (*self.inner).partial_cmp(other) in partial_cmp()
685 fn partial_cmp(&self, other: &HeaderValue) -> Option<cmp::Ordering> { in partial_cmp() method
686 self.as_bytes().partial_cmp(other.as_bytes()) in partial_cmp()
692 fn partial_cmp(&self, other: &HeaderValue) -> Option<cmp::Ordering> { in partial_cmp() method
693 self.partial_cmp(other.as_bytes()) in partial_cmp()
[all …]
/external/rust/android-crates-io/extra_versions/crates/http/src/uri/
Dpath.rs406 fn partial_cmp(&self, other: &PathAndQuery) -> Option<cmp::Ordering> { in partial_cmp() method
407 self.as_str().partial_cmp(other.as_str()) in partial_cmp()
413 fn partial_cmp(&self, other: &str) -> Option<cmp::Ordering> { in partial_cmp() method
414 self.as_str().partial_cmp(other) in partial_cmp()
420 fn partial_cmp(&self, other: &PathAndQuery) -> Option<cmp::Ordering> { in partial_cmp() method
421 self.partial_cmp(other.as_str()) in partial_cmp()
427 fn partial_cmp(&self, other: &&'a str) -> Option<cmp::Ordering> { in partial_cmp() method
428 self.as_str().partial_cmp(*other) in partial_cmp()
434 fn partial_cmp(&self, other: &PathAndQuery) -> Option<cmp::Ordering> { in partial_cmp() method
435 self.partial_cmp(&other.as_str()) in partial_cmp()
[all …]
Dauthority.rs340 fn partial_cmp(&self, other: &Authority) -> Option<cmp::Ordering> { in partial_cmp() method
343 left.partial_cmp(right) in partial_cmp()
348 fn partial_cmp(&self, other: &str) -> Option<cmp::Ordering> { in partial_cmp() method
351 left.partial_cmp(right) in partial_cmp()
356 fn partial_cmp(&self, other: &Authority) -> Option<cmp::Ordering> { in partial_cmp() method
359 left.partial_cmp(right) in partial_cmp()
364 fn partial_cmp(&self, other: &Authority) -> Option<cmp::Ordering> { in partial_cmp() method
367 left.partial_cmp(right) in partial_cmp()
372 fn partial_cmp(&self, other: &&'a str) -> Option<cmp::Ordering> { in partial_cmp() method
375 left.partial_cmp(right) in partial_cmp()
[all …]
/external/rust/android-crates-io/crates/http/src/uri/
Dpath.rs406 fn partial_cmp(&self, other: &PathAndQuery) -> Option<cmp::Ordering> { in partial_cmp() method
407 self.as_str().partial_cmp(other.as_str()) in partial_cmp()
413 fn partial_cmp(&self, other: &str) -> Option<cmp::Ordering> { in partial_cmp() method
414 self.as_str().partial_cmp(other) in partial_cmp()
420 fn partial_cmp(&self, other: &PathAndQuery) -> Option<cmp::Ordering> { in partial_cmp() method
421 self.partial_cmp(other.as_str()) in partial_cmp()
427 fn partial_cmp(&self, other: &&'a str) -> Option<cmp::Ordering> { in partial_cmp() method
428 self.as_str().partial_cmp(*other) in partial_cmp()
434 fn partial_cmp(&self, other: &PathAndQuery) -> Option<cmp::Ordering> { in partial_cmp() method
435 self.partial_cmp(&other.as_str()) in partial_cmp()
[all …]
Dauthority.rs340 fn partial_cmp(&self, other: &Authority) -> Option<cmp::Ordering> { in partial_cmp() method
343 left.partial_cmp(right) in partial_cmp()
348 fn partial_cmp(&self, other: &str) -> Option<cmp::Ordering> { in partial_cmp() method
351 left.partial_cmp(right) in partial_cmp()
356 fn partial_cmp(&self, other: &Authority) -> Option<cmp::Ordering> { in partial_cmp() method
359 left.partial_cmp(right) in partial_cmp()
364 fn partial_cmp(&self, other: &Authority) -> Option<cmp::Ordering> { in partial_cmp() method
367 left.partial_cmp(right) in partial_cmp()
372 fn partial_cmp(&self, other: &&'a str) -> Option<cmp::Ordering> { in partial_cmp() method
375 left.partial_cmp(right) in partial_cmp()
[all …]
/external/rust/android-crates-io/crates/tonic/src/metadata/
Dvalue.rs648 fn partial_cmp(&self, other: &MetadataValue<VE>) -> Option<cmp::Ordering> { in partial_cmp() method
676 fn partial_cmp(&self, other: &str) -> Option<cmp::Ordering> { in partial_cmp() method
677 self.inner.partial_cmp(other.as_bytes()) in partial_cmp()
683 fn partial_cmp(&self, other: &[u8]) -> Option<cmp::Ordering> { in partial_cmp() method
684 self.inner.partial_cmp(other) in partial_cmp()
704 fn partial_cmp(&self, other: &MetadataValue<VE>) -> Option<cmp::Ordering> { in partial_cmp() method
705 self.as_bytes().partial_cmp(other.inner.as_bytes()) in partial_cmp()
711 fn partial_cmp(&self, other: &MetadataValue<VE>) -> Option<cmp::Ordering> { in partial_cmp() method
712 self.partial_cmp(other.inner.as_bytes()) in partial_cmp()
725 fn partial_cmp(&self, other: &String) -> Option<cmp::Ordering> { in partial_cmp() method
[all …]
/external/rust/android-crates-io/crates/plotters/src/coord/ranged1d/combinators/
Dlinspace.rs44 values[0].partial_cmp(&values[1]) == Some(Ordering::Less) in search()
49 probe.partial_cmp(target).unwrap() in search()
51 target.partial_cmp(probe).unwrap() in search()
77 values[0].partial_cmp(&values[1]) == Some(Ordering::Less) in search()
82 probe.partial_cmp(target).unwrap() in search()
84 target.partial_cmp(probe).unwrap() in search()
114 values[0].partial_cmp(&values[1]) == Some(Ordering::Less) in search()
119 probe.partial_cmp(target).unwrap() in search()
121 target.partial_cmp(probe).unwrap() in search()
145 if left_delta.partial_cmp(&right_delta) == Some(Ordering::Less) { in search()
[all …]
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/bytes-1.8.0/src/
Dbytes.rs698 fn partial_cmp(&self, other: &Bytes) -> Option<cmp::Ordering> { in partial_cmp() method
699 self.as_slice().partial_cmp(other.as_slice()) in partial_cmp()
718 fn partial_cmp(&self, other: &[u8]) -> Option<cmp::Ordering> { in partial_cmp() method
719 self.as_slice().partial_cmp(other) in partial_cmp()
730 fn partial_cmp(&self, other: &Bytes) -> Option<cmp::Ordering> { in partial_cmp() method
731 <[u8] as PartialOrd<[u8]>>::partial_cmp(self, other) in partial_cmp()
742 fn partial_cmp(&self, other: &str) -> Option<cmp::Ordering> { in partial_cmp() method
743 self.as_slice().partial_cmp(other.as_bytes()) in partial_cmp()
754 fn partial_cmp(&self, other: &Bytes) -> Option<cmp::Ordering> { in partial_cmp() method
755 <[u8] as PartialOrd<[u8]>>::partial_cmp(self.as_bytes(), other) in partial_cmp()
[all …]
Dbytes_mut.rs1283 fn partial_cmp(&self, other: &BytesMut) -> Option<cmp::Ordering> { in partial_cmp() method
1284 self.as_slice().partial_cmp(other.as_slice()) in partial_cmp()
1565 fn partial_cmp(&self, other: &[u8]) -> Option<cmp::Ordering> { in partial_cmp() method
1566 (**self).partial_cmp(other) in partial_cmp()
1577 fn partial_cmp(&self, other: &BytesMut) -> Option<cmp::Ordering> { in partial_cmp() method
1578 <[u8] as PartialOrd<[u8]>>::partial_cmp(self, other) in partial_cmp()
1589 fn partial_cmp(&self, other: &str) -> Option<cmp::Ordering> { in partial_cmp() method
1590 (**self).partial_cmp(other.as_bytes()) in partial_cmp()
1601 fn partial_cmp(&self, other: &BytesMut) -> Option<cmp::Ordering> { in partial_cmp() method
1602 <[u8] as PartialOrd<[u8]>>::partial_cmp(self.as_bytes(), other) in partial_cmp()
[all …]
/external/rust/android-crates-io/crates/bytes/src/
Dbytes_mut.rs1286 fn partial_cmp(&self, other: &BytesMut) -> Option<cmp::Ordering> { in partial_cmp() method
1287 self.as_slice().partial_cmp(other.as_slice()) in partial_cmp()
1568 fn partial_cmp(&self, other: &[u8]) -> Option<cmp::Ordering> { in partial_cmp() method
1569 (**self).partial_cmp(other) in partial_cmp()
1580 fn partial_cmp(&self, other: &BytesMut) -> Option<cmp::Ordering> { in partial_cmp() method
1581 <[u8] as PartialOrd<[u8]>>::partial_cmp(self, other) in partial_cmp()
1592 fn partial_cmp(&self, other: &str) -> Option<cmp::Ordering> { in partial_cmp() method
1593 (**self).partial_cmp(other.as_bytes()) in partial_cmp()
1604 fn partial_cmp(&self, other: &BytesMut) -> Option<cmp::Ordering> { in partial_cmp() method
1605 <[u8] as PartialOrd<[u8]>>::partial_cmp(self.as_bytes(), other) in partial_cmp()
[all …]
Dbytes.rs792 fn partial_cmp(&self, other: &Bytes) -> Option<cmp::Ordering> { in partial_cmp() method
793 self.as_slice().partial_cmp(other.as_slice()) in partial_cmp()
812 fn partial_cmp(&self, other: &[u8]) -> Option<cmp::Ordering> { in partial_cmp() method
813 self.as_slice().partial_cmp(other) in partial_cmp()
824 fn partial_cmp(&self, other: &Bytes) -> Option<cmp::Ordering> { in partial_cmp() method
825 <[u8] as PartialOrd<[u8]>>::partial_cmp(self, other) in partial_cmp()
836 fn partial_cmp(&self, other: &str) -> Option<cmp::Ordering> { in partial_cmp() method
837 self.as_slice().partial_cmp(other.as_bytes()) in partial_cmp()
848 fn partial_cmp(&self, other: &Bytes) -> Option<cmp::Ordering> { in partial_cmp() method
849 <[u8] as PartialOrd<[u8]>>::partial_cmp(self.as_bytes(), other) in partial_cmp()
[all …]
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/bytes-1.8.0/src/
Dbytes_mut.rs1283 fn partial_cmp(&self, other: &BytesMut) -> Option<cmp::Ordering> { in partial_cmp() method
1284 self.as_slice().partial_cmp(other.as_slice()) in partial_cmp()
1565 fn partial_cmp(&self, other: &[u8]) -> Option<cmp::Ordering> { in partial_cmp() method
1566 (**self).partial_cmp(other) in partial_cmp()
1577 fn partial_cmp(&self, other: &BytesMut) -> Option<cmp::Ordering> { in partial_cmp() method
1578 <[u8] as PartialOrd<[u8]>>::partial_cmp(self, other) in partial_cmp()
1589 fn partial_cmp(&self, other: &str) -> Option<cmp::Ordering> { in partial_cmp() method
1590 (**self).partial_cmp(other.as_bytes()) in partial_cmp()
1601 fn partial_cmp(&self, other: &BytesMut) -> Option<cmp::Ordering> { in partial_cmp() method
1602 <[u8] as PartialOrd<[u8]>>::partial_cmp(self.as_bytes(), other) in partial_cmp()
[all …]
Dbytes.rs698 fn partial_cmp(&self, other: &Bytes) -> Option<cmp::Ordering> { in partial_cmp() method
699 self.as_slice().partial_cmp(other.as_slice()) in partial_cmp()
718 fn partial_cmp(&self, other: &[u8]) -> Option<cmp::Ordering> { in partial_cmp() method
719 self.as_slice().partial_cmp(other) in partial_cmp()
730 fn partial_cmp(&self, other: &Bytes) -> Option<cmp::Ordering> { in partial_cmp() method
731 <[u8] as PartialOrd<[u8]>>::partial_cmp(self, other) in partial_cmp()
742 fn partial_cmp(&self, other: &str) -> Option<cmp::Ordering> { in partial_cmp() method
743 self.as_slice().partial_cmp(other.as_bytes()) in partial_cmp()
754 fn partial_cmp(&self, other: &Bytes) -> Option<cmp::Ordering> { in partial_cmp() method
755 <[u8] as PartialOrd<[u8]>>::partial_cmp(self.as_bytes(), other) in partial_cmp()
[all …]
/external/rust/android-crates-io/crates/rayon/tests/
Dsort-panic-safe.rs29 self.partial_cmp(other) == Some(Ordering::Equal) in eq()
35 fn partial_cmp(&self, other: &Self) -> Option<Ordering> { in partial_cmp() method
39 self.x.partial_cmp(&other.x) in partial_cmp()
45 self.partial_cmp(other).unwrap() in cmp()
/external/rust/android-crates-io/crates/spdx/src/
Dlicensee.rs270 fn partial_cmp(&self, o: &LicenseReq) -> Option<std::cmp::Ordering> { in partial_cmp() method
271 self.inner.partial_cmp(o) in partial_cmp()
332 .binary_search_by(|l| l.partial_cmp(&req).unwrap()) in handles_or_later()
363 .binary_search_by(|l| l.partial_cmp(&req).unwrap()) in handles_exceptions()
388 .binary_search_by(|l| l.partial_cmp(&req).unwrap()) in handles_license_ref()
416 .binary_search_by(|l| l.partial_cmp(&req).unwrap()) in handles_close()
Dlib.rs61 fn partial_cmp(&self, o: &Self) -> Option<Ordering> { in partial_cmp() method
171 fn partial_cmp(&self, o: &Self) -> Option<Ordering> { in partial_cmp() method
336 fn partial_cmp(&self, o: &Self) -> Option<Ordering> { in partial_cmp() method
338 (Self::Spdx { id: a, .. }, Self::Spdx { id: b, .. }) => a.partial_cmp(b), in partial_cmp()
349 Ordering::Equal => al.partial_cmp(bl), in partial_cmp()
360 matches!(self.partial_cmp(o), Some(cmp::Ordering::Equal)) in eq()
/external/rust/android-crates-io/crates/potential_utf/src/
Duchar.rs160 fn partial_cmp(&self, other: &Self) -> Option<Ordering> { in partial_cmp() method
172 fn partial_cmp(&self, other: &char) -> Option<Ordering> { in partial_cmp() method
173 self.partial_cmp(&Self::from_char(*other)) in partial_cmp()
184 fn partial_cmp(&self, other: &PotentialCodePoint) -> Option<Ordering> { in partial_cmp() method
185 PotentialCodePoint::from_char(*self).partial_cmp(other) in partial_cmp()
/external/rust/android-crates-io/crates/prettyplease/examples/
Doutput.rustc.rs217 fn partial_cmp(&self, other: &Ipv4Addr) -> Option<Ordering> { in partial_cmp() method
222 fn partial_cmp(&self, other: &Ipv4Addr) -> Option<Ordering> { in partial_cmp() method
224 IpAddr::V4(v4) => v4.partial_cmp(other), in partial_cmp()
230 fn partial_cmp(&self, other: &IpAddr) -> Option<Ordering> { in partial_cmp() method
232 IpAddr::V4(v4) => self.partial_cmp(v4), in partial_cmp()
449 fn partial_cmp(&self, other: &Ipv6Addr) -> Option<Ordering> { in partial_cmp() method
454 fn partial_cmp(&self, other: &Ipv6Addr) -> Option<Ordering> { in partial_cmp() method
457 IpAddr::V6(v6) => v6.partial_cmp(other), in partial_cmp()
462 fn partial_cmp(&self, other: &IpAddr) -> Option<Ordering> { in partial_cmp() method
465 IpAddr::V6(v6) => self.partial_cmp(v6), in partial_cmp()
Doutput.prettyplease.rs239 fn partial_cmp(&self, other: &Ipv4Addr) -> Option<Ordering> { in partial_cmp() method
244 fn partial_cmp(&self, other: &Ipv4Addr) -> Option<Ordering> { in partial_cmp() method
246 IpAddr::V4(v4) => v4.partial_cmp(other), in partial_cmp()
252 fn partial_cmp(&self, other: &IpAddr) -> Option<Ordering> { in partial_cmp() method
254 IpAddr::V4(v4) => self.partial_cmp(v4), in partial_cmp()
526 fn partial_cmp(&self, other: &Ipv6Addr) -> Option<Ordering> { in partial_cmp() method
531 fn partial_cmp(&self, other: &Ipv6Addr) -> Option<Ordering> { in partial_cmp() method
534 IpAddr::V6(v6) => v6.partial_cmp(other), in partial_cmp()
539 fn partial_cmp(&self, other: &IpAddr) -> Option<Ordering> { in partial_cmp() method
542 IpAddr::V6(v6) => self.partial_cmp(v6), in partial_cmp()
Dinput.rs1partial_cmp (& self , other : & Ipv4Addr) -> Option < Ordering > { Some (self . cmp (other)) } } i… in to_ipv4() method
Doutput.rustfmt.rs255 fn partial_cmp(&self, other: &Ipv4Addr) -> Option<Ordering> { in partial_cmp() method
260 fn partial_cmp(&self, other: &Ipv4Addr) -> Option<Ordering> { in partial_cmp() method
262 IpAddr::V4(v4) => v4.partial_cmp(other), in partial_cmp()
268 fn partial_cmp(&self, other: &IpAddr) -> Option<Ordering> { in partial_cmp() method
270 IpAddr::V4(v4) => self.partial_cmp(v4), in partial_cmp()
485 fn partial_cmp(&self, other: &Ipv6Addr) -> Option<Ordering> { in partial_cmp() method
490 fn partial_cmp(&self, other: &Ipv6Addr) -> Option<Ordering> { in partial_cmp() method
493 IpAddr::V6(v6) => v6.partial_cmp(other), in partial_cmp()
498 fn partial_cmp(&self, other: &IpAddr) -> Option<Ordering> { in partial_cmp() method
501 IpAddr::V6(v6) => self.partial_cmp(v6), in partial_cmp()
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/bstr-1.11.0/src/
Dimpls.rs66 fn partial_cmp(&self, other: &$rhs) -> Option<Ordering> {
68 PartialOrd::partial_cmp(self.as_bytes(), other)
74 fn partial_cmp(&self, other: &$lhs) -> Option<Ordering> {
76 PartialOrd::partial_cmp(this, other.as_bytes())
86 fn partial_cmp(&self, other: &$rhs) -> Option<Ordering> {
88 PartialOrd::partial_cmp(self.as_bytes(), other)
94 fn partial_cmp(&self, other: &$lhs) -> Option<Ordering> {
96 PartialOrd::partial_cmp(this, other.as_bytes())
423 fn partial_cmp(&self, other: &BString) -> Option<Ordering> { in partial_cmp() method
424 PartialOrd::partial_cmp(self.as_bytes(), other.as_bytes()) in partial_cmp()
[all …]
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/bstr-1.11.0/src/
Dimpls.rs66 fn partial_cmp(&self, other: &$rhs) -> Option<Ordering> {
68 PartialOrd::partial_cmp(self.as_bytes(), other)
74 fn partial_cmp(&self, other: &$lhs) -> Option<Ordering> {
76 PartialOrd::partial_cmp(this, other.as_bytes())
86 fn partial_cmp(&self, other: &$rhs) -> Option<Ordering> {
88 PartialOrd::partial_cmp(self.as_bytes(), other)
94 fn partial_cmp(&self, other: &$lhs) -> Option<Ordering> {
96 PartialOrd::partial_cmp(this, other.as_bytes())
423 fn partial_cmp(&self, other: &BString) -> Option<Ordering> { in partial_cmp() method
424 PartialOrd::partial_cmp(self.as_bytes(), other.as_bytes()) in partial_cmp()
[all …]
/external/rust/android-crates-io/crates/ciborium/src/value/
Dcanonical.rs51 (Tag(t, v), Tag(ot, ov)) => match Value::from(*t).partial_cmp(&Value::from(*ot)) { in cmp_value()
52 Some(Ordering::Equal) | None => match v.partial_cmp(ov) { in cmp_value()
121 fn partial_cmp(&self, other: &Self) -> Option<Ordering> { in partial_cmp() method

12345678910>>...12