Home
last modified time | relevance | path

Searched refs:rhs (Results 1 – 25 of 78) sorted by relevance

1234

/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DTriState.h102 TriState<T>& operator op (const TriState<T>& rhs) { \
103 if (mIsSet && rhs.mIsSet) { \
104 mValue op rhs.mValue; \
110 TriState<T>& operator op(const T& rhs) { \
112 mValue op rhs; \
154 friend TriState<T> operator op(TriState<T> lhs, const TriState<T>& rhs) { \
155 lhs compound_op rhs; \
158 friend TriState<T> operator op(TriState<T> lhs, const T& rhs) { \
159 lhs compound_op rhs; \
162 friend TriState<T> operator op(const T &lhs, const TriState<T>& rhs) { \
[all …]
/hardware/qcom/neuralnetworks/hvxservice/1.0/
DHexagonUtils.h36 #define HEXAGON_SOFT_ASSERT_CMP(cmp, lhs, rhs, message) \ argument
37 HEXAGON_SOFT_ASSERT(((lhs)cmp(rhs)), "failed " #lhs " " #cmp " " #rhs " (" \
38 << (lhs) << " " #cmp " " << (rhs) << "): " message)
40 #define HEXAGON_SOFT_ASSERT_EQ(lhs, rhs, message) HEXAGON_SOFT_ASSERT_CMP(==, lhs, rhs, message) argument
41 #define HEXAGON_SOFT_ASSERT_NE(lhs, rhs, message) HEXAGON_SOFT_ASSERT_CMP(!=, lhs, rhs, message) argument
42 #define HEXAGON_SOFT_ASSERT_LT(lhs, rhs, message) HEXAGON_SOFT_ASSERT_CMP(<, lhs, rhs, message) argument
43 #define HEXAGON_SOFT_ASSERT_LE(lhs, rhs, message) HEXAGON_SOFT_ASSERT_CMP(<=, lhs, rhs, message) argument
44 #define HEXAGON_SOFT_ASSERT_GT(lhs, rhs, message) HEXAGON_SOFT_ASSERT_CMP(>, lhs, rhs, message) argument
45 #define HEXAGON_SOFT_ASSERT_GE(lhs, rhs, message) HEXAGON_SOFT_ASSERT_CMP(>=, lhs, rhs, message) argument
94 bool operator==(const hexagon_nn_input& lhs, const hexagon_nn_input& rhs);
[all …]
DHexagonUtils.cpp171 bool operator==(const hexagon_nn_input& lhs, const hexagon_nn_input& rhs) { in operator ==() argument
172 return lhs.src_id == rhs.src_id && lhs.output_idx == rhs.output_idx; in operator ==()
175 bool operator!=(const hexagon_nn_input& lhs, const hexagon_nn_input& rhs) { in operator !=() argument
176 return !(lhs == rhs); in operator !=()
179 bool operator==(const hexagon_nn_output& lhs, const hexagon_nn_output& rhs) { in operator ==() argument
180 return lhs.rank == rhs.rank && lhs.max_sizes[0] == rhs.max_sizes[0] && in operator ==()
181 lhs.max_sizes[1] == rhs.max_sizes[1] && lhs.max_sizes[2] == rhs.max_sizes[2] && in operator ==()
182 lhs.max_sizes[3] == rhs.max_sizes[3] && lhs.max_sizes[4] == rhs.max_sizes[4] && in operator ==()
183 lhs.max_sizes[5] == rhs.max_sizes[5] && lhs.max_sizes[6] == rhs.max_sizes[6] && in operator ==()
184 lhs.max_sizes[7] == rhs.max_sizes[7] && lhs.elementsize == rhs.elementsize && in operator ==()
[all …]
/hardware/qcom/display/msm8909/libcopybit/
Dsoftware_converter.cpp183 struct copybit_image_t const *rhs) in convert_yuv_c2d_to_yuv_android() argument
186 if (!hnd || !rhs) { in convert_yuv_c2d_to_yuv_android()
187 ALOGE("%s: invalid inputs hnd=%p rhs=%p", __FUNCTION__, hnd, rhs); in convert_yuv_c2d_to_yuv_android()
192 private_handle_t *dst_hnd = (private_handle_t *)rhs->handle; in convert_yuv_c2d_to_yuv_android()
195 info.width = rhs->w; in convert_yuv_c2d_to_yuv_android()
196 info.height = rhs->h; in convert_yuv_c2d_to_yuv_android()
199 switch(rhs->format) { in convert_yuv_c2d_to_yuv_android()
212 rhs->format); in convert_yuv_c2d_to_yuv_android()
229 struct copybit_image_t const *rhs) in convert_yuv_android_to_yuv_c2d() argument
231 if (!hnd || !rhs) { in convert_yuv_android_to_yuv_c2d()
[all …]
/hardware/qcom/display/msm8084/libcopybit/
Dsoftware_converter.cpp183 struct copybit_image_t const *rhs) in convert_yuv_c2d_to_yuv_android() argument
186 if (!hnd || !rhs) { in convert_yuv_c2d_to_yuv_android()
187 ALOGE("%s: invalid inputs hnd=%p rhs=%p", __FUNCTION__, hnd, rhs); in convert_yuv_c2d_to_yuv_android()
192 private_handle_t *dst_hnd = (private_handle_t *)rhs->handle; in convert_yuv_c2d_to_yuv_android()
195 info.width = rhs->w; in convert_yuv_c2d_to_yuv_android()
196 info.height = rhs->h; in convert_yuv_c2d_to_yuv_android()
199 switch(rhs->format) { in convert_yuv_c2d_to_yuv_android()
212 rhs->format); in convert_yuv_c2d_to_yuv_android()
229 struct copybit_image_t const *rhs) in convert_yuv_android_to_yuv_c2d() argument
231 if (!hnd || !rhs) { in convert_yuv_android_to_yuv_c2d()
[all …]
Dsoftware_converter.h50 struct copybit_image_t const *rhs);
62 struct copybit_image_t const *rhs);
/hardware/qcom/display/msm8226/libcopybit/
Dsoftware_converter.cpp183 struct copybit_image_t const *rhs) in convert_yuv_c2d_to_yuv_android() argument
186 if (!hnd || !rhs) { in convert_yuv_c2d_to_yuv_android()
187 ALOGE("%s: invalid inputs hnd=%p rhs=%p", __FUNCTION__, hnd, rhs); in convert_yuv_c2d_to_yuv_android()
192 private_handle_t *dst_hnd = (private_handle_t *)rhs->handle; in convert_yuv_c2d_to_yuv_android()
195 info.width = rhs->w; in convert_yuv_c2d_to_yuv_android()
196 info.height = rhs->h; in convert_yuv_c2d_to_yuv_android()
199 switch(rhs->format) { in convert_yuv_c2d_to_yuv_android()
212 rhs->format); in convert_yuv_c2d_to_yuv_android()
229 struct copybit_image_t const *rhs) in convert_yuv_android_to_yuv_c2d() argument
231 if (!hnd || !rhs) { in convert_yuv_android_to_yuv_c2d()
[all …]
Dsoftware_converter.h50 struct copybit_image_t const *rhs);
62 struct copybit_image_t const *rhs);
/hardware/qcom/display/msm8996/libcopybit/
Dsoftware_converter.cpp183 struct copybit_image_t const *rhs) in convert_yuv_c2d_to_yuv_android() argument
186 if (!hnd || !rhs) { in convert_yuv_c2d_to_yuv_android()
187 ALOGE("%s: invalid inputs hnd=%p rhs=%p", __FUNCTION__, hnd, rhs); in convert_yuv_c2d_to_yuv_android()
192 private_handle_t *dst_hnd = (private_handle_t *)rhs->handle; in convert_yuv_c2d_to_yuv_android()
195 info.width = rhs->w; in convert_yuv_c2d_to_yuv_android()
196 info.height = rhs->h; in convert_yuv_c2d_to_yuv_android()
199 switch(rhs->format) { in convert_yuv_c2d_to_yuv_android()
212 rhs->format); in convert_yuv_c2d_to_yuv_android()
229 struct copybit_image_t const *rhs) in convert_yuv_android_to_yuv_c2d() argument
231 if (!hnd || !rhs) { in convert_yuv_android_to_yuv_c2d()
[all …]
Dsoftware_converter.h51 struct copybit_image_t const *rhs);
63 struct copybit_image_t const *rhs);
/hardware/qcom/display/msm8994/libcopybit/
Dsoftware_converter.cpp184 struct copybit_image_t const *rhs) in convert_yuv_c2d_to_yuv_android() argument
187 if (!hnd || !rhs) { in convert_yuv_c2d_to_yuv_android()
188 ALOGE("%s: invalid inputs hnd=%p rhs=%p", __FUNCTION__, hnd, rhs); in convert_yuv_c2d_to_yuv_android()
193 private_handle_t *dst_hnd = (private_handle_t *)rhs->handle; in convert_yuv_c2d_to_yuv_android()
196 info.width = rhs->w; in convert_yuv_c2d_to_yuv_android()
197 info.height = rhs->h; in convert_yuv_c2d_to_yuv_android()
200 switch(rhs->format) { in convert_yuv_c2d_to_yuv_android()
213 rhs->format); in convert_yuv_c2d_to_yuv_android()
230 struct copybit_image_t const *rhs) in convert_yuv_android_to_yuv_c2d() argument
232 if (!hnd || !rhs) { in convert_yuv_android_to_yuv_c2d()
[all …]
Dsoftware_converter.h50 struct copybit_image_t const *rhs);
62 struct copybit_image_t const *rhs);
/hardware/qcom/display/msm8960/libcopybit/
Dsoftware_converter.cpp182 struct copybit_image_t const *rhs) in convert_yuv_c2d_to_yuv_android() argument
185 if (!hnd || !rhs) { in convert_yuv_c2d_to_yuv_android()
186 ALOGE("%s: invalid inputs hnd=%p rhs=%p", __FUNCTION__, hnd, rhs); in convert_yuv_c2d_to_yuv_android()
191 private_handle_t *dst_hnd = (private_handle_t *)rhs->handle; in convert_yuv_c2d_to_yuv_android()
194 info.width = rhs->w; in convert_yuv_c2d_to_yuv_android()
195 info.height = rhs->h; in convert_yuv_c2d_to_yuv_android()
198 switch(rhs->format) { in convert_yuv_c2d_to_yuv_android()
211 rhs->format); in convert_yuv_c2d_to_yuv_android()
228 struct copybit_image_t const *rhs) in convert_yuv_android_to_yuv_c2d() argument
230 if (!hnd || !rhs) { in convert_yuv_android_to_yuv_c2d()
[all …]
Dsoftware_converter.h50 struct copybit_image_t const *rhs);
62 struct copybit_image_t const *rhs);
/hardware/qcom/sm8150/display/libcopybit/
Dsoftware_converter.cpp183 struct copybit_image_t const *rhs) in convert_yuv_c2d_to_yuv_android() argument
186 if (!hnd || !rhs) { in convert_yuv_c2d_to_yuv_android()
187 ALOGE("%s: invalid inputs hnd=%p rhs=%p", __FUNCTION__, hnd, rhs); in convert_yuv_c2d_to_yuv_android()
192 private_handle_t *dst_hnd = (private_handle_t *)rhs->handle; in convert_yuv_c2d_to_yuv_android()
195 info.width = rhs->w; in convert_yuv_c2d_to_yuv_android()
196 info.height = rhs->h; in convert_yuv_c2d_to_yuv_android()
199 switch(rhs->format) { in convert_yuv_c2d_to_yuv_android()
212 rhs->format); in convert_yuv_c2d_to_yuv_android()
229 struct copybit_image_t const *rhs) in convert_yuv_android_to_yuv_c2d() argument
231 if (!hnd || !rhs) { in convert_yuv_android_to_yuv_c2d()
[all …]
Dsoftware_converter.h51 struct copybit_image_t const *rhs);
63 struct copybit_image_t const *rhs);
/hardware/qcom/display/msm8998/libcopybit/
Dsoftware_converter.cpp185 struct copybit_image_t const *rhs) in convert_yuv_c2d_to_yuv_android() argument
188 if (!hnd || !rhs) { in convert_yuv_c2d_to_yuv_android()
189 ALOGE("%s: invalid inputs hnd=%p rhs=%p", __FUNCTION__, hnd, rhs); in convert_yuv_c2d_to_yuv_android()
194 private_handle_t *dst_hnd = (private_handle_t *)rhs->handle; in convert_yuv_c2d_to_yuv_android()
197 info.width = rhs->w; in convert_yuv_c2d_to_yuv_android()
198 info.height = rhs->h; in convert_yuv_c2d_to_yuv_android()
201 switch(rhs->format) { in convert_yuv_c2d_to_yuv_android()
214 rhs->format); in convert_yuv_c2d_to_yuv_android()
231 struct copybit_image_t const *rhs) in convert_yuv_android_to_yuv_c2d() argument
233 if (!hnd || !rhs) { in convert_yuv_android_to_yuv_c2d()
[all …]
Dsoftware_converter.h51 struct copybit_image_t const *rhs);
63 struct copybit_image_t const *rhs);
/hardware/qcom/sdm845/display/libcopybit/
Dsoftware_converter.cpp183 struct copybit_image_t const *rhs) in convert_yuv_c2d_to_yuv_android() argument
186 if (!hnd || !rhs) { in convert_yuv_c2d_to_yuv_android()
187 ALOGE("%s: invalid inputs hnd=%p rhs=%p", __FUNCTION__, hnd, rhs); in convert_yuv_c2d_to_yuv_android()
192 private_handle_t *dst_hnd = (private_handle_t *)rhs->handle; in convert_yuv_c2d_to_yuv_android()
195 info.width = rhs->w; in convert_yuv_c2d_to_yuv_android()
196 info.height = rhs->h; in convert_yuv_c2d_to_yuv_android()
199 switch(rhs->format) { in convert_yuv_c2d_to_yuv_android()
212 rhs->format); in convert_yuv_c2d_to_yuv_android()
229 struct copybit_image_t const *rhs) in convert_yuv_android_to_yuv_c2d() argument
231 if (!hnd || !rhs) { in convert_yuv_android_to_yuv_c2d()
[all …]
Dsoftware_converter.h51 struct copybit_image_t const *rhs);
63 struct copybit_image_t const *rhs);
/hardware/libhardware/modules/input/evdev/
DInputHost.h46 InputHostBase(const InputHostBase& rhs) = delete;
47 InputHostBase(InputHostBase&& rhs) = delete;
67 InputReport(const InputReport& rhs) = delete;
68 InputReport& operator=(const InputReport& rhs) = delete;
88 InputReportDefinition(const InputReportDefinition& rhs) = delete;
89 InputReportDefinition& operator=(const InputReportDefinition& rhs) = delete;
105 InputDeviceDefinition(const InputDeviceDefinition& rhs) = delete;
106 InputDeviceDefinition& operator=(const InputDeviceDefinition& rhs) = delete;
123 InputProperty(const InputProperty& rhs) = delete;
124 InputProperty& operator=(const InputProperty& rhs) = delete;
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/tests/
DProtoMessageConverter_test.cpp56 auto& rhs = tmpConfig.areaConfigs[idx]; in CheckPropConfigConversion() local
57 EXPECT_EQ(lhs.areaId, rhs.areaId); in CheckPropConfigConversion()
60 EXPECT_EQ(lhs.minInt64Value, rhs.minInt64Value); in CheckPropConfigConversion()
61 EXPECT_EQ(lhs.maxInt64Value, rhs.maxInt64Value); in CheckPropConfigConversion()
64 EXPECT_EQ(lhs.minFloatValue, rhs.minFloatValue); in CheckPropConfigConversion()
65 EXPECT_EQ(lhs.maxFloatValue, rhs.maxFloatValue); in CheckPropConfigConversion()
68 EXPECT_EQ(lhs.minInt32Value, rhs.minInt32Value); in CheckPropConfigConversion()
69 EXPECT_EQ(lhs.maxInt32Value, rhs.maxInt32Value); in CheckPropConfigConversion()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/include/hwc2on1adapter/
DMiniFence.h40 MiniFence(const MiniFence& rhs) = delete;
41 MiniFence& operator=(const MiniFence& rhs) = delete;
42 MiniFence(MiniFence&& rhs) = delete;
43 MiniFence& operator=(MiniFence&& rhs) = delete;
/hardware/interfaces/confirmationui/support/src/
Dconfirmationui_utils.cpp25 bool operator==(const ByteBufferProxy& lhs, const ByteBufferProxy& rhs) { in operator ==() argument
26 if (lhs.size() == rhs.size()) { in operator ==()
28 auto rhsi = rhs.begin(); in operator ==()
/hardware/qcom/display/msm8909w_3100/libcopybit/
Dsoftware_converter.h51 struct copybit_image_t const *rhs);
63 struct copybit_image_t const *rhs);

1234