/external/mockito/src/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 refle… 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 refle… in reflectionEquals() argument 223 if (lhs == rhs) { in reflectionEquals() [all …]
|
/external/toybox/toys/pending/ |
D | expr.c | 74 static int cmp(struct value *lhs, struct value *rhs) in cmp() argument 76 if (lhs->s || rhs->s) { in cmp() 78 char *ls = lhs->s ? lhs->s : num_to_str(lhs->i); in cmp() 81 } else return lhs->i - rhs->i; in cmp() 84 static void re(struct value *lhs, struct value *rhs) in re() argument 90 if (!regexec(&rp, lhs->s, 2, rm, 0) && rm[0].rm_so == 0) { in re() 92 lhs->s = xmprintf("%.*s", rm[1].rm_eo - rm[1].rm_so, lhs->s+rm[1].rm_so); in re() 94 lhs->i = rm[0].rm_eo; in re() 95 lhs->s = 0; in re() 99 lhs->i = 0; in re() [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/clang/test/CodeGen/ |
D | arm64_neon_high_half.c | 6 int16x8_t test_vaddw_high_s8(int16x8_t lhs, int8x16_t rhs) { in test_vaddw_high_s8() argument 8 return vaddw_high_s8(lhs, rhs); in test_vaddw_high_s8() 11 int32x4_t test_vaddw_high_s16(int32x4_t lhs, int16x8_t rhs) { in test_vaddw_high_s16() argument 13 return vaddw_high_s16(lhs, rhs); in test_vaddw_high_s16() 16 int64x2_t test_vaddw_high_s32(int64x2_t lhs, int32x4_t rhs) { in test_vaddw_high_s32() argument 18 return vaddw_high_s32(lhs, rhs); in test_vaddw_high_s32() 21 uint16x8_t test_vaddw_high_u8(uint16x8_t lhs, uint8x16_t rhs) { in test_vaddw_high_u8() argument 23 return vaddw_high_u8(lhs, rhs); in test_vaddw_high_u8() 26 uint32x4_t test_vaddw_high_u16(uint32x4_t lhs, uint16x8_t rhs) { in test_vaddw_high_u16() argument 28 return vaddw_high_u16(lhs, rhs); in test_vaddw_high_u16() [all …]
|
/external/v8/test/unittests/runtime/ |
D | runtime-interpreter-unittest.cc | 24 bool TestOperatorWithObjects(RuntimeMethod method, Handle<Object> lhs, 26 bool TestOperator(RuntimeMethod method, int32_t lhs, int32_t rhs, 28 bool TestOperator(RuntimeMethod method, double lhs, double rhs, 30 bool TestOperator(RuntimeMethod method, const char* lhs, const char* rhs, 36 Handle<Object> lhs, in TestOperatorWithObjects() argument 39 Object* args_object[] = {*rhs, *lhs}; in TestOperatorWithObjects() 47 bool RuntimeInterpreterTest::TestOperator(RuntimeMethod method, int32_t lhs, in TestOperator() argument 49 Handle<Object> x = isolate()->factory()->NewNumberFromInt(lhs); in TestOperator() 55 bool RuntimeInterpreterTest::TestOperator(RuntimeMethod method, double lhs, in TestOperator() argument 57 Handle<Object> x = isolate()->factory()->NewNumber(lhs); in TestOperator() [all …]
|
/external/v8/src/runtime/ |
D | runtime-operators.cc | 15 CONVERT_ARG_HANDLE_CHECKED(Object, lhs, 0); in RUNTIME_FUNCTION() 19 Object::Multiply(isolate, lhs, rhs)); in RUNTIME_FUNCTION() 27 CONVERT_ARG_HANDLE_CHECKED(Object, lhs, 0); in RUNTIME_FUNCTION() 31 isolate, result, Object::Multiply(isolate, lhs, rhs, Strength::STRONG)); in RUNTIME_FUNCTION() 39 CONVERT_ARG_HANDLE_CHECKED(Object, lhs, 0); in RUNTIME_FUNCTION() 43 Object::Divide(isolate, lhs, rhs)); in RUNTIME_FUNCTION() 51 CONVERT_ARG_HANDLE_CHECKED(Object, lhs, 0); in RUNTIME_FUNCTION() 55 isolate, result, Object::Divide(isolate, lhs, rhs, Strength::STRONG)); in RUNTIME_FUNCTION() 63 CONVERT_ARG_HANDLE_CHECKED(Object, lhs, 0); in RUNTIME_FUNCTION() 67 Object::Modulus(isolate, lhs, rhs)); in RUNTIME_FUNCTION() [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 …]
|
D | WebAssemblyInstrFormats.td | 41 def _I32 : I<(outs I32:$dst), (ins I32:$lhs, I32:$rhs), 42 [(set I32:$dst, (node I32:$lhs, I32:$rhs))], 43 !strconcat("i32.", !strconcat(name, "\t$dst, $lhs, $rhs"))>; 44 def _I64 : I<(outs I64:$dst), (ins I64:$lhs, I64:$rhs), 45 [(set I64:$dst, (node I64:$lhs, I64:$rhs))], 46 !strconcat("i64.", !strconcat(name, "\t$dst, $lhs, $rhs"))>; 57 def _F32 : I<(outs F32:$dst), (ins F32:$lhs, F32:$rhs), 58 [(set F32:$dst, (node F32:$lhs, F32:$rhs))], 59 !strconcat("f32.", !strconcat(name, "\t$dst, $lhs, $rhs"))>; 60 def _F64 : I<(outs F64:$dst), (ins F64:$lhs, F64:$rhs), [all …]
|
/external/v8/src/base/ |
D | logging.h | 57 #define CHECK_OP(name, op, lhs, rhs) \ argument 60 (lhs), (rhs), #lhs " " #op " " #rhs)) { \ 71 #define CHECK_OP(name, op, lhs, rhs) CHECK((lhs)op(rhs)) 81 std::string* MakeCheckOpString(Lhs const& lhs, Rhs const& rhs, in MakeCheckOpString() argument 84 ss << msg << " (" << lhs << " vs. " << rhs << ")"; in MakeCheckOpString() 112 V8_INLINE std::string* Check##NAME##Impl(Lhs const& lhs, Rhs const& rhs, \ 114 return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ 116 V8_INLINE std::string* Check##NAME##Impl(int lhs, int rhs, \ 118 return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ 121 float const& lhs, float const& rhs, char const* msg); \ [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 …]
|
D | bits.h | 190 inline bool SignedAddOverflow32(int32_t lhs, int32_t rhs, int32_t* val) { in SignedAddOverflow32() argument 192 return __builtin_sadd_overflow(lhs, rhs, val); in SignedAddOverflow32() 194 uint32_t res = static_cast<uint32_t>(lhs) + static_cast<uint32_t>(rhs); in SignedAddOverflow32() 196 return ((res ^ lhs) & (res ^ rhs) & (1U << 31)) != 0; in SignedAddOverflow32() 204 inline bool SignedSubOverflow32(int32_t lhs, int32_t rhs, int32_t* val) { in SignedSubOverflow32() argument 206 return __builtin_ssub_overflow(lhs, rhs, val); in SignedSubOverflow32() 208 uint32_t res = static_cast<uint32_t>(lhs) - static_cast<uint32_t>(rhs); in SignedSubOverflow32() 210 return ((res ^ lhs) & (res ^ ~rhs) & (1U << 31)) != 0; in SignedSubOverflow32() 218 inline bool SignedAddOverflow64(int64_t lhs, int64_t rhs, int64_t* val) { in SignedAddOverflow64() argument 219 uint64_t res = static_cast<uint64_t>(lhs) + static_cast<uint64_t>(rhs); in SignedAddOverflow64() [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/libcxx/test/std/numerics/complex.number/complex.ops/ |
D | complex_equals_scalar.pass.cpp | 25 constexpr std::complex<T> lhs(1.5, 2.5); in test_constexpr() local 27 static_assert(!(lhs == rhs), ""); in test_constexpr() 30 constexpr std::complex<T> lhs(1.5, 0); in test_constexpr() local 32 static_assert(!(lhs == rhs), ""); in test_constexpr() 35 constexpr std::complex<T> lhs(1.5, 2.5); in test_constexpr() local 37 static_assert(!(lhs == rhs), ""); in test_constexpr() 40 constexpr std::complex<T> lhs(1.5, 0); in test_constexpr() local 42 static_assert( (lhs == rhs), ""); in test_constexpr() 52 std::complex<T> lhs(1.5, 2.5); in test() local 54 assert(!(lhs == rhs)); in test() [all …]
|
D | scalar_not_equals_complex.pass.cpp | 25 constexpr T lhs(-2.5); in test_constexpr() local 27 static_assert (lhs != rhs, ""); in test_constexpr() 30 constexpr T lhs(-2.5); in test_constexpr() local 32 static_assert (lhs != rhs, ""); in test_constexpr() 35 constexpr T lhs(1.5); in test_constexpr() local 37 static_assert (lhs != rhs, ""); in test_constexpr() 40 constexpr T lhs(1.5); in test_constexpr() local 42 static_assert (!(lhs != rhs), ""); in test_constexpr() 52 T lhs(-2.5); in test() local 54 assert (lhs != rhs); in test() [all …]
|
D | complex_not_equals_scalar.pass.cpp | 25 constexpr std::complex<T> lhs(1.5, 2.5); in test_constexpr() local 27 static_assert(lhs != rhs, ""); in test_constexpr() 30 constexpr std::complex<T> lhs(1.5, 0); in test_constexpr() local 32 static_assert(lhs != rhs, ""); in test_constexpr() 35 constexpr std::complex<T> lhs(1.5, 2.5); in test_constexpr() local 37 static_assert(lhs != rhs, ""); in test_constexpr() 40 constexpr std::complex<T> lhs(1.5, 0); in test_constexpr() local 42 static_assert( !(lhs != rhs), ""); in test_constexpr() 52 std::complex<T> lhs(1.5, 2.5); in test() local 54 assert(lhs != rhs); in test() [all …]
|
D | scalar_equals_complex.pass.cpp | 25 constexpr T lhs(-2.5); in test_constexpr() local 27 static_assert(!(lhs == rhs), ""); in test_constexpr() 30 constexpr T lhs(-2.5); in test_constexpr() local 32 static_assert(!(lhs == rhs), ""); in test_constexpr() 35 constexpr T lhs(1.5); in test_constexpr() local 37 static_assert(!(lhs == rhs), ""); in test_constexpr() 40 constexpr T lhs(1.5); in test_constexpr() local 42 static_assert(lhs == rhs, ""); in test_constexpr() 52 T lhs(-2.5); in test() local 54 assert(!(lhs == rhs)); in test() [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 …]
|
D | copy.pass.cpp | 35 any lhs(LHS(1)); in test_copy_assign() local 42 lhs = rhs; in test_copy_assign() 48 assertContains<RHS>(lhs, 2); in test_copy_assign() 60 any lhs; in test_copy_assign_empty() local 66 lhs = rhs; in test_copy_assign_empty() 71 assertContains<LHS>(lhs, 42); in test_copy_assign_empty() 77 any lhs(LHS(1)); in test_copy_assign_empty() local 83 lhs = rhs; in test_copy_assign_empty() 88 assertEmpty<LHS>(lhs); in test_copy_assign_empty() 136 [](any& lhs, any const& rhs) { in test_copy_assign_throws() argument [all …]
|
/external/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/llvm/lib/Target/Hexagon/ |
D | HexagonSelectCCInfo.td | 14 def : Pat <(i32 (selectcc IntRegs:$lhs, IntRegs:$rhs, IntRegs:$tval, 16 (i32 (MUX_rr (i1 (CMPEQrr IntRegs:$lhs, IntRegs:$rhs)), 19 def : Pat <(i32 (selectcc IntRegs:$lhs, IntRegs:$rhs, IntRegs:$tval, 21 (i32 (MUX_rr (i1 (NOT_p (CMPEQrr IntRegs:$lhs, IntRegs:$rhs))), 24 def : Pat <(i32 (selectcc IntRegs:$lhs, IntRegs:$rhs, IntRegs:$tval, 26 (i32 (MUX_rr (i1 (CMPGTrr IntRegs:$lhs, IntRegs:$rhs)), 29 def : Pat <(i32 (selectcc IntRegs:$lhs, IntRegs:$rhs, IntRegs:$tval, 31 (i32 (MUX_rr (i1 (CMPGTUrr IntRegs:$lhs, IntRegs:$rhs)), 36 def : Pat <(i32 (selectcc IntRegs:$lhs, IntRegs:$rhs, IntRegs:$tval, 38 (i32 (MUX_rr (i1 (NOT_p (CMPGTUrr IntRegs:$lhs, [all …]
|
/external/ltrace/ |
D | expr.c | 32 node->lhs = NULL; in expr_init_common() 78 struct expr_node *lhs, int own_lhs, in expr_init_index() argument 82 node->lhs = lhs; in expr_init_index() 89 expr_init_up(struct expr_node *node, struct expr_node *lhs, int own_lhs) in expr_init_up() argument 91 assert(lhs != NULL); in expr_init_up() 93 node->lhs = lhs; in expr_init_up() 101 struct expr_node *lhs, int own_lhs, void *data) in expr_init_cb1() argument 104 node->lhs = lhs; in expr_init_cb1() 113 struct value *lhs, struct value *rhs, in expr_init_cb2() argument 115 struct expr_node *lhs, int own_lhs, in expr_init_cb2() argument [all …]
|
/external/skia/tools/ |
D | skdiff.h | 162 const DiffRecord* lhs = *reinterpret_cast<DiffRecord* const *>(untyped_lhs); in compare() local 167 if (lhs->fResult != rhs->fResult) { in compare() 168 return (lhs->fResult < rhs->fResult) ? 1 : -1; in compare() 172 int result = T::comparePixels(lhs, rhs); in compare() 179 return strcmp(lhs->fBase.fFilename.c_str(), rhs->fBase.fFilename.c_str()); in compare() 186 static int comparePixels(const DiffRecord* lhs, const DiffRecord* rhs) { in comparePixels() argument 187 if (lhs->fFractionDifference < rhs->fFractionDifference) { in comparePixels() 190 if (rhs->fFractionDifference < lhs->fFractionDifference) { in comparePixels() 199 static int comparePixels(const DiffRecord* lhs, const DiffRecord* rhs) { in comparePixels() argument 200 if (lhs->fWeightedFraction < rhs->fWeightedFraction) { in comparePixels() [all …]
|