Lines Matching defs:cmp
28 use std::cmp::Ordering;
321 /// # use std::cmp::Ordering;
329 unsafe { ffi::BN_ucmp(self.as_ptr(), oth.as_ptr()).cmp(&0) }
1186 self.cmp(oth) == Ordering::Equal
1214 Some(self.cmp(oth))
1220 Some(self.cmp(oth.deref()))
1225 fn cmp(&self, oth: &BigNumRef) -> Ordering {
1226 unsafe { ffi::BN_cmp(self.as_ptr(), oth.as_ptr()).cmp(&0) }
1243 fn cmp(&self, oth: &BigNum) -> Ordering {
1244 self.deref().cmp(oth.deref())