Searched defs:rhs (Results 276 - 300 of 738) sorted by relevance

<<11121314151617181920>>

/external/libmojo/ui/gfx/geometry/
H A Dpoint.h86 bool operator<(const Point& rhs) const {
87 return std::tie(y_, x_) < std::tie(rhs.y_, rhs.x_);
98 inline bool operator==(const Point& lhs, const Point& rhs) { argument
99 return lhs.x() == rhs.x() && lhs.y() == rhs.y();
102 inline bool operator!=(const Point& lhs, const Point& rhs) { argument
103 return !(lhs == rhs);
106 inline Point operator+(const Point& lhs, const Vector2d& rhs) { argument
108 result += rhs;
112 operator -(const Point& lhs, const Vector2d& rhs) argument
118 operator -(const Point& lhs, const Point& rhs) argument
[all...]
H A Dpoint_f.h65 bool operator<(const PointF& rhs) const {
66 return std::tie(y_, x_) < std::tie(rhs.y_, rhs.x_);
85 inline bool operator==(const PointF& lhs, const PointF& rhs) { argument
86 return lhs.x() == rhs.x() && lhs.y() == rhs.y();
89 inline bool operator!=(const PointF& lhs, const PointF& rhs) { argument
90 return !(lhs == rhs);
93 inline PointF operator+(const PointF& lhs, const Vector2dF& rhs) { argument
95 result += rhs;
99 operator -(const PointF& lhs, const Vector2dF& rhs) argument
105 operator -(const PointF& lhs, const PointF& rhs) argument
[all...]
/external/libtextclassifier/util/utf8/
H A Dunicodetext.h106 friend bool operator==(const CI& lhs, const CI& rhs) { argument
107 return lhs.it_ == rhs.it_;
109 friend bool operator!=(const CI& lhs, const CI& rhs) { argument
110 return !(lhs == rhs);
112 friend bool operator<(const CI& lhs, const CI& rhs);
113 friend bool operator>(const CI& lhs, const CI& rhs) { return rhs < lhs; } argument
114 friend bool operator<=(const CI& lhs, const CI& rhs) { argument
115 return !(rhs < lhs);
117 friend bool operator>=(const CI& lhs, const CI& rhs) { argument
[all...]
/external/llvm/lib/Analysis/
H A DAliasAnalysisSummary.h117 inline bool operator==(InterfaceValue lhs, InterfaceValue rhs) { argument
118 return lhs.Index == rhs.Index && lhs.DerefLevel == rhs.DerefLevel;
120 inline bool operator!=(InterfaceValue lhs, InterfaceValue rhs) { argument
121 return !(lhs == rhs);
/external/mesa3d/src/amd/common/
H A Dac_binary.c74 uint64_t rhs = binary->global_symbol_offsets[i]; local
75 if (lhs < rhs) {
79 binary->global_symbol_offsets[i - 1] = rhs;
/external/mesa3d/src/gallium/drivers/radeon/
H A Dradeon_elf_util.c68 uint64_t rhs = binary->global_symbol_offsets[i]; local
69 if (lhs < rhs) {
73 binary->global_symbol_offsets[i - 1] = rhs;
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_fs_vector_splitting.cpp169 ir->rhs->as_dereference_variable() &&
181 ir->rhs->accept(this);
250 ir_dereference_variable *rhs_deref = ir->rhs->as_dereference_variable();
252 variable_entry *rhs = rhs_deref ? get_splitting_entry(rhs_deref->var) : NULL; local
254 if (lhs_deref && rhs_deref && (lhs || rhs) && !ir->condition) {
261 void *mem_ctx = lhs ? lhs->mem_ctx : rhs->mem_ctx;
275 if (rhs) {
277 new(mem_ctx) ir_dereference_variable(rhs->components[rhs_chan]);
279 new_rhs = new(mem_ctx) ir_swizzle(ir->rhs->clone(mem_ctx, NULL),
315 handle_rvalue(&ir->rhs);
[all...]
/external/pdfium/core/fxcrt/
H A Dbytestring.h205 inline bool operator==(const char* lhs, const ByteString& rhs) { argument
206 return rhs == lhs;
208 inline bool operator==(const ByteStringView& lhs, const ByteString& rhs) { argument
209 return rhs == lhs;
211 inline bool operator!=(const char* lhs, const ByteString& rhs) { argument
212 return rhs != lhs;
214 inline bool operator!=(const ByteStringView& lhs, const ByteString& rhs) { argument
215 return rhs != lhs;
217 inline bool operator<(const char* lhs, const ByteString& rhs) { argument
218 return rhs
[all...]
H A Dwidestring.h247 inline bool operator==(const wchar_t* lhs, const WideString& rhs) { argument
248 return rhs == lhs;
250 inline bool operator==(const WideStringView& lhs, const WideString& rhs) { argument
251 return rhs == lhs;
253 inline bool operator!=(const wchar_t* lhs, const WideString& rhs) { argument
254 return rhs != lhs;
256 inline bool operator!=(const WideStringView& lhs, const WideString& rhs) { argument
257 return rhs != lhs;
259 inline bool operator<(const wchar_t* lhs, const WideString& rhs) { argument
260 return rhs
[all...]
/external/pdfium/third_party/base/numerics/
H A Dsafe_conversions.h194 constexpr StrictNumeric(const StrictNumeric<Src>& rhs) argument
195 : value_(strict_cast<T>(rhs.value_)) {}
244 constexpr bool operator OP(const L lhs, const R rhs) { \
246 typename UnderlyingType<R>::type>(lhs, rhs); \
/external/swiftshader/third_party/LLVM/lib/MC/
H A DMCWin64EH.cpp54 MCSymbol *rhs) {
59 rhs, context),
53 EmitAbsDifference(MCStreamer &streamer, MCSymbol *lhs, MCSymbol *rhs) argument
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
H A DPVRTPFXParserAPI.h243 @param[in] rhs Second SPVRTPFXUniformSemantic
246 inline bool operator==(const SPVRTPFXUniformSemantic& lhs, const SPVRTPFXUniformSemantic& rhs) argument
248 return (lhs.n == rhs.n);
/external/swiftshader/third_party/PowerVR_SDK/Tools/
H A DPVRTVector.cpp51 @Input rhs a PVRTMat3
55 PVRTVec3 PVRTVec3::operator*(const PVRTMat3& rhs) const
59 out.x = VERTTYPEMUL(x,rhs.f[0])+VERTTYPEMUL(y,rhs.f[1])+VERTTYPEMUL(z,rhs.f[2]);
60 out.y = VERTTYPEMUL(x,rhs.f[3])+VERTTYPEMUL(y,rhs.f[4])+VERTTYPEMUL(z,rhs.f[5]);
61 out.z = VERTTYPEMUL(x,rhs.f[6])+VERTTYPEMUL(y,rhs
72 operator *=(const PVRTMat3& rhs) argument
109 operator *=(const PVRTMat4& rhs) argument
[all...]
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
H A Druntime_conv2d_impl.h29 ScalarType* rhs, int64 input_batch, int64 input_rows,
44 kernel(rhs, kernel_rows, kernel_cols, kernel_channels, kernel_filters);
28 EigenConvImpl(const EigenDevice& device, ScalarType* out, ScalarType* lhs, ScalarType* rhs, int64 input_batch, int64 input_rows, int64 input_cols, int64 input_channels, int64 kernel_rows, int64 kernel_cols, int64 kernel_channels, int64 kernel_filters, int64 output_rows, int64 output_cols, int64 row_stride, int64 col_stride, int64 padding_top, int64 padding_bottom, int64 padding_left, int64 padding_right, int64 lhs_row_dilation, int64 lhs_col_dilation, int64 rhs_row_dilation, int64 rhs_col_dilation) argument
/external/tensorflow/tensorflow/compiler/xla/service/
H A Dgraphviz_example.cc62 auto rhs = builder.AddInstruction( local
63 HloInstruction::CreateParameter(1, ShapeUtil::MakeShape(F32, {}), "rhs"));
65 HloInstruction::CreateBinary(lhs->shape(), HloOpcode::kAdd, lhs, rhs));
/external/tensorflow/tensorflow/compiler/xla/tests/
H A Dhlo_test_base.cc63 bool ProgramShapesEqual(const ProgramShape& lhs, const ProgramShape& rhs) { argument
64 if (lhs.parameters_size() != rhs.parameters_size()) {
68 if (!ShapeUtil::Equal(lhs.parameters(i), rhs.parameters(i))) {
72 return ShapeUtil::Equal(lhs.result(), rhs.result());
H A Dmatrix_ops_simple_test.cc66 auto rhs = builder.ConstantR2FromArray2D<float>(*arhs); local
67 auto max = builder.Max(lhs, rhs);
128 auto rhs = builder.ConstantR2<float>({ local
132 auto max = builder.Max(lhs, rhs);
169 Array2D<float> rhs({{10.0, 11.0}, {12.0, 13.0}});
179 ShapeUtil::MakeShape(prim_type, {rhs.height(), rhs.width()});
188 rhs, LayoutUtil::MakeLayout(minor_to_major(row_major)))));
196 auto rhs_arg = builder.Parameter(1, rhs_shape, "rhs");
234 Array2D<bfloat16> rhs(
[all...]
/external/tensorflow/tensorflow/contrib/lite/
H A Dgraph_info.cc38 TfLiteIntArrayView& operator=(const TfLiteIntArrayView& rhs) = default; member in class:tflite::__anon25910::TfLiteIntArrayView
/external/tensorflow/tensorflow/core/framework/
H A Dvariant.h173 Variant& operator=(const Variant& rhs) { argument
174 Variant(rhs).swap(*this);
178 Variant& operator=(Variant&& rhs) noexcept {
179 Variant(std::move(rhs)).swap(*this);
/external/tensorflow/tensorflow/core/grappler/costs/
H A Dop_level_cost_estimator.h141 // if rhs is 0 or negative.
142 static double SafeDiv(const double lhs, const double rhs) { argument
143 if (rhs > 0) {
144 return lhs / rhs;
/external/tensorflow/tensorflow/core/kernels/
H A Dmatrix_solve_op.cc78 const ConstMatrixMap& rhs = inputs[1]; variable
79 if (matrix.rows() == 0 || rhs.cols() == 0) {
108 outputs->at(0) = lu_decomposition.solve(rhs);
130 const Tensor& rhs = context->input(1); variable
133 const int64 nrhs = rhs.dim_size(ndims - 1);
139 OP_REQUIRES_ASYNC(context, rhs.dims() == ndims,
142 ndims, " != ", rhs.dims()),
149 OP_REQUIRES_ASYNC(context, rhs.dim_size(ndims - 2) == n,
153 n, " != ", rhs.dim_size(ndims - 2)),
160 context->forward_input_or_allocate_output({1}, 0, rhs
[all...]
H A Dmatrix_triangular_solve_op.cc85 const ConstMatrixMap& rhs = inputs[1]; variable
88 if (matrix.rows() == 0 || rhs.cols() == 0) {
99 output.noalias() = triangle.adjoint().solve(rhs);
101 output.noalias() = triangle.solve(rhs);
106 output.noalias() = triangle.adjoint().solve(rhs);
108 output.noalias() = triangle.solve(rhs);
136 // 1. Enable buffer forwarding from rhs->out.
138 // 3. Copy entire rhs in a single Memcpy when forwarding is not used.
177 const ConstMatrixMap& rhs = inputs[1]; variable
180 if (matrix.rows() == 0 || rhs
[all...]
/external/tensorflow/tensorflow/core/ops/
H A Dlinalg_ops.cc54 ShapeHandle rhs; local
60 TF_RETURN_IF_ERROR(c->WithRankAtLeast(c->input(1), 2, &rhs));
66 TF_RETURN_IF_ERROR(c->Subshape(rhs, 0, -2, &rhs_batch_shape));
67 // Make sure the batch dimensions match between lhs and rhs.
72 // lhs and rhs have the same value for m to be compatible.
73 TF_RETURN_IF_ERROR(c->Merge(c->Dim(lhs, -2), c->Dim(rhs, -2), &m));
82 TF_RETURN_IF_ERROR(c->Concatenate(out, c->Vector(c->Dim(rhs, -1)), &out));
292 .Input("rhs: T")
302 .Input("rhs: T")
313 .Input("rhs
[all...]
/external/tensorflow/tensorflow/core/util/
H A Dtransform_output_iterator.h132 __host__ __device__ __forceinline__ bool operator==(const self_type& rhs) { argument
133 return (ptr == rhs.ptr);
137 __host__ __device__ __forceinline__ bool operator!=(const self_type& rhs) { argument
138 return (ptr != rhs.ptr);
/external/v8/src/base/
H A Dbits.h215 // SignedAddOverflow32(lhs,rhs,val) performs a signed summation of |lhs| and
216 // |rhs| and stores the result into the variable pointed to by |val| and
218 inline bool SignedAddOverflow32(int32_t lhs, int32_t rhs, int32_t* val) { argument
220 return __builtin_sadd_overflow(lhs, rhs, val);
222 uint32_t res = static_cast<uint32_t>(lhs) + static_cast<uint32_t>(rhs);
224 return ((res ^ lhs) & (res ^ rhs) & (1U << 31)) != 0;
229 // SignedSubOverflow32(lhs,rhs,val) performs a signed subtraction of |lhs| and
230 // |rhs| and stores the result into the variable pointed to by |val| and
232 inline bool SignedSubOverflow32(int32_t lhs, int32_t rhs, int32_t* val) { argument
234 return __builtin_ssub_overflow(lhs, rhs, va
250 SignedAddOverflow64(int64_t lhs, int64_t rhs, int64_t* val) argument
260 SignedSubOverflow64(int64_t lhs, int64_t rhs, int64_t* val) argument
295 UnsignedAddOverflow32(uint32_t lhs, uint32_t rhs, uint32_t* val) argument
307 UnsignedDiv32(uint32_t lhs, uint32_t rhs) argument
314 UnsignedMod32(uint32_t lhs, uint32_t rhs) argument
[all...]

Completed in 766 milliseconds

<<11121314151617181920>>