/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/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/v8/src/compiler/ |
D | operation-typer.cc | 182 Type* OperationTyper::SubtractRanger(RangeType* lhs, RangeType* rhs) { in SubtractRanger() argument 184 results[0] = lhs->Min() - rhs->Min(); in SubtractRanger() 185 results[1] = lhs->Min() - rhs->Max(); in SubtractRanger() 186 results[2] = lhs->Max() - rhs->Min(); in SubtractRanger() 187 results[3] = lhs->Max() - rhs->Max(); in SubtractRanger() 207 Type* OperationTyper::ModulusRanger(RangeType* lhs, RangeType* rhs) { in ModulusRanger() argument 208 double lmin = lhs->Min(); in ModulusRanger() 209 double lmax = lhs->Max(); in ModulusRanger() 237 Type* OperationTyper::MultiplyRanger(Type* lhs, Type* rhs) { in MultiplyRanger() argument 239 double lmin = lhs->AsRange()->Min(); in MultiplyRanger() [all …]
|
/external/lldb/source/Core/ |
D | VMRange.cpp | 62 lldb_private::operator== (const VMRange& lhs, const VMRange& rhs) in operator ==() argument 64 … return lhs.GetBaseAddress() == rhs.GetBaseAddress() && lhs.GetEndAddress() == rhs.GetEndAddress(); in operator ==() 68 lldb_private::operator!= (const VMRange& lhs, const VMRange& rhs) in operator !=() argument 70 … return lhs.GetBaseAddress() != rhs.GetBaseAddress() || lhs.GetEndAddress() != rhs.GetEndAddress(); in operator !=() 74 lldb_private::operator< (const VMRange& lhs, const VMRange& rhs) in operator <() argument 76 if (lhs.GetBaseAddress() < rhs.GetBaseAddress()) in operator <() 78 else if (lhs.GetBaseAddress() > rhs.GetBaseAddress()) in operator <() 80 return lhs.GetEndAddress() < rhs.GetEndAddress(); in operator <() 84 lldb_private::operator<= (const VMRange& lhs, const VMRange& rhs) in operator <=() argument 86 if (lhs.GetBaseAddress() < rhs.GetBaseAddress()) in operator <=() [all …]
|
/external/marisa-trie/lib/marisa/ |
D | marisa-string.h | 48 inline bool operator==(const String &lhs, const String &rhs) { 49 if (lhs.length() != rhs.length()) { 52 for (std::size_t i = 0; i < lhs.length(); ++i) { 53 if (lhs[i] != rhs[i]) { 60 inline bool operator!=(const String &lhs, const String &rhs) { 61 return !(lhs == rhs); 64 inline bool operator<(const String &lhs, const String &rhs) { 65 for (std::size_t i = 0; i < lhs.length(); ++i) { 69 if (lhs[i] != rhs[i]) { 70 return lhs[i] < rhs[i]; [all …]
|
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
D | marisa-string.h | 48 inline bool operator==(const String &lhs, const String &rhs) { 49 if (lhs.length() != rhs.length()) { 52 for (std::size_t i = 0; i < lhs.length(); ++i) { 53 if (lhs[i] != rhs[i]) { 60 inline bool operator!=(const String &lhs, const String &rhs) { 61 return !(lhs == rhs); 64 inline bool operator<(const String &lhs, const String &rhs) { 65 for (std::size_t i = 0; i < lhs.length(); ++i) { 69 if (lhs[i] != rhs[i]) { 70 return lhs[i] < rhs[i]; [all …]
|
/external/v8/src/base/ |
D | logging.h | 60 #define CHECK_OP(name, op, lhs, rhs) \ argument 63 (lhs), (rhs), #lhs " " #op " " #rhs)) { \ 74 #define CHECK_OP(name, op, lhs, rhs) CHECK((lhs)op(rhs)) 84 std::string* MakeCheckOpString(Lhs const& lhs, Rhs const& rhs, in MakeCheckOpString() argument 87 ss << msg << " (" << lhs << " vs. " << rhs << ")"; in MakeCheckOpString() 115 V8_INLINE std::string* Check##NAME##Impl(Lhs const& lhs, Rhs const& rhs, \ 117 return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ 119 V8_INLINE std::string* Check##NAME##Impl(int lhs, int rhs, \ 121 return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ 124 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 | 217 inline bool SignedAddOverflow32(int32_t lhs, int32_t rhs, int32_t* val) { in SignedAddOverflow32() argument 219 return __builtin_sadd_overflow(lhs, rhs, val); in SignedAddOverflow32() 221 uint32_t res = static_cast<uint32_t>(lhs) + static_cast<uint32_t>(rhs); in SignedAddOverflow32() 223 return ((res ^ lhs) & (res ^ rhs) & (1U << 31)) != 0; in SignedAddOverflow32() 231 inline bool SignedSubOverflow32(int32_t lhs, int32_t rhs, int32_t* val) { in SignedSubOverflow32() argument 233 return __builtin_ssub_overflow(lhs, rhs, val); in SignedSubOverflow32() 235 uint32_t res = static_cast<uint32_t>(lhs) - static_cast<uint32_t>(rhs); in SignedSubOverflow32() 237 return ((res ^ lhs) & (res ^ ~rhs) & (1U << 31)) != 0; in SignedSubOverflow32() 245 inline bool SignedAddOverflow64(int64_t lhs, int64_t rhs, int64_t* val) { in SignedAddOverflow64() argument 246 uint64_t res = static_cast<uint64_t>(lhs) + static_cast<uint64_t>(rhs); in SignedAddOverflow64() [all …]
|
/external/libcxx/test/std/numerics/complex.number/complex.ops/ |
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 …]
|
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 …]
|
/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/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/lldb/include/lldb/Core/ |
D | Scalar.h | 288 friend const Scalar operator+ (const Scalar& lhs, const Scalar& rhs); 289 friend const Scalar operator- (const Scalar& lhs, const Scalar& rhs); 290 friend const Scalar operator/ (const Scalar& lhs, const Scalar& rhs); 291 friend const Scalar operator* (const Scalar& lhs, const Scalar& rhs); 292 friend const Scalar operator& (const Scalar& lhs, const Scalar& rhs); 293 friend const Scalar operator| (const Scalar& lhs, const Scalar& rhs); 294 friend const Scalar operator% (const Scalar& lhs, const Scalar& rhs); 295 friend const Scalar operator^ (const Scalar& lhs, const Scalar& rhs); 296 friend const Scalar operator<< (const Scalar& lhs, const Scalar& rhs); 297 friend const Scalar operator>> (const Scalar& lhs, const Scalar& rhs); [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/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 …]
|