/external/rust/crates/num-bigint/src/ |
D | bigint.rs | 17 use self::Sign::{Minus, NoSign, Plus}; 44 Plus, enumerator 54 Minus => Plus, in neg() 56 Plus => Minus, in neg() 126 Plus => self.data.cmp(&other.data), in cmp() 186 NoSign | Plus => { in not() 192 self.sign = if self.data.is_zero() { NoSign } else { Plus }; in not() 205 Plus => -BigInt::from(&self.data + 1u32), in not() 236 sign: Plus, in one() 244 self.sign = Plus; in set_one() [all …]
|
/external/rust/crates/num-bigint/tests/ |
D | bigint_scalar.rs | 2 use num_bigint::Sign::Plus; 24 let a = BigInt::from_slice(Plus, a_vec); in test_scalar_add() 25 let b = BigInt::from_slice(Plus, b_vec); in test_scalar_add() 26 let c = BigInt::from_slice(Plus, c_vec); in test_scalar_add() 50 let a = BigInt::from_slice(Plus, a_vec); in test_scalar_sub() 51 let b = BigInt::from_slice(Plus, b_vec); in test_scalar_sub() 52 let c = BigInt::from_slice(Plus, c_vec); in test_scalar_sub() 76 let a = BigInt::from_slice(Plus, a_vec); in test_scalar_mul() 77 let b = BigInt::from_slice(Plus, b_vec); in test_scalar_mul() 78 let c = BigInt::from_slice(Plus, c_vec); in test_scalar_mul() [all …]
|
D | bigint.rs | 2 use num_bigint::Sign::{Minus, NoSign, Plus}; 28 BigInt::from_bytes_be(Plus, s.as_bytes()), in test_from_bytes_be() 36 assert_eq!(BigInt::from_bytes_be(Plus, &[]), BigInt::zero()); in test_from_bytes_be() 45 assert_eq!((Plus, s.as_bytes()), (sign, &*v)); in test_to_bytes_be() 56 assert_eq!(b.to_bytes_be(), (Plus, vec![1, 0, 0, 0, 0, 0, 0, 2, 0])); in test_to_bytes_be() 63 BigInt::from_bytes_le(Plus, s.as_bytes()), in test_from_bytes_le() 71 assert_eq!(BigInt::from_bytes_le(Plus, &[]), BigInt::zero()); in test_from_bytes_le() 80 assert_eq!((Plus, s.as_bytes()), (sign, &*v)); in test_to_bytes_le() 91 assert_eq!(b.to_bytes_le(), (Plus, vec![0, 2, 0, 0, 0, 0, 0, 0, 1])); in test_to_bytes_le() 202 nums.extend(vs.iter().map(|s| BigInt::from_slice(Plus, *s))); in test_cmp() [all …]
|
/external/rust/crates/num-bigint/src/bigint/ |
D | bits.rs | 2 use super::Sign::{Minus, NoSign, Plus}; 118 (Plus, Plus) => BigInt::from(&self.data & &other.data), in bitand() 119 (Plus, Minus) => self.clone() & other, in bitand() 120 (Minus, Plus) => other.clone() & self, in bitand() 150 (Plus, Plus) => { in bitand_assign() 156 (Plus, Minus) => { in bitand_assign() 160 (Minus, Plus) => { in bitand_assign() 162 self.sign = Plus; in bitand_assign() 258 (Plus, Plus) => BigInt::from(&self.data | &other.data), in bitor() 259 (Plus, Minus) => other.clone() | self, in bitor() [all …]
|
D | convert.rs | 1 use super::Sign::{self, Minus, NoSign, Plus}; 37 Plus in from_str_radix() 48 Plus => self.data.to_i64(), in to_i64() 65 Plus => self.data.to_i128(), in to_i128() 82 Plus => self.data.to_u64(), in to_u64() 91 Plus => self.data.to_u128(), in to_u128() 231 sign: Plus, in from() 245 sign: Plus, in from() 277 sign: Plus, in from() 298 sign: Plus, in to_bigint() [all …]
|
D | addition.rs | 2 use super::Sign::{Minus, NoSign, Plus}; 22 (Plus, Plus) | (Minus, Minus) => BigInt::from_biguint($a.sign, $a_data + $b_data), 24 (Plus, Minus) | (Minus, Plus) => match $a.data.cmp(&$b.data) { 98 Plus => BigInt::from(self.data + other), in add() 123 Plus => BigInt::from(self.data + other), in add() 148 Plus => BigInt::from(self.data + other), in add()
|
D | subtraction.rs | 2 use super::Sign::{Minus, NoSign, Plus}; 21 (Plus, Minus) | (Minus, Plus) => BigInt::from_biguint($a.sign, $a_data + $b_data), 23 (Plus, Plus) | (Minus, Minus) => match $a.data.cmp(&$b.data) { 98 Plus => match self.data.cmp(&From::from(other)) { in sub() 149 Plus => match self.data.cmp(&From::from(other)) { in sub() 174 Plus => match self.data.cmp(&From::from(other)) { in sub()
|
D | multiplication.rs | 2 use super::Sign::{self, Minus, NoSign, Plus}; 18 (Plus, Plus) | (Minus, Minus) => Plus, in mul() 19 (Plus, Minus) | (Minus, Plus) => Minus, in mul()
|
D | power.rs | 2 use super::Sign::{self, Minus, Plus}; 15 Plus in powsign() 88 (false, false) => (Plus, result), in modpow() 89 (true, false) => (Plus, &modulus.data - result), in modpow()
|
D | arbitrary.rs | 11 let sign = if positive { Sign::Plus } else { Sign::Minus }; in arbitrary() 26 let sign = if positive { Sign::Plus } else { Sign::Minus }; in arbitrary() 32 let sign = if positive { Sign::Plus } else { Sign::Minus }; in arbitrary_take_rest()
|
D | serde.rs | 16 Sign::Plus => 1i8.serialize(serializer), in serialize() 30 1 => Ok(Sign::Plus), in deserialize()
|
/external/markdown/MarkdownTest/Tests_2004/ |
D | Ordered and unordered lists.text | 22 + Plus 1 23 + Plus 2 24 + Plus 3 29 + Plus 1 31 + Plus 2 33 + Plus 3
|
D | Backslash escapes.text | 31 Plus: \+ 67 Plus: \+ 102 Plus: `\+`
|
/external/markdown/tests/markdown-test/ |
D | ordered-and-unordered-list.txt | 22 + Plus 1 23 + Plus 2 24 + Plus 3 29 + Plus 1 31 + Plus 2 33 + Plus 3
|
D | backlash-escapes.txt | 31 Plus: \+ 67 Plus: \+ 102 Plus: `\+`
|
/external/markdown/MarkdownTest/Tests_2007/ |
D | Ordered and unordered lists.text | 22 + Plus 1 23 + Plus 2 24 + Plus 3 29 + Plus 1 31 + Plus 2 33 + Plus 3
|
D | Backslash escapes.text | 31 Plus: \+ 67 Plus: \+ 102 Plus: `\+`
|
/external/googletest/googlemock/test/ |
D | gmock-more-actions_test.cc | 1122 ACTION_P(Plus, n) { return arg0 + n; } in ACTION_P() argument 1125 Action<int(int m, bool t)> a1 = Plus(9); in TEST() 1145 Action<std::string(const std::string& s)> a1 = Plus("tail"); in TEST() 1182 ACTION_P3(Plus, m, n, k) { return arg0 + m + n + k; } in ACTION_P3() argument 1185 Action<double(int m, bool t)> a1 = Plus(100, 20, 3.4); in TEST() 1188 Action<std::string(const std::string& s)> a2 = Plus("tail", "-", ">"); in TEST() 1194 ACTION_P4(Plus, p0, p1, p2, p3) { return arg0 + p0 + p1 + p2 + p3; } in ACTION_P4() argument 1197 Action<int(int)> a1 = Plus(1, 2, 3, 4); in TEST() 1201 ACTION_P5(Plus, p0, p1, p2, p3, p4) { return arg0 + p0 + p1 + p2 + p3 + p4; } in ACTION_P5() argument 1204 Action<int(int)> a1 = Plus(1, 2, 3, 4, 5); in TEST() [all …]
|
/external/skia/src/opts/ |
D | SkXfermode_opts.h | 47 XFERMODE(Plus) { return s.saturatedAdd(d); } in XFERMODE() argument 72 XFERMODE_AA(Plus) { // [ clamp( (1-AA)D + (AA)(S+D) ) == clamp(D + AA*S) ] in XFERMODE_AA() argument 124 CASE(Plus); in create_xfermode()
|
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
D | HasPositionalPredChecker.java | 34 import org.apache.xpath.operations.Plus; 104 (pred instanceof Plus) || in visitPredicate()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/AsmParser/ |
D | AVRAsmParser.cpp | 401 if ((Parser.getTok().getKind() == AsmToken::Plus || in tryParseExpression() 440 assert(CurTok == AsmToken::Plus); in tryParseRelocExpression() 445 if (CurTok == AsmToken::Minus || CurTok == AsmToken::Plus) in tryParseRelocExpression() 474 tokens[1].getKind() == AsmToken::Plus) { in tryParseRelocExpression() 485 tokens[1].getKind() == AsmToken::Plus) { in tryParseRelocExpression() 521 case AsmToken::Plus: in parseOperand()
|
/external/rust/crates/num-bigint/src/biguint/ |
D | multiplication.rs | 8 use crate::Sign::{self, Minus, NoSign, Plus}; 206 Plus => { in mac3() 344 Plus => add2(&mut acc[i * j..], result.digits()), in mac3() 393 (Plus, biguint_from_vec(a)) in sub_sign()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/WindowsResource/ |
D | ResourceScriptTokenList.h | 28 SHORT_TOKEN(Plus, '+') // Addition operator.
|
/external/skia/docs/examples/ |
D | Plus.cpp | 5 REG_FIDDLE(Plus, 256, 256, false, 0) {
|
/external/apache-xml/src/main/java/org/apache/xpath/operations/ |
D | Plus.java | 30 public class Plus extends Operation class
|