Home
last modified time | relevance | path

Searched refs:lhs (Results 1 – 25 of 848) sorted by relevance

12345678910>>...34

/external/mockito/src/org/mockito/internal/matchers/apachecommons/
DEqualsBuilder.java115 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/
Dptr-arith.c171 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/
Darm64_neon_high_half.c6 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/ui/events/gesture_detection/
Dmotion_event.cc48 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 ==()
57 for (size_t i = 0; i < lhs.GetPointerCount(); ++i) { 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 ==()
[all …]
/external/chromium_org/net/quic/
Dquic_time.h105 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/libcxx/test/numerics/complex.number/complex.ops/
Dcomplex_equals_scalar.pass.cpp25 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 …]
Dscalar_equals_complex.pass.cpp25 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 …]
Dcomplex_not_equals_scalar.pass.cpp25 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 …]
Dscalar_not_equals_complex.pass.cpp25 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/lldb/source/Core/
DVMRange.cpp62 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/third_party/WebKit/Source/wtf/
DCheckedArithmetic.h237 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)) {
245 if (lhs >= 0) {
246 if ((std::numeric_limits<ResultType>::max() - rhs) < lhs)
249 ResultType temp = lhs - std::numeric_limits<ResultType>::min();
254 result = lhs + rhs;
258 static inline bool sub(LHS lhs, RHS rhs, ResultType& result) WARN_UNUSED_RETURN
260 if (!signsMatch(lhs, rhs)) {
[all …]
/external/chromium_org/v8/src/base/
Dflags.h68 inline Type operator&(Type::flag_type lhs, \
70 inline Type operator&(Type::flag_type lhs, Type::flag_type rhs) { \
71 return Type(lhs) & rhs; \
73 inline Type operator&(Type::flag_type lhs, \
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/WebKit/Source/core/xml/
DXPathPredicate.cpp78 NumericOp::NumericOp(Opcode opcode, PassOwnPtrWillBeRawPtr<Expression> lhs, PassOwnPtrWillBeRawPtr<… in NumericOp() argument
81 addSubExpression(lhs); in NumericOp()
87 Value lhs(subExpr(0)->evaluate(context)); in evaluate() local
90 double leftVal = lhs.toNumber(); in evaluate()
109 EqTestOp::EqTestOp(Opcode opcode, PassOwnPtrWillBeRawPtr<Expression> lhs, PassOwnPtrWillBeRawPtr<Ex… in EqTestOp() argument
112 addSubExpression(lhs); in EqTestOp()
116 bool EqTestOp::compare(EvaluationContext& context, const Value& lhs, const Value& rhs) const in compare() argument
118 if (lhs.isNodeSet()) { in compare()
119 const NodeSet& lhsSet = lhs.toNodeSet(&context); in compare()
166 return compare(context, lhs.toBoolean(), rhs); in compare()
[all …]
/external/lldb/include/lldb/Core/
DScalar.h288 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/AArch64/
Darm64-neon-aba-abd.ll6 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 …]
Darm64-fp128.ll3 @lhs = global fp128 zeroinitializer, align 16
9 %lhs = load fp128* @lhs, align 16
11 ; CHECK: ldr q0, [{{x[0-9]+}}, :lo12:lhs]
14 %val = fadd fp128 %lhs, %rhs
22 %lhs = load fp128* @lhs, align 16
24 ; CHECK: ldr q0, [{{x[0-9]+}}, :lo12:lhs]
27 %val = fsub fp128 %lhs, %rhs
35 %lhs = load fp128* @lhs, align 16
37 ; CHECK: ldr q0, [{{x[0-9]+}}, :lo12:lhs]
40 %val = fmul fp128 %lhs, %rhs
[all …]
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
Dtick_util.h60 friend TickTime operator+(const TickTime lhs, const int64_t ticks);
64 friend TickInterval operator-(const TickTime& lhs, const TickTime& rhs);
91 friend TickInterval operator+(const TickInterval& lhs,
96 friend TickInterval operator-(const TickInterval& lhs,
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);
115 inline TickInterval operator+(const TickInterval& lhs,
[all …]
/external/llvm/test/CodeGen/Thumb2/
Dthumb2-mov.ll6 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/
DHexagonSelectCCInfo.td14 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/chromium_org/ui/gfx/geometry/
Dpoint3_f.cc15 Point3F operator+(const Point3F& lhs, const Vector3dF& rhs) { in operator +() argument
16 float x = lhs.x() + rhs.x(); in operator +()
17 float y = lhs.y() + rhs.y(); in operator +()
18 float z = lhs.z() + rhs.z(); in operator +()
24 Point3F operator-(const Point3F& lhs, const Vector3dF& rhs) { in operator -() argument
25 float x = lhs.x() - rhs.x(); in operator -()
26 float y = lhs.y() - rhs.y(); in operator -()
27 float z = lhs.z() - rhs.z(); in operator -()
33 Vector3dF operator-(const Point3F& lhs, const Point3F& rhs) { in operator -() argument
34 float x = lhs.x() - rhs.x(); in operator -()
[all …]
/external/skia/tools/
Dskdiff.h162 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 …]
/external/chromium_org/third_party/skia/tools/
Dskdiff.h162 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 …]
/external/ltrace/
Dexpr.c32 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/oprofile/libpp/
Dsymbol_functors.cpp14 bool less_symbol::operator()(symbol_entry const & lhs, in operator ()() argument
17 if (lhs.image_name != rhs.image_name) in operator ()()
18 return lhs.image_name < rhs.image_name; in operator ()()
20 if (lhs.app_name != rhs.app_name) in operator ()()
21 return lhs.app_name < rhs.app_name; in operator ()()
23 if (lhs.name != rhs.name) in operator ()()
24 return lhs.name < rhs.name; in operator ()()
26 if (lhs.sample.vma != rhs.sample.vma) in operator ()()
27 return lhs.sample.vma < rhs.sample.vma; in operator ()()
29 return lhs.size < rhs.size; in operator ()()
/external/webrtc/src/system_wrappers/interface/
Dtick_util.h54 friend TickTime operator+(const TickTime lhs, const WebRtc_Word64 ticks);
59 friend TickInterval operator-(const TickTime& lhs, const TickTime& rhs);
73 friend TickInterval operator+(const TickInterval& lhs,
78 friend TickInterval operator-(const TickInterval& lhs,
82 friend bool operator>(const TickInterval& lhs, const TickInterval& rhs);
83 friend bool operator<=(const TickInterval& lhs, const TickInterval& rhs);
84 friend bool operator<(const TickInterval& lhs, const TickInterval& rhs);
85 friend bool operator>=(const TickInterval& lhs, const TickInterval& rhs);
91 friend TickInterval operator-(const TickTime& lhs, const TickTime& rhs);
97 inline TickInterval operator+(const TickInterval& lhs, const TickInterval& rhs)
[all …]

12345678910>>...34