/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/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/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() 79 char *rs = rhs->s ? rhs->s : num_to_str(rhs->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 89 xregcomp(&rp, rhs->s, 0); in re() 105 static void mod(struct value *lhs, struct value *rhs) in mod() argument 107 if (lhs->s || rhs->s) error_exit("non-integer argument"); in mod() 108 if (is_zero(rhs)) error_exit("division by zero"); in mod() 109 lhs->i %= rhs->i; in mod() [all …]
|
/external/libcxx/src/ |
D | ios.cpp | 303 ios_base::copyfmt(const ios_base& rhs) in copyfmt() argument 311 if (__event_cap_ < rhs.__event_size_) in copyfmt() 313 size_t newesize = sizeof(event_callback) * rhs.__event_size_; in copyfmt() 320 size_t newisize = sizeof(int) * rhs.__event_size_; in copyfmt() 327 if (__iarray_cap_ < rhs.__iarray_size_) in copyfmt() 329 size_t newsize = sizeof(long) * rhs.__iarray_size_; in copyfmt() 336 if (__parray_cap_ < rhs.__parray_size_) in copyfmt() 338 size_t newsize = sizeof(void*) * rhs.__parray_size_; in copyfmt() 346 __fmtflags_ = rhs.__fmtflags_; in copyfmt() 347 __precision_ = rhs.__precision_; in copyfmt() [all …]
|
/external/v8/test/unittests/runtime/ |
D | runtime-interpreter-unittest.cc | 25 Handle<Object> rhs, bool expected); 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, 37 Handle<Object> rhs, in TestOperatorWithObjects() argument 39 Object* args_object[] = {*rhs, *lhs}; in TestOperatorWithObjects() 48 int32_t rhs, bool expected) { in TestOperator() argument 50 Handle<Object> y = isolate()->factory()->NewNumberFromInt(rhs); in TestOperator() 56 double rhs, bool expected) { in TestOperator() argument 58 Handle<Object> y = isolate()->factory()->NewNumber(rhs); in TestOperator() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | packet.h | 46 bool operator==(const Packet& rhs) const { 47 return (this->header.timestamp == rhs.header.timestamp && 48 this->header.sequenceNumber == rhs.header.sequenceNumber && 49 this->primary == rhs.primary && 50 this->sync_packet == rhs.sync_packet); 52 bool operator!=(const Packet& rhs) const { return !operator==(rhs); } 53 bool operator<(const Packet& rhs) const { 54 if (this->header.timestamp == rhs.header.timestamp) { 55 if (this->header.sequenceNumber == rhs.header.sequenceNumber) { 67 if (rhs.sync_packet) [all …]
|
/external/v8/src/runtime/ |
D | runtime-operators.cc | 16 CONVERT_ARG_HANDLE_CHECKED(Object, rhs, 1); in RUNTIME_FUNCTION() 19 Object::Multiply(isolate, lhs, rhs)); in RUNTIME_FUNCTION() 28 CONVERT_ARG_HANDLE_CHECKED(Object, rhs, 1); in RUNTIME_FUNCTION() 31 isolate, result, Object::Multiply(isolate, lhs, rhs, Strength::STRONG)); in RUNTIME_FUNCTION() 40 CONVERT_ARG_HANDLE_CHECKED(Object, rhs, 1); in RUNTIME_FUNCTION() 43 Object::Divide(isolate, lhs, rhs)); in RUNTIME_FUNCTION() 52 CONVERT_ARG_HANDLE_CHECKED(Object, rhs, 1); in RUNTIME_FUNCTION() 55 isolate, result, Object::Divide(isolate, lhs, rhs, Strength::STRONG)); in RUNTIME_FUNCTION() 64 CONVERT_ARG_HANDLE_CHECKED(Object, rhs, 1); in RUNTIME_FUNCTION() 67 Object::Modulus(isolate, lhs, rhs)); in RUNTIME_FUNCTION() [all …]
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyInstrFloat.td | 41 // DAGCombine oddly folds casts into the rhs of copysign. Unfold them. 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)>; [all …]
|
/external/webrtc/webrtc/system_wrappers/include/ |
D | tick_util.h | 66 friend TickInterval operator-(const TickTime& lhs, const TickTime& rhs); 85 const TickInterval& rhs); 86 TickInterval& operator+=(const TickInterval& rhs); 90 const TickInterval& rhs); 91 TickInterval& operator-=(const TickInterval& rhs); 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); [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 | 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 …]
|
D | flags.h | 82 Type::flag_type rhs)ALLOW_UNUSED_TYPE WARN_UNUSED_RESULT; \ 83 inline Type operator&(Type::flag_type lhs, Type::flag_type rhs) { \ 84 return Type(lhs) & rhs; \ 87 const Type& rhs)ALLOW_UNUSED_TYPE WARN_UNUSED_RESULT; \ 88 inline Type operator&(Type::flag_type lhs, const Type& rhs) { \ 89 return rhs & lhs; \ 92 Type::mask_type rhs)ALLOW_UNUSED_TYPE; \ 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/libcxx/test/std/experimental/optional/optional.object/optional.object.ctor/ |
D | copy.pass.cpp | 24 test(const optional<T>& rhs, bool is_going_to_throw = false) in test() argument 26 bool rhs_engaged = static_cast<bool>(rhs); in test() 29 optional<T> lhs = rhs; in test() 33 assert(*lhs == *rhs); in test() 85 optional<T> rhs; in main() local 86 test(rhs); in main() 90 optional<T> rhs(3); in main() local 91 test(rhs); in main() 95 optional<T> rhs; in main() local 96 test(rhs); in main() [all …]
|
D | move.pass.cpp | 24 test(optional<T>& rhs, bool is_going_to_throw = false) in test() argument 28 bool rhs_engaged = static_cast<bool>(rhs); in test() 31 optional<T> lhs = std::move(rhs); in test() 85 optional<T> rhs; in main() local 86 test(rhs); in main() 90 optional<T> rhs(3); in main() local 91 test(rhs); in main() 95 optional<T> rhs; in main() local 96 test(rhs); in main() 100 optional<T> rhs(X(3)); in main() local [all …]
|
/external/libcxx/test/std/numerics/complex.number/complex.ops/ |
D | complex_equals_scalar.pass.cpp | 26 constexpr T rhs(-2.5); in test_constexpr() local 27 static_assert(!(lhs == rhs), ""); in test_constexpr() 31 constexpr T rhs(-2.5); in test_constexpr() local 32 static_assert(!(lhs == rhs), ""); in test_constexpr() 36 constexpr T rhs(1.5); in test_constexpr() local 37 static_assert(!(lhs == rhs), ""); in test_constexpr() 41 constexpr T rhs(1.5); in test_constexpr() local 42 static_assert( (lhs == rhs), ""); in test_constexpr() 53 T rhs(-2.5); in test() local 54 assert(!(lhs == rhs)); in test() [all …]
|
D | scalar_not_equals_complex.pass.cpp | 26 constexpr std::complex<T> rhs(1.5, 2.5); in test_constexpr() local 27 static_assert (lhs != rhs, ""); in test_constexpr() 31 constexpr std::complex<T> rhs(1.5, 0); in test_constexpr() local 32 static_assert (lhs != rhs, ""); in test_constexpr() 36 constexpr std::complex<T> rhs(1.5, 2.5); in test_constexpr() local 37 static_assert (lhs != rhs, ""); in test_constexpr() 41 constexpr std::complex<T> rhs(1.5, 0); in test_constexpr() local 42 static_assert (!(lhs != rhs), ""); in test_constexpr() 53 std::complex<T> rhs(1.5, 2.5); in test() local 54 assert (lhs != rhs); in test() [all …]
|
D | complex_not_equals_scalar.pass.cpp | 26 constexpr T rhs(-2.5); in test_constexpr() local 27 static_assert(lhs != rhs, ""); in test_constexpr() 31 constexpr T rhs(-2.5); in test_constexpr() local 32 static_assert(lhs != rhs, ""); in test_constexpr() 36 constexpr T rhs(1.5); in test_constexpr() local 37 static_assert(lhs != rhs, ""); in test_constexpr() 41 constexpr T rhs(1.5); in test_constexpr() local 42 static_assert( !(lhs != rhs), ""); in test_constexpr() 53 T rhs(-2.5); in test() local 54 assert(lhs != rhs); in test() [all …]
|
D | scalar_equals_complex.pass.cpp | 26 constexpr std::complex<T> rhs(1.5, 2.5); in test_constexpr() local 27 static_assert(!(lhs == rhs), ""); in test_constexpr() 31 constexpr std::complex<T> rhs(1.5, 0); in test_constexpr() local 32 static_assert(!(lhs == rhs), ""); in test_constexpr() 36 constexpr std::complex<T> rhs(1.5, 2.5); in test_constexpr() local 37 static_assert(!(lhs == rhs), ""); in test_constexpr() 41 constexpr std::complex<T> rhs(1.5, 0); in test_constexpr() local 42 static_assert(lhs == rhs, ""); in test_constexpr() 53 std::complex<T> rhs(1.5, 2.5); in test() local 54 assert(!(lhs == rhs)); in test() [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, 39 (ADD_ri IntRegs:$rhs, -1)))), [all …]
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
D | bitmap_glyph_info.cc | 46 bool BitmapGlyphInfo::operator==(const BitmapGlyphInfo& rhs) const { in operator ==() 47 return (format_ == rhs.format_ && in operator ==() 48 glyph_id_ == rhs.glyph_id_ && in operator ==() 49 length_ == rhs.length_ && in operator ==() 50 offset() == rhs.offset()); in operator ==() 53 bool BitmapGlyphInfo::operator==(BitmapGlyphInfo* rhs) { in operator ==() argument 54 if (rhs == NULL) { in operator ==() 57 return (format_ == rhs->format() && in operator ==() 58 glyph_id_ == rhs->glyph_id() && in operator ==() 59 length_ == rhs->length() && in operator ==() [all …]
|
/external/drm_hwcomposer/ |
D | drmhwcomposer.h | 49 DrmHwcBuffer(DrmHwcBuffer &&rhs) : bo_(rhs.bo_), importer_(rhs.importer_) { in DrmHwcBuffer() argument 50 rhs.importer_ = NULL; in DrmHwcBuffer() 57 DrmHwcBuffer &operator=(DrmHwcBuffer &&rhs) { 59 importer_ = rhs.importer_; 60 rhs.importer_ = NULL; 61 bo_ = rhs.bo_; 88 DrmHwcNativeHandle(DrmHwcNativeHandle &&rhs) { in DrmHwcNativeHandle() argument 89 gralloc_ = rhs.gralloc_; in DrmHwcNativeHandle() 90 rhs.gralloc_ = NULL; in DrmHwcNativeHandle() 91 handle_ = rhs.handle_; in DrmHwcNativeHandle() [all …]
|
/external/libcxx/test/std/experimental/any/any.class/any.assign/ |
D | copy.pass.cpp | 36 any const rhs(RHS(2)); in test_copy_assign() local 42 lhs = rhs; in test_copy_assign() 49 assertContains<RHS>(rhs, 2); in test_copy_assign() 61 any const rhs(LHS(42)); in test_copy_assign_empty() local 66 lhs = rhs; in test_copy_assign_empty() 72 assertContains<LHS>(rhs, 42); in test_copy_assign_empty() 78 any const rhs; in test_copy_assign_empty() local 83 lhs = rhs; in test_copy_assign_empty() 89 assertEmpty(rhs); in test_copy_assign_empty() 136 [](any& lhs, any const& rhs) { in test_copy_assign_throws() argument [all …]
|
D | value.pass.cpp | 36 any const rhs(RHS(2)); in test_assign_value() local 42 lhs = rhs; in test_assign_value() 49 assertContains<RHS>(rhs, 2); in test_assign_value() 57 any rhs(RHS(2)); in test_assign_value() local 63 lhs = std::move(rhs); in test_assign_value() 71 assertEmpty<RHS>(rhs); in test_assign_value() 83 RHS rhs(42); in test_assign_value_empty() local 87 lhs = rhs; in test_assign_value_empty() 98 RHS rhs(42); in test_assign_value_empty() local 102 lhs = std::move(rhs); in test_assign_value_empty() [all …]
|
/external/skia/tools/ |
D | skdiff.h | 163 const DiffRecord* rhs = *reinterpret_cast<DiffRecord* const *>(untyped_rhs); 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 …]
|