Home
last modified time | relevance | path

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

12345678910>>...47

/external/mockito/src/main/java/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<?> re… 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<?> re… 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/gemmlowp/meta/
Dquantized_mul_kernels_arm_64.h29 8>::Multiply(const uint8_t* lhs, const uint8_t* rhs, in Multiply() argument
90 : [rhs] "+r"(rhs), [lhs] "+r"(lhs), [result] "+r"(result) in Multiply()
102 8>::Multiply(const uint8_t* lhs, const uint8_t* rhs, in Multiply() argument
166 : [rhs] "+r"(rhs), [lhs] "+r"(lhs), [result] "+r"(result) in Multiply()
178 8>::Multiply(const uint8_t* lhs, const uint8_t* rhs, in Multiply() argument
247 : [rhs] "+r"(rhs), [lhs] "+r"(lhs), [result] "+r"(result) in Multiply()
260 8>::Multiply(const uint8_t* lhs, const uint8_t* rhs, in Multiply() argument
331 : [rhs] "+r"(rhs), [lhs] "+r"(lhs), [result] "+r"(result) in Multiply()
344 8>::Multiply(const uint8_t* lhs, const uint8_t* rhs, in Multiply() argument
428 : [rhs] "+r"(rhs), [lhs] "+r"(lhs), [result] "+r"(result) in Multiply()
[all …]
Dquantized_mul_kernels_arm_32.h29 8>::Multiply(const uint8_t* lhs, const uint8_t* rhs, in Multiply() argument
90 : [rhs] "+r"(rhs), [lhs] "+r"(lhs), [result] "+r"(result) in Multiply()
103 8>::Multiply(const uint8_t* lhs, const uint8_t* rhs, in Multiply() argument
168 : [rhs] "+r"(rhs), [lhs] "+r"(lhs), [result] "+r"(result) in Multiply()
181 8>::Multiply(const uint8_t* lhs, const uint8_t* rhs, in Multiply() argument
252 : [rhs] "+r"(rhs), [lhs] "+r"(lhs), [result] "+r"(result) in Multiply()
265 8>::Multiply(const uint8_t* lhs, const uint8_t* rhs, in Multiply() argument
339 : [rhs] "+r"(rhs), [lhs] "+r"(lhs), [result] "+r"(result) in Multiply()
353 8>::Multiply(const uint8_t* lhs, const uint8_t* rhs, in Multiply() argument
440 : [rhs] "+r"(rhs), [lhs] "+r"(lhs), [result] "+r"(result) in Multiply()
[all …]
/external/swiftshader/src/Reactor/
DLLVMReactor.cpp409 Value *Nucleus::createAdd(Value *lhs, Value *rhs) in createAdd() argument
411 return V(::builder->CreateAdd(lhs, rhs)); in createAdd()
414 Value *Nucleus::createSub(Value *lhs, Value *rhs) in createSub() argument
416 return V(::builder->CreateSub(lhs, rhs)); in createSub()
419 Value *Nucleus::createMul(Value *lhs, Value *rhs) in createMul() argument
421 return V(::builder->CreateMul(lhs, rhs)); in createMul()
424 Value *Nucleus::createUDiv(Value *lhs, Value *rhs) in createUDiv() argument
426 return V(::builder->CreateUDiv(lhs, rhs)); in createUDiv()
429 Value *Nucleus::createSDiv(Value *lhs, Value *rhs) in createSDiv() argument
431 return V(::builder->CreateSDiv(lhs, rhs)); in createSDiv()
[all …]
DSubzeroReactor.cpp710 static Value *createArithmetic(Ice::InstArithmetic::OpKind op, Value *lhs, Value *rhs) in createArithmetic() argument
712 assert(lhs->getType() == rhs->getType() || llvm::isa<Ice::Constant>(rhs)); in createArithmetic()
714 bool swapOperands = llvm::isa<Ice::Constant>(lhs) && isCommutative(op); in createArithmetic()
716 Ice::Variable *result = ::function->makeVariable(lhs->getType()); in createArithmetic()
717 …InstArithmetic::create(::function, op, result, swapOperands ? rhs : lhs, swapOperands ? lhs : rhs); in createArithmetic()
723 Value *Nucleus::createAdd(Value *lhs, Value *rhs) in createAdd() argument
725 return createArithmetic(Ice::InstArithmetic::Add, lhs, rhs); in createAdd()
728 Value *Nucleus::createSub(Value *lhs, Value *rhs) in createSub() argument
730 return createArithmetic(Ice::InstArithmetic::Sub, lhs, rhs); in createSub()
733 Value *Nucleus::createMul(Value *lhs, Value *rhs) in createMul() argument
[all …]
DNucleus.hpp73 static Value *createAdd(Value *lhs, Value *rhs);
74 static Value *createSub(Value *lhs, Value *rhs);
75 static Value *createMul(Value *lhs, Value *rhs);
76 static Value *createUDiv(Value *lhs, Value *rhs);
77 static Value *createSDiv(Value *lhs, Value *rhs);
78 static Value *createFAdd(Value *lhs, Value *rhs);
79 static Value *createFSub(Value *lhs, Value *rhs);
80 static Value *createFMul(Value *lhs, Value *rhs);
81 static Value *createFDiv(Value *lhs, Value *rhs);
82 static Value *createURem(Value *lhs, Value *rhs);
[all …]
DReactor.hpp203 RValue<Bool> operator&&(RValue<Bool> lhs, RValue<Bool> rhs);
204 RValue<Bool> operator||(RValue<Bool> lhs, RValue<Bool> rhs);
230 RValue<Byte> operator+(RValue<Byte> lhs, RValue<Byte> rhs);
231 RValue<Byte> operator-(RValue<Byte> lhs, RValue<Byte> rhs);
232 RValue<Byte> operator*(RValue<Byte> lhs, RValue<Byte> rhs);
233 RValue<Byte> operator/(RValue<Byte> lhs, RValue<Byte> rhs);
234 RValue<Byte> operator%(RValue<Byte> lhs, RValue<Byte> rhs);
235 RValue<Byte> operator&(RValue<Byte> lhs, RValue<Byte> rhs);
236 RValue<Byte> operator|(RValue<Byte> lhs, RValue<Byte> rhs);
237 RValue<Byte> operator^(RValue<Byte> lhs, RValue<Byte> rhs);
[all …]
/external/v8/src/base/
Dlogging.h58 #define CHECK_OP(name, op, lhs, rhs) \ argument
61 ::v8::base::Check##name##Impl<decltype(lhs), decltype(rhs)>( \
62 (lhs), (rhs), #lhs " " #op " " #rhs)) { \
73 #define CHECK_OP(name, op, lhs, rhs) \
76 ::v8::base::Cmp##name##Impl<decltype(lhs), decltype(rhs)>(lhs, rhs); \
77 CHECK_WITH_MSG(_cmp, #lhs " " #op " " #rhs); \
96 std::string* MakeCheckOpString(typename PassType<Lhs>::type lhs, in MakeCheckOpString() argument
100 ss << msg << " (" << lhs << " vs. " << rhs << ")"; in MakeCheckOpString()
140 Cmp##NAME##Impl(Lhs const& lhs, Rhs const& rhs) { \
144 lhs >= 0 && MAKE_UNSIGNED(Lhs, lhs) == rhs)
[all …]
/external/llvm/test/CodeGen/AArch64/
Dcombine-comparisons-by-cse.ll20 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 …]
Darm64-fp128.ll3 @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 …]
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 …]
/external/v8/src/compiler/
Doperation-typer.cc217 Type* OperationTyper::MultiplyRanger(Type* lhs, Type* rhs) { in MultiplyRanger() argument
219 double lmin = lhs->AsRange()->Min(); in MultiplyRanger()
220 double lmax = lhs->AsRange()->Max(); in MultiplyRanger()
231 bool maybe_nan = (lhs->Maybe(cache_.kSingletonZero) && in MultiplyRanger()
236 bool maybe_minuszero = (lhs->Maybe(cache_.kSingletonZero) && rmin < 0) || in MultiplyRanger()
510 Type* OperationTyper::NumberAdd(Type* lhs, Type* rhs) { in NumberAdd() argument
511 DCHECK(lhs->Is(Type::Number())); in NumberAdd()
514 if (!lhs->IsInhabited() || !rhs->IsInhabited()) { in NumberAdd()
520 bool maybe_nan = lhs->Maybe(Type::NaN()) || rhs->Maybe(Type::NaN()); in NumberAdd()
524 if (lhs->Maybe(Type::MinusZero())) { in NumberAdd()
[all …]
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrFloat.td42 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/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dbinary_ops.cc38 XlaOpKernelContext* ctx, const xla::ComputationDataHandle& lhs, \
50 XLA_MAKE_BINARY(Add, b->Add(lhs, rhs, extend_dimensions));
51 XLA_MAKE_BINARY(Sub, b->Sub(lhs, rhs, extend_dimensions));
52 XLA_MAKE_BINARY(Mul, b->Mul(lhs, rhs, extend_dimensions));
53 XLA_MAKE_BINARY(Div, b->Div(lhs, rhs, extend_dimensions));
55 XLA_MAKE_BINARY(Atan2, b->Atan2(lhs, rhs, extend_dimensions));
56 XLA_MAKE_BINARY(Complex, b->Complex(lhs, rhs, extend_dimensions));
85 FloorDivImpl(b, input_type(0), lhs, rhs, broadcast_helper));
102 FloorModImpl(b, input_type(0), lhs, rhs, broadcast_helper));
104 XLA_MAKE_BINARY(BitwiseAnd, b->And(lhs, rhs, extend_dimensions));
[all …]
/external/gemmlowp/internal/
Dsimd_wrappers_common_neon_sse.h197 static RegBlockInt32<4, 1> Run(const RegBlockInt32<4, 1>& lhs,
200 result.buf.reg[0] = Add(lhs.buf.reg[0], Dup<Int32x4>(rhs.buf.reg[0]));
208 static RegBlockInt32<1, 4> Run(const RegBlockInt32<1, 4>& lhs,
211 result.buf.reg[0] = Add(lhs.buf.reg[0], Dup<Int32x4>(rhs.buf.reg[0]));
219 static RegBlockInt32<4, 1> Run(const RegBlockInt32<4, 1>& lhs,
222 result.buf.reg[0] = Add(lhs.buf.reg[0], rhs.buf.reg[0]);
230 static RegBlockInt32<1, 4> Run(const RegBlockInt32<1, 4>& lhs,
233 result.buf.reg[0] = Add(lhs.buf.reg[0], rhs.buf.reg[0]);
241 static RegBlockInt32<4, 4> Run(const RegBlockInt32<4, 4>& lhs,
244 result.buf.reg[0] = Add(lhs.buf.reg[0], DupLane<0>(rhs.buf.reg[0]));
[all …]
/external/libchrome/base/
Dversion_unittest.cc90 const char* lhs; in TEST() member
108 base::Version lhs(cases[i].lhs); in TEST() local
110 EXPECT_EQ(lhs.CompareTo(rhs), cases[i].expected) << in TEST()
111 cases[i].lhs << " ? " << cases[i].rhs; in TEST()
116 EXPECT_LT(lhs, rhs); in TEST()
117 EXPECT_LE(lhs, rhs); in TEST()
118 EXPECT_NE(lhs, rhs); in TEST()
119 EXPECT_FALSE(lhs == rhs); in TEST()
120 EXPECT_FALSE(lhs >= rhs); in TEST()
121 EXPECT_FALSE(lhs > rhs); in TEST()
[all …]
/external/webrtc/webrtc/system_wrappers/include/
Dtick_util.h62 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/numerics/complex.number/complex.ops/
Dcomplex_equals_scalar.pass.cpp27 constexpr std::complex<T> lhs(1.5, 2.5); in test_constexpr() local
29 static_assert(!(lhs == rhs), ""); in test_constexpr()
32 constexpr std::complex<T> lhs(1.5, 0); in test_constexpr() local
34 static_assert(!(lhs == rhs), ""); in test_constexpr()
37 constexpr std::complex<T> lhs(1.5, 2.5); in test_constexpr() local
39 static_assert(!(lhs == rhs), ""); in test_constexpr()
42 constexpr std::complex<T> lhs(1.5, 0); in test_constexpr() local
44 static_assert( (lhs == rhs), ""); in test_constexpr()
54 std::complex<T> lhs(1.5, 2.5); in test() local
56 assert(!(lhs == rhs)); in test()
[all …]
Dcomplex_not_equals_scalar.pass.cpp27 constexpr std::complex<T> lhs(1.5, 2.5); in test_constexpr() local
29 static_assert(lhs != rhs, ""); in test_constexpr()
32 constexpr std::complex<T> lhs(1.5, 0); in test_constexpr() local
34 static_assert(lhs != rhs, ""); in test_constexpr()
37 constexpr std::complex<T> lhs(1.5, 2.5); in test_constexpr() local
39 static_assert(lhs != rhs, ""); in test_constexpr()
42 constexpr std::complex<T> lhs(1.5, 0); in test_constexpr() local
44 static_assert( !(lhs != rhs), ""); in test_constexpr()
54 std::complex<T> lhs(1.5, 2.5); in test() local
56 assert(lhs != rhs); in test()
[all …]
Dscalar_equals_complex.pass.cpp27 constexpr T lhs(-2.5); in test_constexpr() local
29 static_assert(!(lhs == rhs), ""); in test_constexpr()
32 constexpr T lhs(-2.5); in test_constexpr() local
34 static_assert(!(lhs == rhs), ""); in test_constexpr()
37 constexpr T lhs(1.5); in test_constexpr() local
39 static_assert(!(lhs == rhs), ""); in test_constexpr()
42 constexpr T lhs(1.5); in test_constexpr() local
44 static_assert(lhs == rhs, ""); in test_constexpr()
54 T lhs(-2.5); in test() local
56 assert(!(lhs == rhs)); in test()
[all …]
Dscalar_not_equals_complex.pass.cpp27 constexpr T lhs(-2.5); in test_constexpr() local
29 static_assert (lhs != rhs, ""); in test_constexpr()
32 constexpr T lhs(-2.5); in test_constexpr() local
34 static_assert (lhs != rhs, ""); in test_constexpr()
37 constexpr T lhs(1.5); in test_constexpr() local
39 static_assert (lhs != rhs, ""); in test_constexpr()
42 constexpr T lhs(1.5); in test_constexpr() local
44 static_assert (!(lhs != rhs), ""); in test_constexpr()
54 T lhs(-2.5); in test() local
56 assert (lhs != rhs); in test()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsClusteredTests.cpp165 std::string getOpTypeOperation(int opType, vk::VkFormat format, std::string lhs, std::string rhs) in getOpTypeOperation() argument
172 return lhs + " + " + rhs; in getOpTypeOperation()
174 return lhs + " * " + rhs; in getOpTypeOperation()
179 return "min(" + lhs + ", " + rhs + ")"; in getOpTypeOperation()
182 …return "(isnan(" + lhs + ") ? " + rhs + " : (isnan(" + rhs + ") ? " + lhs + " : min(" + lhs + ", "… in getOpTypeOperation()
189 …return "mix(mix(min(" + lhs + ", " + rhs + "), " + lhs + ", isnan(" + rhs + ")), " + rhs + ", isna… in getOpTypeOperation()
195 return "max(" + lhs + ", " + rhs + ")"; in getOpTypeOperation()
198 …return "(isnan(" + lhs + ") ? " + rhs + " : (isnan(" + rhs + ") ? " + lhs + " : max(" + lhs + ", "… in getOpTypeOperation()
205 …return "mix(mix(max(" + lhs + ", " + rhs + "), " + lhs + ", isnan(" + rhs + ")), " + rhs + ", isna… in getOpTypeOperation()
211 return lhs + " & " + rhs; in getOpTypeOperation()
[all …]
/external/swiftshader/third_party/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/libchrome/base/trace_event/
Dheap_profiler_allocation_context.cc15 bool operator < (const StackFrame& lhs, const StackFrame& rhs) { in operator <() argument
16 return lhs.value < rhs.value; in operator <()
19 bool operator == (const StackFrame& lhs, const StackFrame& rhs) { in operator ==() argument
20 return lhs.value == rhs.value; in operator ==()
23 bool operator != (const StackFrame& lhs, const StackFrame& rhs) { in operator !=() argument
24 return !(lhs.value == rhs.value); in operator !=()
29 bool operator==(const Backtrace& lhs, const Backtrace& rhs) { in operator ==() argument
30 if (lhs.frame_count != rhs.frame_count) return false; in operator ==()
31 return std::equal(lhs.frames, lhs.frames + lhs.frame_count, rhs.frames); in operator ==()
34 bool operator!=(const Backtrace& lhs, const Backtrace& rhs) { in operator !=() argument
[all …]

12345678910>>...47