Home
last modified time | relevance | path

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

12

/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DTriState.h154 friend TriState<T> operator op(TriState<T> lhs, const TriState<T>& rhs) { \
155 lhs compound_op rhs; \
156 return lhs; \
158 friend TriState<T> operator op(TriState<T> lhs, const T& rhs) { \
159 lhs compound_op rhs; \
160 return lhs; \
162 friend TriState<T> operator op(const T &lhs, const TriState<T>& rhs) { \
163 TriState<T> tmp(lhs); \
178 friend TriState<bool> operator op(const TriState<T>& lhs, const TriState<T>& rhs) { \
179 if (lhs.mIsSet && rhs.mIsSet) { \
[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/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 ==()
27 auto lhsi = lhs.begin(); in operator ==()
29 while (lhsi != lhs.end()) { in operator ==()
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DGeneratorHub.h52 bool operator()(const VhalEvent& lhs, const VhalEvent& rhs) const { in operator()
53 return lhs.val.timestamp > rhs.val.timestamp; in operator()
/hardware/interfaces/keymaster/4.1/support/include/keymasterV4_1/
DKeymaster.h58 auto lhs = std::tie(securityLevel, majorVersion, minorVersion, supportsEc);
61 return lhs > rhs;
/hardware/interfaces/broadcastradio/common/utils/
DWorkerThread.cpp30 bool operator<(const WorkerThread::Task& lhs, const WorkerThread::Task& rhs) { in operator <() argument
31 return lhs.when > rhs.when; in operator <()
/hardware/interfaces/audio/effect/all-versions/vts/functional/
DVtsHalAudioEffectTargetTest.cpp332 inline bool operator==(const AudioBuffer& lhs, const AudioBuffer& rhs) { in operator ==() argument
333 return lhs.id == rhs.id && lhs.frameCount == rhs.frameCount && lhs.data.handle() == nullptr && in operator ==()
337 inline bool operator==(const EffectBufferConfig& lhs, const EffectBufferConfig& rhs) { in operator ==() argument
338 return lhs.buffer == rhs.buffer && lhs.samplingRateHz == rhs.samplingRateHz && in operator ==()
339 lhs.channels == rhs.channels && lhs.format == rhs.format && in operator ==()
340 lhs.accessMode == rhs.accessMode && lhs.mask == rhs.mask; in operator ==()
343 inline bool operator==(const EffectConfig& lhs, const EffectConfig& rhs) { in operator ==() argument
344 return lhs.inputCfg == rhs.inputCfg && lhs.outputCfg == rhs.outputCfg; in operator ==()
/hardware/interfaces/broadcastradio/2.0/default/
DVirtualProgram.cpp95 bool operator<(const VirtualProgram& lhs, const VirtualProgram& rhs) { in operator <() argument
96 auto& l = lhs.selector; in operator <()
DVirtualProgram.h48 friend bool operator<(const VirtualProgram& lhs, const VirtualProgram& rhs);
/hardware/interfaces/broadcastradio/1.1/default/
DVirtualProgram.cpp77 bool operator<(const VirtualProgram& lhs, const VirtualProgram& rhs) { in operator <() argument
78 auto& l = lhs.selector; in operator <()
DVirtualProgram.h43 friend bool operator<(const VirtualProgram& lhs, const VirtualProgram& rhs);
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_layers.h122 bool operator()(const HWCLayer *lhs, const HWCLayer *rhs) const { in operator()
123 return lhs->GetZ() < rhs->GetZ(); in operator()
/hardware/interfaces/broadcastradio/common/utils/include/broadcastradio-utils/
DWorkerThread.h38 friend bool operator<(const Task& lhs, const Task& rhs);
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_layers.h122 bool operator()(const HWCLayer *lhs, const HWCLayer *rhs) const { in operator()
123 return lhs->GetZ() < rhs->GetZ(); in operator()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_layers.h128 bool operator()(const HWCLayer *lhs, const HWCLayer *rhs) const { in operator()
129 return lhs->GetZ() < rhs->GetZ(); in operator()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_layers.h130 bool operator()(const HWCLayer *lhs, const HWCLayer *rhs) const { in operator()
131 return lhs->GetZ() < rhs->GetZ(); in operator()
/hardware/qcom/display/msm8960/libcopybit/
Dcopybit.cpp114 const struct copybit_rect_t *lhs, in intersect() argument
116 out->l = max(lhs->l, rhs->l); in intersect()
117 out->t = max(lhs->t, rhs->t); in intersect()
118 out->r = min(lhs->r, rhs->r); in intersect()
119 out->b = min(lhs->b, rhs->b); in intersect()
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_layers.h157 bool operator()(const HWCLayer *lhs, const HWCLayer *rhs) const { in operator()
158 return lhs->GetZ() < rhs->GetZ(); in operator()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_layers.h161 bool operator()(const HWCLayer *lhs, const HWCLayer *rhs) const { in operator()
162 return lhs->GetZ() < rhs->GetZ(); in operator()
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.cpp36 static bool operator==(const hwc_color_t& lhs, const hwc_color_t& rhs) { in operator ==() argument
37 return lhs.r == rhs.r && in operator ==()
38 lhs.g == rhs.g && in operator ==()
39 lhs.b == rhs.b && in operator ==()
40 lhs.a == rhs.a; in operator ==()
43 static bool operator==(const hwc_rect_t& lhs, const hwc_rect_t& rhs) { in operator ==() argument
44 return lhs.left == rhs.left && in operator ==()
45 lhs.top == rhs.top && in operator ==()
46 lhs.right == rhs.right && in operator ==()
47 lhs.bottom == rhs.bottom; in operator ==()
[all …]
/hardware/qcom/display/msm8084/libcopybit/
Dcopybit.cpp116 const struct copybit_rect_t *lhs, in intersect() argument
118 out->l = max(lhs->l, rhs->l); in intersect()
119 out->t = max(lhs->t, rhs->t); in intersect()
120 out->r = min(lhs->r, rhs->r); in intersect()
121 out->b = min(lhs->b, rhs->b); in intersect()
/hardware/qcom/sdm845/display/libcopybit/
Dcopybit.cpp118 const struct copybit_rect_t *lhs, in intersect() argument
120 out->l = max(lhs->l, rhs->l); in intersect()
121 out->t = max(lhs->t, rhs->t); in intersect()
122 out->r = min(lhs->r, rhs->r); in intersect()
123 out->b = min(lhs->b, rhs->b); in intersect()
/hardware/qcom/display/msm8909w_3100/libcopybit/
Dcopybit.cpp118 const struct copybit_rect_t *lhs, in intersect() argument
120 out->l = max(lhs->l, rhs->l); in intersect()
121 out->t = max(lhs->t, rhs->t); in intersect()
122 out->r = min(lhs->r, rhs->r); in intersect()
123 out->b = min(lhs->b, rhs->b); in intersect()
/hardware/qcom/sm8150/display/libcopybit/
Dcopybit.cpp118 const struct copybit_rect_t *lhs, in intersect() argument
120 out->l = max(lhs->l, rhs->l); in intersect()
121 out->t = max(lhs->t, rhs->t); in intersect()
122 out->r = min(lhs->r, rhs->r); in intersect()
123 out->b = min(lhs->b, rhs->b); in intersect()

12