Home
last modified time | relevance | path

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

1234567

/system/tools/aidl/tests/golden_output/aidl-test-interface-ndk_platform-source/gen/include/aidl/android/aidl/tests/
DStructuredParcelable.h84 inline bool operator!=(const StructuredParcelable& rhs) const {
85rhs.shouldContainThreeFs, rhs.f, rhs.shouldBeJerry, rhs.shouldBeByteBar, rhs.shouldBeIntBar, rhs.s…
87 inline bool operator<(const StructuredParcelable& rhs) const {
88rhs.shouldContainThreeFs, rhs.f, rhs.shouldBeJerry, rhs.shouldBeByteBar, rhs.shouldBeIntBar, rhs.s…
90 inline bool operator<=(const StructuredParcelable& rhs) const {
91rhs.shouldContainThreeFs, rhs.f, rhs.shouldBeJerry, rhs.shouldBeByteBar, rhs.shouldBeIntBar, rhs.s…
93 inline bool operator==(const StructuredParcelable& rhs) const {
94rhs.shouldContainThreeFs, rhs.f, rhs.shouldBeJerry, rhs.shouldBeByteBar, rhs.shouldBeIntBar, rhs.s…
96 inline bool operator>(const StructuredParcelable& rhs) const {
97rhs.shouldContainThreeFs, rhs.f, rhs.shouldBeJerry, rhs.shouldBeByteBar, rhs.shouldBeIntBar, rhs.s…
[all …]
DParcelableForToString.h54 inline bool operator!=(const ParcelableForToString& rhs) const {
55rhs.intValue, rhs.intArray, rhs.longValue, rhs.longArray, rhs.doubleValue, rhs.doubleArray, rhs.fl…
57 inline bool operator<(const ParcelableForToString& rhs) const {
58rhs.intValue, rhs.intArray, rhs.longValue, rhs.longArray, rhs.doubleValue, rhs.doubleArray, rhs.fl…
60 inline bool operator<=(const ParcelableForToString& rhs) const {
61rhs.intValue, rhs.intArray, rhs.longValue, rhs.longArray, rhs.doubleValue, rhs.doubleArray, rhs.fl…
63 inline bool operator==(const ParcelableForToString& rhs) const {
64rhs.intValue, rhs.intArray, rhs.longValue, rhs.longArray, rhs.doubleValue, rhs.doubleArray, rhs.fl…
66 inline bool operator>(const ParcelableForToString& rhs) const {
67rhs.intValue, rhs.intArray, rhs.longValue, rhs.longArray, rhs.doubleValue, rhs.doubleArray, rhs.fl…
[all …]
DOtherParcelableForToString.h27 inline bool operator!=(const OtherParcelableForToString& rhs) const {
28 return std::tie(field) != std::tie(rhs.field);
30 inline bool operator<(const OtherParcelableForToString& rhs) const {
31 return std::tie(field) < std::tie(rhs.field);
33 inline bool operator<=(const OtherParcelableForToString& rhs) const {
34 return std::tie(field) <= std::tie(rhs.field);
36 inline bool operator==(const OtherParcelableForToString& rhs) const {
37 return std::tie(field) == std::tie(rhs.field);
39 inline bool operator>(const OtherParcelableForToString& rhs) const {
40 return std::tie(field) > std::tie(rhs.field);
[all …]
DGenericStructuredParcelable.h29 inline bool operator!=(const GenericStructuredParcelable& rhs) const {
30 return std::tie(a, b) != std::tie(rhs.a, rhs.b);
32 inline bool operator<(const GenericStructuredParcelable& rhs) const {
33 return std::tie(a, b) < std::tie(rhs.a, rhs.b);
35 inline bool operator<=(const GenericStructuredParcelable& rhs) const {
36 return std::tie(a, b) <= std::tie(rhs.a, rhs.b);
38 inline bool operator==(const GenericStructuredParcelable& rhs) const {
39 return std::tie(a, b) == std::tie(rhs.a, rhs.b);
41 inline bool operator>(const GenericStructuredParcelable& rhs) const {
42 return std::tie(a, b) > std::tie(rhs.a, rhs.b);
[all …]
/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/include/android/aidl/tests/
DStructuredParcelable.h27 inline bool operator!=(const StructuredParcelable& rhs) const {
28rhs.shouldContainThreeFs, rhs.f, rhs.shouldBeJerry, rhs.shouldBeByteBar, rhs.shouldBeIntBar, rhs.s…
30 inline bool operator<(const StructuredParcelable& rhs) const {
31rhs.shouldContainThreeFs, rhs.f, rhs.shouldBeJerry, rhs.shouldBeByteBar, rhs.shouldBeIntBar, rhs.s…
33 inline bool operator<=(const StructuredParcelable& rhs) const {
34rhs.shouldContainThreeFs, rhs.f, rhs.shouldBeJerry, rhs.shouldBeByteBar, rhs.shouldBeIntBar, rhs.s…
36 inline bool operator==(const StructuredParcelable& rhs) const {
37rhs.shouldContainThreeFs, rhs.f, rhs.shouldBeJerry, rhs.shouldBeByteBar, rhs.shouldBeIntBar, rhs.s…
39 inline bool operator>(const StructuredParcelable& rhs) const {
40rhs.shouldContainThreeFs, rhs.f, rhs.shouldBeJerry, rhs.shouldBeByteBar, rhs.shouldBeIntBar, rhs.s…
[all …]
DParcelableForToString.h24 inline bool operator!=(const ParcelableForToString& rhs) const {
25rhs.intValue, rhs.intArray, rhs.longValue, rhs.longArray, rhs.doubleValue, rhs.doubleArray, rhs.fl…
27 inline bool operator<(const ParcelableForToString& rhs) const {
28rhs.intValue, rhs.intArray, rhs.longValue, rhs.longArray, rhs.doubleValue, rhs.doubleArray, rhs.fl…
30 inline bool operator<=(const ParcelableForToString& rhs) const {
31rhs.intValue, rhs.intArray, rhs.longValue, rhs.longArray, rhs.doubleValue, rhs.doubleArray, rhs.fl…
33 inline bool operator==(const ParcelableForToString& rhs) const {
34rhs.intValue, rhs.intArray, rhs.longValue, rhs.longArray, rhs.doubleValue, rhs.doubleArray, rhs.fl…
36 inline bool operator>(const ParcelableForToString& rhs) const {
37rhs.intValue, rhs.intArray, rhs.longValue, rhs.longArray, rhs.doubleValue, rhs.doubleArray, rhs.fl…
[all …]
DOtherParcelableForToString.h17 inline bool operator!=(const OtherParcelableForToString& rhs) const {
18 return std::tie(field) != std::tie(rhs.field);
20 inline bool operator<(const OtherParcelableForToString& rhs) const {
21 return std::tie(field) < std::tie(rhs.field);
23 inline bool operator<=(const OtherParcelableForToString& rhs) const {
24 return std::tie(field) <= std::tie(rhs.field);
26 inline bool operator==(const OtherParcelableForToString& rhs) const {
27 return std::tie(field) == std::tie(rhs.field);
29 inline bool operator>(const OtherParcelableForToString& rhs) const {
30 return std::tie(field) > std::tie(rhs.field);
[all …]
DGenericStructuredParcelable.h19 inline bool operator!=(const GenericStructuredParcelable& rhs) const {
20 return std::tie(a, b) != std::tie(rhs.a, rhs.b);
22 inline bool operator<(const GenericStructuredParcelable& rhs) const {
23 return std::tie(a, b) < std::tie(rhs.a, rhs.b);
25 inline bool operator<=(const GenericStructuredParcelable& rhs) const {
26 return std::tie(a, b) <= std::tie(rhs.a, rhs.b);
28 inline bool operator==(const GenericStructuredParcelable& rhs) const {
29 return std::tie(a, b) == std::tie(rhs.a, rhs.b);
31 inline bool operator>(const GenericStructuredParcelable& rhs) const {
32 return std::tie(a, b) > std::tie(rhs.a, rhs.b);
[all …]
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-ndk_platform-source/gen/include/aidl/android/aidl/loggable/
DData.h32 inline bool operator!=(const Data& rhs) const {
33 … std::tie(num, str, nestedUnion, nestedEnum) != std::tie(rhs.num, rhs.str, rhs.nestedUnion, rhs.ne…
35 inline bool operator<(const Data& rhs) const {
36 …n std::tie(num, str, nestedUnion, nestedEnum) < std::tie(rhs.num, rhs.str, rhs.nestedUnion, rhs.ne…
38 inline bool operator<=(const Data& rhs) const {
39 … std::tie(num, str, nestedUnion, nestedEnum) <= std::tie(rhs.num, rhs.str, rhs.nestedUnion, rhs.ne…
41 inline bool operator==(const Data& rhs) const {
42 … std::tie(num, str, nestedUnion, nestedEnum) == std::tie(rhs.num, rhs.str, rhs.nestedUnion, rhs.ne…
44 inline bool operator>(const Data& rhs) const {
45 …n std::tie(num, str, nestedUnion, nestedEnum) > std::tie(rhs.num, rhs.str, rhs.nestedUnion, rhs.ne…
[all …]
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-ndk-source/gen/include/aidl/android/aidl/loggable/
DData.h32 inline bool operator!=(const Data& rhs) const {
33 … std::tie(num, str, nestedUnion, nestedEnum) != std::tie(rhs.num, rhs.str, rhs.nestedUnion, rhs.ne…
35 inline bool operator<(const Data& rhs) const {
36 …n std::tie(num, str, nestedUnion, nestedEnum) < std::tie(rhs.num, rhs.str, rhs.nestedUnion, rhs.ne…
38 inline bool operator<=(const Data& rhs) const {
39 … std::tie(num, str, nestedUnion, nestedEnum) <= std::tie(rhs.num, rhs.str, rhs.nestedUnion, rhs.ne…
41 inline bool operator==(const Data& rhs) const {
42 … std::tie(num, str, nestedUnion, nestedEnum) == std::tie(rhs.num, rhs.str, rhs.nestedUnion, rhs.ne…
44 inline bool operator>(const Data& rhs) const {
45 …n std::tie(num, str, nestedUnion, nestedEnum) > std::tie(rhs.num, rhs.str, rhs.nestedUnion, rhs.ne…
[all …]
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-cpp-source/gen/include/android/aidl/loggable/
DData.h21 inline bool operator!=(const Data& rhs) const {
22 … std::tie(num, str, nestedUnion, nestedEnum) != std::tie(rhs.num, rhs.str, rhs.nestedUnion, rhs.ne…
24 inline bool operator<(const Data& rhs) const {
25 …n std::tie(num, str, nestedUnion, nestedEnum) < std::tie(rhs.num, rhs.str, rhs.nestedUnion, rhs.ne…
27 inline bool operator<=(const Data& rhs) const {
28 … std::tie(num, str, nestedUnion, nestedEnum) <= std::tie(rhs.num, rhs.str, rhs.nestedUnion, rhs.ne…
30 inline bool operator==(const Data& rhs) const {
31 … std::tie(num, str, nestedUnion, nestedEnum) == std::tie(rhs.num, rhs.str, rhs.nestedUnion, rhs.ne…
33 inline bool operator>(const Data& rhs) const {
34 …n std::tie(num, str, nestedUnion, nestedEnum) > std::tie(rhs.num, rhs.str, rhs.nestedUnion, rhs.ne…
[all …]
/system/security/keystore/include/keystore/
Dkeystore_return_types.h72 inline bool operator==(const ResponseCode& rhs) const {
73 return (rhs == ResponseCode::NO_ERROR &&
75 errorCode_ == int32_t(rhs);
77 inline bool operator==(const ErrorCode& rhs) const {
78 return (rhs == ErrorCode::OK &&
80 errorCode_ == int32_t(rhs);
82 inline bool operator!=(const ResponseCode& rhs) const { return !(*this == rhs); }
83 inline bool operator!=(const ErrorCode& rhs) const { return !(*this == rhs); }
89 inline bool operator==(const ResponseCode& lhs, const KeyStoreServiceReturnCode& rhs) {
90 return rhs == lhs;
[all …]
/system/media/tests/
Dsystemaudio_tests.cpp325 void updateFieldAndCompare(const T updatedValue, T U::*field, U* lhs, U* rhs, Func p) { in updateFieldAndCompare() argument
327 ASSERT_FALSE(p(lhs, rhs)); in updateFieldAndCompare()
328 lhs->*field = rhs->*field; in updateFieldAndCompare()
329 ASSERT_TRUE(p(lhs, rhs)); in updateFieldAndCompare()
334 struct audio_port_config* lhs, struct audio_port_config* rhs, in updateConfigFieldAndCompare() argument
337 ASSERT_FALSE(p(lhs, rhs)); in updateConfigFieldAndCompare()
340 rhs->config_mask = lhs->config_mask; in updateConfigFieldAndCompare()
341 ASSERT_TRUE(p(lhs, rhs)); in updateConfigFieldAndCompare()
343 rhs->config_mask = savedConfigMask; in updateConfigFieldAndCompare()
344 lhs->*field = rhs->*field; in updateConfigFieldAndCompare()
[all …]
/system/bt/gd/packet/parser/test/
Dsix_bytes.h48 bool operator<(const SixBytes& rhs) const {
49 return (std::memcmp(six_bytes, rhs.six_bytes, sizeof(six_bytes)) < 0);
51 bool operator==(const SixBytes& rhs) const {
52 return (std::memcmp(six_bytes, rhs.six_bytes, sizeof(six_bytes)) == 0);
54 bool operator>(const SixBytes& rhs) const {
55 return (rhs < *this);
57 bool operator<=(const SixBytes& rhs) const {
58 return !(*this > rhs);
60 bool operator>=(const SixBytes& rhs) const {
61 return !(*this < rhs);
[all …]
/system/bt/gd/packet/parser/
Dsize.h86 Size operator+(int rhs) {
87 return Size(bits_ + rhs);
90 Size operator+(std::string rhs) {
94 ret.dynamic_.push_back(rhs);
98 Size operator+(const Size& rhs) {
99 auto ret = Size(bits_ + rhs.bits_);
100 ret.is_valid_ = is_valid_ && rhs.is_valid_;
102 ret.dynamic_.insert(ret.dynamic_.end(), rhs.dynamic_.begin(), rhs.dynamic_.end());
106 Size& operator+=(int rhs) {
108 bits_ += rhs;
[all …]
/system/extras/libfscrypt/include/fscrypt/
Dfscrypt.h64 inline bool operator==(const EncryptionOptions& lhs, const EncryptionOptions& rhs) {
65 return (lhs.version == rhs.version) && (lhs.contents_mode == rhs.contents_mode) &&
66 (lhs.filenames_mode == rhs.filenames_mode) && (lhs.flags == rhs.flags) &&
67 (lhs.use_hw_wrapped_key == rhs.use_hw_wrapped_key);
70 inline bool operator!=(const EncryptionOptions& lhs, const EncryptionOptions& rhs) {
71 return !(lhs == rhs);
74 inline bool operator==(const EncryptionPolicy& lhs, const EncryptionPolicy& rhs) {
75 return lhs.key_raw_ref == rhs.key_raw_ref && lhs.options == rhs.options;
78 inline bool operator!=(const EncryptionPolicy& lhs, const EncryptionPolicy& rhs) {
79 return !(lhs == rhs);
/system/bt/types/
Draw_address.h35 bool operator<(const RawAddress& rhs) const {
36 return (std::memcmp(address, rhs.address, sizeof(address)) < 0);
38 bool operator==(const RawAddress& rhs) const {
39 return (std::memcmp(address, rhs.address, sizeof(address)) == 0);
41 bool operator>(const RawAddress& rhs) const { return (rhs < *this); }
42 bool operator<=(const RawAddress& rhs) const { return !(*this > rhs); }
43 bool operator>=(const RawAddress& rhs) const { return !(*this < rhs); }
44 bool operator!=(const RawAddress& rhs) const { return !(*this == rhs); }
/system/bt/gd/hci/
Dclass_of_device.h55 bool operator<(const ClassOfDevice& rhs) const {
56 return cod < rhs.cod;
58 bool operator==(const ClassOfDevice& rhs) const {
59 return cod == rhs.cod;
61 bool operator>(const ClassOfDevice& rhs) const {
62 return (rhs < *this);
64 bool operator<=(const ClassOfDevice& rhs) const {
65 return !(*this > rhs);
67 bool operator>=(const ClassOfDevice& rhs) const {
68 return !(*this < rhs);
[all …]
Daddress_with_type.h75 bool operator<(const AddressWithType& rhs) const {
76 return address_ < rhs.address_ && address_type_ < rhs.address_type_;
78 bool operator==(const AddressWithType& rhs) const {
79 return address_ == rhs.address_ && address_type_ == rhs.address_type_;
81 bool operator>(const AddressWithType& rhs) const {
82 return (rhs < *this);
84 bool operator<=(const AddressWithType& rhs) const {
85 return !(*this > rhs);
87 bool operator>=(const AddressWithType& rhs) const {
88 return !(*this < rhs);
[all …]
Daddress.h57 bool operator<(const Address& rhs) const {
58 return address < rhs.address;
60 bool operator==(const Address& rhs) const {
61 return address == rhs.address;
63 bool operator>(const Address& rhs) const {
64 return (rhs < *this);
66 bool operator<=(const Address& rhs) const {
67 return !(*this > rhs);
69 bool operator>=(const Address& rhs) const {
70 return !(*this < rhs);
[all …]
/system/vold/
DKeyBuffer.cpp25 KeyBuffer operator+(KeyBuffer&& lhs, const KeyBuffer& rhs) { in operator +() argument
26 std::copy(rhs.begin(), rhs.end(), std::back_inserter(lhs)); in operator +()
30 KeyBuffer operator+(KeyBuffer&& lhs, const char* rhs) { in operator +() argument
31 std::copy(rhs, rhs + strlen(rhs), std::back_inserter(lhs)); in operator +()
/system/connectivity/wificond/
Ddevice_wiphy_capabilities.h31 bool operator==(const DeviceWiphyCapabilities& rhs) const {
32 return (is80211nSupported_ == rhs.is80211nSupported_
33 && is80211acSupported_ == rhs.is80211acSupported_
34 && is80211axSupported_ == rhs.is80211axSupported_
35 && is160MhzSupported_ == rhs.is160MhzSupported_
36 && is80p80MhzSupported_ == rhs.is80p80MhzSupported_
37 && maxTxStreams_ == rhs.maxTxStreams_
38 && maxRxStreams_ == rhs.maxRxStreams_);
/system/bt/gd/common/
Dbyte_array.h55 bool operator<(const ByteArray& rhs) const {
56 return bytes < rhs.bytes;
58 bool operator==(const ByteArray& rhs) const {
59 return bytes == rhs.bytes;
61 bool operator>(const ByteArray& rhs) const {
62 return (rhs < *this);
64 bool operator<=(const ByteArray& rhs) const {
65 return !(*this > rhs);
67 bool operator>=(const ByteArray& rhs) const {
68 return !(*this < rhs);
[all …]
/system/bt/service/common/bluetooth/
Dscan_settings.cc39 bool ScanSettings::operator==(const ScanSettings& rhs) const { in operator ==()
40 if (mode_ != rhs.mode_) return false; in operator ==()
42 if (callback_type_ != rhs.callback_type_) return false; in operator ==()
44 if (result_type_ != rhs.result_type_) return false; in operator ==()
46 if (report_delay_ms_ != rhs.report_delay_ms_) return false; in operator ==()
48 if (match_mode_ != rhs.match_mode_) return false; in operator ==()
50 if (match_count_per_filter_ != rhs.match_count_per_filter_) return false; in operator ==()
Dscan_filter.cc68 bool ScanFilter::operator==(const ScanFilter& rhs) const { in operator ==()
69 if (device_name_ != rhs.device_name_) return false; in operator ==()
71 if (device_address_ != rhs.device_address_) return false; in operator ==()
75 if (!!service_uuid_ != !!rhs.service_uuid_) return false; in operator ==()
77 if (service_uuid_ && rhs.service_uuid_ && in operator ==()
78 *service_uuid_ != *rhs.service_uuid_) in operator ==()
83 if (!!service_uuid_mask_ != !!rhs.service_uuid_mask_) return false; in operator ==()
85 if (service_uuid_mask_ && rhs.service_uuid_mask_ && in operator ==()
86 *service_uuid_mask_ != *rhs.service_uuid_mask_) in operator ==()

1234567