/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/chromium_org/third_party/WebKit/Source/wtf/ |
D | CheckedArithmetic.h | 237 static inline bool signsMatch(LHS lhs, RHS rhs) 239 return (lhs ^ rhs) >= 0; 242 static inline bool add(LHS lhs, RHS rhs, ResultType& result) WARN_UNUSED_RETURN 244 if (signsMatch(lhs, rhs)) { 246 if ((std::numeric_limits<ResultType>::max() - rhs) < lhs) 250 if (rhs < -temp) 254 result = lhs + rhs; 258 static inline bool sub(LHS lhs, RHS rhs, ResultType& result) WARN_UNUSED_RETURN 260 if (!signsMatch(lhs, rhs)) { 262 if (lhs > std::numeric_limits<ResultType>::max() + rhs) [all …]
|
/external/chromium_org/content/public/test/ |
D | mock_download_manager.cc | 47 const CreateDownloadItemAdapter& rhs) in CreateDownloadItemAdapter() argument 48 : id(rhs.id), in CreateDownloadItemAdapter() 49 current_path(rhs.current_path), in CreateDownloadItemAdapter() 50 target_path(rhs.target_path), in CreateDownloadItemAdapter() 51 url_chain(rhs.url_chain), in CreateDownloadItemAdapter() 52 referrer_url(rhs.referrer_url), in CreateDownloadItemAdapter() 53 start_time(rhs.start_time), in CreateDownloadItemAdapter() 54 end_time(rhs.end_time), in CreateDownloadItemAdapter() 55 etag(rhs.etag), in CreateDownloadItemAdapter() 56 last_modified(rhs.last_modified), in CreateDownloadItemAdapter() [all …]
|
/external/libcxx/src/ |
D | ios.cpp | 305 ios_base::copyfmt(const ios_base& rhs) in copyfmt() argument 313 if (__event_cap_ < rhs.__event_size_) in copyfmt() 315 size_t newesize = sizeof(event_callback) * rhs.__event_size_; in copyfmt() 322 size_t newisize = sizeof(int) * rhs.__event_size_; in copyfmt() 329 if (__iarray_cap_ < rhs.__iarray_size_) in copyfmt() 331 size_t newsize = sizeof(long) * rhs.__iarray_size_; in copyfmt() 338 if (__parray_cap_ < rhs.__parray_size_) in copyfmt() 340 size_t newsize = sizeof(void*) * rhs.__parray_size_; in copyfmt() 348 __fmtflags_ = rhs.__fmtflags_; in copyfmt() 349 __precision_ = rhs.__precision_; in copyfmt() [all …]
|
/external/chromium_org/chrome/common/ |
D | instant_types.cc | 29 bool RGBAColor::operator==(const RGBAColor& rhs) const { in operator ==() 30 return r == rhs.r && in operator ==() 31 g == rhs.g && in operator ==() 32 b == rhs.b && in operator ==() 33 a == rhs.a; in operator ==() 55 bool ThemeBackgroundInfo::operator==(const ThemeBackgroundInfo& rhs) const { in operator ==() 56 return using_default_theme == rhs.using_default_theme && in operator ==() 57 background_color == rhs.background_color && in operator ==() 58 text_color == rhs.text_color && in operator ==() 59 link_color == rhs.link_color && in operator ==() [all …]
|
/external/chromium_org/third_party/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/chromium_org/ui/events/gesture_detection/ |
D | motion_event.cc | 48 bool operator==(const MotionEvent& lhs, const MotionEvent& rhs) { in operator ==() argument 49 if (lhs.GetId() != rhs.GetId() || lhs.GetAction() != rhs.GetAction() || in operator ==() 50 lhs.GetActionIndex() != rhs.GetActionIndex() || in operator ==() 51 lhs.GetPointerCount() != rhs.GetPointerCount() || in operator ==() 52 lhs.GetButtonState() != rhs.GetButtonState() || in operator ==() 53 lhs.GetEventTime() != rhs.GetEventTime() || in operator ==() 54 lhs.GetHistorySize() != rhs.GetHistorySize()) in operator ==() 58 int rhsi = rhs.FindPointerIndexOfId(lhs.GetPointerId(i)); in operator ==() 62 if (lhs.GetX(i) != rhs.GetX(rhsi) || lhs.GetY(i) != rhs.GetY(rhsi) || in operator ==() 63 lhs.GetRawX(i) != rhs.GetRawX(rhsi) || in operator ==() [all …]
|
/external/chromium_org/media/base/ |
D | stream_parser_buffer.h | 24 DecodeTimestamp(const DecodeTimestamp& rhs) : ts_(rhs.ts_) { } in DecodeTimestamp() argument 25 DecodeTimestamp& operator=(const DecodeTimestamp& rhs) { 26 if (&rhs != this) 27 ts_ = rhs.ts_; 33 bool operator<(const DecodeTimestamp& rhs) const { return ts_ < rhs.ts_; } 34 bool operator>(const DecodeTimestamp& rhs) const { return ts_ > rhs.ts_; } 35 bool operator==(const DecodeTimestamp& rhs) const { return ts_ == rhs.ts_; } 36 bool operator!=(const DecodeTimestamp& rhs) const { return ts_ != rhs.ts_; } 37 bool operator>=(const DecodeTimestamp& rhs) const { return ts_ >= rhs.ts_; } 38 bool operator<=(const DecodeTimestamp& rhs) const { return ts_ <= rhs.ts_; } [all …]
|
/external/libcxx/test/utilities/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/chromium_org/net/quic/ |
D | quic_time.h | 105 friend bool operator==(QuicTime lhs, QuicTime rhs); 106 friend bool operator<(QuicTime lhs, QuicTime rhs); 156 inline bool operator==(QuicTime::Delta lhs, QuicTime::Delta rhs) { 157 return lhs.ToMicroseconds() == rhs.ToMicroseconds(); 159 inline bool operator!=(QuicTime::Delta lhs, QuicTime::Delta rhs) { 160 return !(lhs == rhs); 162 inline bool operator<(QuicTime::Delta lhs, QuicTime::Delta rhs) { 163 return lhs.ToMicroseconds() < rhs.ToMicroseconds(); 165 inline bool operator>(QuicTime::Delta lhs, QuicTime::Delta rhs) { 166 return rhs < lhs; [all …]
|
/external/lldb/include/lldb/Core/ |
D | Scalar.h | 53 Scalar(const Scalar& rhs); 136 Scalar& operator= (const Scalar& rhs); // Assignment operator 137 Scalar& operator+= (const Scalar& rhs); 138 Scalar& operator<<= (const Scalar& rhs); // Shift left 139 Scalar& operator>>= (const Scalar& rhs); // Shift right (arithmetic) 140 Scalar& operator&= (const Scalar& rhs); 147 ShiftRightLogical(const Scalar& rhs); // Returns true on success 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); [all …]
|
/external/lldb/tools/lldb-perf/lib/ |
D | MemoryGauge.cpp | 29 MemoryStats::MemoryStats (const MemoryStats& rhs) : in MemoryStats() argument 30 m_virtual_size (rhs.m_virtual_size), in MemoryStats() 31 m_resident_size (rhs.m_resident_size), in MemoryStats() 32 m_max_resident_size (rhs.m_max_resident_size) in MemoryStats() 38 MemoryStats::operator = (const MemoryStats& rhs) in operator =() argument 40 if (this != &rhs) in operator =() 42 m_virtual_size = rhs.m_virtual_size; in operator =() 43 m_resident_size = rhs.m_resident_size; in operator =() 44 m_max_resident_size = rhs.m_max_resident_size; in operator =() 50 MemoryStats::operator += (const MemoryStats& rhs) in operator +=() argument [all …]
|
/external/libcxx/test/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_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_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 …]
|
/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/chromium_org/net/http/ |
D | http_response_info.cc | 109 HttpResponseInfo::HttpResponseInfo(const HttpResponseInfo& rhs) in HttpResponseInfo() argument 110 : was_cached(rhs.was_cached), in HttpResponseInfo() 111 server_data_unavailable(rhs.server_data_unavailable), in HttpResponseInfo() 112 network_accessed(rhs.network_accessed), in HttpResponseInfo() 113 was_fetched_via_spdy(rhs.was_fetched_via_spdy), in HttpResponseInfo() 114 was_npn_negotiated(rhs.was_npn_negotiated), in HttpResponseInfo() 115 was_fetched_via_proxy(rhs.was_fetched_via_proxy), in HttpResponseInfo() 116 proxy_server(rhs.proxy_server), in HttpResponseInfo() 117 did_use_http_auth(rhs.did_use_http_auth), in HttpResponseInfo() 118 socket_address(rhs.socket_address), in HttpResponseInfo() [all …]
|
/external/stlport/test/eh/ |
D | TestClass.h | 37 inline TestClass( const TestClass& rhs ); 40 inline TestClass& operator=( const TestClass& rhs ); 45 bool operator==( const TestClass& rhs ) const 47 return value() == rhs.value(); 50 bool operator<( const TestClass& rhs ) const { 51 return value() < rhs.value(); 97 inline TestClass::TestClass( const TestClass& rhs ) in TestClass() argument 99 Init( rhs.value() ); in TestClass() 111 inline TestClass& TestClass::operator=( const TestClass& rhs ) 114 int *newP = new int( rhs.value() ); [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
D | XPathPredicate.cpp | 78 …icOp(Opcode opcode, PassOwnPtrWillBeRawPtr<Expression> lhs, PassOwnPtrWillBeRawPtr<Expression> rhs) in NumericOp() argument 82 addSubExpression(rhs); in NumericOp() 88 Value rhs(subExpr(1)->evaluate(context)); in evaluate() local 91 double rightVal = rhs.toNumber(); in evaluate() 109 …stOp(Opcode opcode, PassOwnPtrWillBeRawPtr<Expression> lhs, PassOwnPtrWillBeRawPtr<Expression> rhs) in EqTestOp() argument 113 addSubExpression(rhs); in EqTestOp() 116 bool EqTestOp::compare(EvaluationContext& context, const Value& lhs, const Value& rhs) const in compare() 120 if (rhs.isNodeSet()) { in compare() 126 const NodeSet& rhsSet = rhs.toNodeSet(&context); in compare() 135 if (rhs.isNumber()) { in compare() [all …]
|
/external/chromium_org/v8/src/base/ |
D | flags.h | 69 Type::flag_type rhs)ALLOW_UNUSED WARN_UNUSED_RESULT; \ 70 inline Type operator&(Type::flag_type lhs, Type::flag_type rhs) { \ 71 return Type(lhs) & rhs; \ 74 const Type& rhs)ALLOW_UNUSED WARN_UNUSED_RESULT; \ 75 inline Type operator&(Type::flag_type lhs, const Type& rhs) { \ 76 return rhs & lhs; \ 78 inline void operator&(Type::flag_type lhs, Type::mask_type rhs)ALLOW_UNUSED; \ 79 inline void operator&(Type::flag_type lhs, Type::mask_type rhs) {} \ 80 inline Type operator|(Type::flag_type lhs, Type::flag_type rhs) \ 82 inline Type operator|(Type::flag_type lhs, Type::flag_type rhs) { \ [all …]
|
/external/chromium_org/third_party/webrtc/system_wrappers/interface/ |
D | tick_util.h | 64 friend TickInterval operator-(const TickTime& lhs, const TickTime& rhs); 92 const TickInterval& rhs); 93 TickInterval& operator+=(const TickInterval& rhs); 97 const TickInterval& rhs); 98 TickInterval& operator-=(const TickInterval& rhs); 100 friend bool operator>(const TickInterval& lhs, const TickInterval& rhs); 101 friend bool operator<=(const TickInterval& lhs, const TickInterval& rhs); 102 friend bool operator<(const TickInterval& lhs, const TickInterval& rhs); 103 friend bool operator>=(const TickInterval& lhs, const TickInterval& rhs); 109 friend TickInterval operator-(const TickTime& lhs, const TickTime& rhs); [all …]
|