/external/mockito/src/main/java/org/mockito/internal/matchers/apachecommons/ |
D | EqualsBuilder.java | 115 public static boolean reflectionEquals(Object lhs, Object rhs) { in reflectionEquals() argument 116 return reflectionEquals(lhs, rhs, false, null, null); in reflectionEquals() 138 public static boolean reflectionEquals(Object lhs, Object rhs, String[] excludeFields) { in reflectionEquals() argument 139 return reflectionEquals(lhs, rhs, false, null, excludeFields); in reflectionEquals() 162 public static boolean reflectionEquals(Object lhs, Object rhs, boolean testTransients) { in reflectionEquals() argument 163 return reflectionEquals(lhs, rhs, testTransients, null, null); in reflectionEquals() 191 …public static boolean reflectionEquals(Object lhs, Object rhs, boolean testTransients, Class<?> re… in reflectionEquals() argument 192 return reflectionEquals(lhs, rhs, testTransients, reflectUpToClass, null); in reflectionEquals() 221 …public static boolean reflectionEquals(Object lhs, Object rhs, boolean testTransients, Class<?> re… in reflectionEquals() argument 223 if (lhs == rhs) { in reflectionEquals() [all …]
|
/external/clang/test/Analysis/ |
D | ptr-arith.c | 171 void use_symbols(int *lhs, int *rhs) { in use_symbols() argument 172 clang_analyzer_eval(lhs < rhs); // expected-warning{{UNKNOWN}} in use_symbols() 173 if (lhs < rhs) in use_symbols() 175 clang_analyzer_eval(lhs < rhs); // expected-warning{{FALSE}} in use_symbols() 177 clang_analyzer_eval(lhs - rhs); // expected-warning{{UNKNOWN}} in use_symbols() 178 if ((lhs - rhs) != 5) in use_symbols() 180 clang_analyzer_eval((lhs - rhs) == 5); // expected-warning{{TRUE}} in use_symbols() 183 void equal_implies_zero(int *lhs, int *rhs) { in equal_implies_zero() argument 184 clang_analyzer_eval(lhs == rhs); // expected-warning{{UNKNOWN}} in equal_implies_zero() 185 if (lhs == rhs) { in equal_implies_zero() [all …]
|
/external/v8/src/base/ |
D | logging.h | 58 #define CHECK_OP(name, op, lhs, rhs) \ argument 61 ::v8::base::Check##name##Impl<decltype(lhs), decltype(rhs)>( \ 62 (lhs), (rhs), #lhs " " #op " " #rhs)) { \ 73 #define CHECK_OP(name, op, lhs, rhs) \ 76 ::v8::base::Cmp##name##Impl<decltype(lhs), decltype(rhs)>(lhs, rhs); \ 77 CHECK_WITH_MSG(_cmp, #lhs " " #op " " #rhs); \ 96 std::string* MakeCheckOpString(typename PassType<Lhs>::type lhs, in MakeCheckOpString() argument 100 ss << msg << " (" << lhs << " vs. " << rhs << ")"; in MakeCheckOpString() 140 Cmp##NAME##Impl(Lhs const& lhs, Rhs const& rhs) { \ 144 lhs >= 0 && MAKE_UNSIGNED(Lhs, lhs) == rhs) [all …]
|
D | flags.h | 81 Type::flag_type lhs, \ 83 inline Type operator&(Type::flag_type lhs, Type::flag_type rhs) { \ 84 return Type(lhs) & rhs; \ 86 inline Type operator&(Type::flag_type lhs, \ 88 inline Type operator&(Type::flag_type lhs, const Type& rhs) { \ 89 return rhs & lhs; \ 91 inline void operator&(Type::flag_type lhs, \ 93 inline void operator&(Type::flag_type lhs, Type::mask_type rhs) {} \ 94 inline Type operator|(Type::flag_type lhs, Type::flag_type rhs) \ 96 inline Type operator|(Type::flag_type lhs, Type::flag_type rhs) { \ [all …]
|
/external/gemmlowp/meta/ |
D | quantized_mul_kernels_arm_64.h | 29 8>::Multiply(const uint8_t* lhs, const uint8_t* rhs, in Multiply() argument 90 : [rhs] "+r"(rhs), [lhs] "+r"(lhs), [result] "+r"(result) in Multiply() 102 8>::Multiply(const uint8_t* lhs, const uint8_t* rhs, in Multiply() argument 166 : [rhs] "+r"(rhs), [lhs] "+r"(lhs), [result] "+r"(result) in Multiply() 178 8>::Multiply(const uint8_t* lhs, const uint8_t* rhs, in Multiply() argument 247 : [rhs] "+r"(rhs), [lhs] "+r"(lhs), [result] "+r"(result) in Multiply() 260 8>::Multiply(const uint8_t* lhs, const uint8_t* rhs, in Multiply() argument 331 : [rhs] "+r"(rhs), [lhs] "+r"(lhs), [result] "+r"(result) in Multiply() 344 8>::Multiply(const uint8_t* lhs, const uint8_t* rhs, in Multiply() argument 428 : [rhs] "+r"(rhs), [lhs] "+r"(lhs), [result] "+r"(result) in Multiply() [all …]
|
D | quantized_mul_kernels_arm_32.h | 29 8>::Multiply(const uint8_t* lhs, const uint8_t* rhs, in Multiply() argument 90 : [rhs] "+r"(rhs), [lhs] "+r"(lhs), [result] "+r"(result) in Multiply() 103 8>::Multiply(const uint8_t* lhs, const uint8_t* rhs, in Multiply() argument 168 : [rhs] "+r"(rhs), [lhs] "+r"(lhs), [result] "+r"(result) in Multiply() 181 8>::Multiply(const uint8_t* lhs, const uint8_t* rhs, in Multiply() argument 252 : [rhs] "+r"(rhs), [lhs] "+r"(lhs), [result] "+r"(result) in Multiply() 265 8>::Multiply(const uint8_t* lhs, const uint8_t* rhs, in Multiply() argument 339 : [rhs] "+r"(rhs), [lhs] "+r"(lhs), [result] "+r"(result) in Multiply() 353 8>::Multiply(const uint8_t* lhs, const uint8_t* rhs, in Multiply() argument 440 : [rhs] "+r"(rhs), [lhs] "+r"(lhs), [result] "+r"(result) in Multiply() [all …]
|
/external/swiftshader/src/Reactor/ |
D | LLVMReactor.cpp | 409 Value *Nucleus::createAdd(Value *lhs, Value *rhs) in createAdd() argument 411 return V(::builder->CreateAdd(lhs, rhs)); in createAdd() 414 Value *Nucleus::createSub(Value *lhs, Value *rhs) in createSub() argument 416 return V(::builder->CreateSub(lhs, rhs)); in createSub() 419 Value *Nucleus::createMul(Value *lhs, Value *rhs) in createMul() argument 421 return V(::builder->CreateMul(lhs, rhs)); in createMul() 424 Value *Nucleus::createUDiv(Value *lhs, Value *rhs) in createUDiv() argument 426 return V(::builder->CreateUDiv(lhs, rhs)); in createUDiv() 429 Value *Nucleus::createSDiv(Value *lhs, Value *rhs) in createSDiv() argument 431 return V(::builder->CreateSDiv(lhs, rhs)); in createSDiv() [all …]
|
D | SubzeroReactor.cpp | 710 static Value *createArithmetic(Ice::InstArithmetic::OpKind op, Value *lhs, Value *rhs) in createArithmetic() argument 712 …assert(lhs->getType() == rhs->getType() || (llvm::isa<Ice::Constant>(rhs) && (op == Ice::InstArith… in createArithmetic() 714 bool swapOperands = llvm::isa<Ice::Constant>(lhs) && isCommutative(op); in createArithmetic() 716 Ice::Variable *result = ::function->makeVariable(lhs->getType()); in createArithmetic() 717 …InstArithmetic::create(::function, op, result, swapOperands ? rhs : lhs, swapOperands ? lhs : rhs); in createArithmetic() 723 Value *Nucleus::createAdd(Value *lhs, Value *rhs) in createAdd() argument 725 return createArithmetic(Ice::InstArithmetic::Add, lhs, rhs); in createAdd() 728 Value *Nucleus::createSub(Value *lhs, Value *rhs) in createSub() argument 730 return createArithmetic(Ice::InstArithmetic::Sub, lhs, rhs); in createSub() 733 Value *Nucleus::createMul(Value *lhs, Value *rhs) in createMul() argument [all …]
|
D | Nucleus.hpp | 73 static Value *createAdd(Value *lhs, Value *rhs); 74 static Value *createSub(Value *lhs, Value *rhs); 75 static Value *createMul(Value *lhs, Value *rhs); 76 static Value *createUDiv(Value *lhs, Value *rhs); 77 static Value *createSDiv(Value *lhs, Value *rhs); 78 static Value *createFAdd(Value *lhs, Value *rhs); 79 static Value *createFSub(Value *lhs, Value *rhs); 80 static Value *createFMul(Value *lhs, Value *rhs); 81 static Value *createFDiv(Value *lhs, Value *rhs); 82 static Value *createURem(Value *lhs, Value *rhs); [all …]
|
/external/libchrome/base/ |
D | version_unittest.cc | 81 const char* lhs; in TEST() member 99 Version lhs(cases[i].lhs); in TEST() local 101 EXPECT_EQ(lhs.CompareTo(rhs), cases[i].expected) << in TEST() 102 cases[i].lhs << " ? " << cases[i].rhs; in TEST() 107 EXPECT_LT(lhs, rhs); in TEST() 108 EXPECT_LE(lhs, rhs); in TEST() 109 EXPECT_NE(lhs, rhs); in TEST() 110 EXPECT_FALSE(lhs == rhs); in TEST() 111 EXPECT_FALSE(lhs >= rhs); in TEST() 112 EXPECT_FALSE(lhs > rhs); in TEST() [all …]
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyInstrFloat.td | 42 def : Pat<(fcopysign F64:$lhs, F32:$rhs), 43 (COPYSIGN_F64 F64:$lhs, (F64_PROMOTE_F32 F32:$rhs))>; 44 def : Pat<(fcopysign F32:$lhs, F64:$rhs), 45 (COPYSIGN_F32 F32:$lhs, (F32_DEMOTE_F64 F64:$rhs))>; 65 def : Pat<(seteq f32:$lhs, f32:$rhs), (EQ_F32 f32:$lhs, f32:$rhs)>; 66 def : Pat<(setne f32:$lhs, f32:$rhs), (NE_F32 f32:$lhs, f32:$rhs)>; 67 def : Pat<(setlt f32:$lhs, f32:$rhs), (LT_F32 f32:$lhs, f32:$rhs)>; 68 def : Pat<(setle f32:$lhs, f32:$rhs), (LE_F32 f32:$lhs, f32:$rhs)>; 69 def : Pat<(setgt f32:$lhs, f32:$rhs), (GT_F32 f32:$lhs, f32:$rhs)>; 70 def : Pat<(setge f32:$lhs, f32:$rhs), (GE_F32 f32:$lhs, f32:$rhs)>; [all …]
|
/external/llvm/test/CodeGen/AArch64/ |
D | combine-comparisons-by-cse.ll | 20 br i1 %cmp, label %land.lhs.true, label %lor.lhs.false 22 land.lhs.true: ; preds = %entry 26 br i1 %cmp1, label %return, label %land.lhs.true3 28 lor.lhs.false: ; preds = %entry 30 br i1 %cmp2, label %land.lhs.true3, label %if.end 32 land.lhs.true3: ; preds = %lor.lhs.false, %land.lhs.true 38 if.end: ; preds = %land.lhs.true3, %lor.lhs.false 41 return: ; preds = %if.end, %land.lhs.true3, %land.lhs.true 42 %retval.0 = phi i32 [ 0, %if.end ], [ 1, %land.lhs.true3 ], [ 1, %land.lhs.true ] 57 br i1 %cmp, label %land.lhs.true, label %lor.lhs.false [all …]
|
D | arm64-fp128.ll | 3 @lhs = global fp128 zeroinitializer, align 16 9 %lhs = load fp128, fp128* @lhs, align 16 11 ; CHECK: ldr q0, [{{x[0-9]+}}, :lo12:lhs] 14 %val = fadd fp128 %lhs, %rhs 22 %lhs = load fp128, fp128* @lhs, align 16 24 ; CHECK: ldr q0, [{{x[0-9]+}}, :lo12:lhs] 27 %val = fsub fp128 %lhs, %rhs 35 %lhs = load fp128, fp128* @lhs, align 16 37 ; CHECK: ldr q0, [{{x[0-9]+}}, :lo12:lhs] 40 %val = fmul fp128 %lhs, %rhs [all …]
|
D | arm64-neon-aba-abd.ll | 6 define <8 x i8> @test_uabd_v8i8(<8 x i8> %lhs, <8 x i8> %rhs) { 8 %abd = call <8 x i8> @llvm.aarch64.neon.uabd.v8i8(<8 x i8> %lhs, <8 x i8> %rhs) 13 define <8 x i8> @test_uaba_v8i8(<8 x i8> %lhs, <8 x i8> %rhs) { 15 %abd = call <8 x i8> @llvm.aarch64.neon.uabd.v8i8(<8 x i8> %lhs, <8 x i8> %rhs) 16 %aba = add <8 x i8> %lhs, %abd 21 define <8 x i8> @test_sabd_v8i8(<8 x i8> %lhs, <8 x i8> %rhs) { 23 %abd = call <8 x i8> @llvm.aarch64.neon.sabd.v8i8(<8 x i8> %lhs, <8 x i8> %rhs) 28 define <8 x i8> @test_saba_v8i8(<8 x i8> %lhs, <8 x i8> %rhs) { 30 %abd = call <8 x i8> @llvm.aarch64.neon.sabd.v8i8(<8 x i8> %lhs, <8 x i8> %rhs) 31 %aba = add <8 x i8> %lhs, %abd [all …]
|
/external/v8/src/compiler/ |
D | operation-typer.cc | 217 Type* OperationTyper::MultiplyRanger(Type* lhs, Type* rhs) { in MultiplyRanger() argument 219 double lmin = lhs->AsRange()->Min(); in MultiplyRanger() 220 double lmax = lhs->AsRange()->Max(); in MultiplyRanger() 231 bool maybe_nan = (lhs->Maybe(cache_.kSingletonZero) && in MultiplyRanger() 236 bool maybe_minuszero = (lhs->Maybe(cache_.kSingletonZero) && rmin < 0) || in MultiplyRanger() 510 Type* OperationTyper::NumberAdd(Type* lhs, Type* rhs) { in NumberAdd() argument 511 DCHECK(lhs->Is(Type::Number())); in NumberAdd() 514 if (!lhs->IsInhabited() || !rhs->IsInhabited()) { in NumberAdd() 520 bool maybe_nan = lhs->Maybe(Type::NaN()) || rhs->Maybe(Type::NaN()); in NumberAdd() 524 if (lhs->Maybe(Type::MinusZero())) { in NumberAdd() [all …]
|
/external/libcxx/test/std/numerics/complex.number/complex.ops/ |
D | scalar_not_equals_complex.pass.cpp | 27 constexpr T lhs(-2.5); in test_constexpr() local 29 static_assert (lhs != rhs, ""); in test_constexpr() 32 constexpr T lhs(-2.5); in test_constexpr() local 34 static_assert (lhs != rhs, ""); in test_constexpr() 37 constexpr T lhs(1.5); in test_constexpr() local 39 static_assert (lhs != rhs, ""); in test_constexpr() 42 constexpr T lhs(1.5); in test_constexpr() local 44 static_assert (!(lhs != rhs), ""); in test_constexpr() 54 T lhs(-2.5); in test() local 56 assert (lhs != rhs); in test() [all …]
|
D | complex_equals_scalar.pass.cpp | 27 constexpr std::complex<T> lhs(1.5, 2.5); in test_constexpr() local 29 static_assert(!(lhs == rhs), ""); in test_constexpr() 32 constexpr std::complex<T> lhs(1.5, 0); in test_constexpr() local 34 static_assert(!(lhs == rhs), ""); in test_constexpr() 37 constexpr std::complex<T> lhs(1.5, 2.5); in test_constexpr() local 39 static_assert(!(lhs == rhs), ""); in test_constexpr() 42 constexpr std::complex<T> lhs(1.5, 0); in test_constexpr() local 44 static_assert( (lhs == rhs), ""); in test_constexpr() 54 std::complex<T> lhs(1.5, 2.5); in test() local 56 assert(!(lhs == rhs)); in test() [all …]
|
D | complex_not_equals_scalar.pass.cpp | 27 constexpr std::complex<T> lhs(1.5, 2.5); in test_constexpr() local 29 static_assert(lhs != rhs, ""); in test_constexpr() 32 constexpr std::complex<T> lhs(1.5, 0); in test_constexpr() local 34 static_assert(lhs != rhs, ""); in test_constexpr() 37 constexpr std::complex<T> lhs(1.5, 2.5); in test_constexpr() local 39 static_assert(lhs != rhs, ""); in test_constexpr() 42 constexpr std::complex<T> lhs(1.5, 0); in test_constexpr() local 44 static_assert( !(lhs != rhs), ""); in test_constexpr() 54 std::complex<T> lhs(1.5, 2.5); in test() local 56 assert(lhs != rhs); in test() [all …]
|
D | scalar_equals_complex.pass.cpp | 27 constexpr T lhs(-2.5); in test_constexpr() local 29 static_assert(!(lhs == rhs), ""); in test_constexpr() 32 constexpr T lhs(-2.5); in test_constexpr() local 34 static_assert(!(lhs == rhs), ""); in test_constexpr() 37 constexpr T lhs(1.5); in test_constexpr() local 39 static_assert(!(lhs == rhs), ""); in test_constexpr() 42 constexpr T lhs(1.5); in test_constexpr() local 44 static_assert(lhs == rhs, ""); in test_constexpr() 54 T lhs(-2.5); in test() local 56 assert(!(lhs == rhs)); in test() [all …]
|
/external/gemmlowp/internal/ |
D | simd_wrappers_common_neon_sse.h | 197 static RegBlockInt32<4, 1> Run(const RegBlockInt32<4, 1>& lhs, 200 result.buf.reg[0] = Add(lhs.buf.reg[0], Dup<Int32x4>(rhs.buf.reg[0])); 208 static RegBlockInt32<1, 4> Run(const RegBlockInt32<1, 4>& lhs, 211 result.buf.reg[0] = Add(lhs.buf.reg[0], Dup<Int32x4>(rhs.buf.reg[0])); 219 static RegBlockInt32<4, 1> Run(const RegBlockInt32<4, 1>& lhs, 222 result.buf.reg[0] = Add(lhs.buf.reg[0], rhs.buf.reg[0]); 230 static RegBlockInt32<1, 4> Run(const RegBlockInt32<1, 4>& lhs, 233 result.buf.reg[0] = Add(lhs.buf.reg[0], rhs.buf.reg[0]); 241 static RegBlockInt32<4, 4> Run(const RegBlockInt32<4, 4>& lhs, 244 result.buf.reg[0] = Add(lhs.buf.reg[0], DupLane<0>(rhs.buf.reg[0])); [all …]
|
/external/webrtc/webrtc/system_wrappers/include/ |
D | tick_util.h | 62 friend TickTime operator+(const TickTime lhs, const int64_t ticks); 66 friend TickInterval operator-(const TickTime& lhs, const TickTime& rhs); 84 friend TickInterval operator+(const TickInterval& lhs, 89 friend TickInterval operator-(const TickInterval& lhs, 93 friend bool operator>(const TickInterval& lhs, const TickInterval& rhs); 94 friend bool operator<=(const TickInterval& lhs, const TickInterval& rhs); 95 friend bool operator<(const TickInterval& lhs, const TickInterval& rhs); 96 friend bool operator>=(const TickInterval& lhs, const TickInterval& rhs); 100 friend TickInterval operator-(const TickTime& lhs, const TickTime& rhs); 114 inline TickInterval operator+(const TickInterval& lhs, [all …]
|
/external/libcxx/test/std/experimental/any/any.class/any.assign/ |
D | value.pass.cpp | 35 any lhs(LHS(1)); in test_assign_value() local 42 lhs = rhs; in test_assign_value() 48 assertContains<RHS>(lhs, 2); in test_assign_value() 56 any lhs(LHS(1)); in test_assign_value() local 63 lhs = std::move(rhs); in test_assign_value() 70 assertContains<RHS>(lhs, 2); in test_assign_value() 82 any lhs; in test_assign_value_empty() local 87 lhs = rhs; in test_assign_value_empty() 92 assertContains<RHS>(lhs, 42); in test_assign_value_empty() 97 any lhs; in test_assign_value_empty() local [all …]
|
/external/libchrome/base/trace_event/ |
D | heap_profiler_allocation_context.cc | 15 bool operator < (const StackFrame& lhs, const StackFrame& rhs) { in operator <() argument 16 return lhs.value < rhs.value; in operator <() 19 bool operator == (const StackFrame& lhs, const StackFrame& rhs) { in operator ==() argument 20 return lhs.value == rhs.value; in operator ==() 23 bool operator != (const StackFrame& lhs, const StackFrame& rhs) { in operator !=() argument 24 return !(lhs.value == rhs.value); in operator !=() 29 bool operator==(const Backtrace& lhs, const Backtrace& rhs) { in operator ==() argument 30 if (lhs.frame_count != rhs.frame_count) return false; in operator ==() 31 return std::equal(lhs.frames, lhs.frames + lhs.frame_count, rhs.frames); in operator ==() 34 bool operator!=(const Backtrace& lhs, const Backtrace& rhs) { in operator !=() argument [all …]
|
/external/swiftshader/third_party/LLVM/test/CodeGen/Thumb2/ |
D | thumb2-mov.ll | 6 define i32 @t2_const_var2_1_ok_1(i32 %lhs) { 9 %ret = add i32 %lhs, 11206827 ; 0x00ab00ab 13 define i32 @t2_const_var2_1_ok_2(i32 %lhs) { 17 %ret = add i32 %lhs, 11206843 ; 0x00ab00bb 21 define i32 @t2_const_var2_1_ok_3(i32 %lhs) { 25 %ret = add i32 %lhs, 27984043 ; 0x01ab00ab 29 define i32 @t2_const_var2_1_ok_4(i32 %lhs) { 33 %ret = add i32 %lhs, 27984299 ; 0x01ab01ab 37 define i32 @t2_const_var2_1_fail_1(i32 %lhs) { 42 %ret = add i32 %lhs, 28027649 ; 0x01abab01 [all …]
|
/external/libcxx/test/std/utilities/any/any.class/any.assign/ |
D | value.pass.cpp | 36 any lhs(LHS(1)); in test_assign_value() local 43 lhs = rhs; in test_assign_value() 49 assertContains<RHS>(lhs, 2); in test_assign_value() 57 any lhs(LHS(1)); in test_assign_value() local 64 lhs = std::move(rhs); in test_assign_value() 72 assertContains<RHS>(lhs, 2); in test_assign_value() 85 any lhs; in test_assign_value_empty() local 90 lhs = rhs; in test_assign_value_empty() 95 assertContains<RHS>(lhs, 42); in test_assign_value_empty() 100 any lhs; in test_assign_value_empty() local [all …]
|