Home
last modified time | relevance | path

Searched refs:other (Results 1 – 25 of 60) sorted by relevance

123

/chre-3.4.0/core/
Dsensor.cc25 Sensor::Sensor(Sensor &&other) in Sensor() argument
26 : PlatformSensor(std::move(other)), mFlushRequestPending(false) { in Sensor()
27 *this = std::move(other); in Sensor()
30 Sensor &Sensor::operator=(Sensor &&other) { in operator =() argument
31 PlatformSensor::operator=(std::move(other)); in operator =()
33 mSensorRequests = std::move(other.mSensorRequests); in operator =()
35 mFlushRequestTimerHandle = other.mFlushRequestTimerHandle; in operator =()
36 other.mFlushRequestTimerHandle = CHRE_TIMER_INVALID; in operator =()
38 mFlushRequestPending = other.mFlushRequestPending.load(); in operator =()
39 other.mFlushRequestPending = false; in operator =()
[all …]
/chre-3.4.0/util/include/chre/util/
Doptional_impl.h68 Optional<ObjectType> &Optional<ObjectType>::operator=(ObjectType &&other) {
70 object() = std::move(other);
72 new (objectAddr()) ObjectType(std::move(other));
81 Optional<ObjectType> &&other) {
83 if (other.mHasValue) {
84 object() = std::move(other.object());
88 } else if (other.mHasValue) {
89 new (objectAddr()) ObjectType(std::move(other.object()));
92 mHasValue = other.mHasValue;
97 Optional<ObjectType> &Optional<ObjectType>::operator=(const ObjectType &other) {
[all …]
Dunique_ptr_impl.h38 UniquePtr<ObjectType>::UniquePtr(UniquePtr<ObjectType> &&other) { in UniquePtr() argument
39 mObject = other.mObject; in UniquePtr()
40 other.mObject = nullptr; in UniquePtr()
45 UniquePtr<ObjectType>::UniquePtr(UniquePtr<OtherObjectType> &&other) { in UniquePtr() argument
46 mObject = other.mObject; in UniquePtr()
47 other.mObject = nullptr; in UniquePtr()
106 const UniquePtr<ObjectType> &other) const {
107 return mObject == other.get();
112 const UniquePtr<ObjectType> &other) const {
113 return !(*this == other);
[all …]
Dunique_ptr.h59 UniquePtr(UniquePtr<ObjectType> &&other);
69 UniquePtr(UniquePtr<OtherObjectType> &&other);
138 UniquePtr<ObjectType> &operator=(UniquePtr<ObjectType> &&other);
148 bool operator==(const UniquePtr<ObjectType> &other) const;
158 bool operator!=(const UniquePtr<ObjectType> &other) const;
Doptional.h101 Optional<ObjectType> &operator=(ObjectType &&other);
111 Optional<ObjectType> &operator=(Optional<ObjectType> &&other);
120 Optional<ObjectType> &operator=(const ObjectType &other);
128 Optional<ObjectType> &operator=(const Optional<ObjectType> &other);
Ddynamic_vector_impl.h35 DynamicVector<ElementType>::DynamicVector(DynamicVector<ElementType> &&other) in DynamicVector() argument
36 : DynamicVectorBase(std::move(other)) {} in DynamicVector()
46 DynamicVector<ElementType> &&other) {
47 if (this != &other) {
49 mData = other.mData;
50 mSize = other.mSize;
51 mCapacity = other.mCapacity;
53 other.mData = nullptr;
54 other.mSize = 0;
55 other.mCapacity = 0;
[all …]
/chre-3.4.0/apps/wifi_offload/
Dscan_stats.cc30 bool ScanStats::operator==(const ScanStats &other) const { in operator ==()
31 if (this == &other) { in operator ==()
35 other.num_scans_requested_by_nanoapp_ && in operator ==()
37 other.num_scans_serviced_by_hardware_ && in operator ==()
38 num_scans_serviced_by_cache_ == other.num_scans_serviced_by_cache_ && in operator ==()
39 updated_at_chre_ms_ == other.updated_at_chre_ms_ && in operator ==()
40 sent_at_chre_ms_ == other.sent_at_chre_ms_ && in operator ==()
42 other.last_subscription_duration_ms_ && in operator ==()
43 channel_histogram_ == other.channel_histogram_ && in operator ==()
44 scan_records_ == other.scan_records_ && in operator ==()
[all …]
Dscan_result.cc50 ScanResult::ScanResult(const ScanResult &other) in ScanResult() argument
51 : ssid_(other.ssid_), in ScanResult()
52 security_modes_(other.security_modes_), in ScanResult()
53 capability_(other.capability_), in ScanResult()
54 frequency_scanned_mhz_(other.frequency_scanned_mhz_), in ScanResult()
55 rssi_dbm_(other.rssi_dbm_), in ScanResult()
56 tsf_(other.tsf_) { in ScanResult()
57 std::memcpy(bssid_, other.bssid_, sizeof(bssid_)); in ScanResult()
64 bool ScanResult::operator==(const ScanResult &other) const { in operator ==()
65 if (this == &other) { in operator ==()
[all …]
Dscan_record.cc26 bool ScanRecord::operator==(const ScanRecord &other) const { in operator ==()
27 if (this == &other) { in operator ==()
30 return time_spent_scanning_ms_ == other.time_spent_scanning_ms_ && in operator ==()
31 num_channels_scanned_ == other.num_channels_scanned_ && in operator ==()
32 num_entries_aggregated_ == other.num_entries_aggregated_; in operator ==()
Dscan_config.cc21 bool ScanConfig::operator==(const ScanConfig &other) const { in operator ==()
22 if (this == &other) { in operator ==()
25 return scan_params_ == other.scan_params_ && in operator ==()
26 scan_filter_ == other.scan_filter_; in operator ==()
Dpreferred_network.cc23 bool PreferredNetwork::operator==(const PreferredNetwork &other) const { in operator ==()
24 if (this == &other) { in operator ==()
27 return ssid_ == other.ssid_ && security_modes_ == other.security_modes_; in operator ==()
Dscan_params.cc25 bool ScanParams::operator==(const ScanParams &other) const { in operator ==()
26 if (this == &other) { in operator ==()
29 return ssids_to_scan_ == other.ssids_to_scan_ && in operator ==()
30 frequencies_to_scan_mhz_ == other.frequencies_to_scan_mhz_ && in operator ==()
32 other.disconnected_mode_scan_interval_ms_; in operator ==()
Dscan_filter.cc24 bool ScanFilter::operator==(const ScanFilter &other) const { in operator ==()
25 if (this == &other) { in operator ==()
28 return networks_to_match_ == other.networks_to_match_ && in operator ==()
29 min_rssi_threshold_dbm_ == other.min_rssi_threshold_dbm_; in operator ==()
Dssid.cc22 Ssid::Ssid(const Ssid &other) { in Ssid() argument
23 SetData(other.ssid_vec_.data(), other.ssid_vec_.size()); in Ssid()
40 bool Ssid::operator==(const Ssid &other) const { in operator ==()
41 return ssid_vec_ == other.ssid_vec_; in operator ==()
Drpc_log_record.cc24 bool RpcLogRecord::operator==(const RpcLogRecord &other) const { in operator ==()
25 if (this == &other) { in operator ==()
28 return record_type_ == other.record_type_ && in operator ==()
29 timestamp_chre_ms_ == other.timestamp_chre_ms_; in operator ==()
/chre-3.4.0/platform/slpi/see/
Dplatform_sensor.cc56 PlatformSensor::PlatformSensor(PlatformSensor &&other) { in PlatformSensor() argument
57 *this = std::move(other); in PlatformSensor()
64 PlatformSensor &PlatformSensor::operator=(PlatformSensor &&other) { in operator =() argument
67 mSensorType = other.mSensorType; in operator =()
68 mMinInterval = other.mMinInterval; in operator =()
69 mPassiveSupported = other.mPassiveSupported; in operator =()
70 mTargetGroupMask = other.mTargetGroupMask; in operator =()
72 memcpy(mSensorName, other.mSensorName, kSensorNameMaxLen); in operator =()
/chre-3.4.0/platform/linux/
Dplatform_sensor.cc49 PlatformSensor::PlatformSensor(PlatformSensor &&other) { in PlatformSensor() argument
50 *this = std::move(other); in PlatformSensor()
53 PlatformSensor &PlatformSensor::operator=(PlatformSensor &&other) { in operator =() argument
56 mSensorHandle = other.mSensorHandle; in operator =()
57 mSensorInfo = other.mSensorInfo; in operator =()
58 other.mSensorInfo = nullptr; in operator =()
/chre-3.4.0/core/include/chre/core/
Drequest_multiplexer.h56 RequestMultiplexer(RequestMultiplexer &&other) { in RequestMultiplexer() argument
57 *this = std::move(other); in RequestMultiplexer()
60 RequestMultiplexer &operator=(RequestMultiplexer &&other) {
61 mRequests = std::move(other.mRequests);
63 mCurrentMaximalRequest = other.mCurrentMaximalRequest;
64 other.mCurrentMaximalRequest = RequestType();
/chre-3.4.0/util/
Ddynamic_vector_base.cc26 DynamicVectorBase::DynamicVectorBase(DynamicVectorBase &&other) in DynamicVectorBase() argument
27 : mData(other.mData), mSize(other.mSize), mCapacity(other.mCapacity) { in DynamicVectorBase()
28 other.mData = nullptr; in DynamicVectorBase()
29 other.mSize = 0; in DynamicVectorBase()
30 other.mCapacity = 0; in DynamicVectorBase()
/chre-3.4.0/apps/wifi_offload/include/chre/apps/wifi_offload/
Dssid.h37 Ssid(const Ssid &other);
39 Ssid(Ssid &&other) = default;
45 bool operator==(const Ssid &other) const;
Dscan_result.h67 ScanResult(const ScanResult &other);
69 ScanResult(ScanResult &&other) = default;
75 bool operator==(const ScanResult &other) const;
/chre-3.4.0/platform/include/chre/platform/
Dplatform_sensor.h87 PlatformSensor(PlatformSensor &&other);
88 PlatformSensor &operator=(PlatformSensor &&other);
/chre-3.4.0/util/tests/
Doptional_test.cc126 MovableButNonCopyable(MovableButNonCopyable &&other) { in MovableButNonCopyable() argument
127 mValue = other.mValue; in MovableButNonCopyable()
128 other.mValue = kInvalidValue; in MovableButNonCopyable()
131 MovableButNonCopyable &operator=(MovableButNonCopyable &&other) { in operator =() argument
133 mValue = other.mValue; in operator =()
134 other.mValue = kInvalidValue; in operator =()
Ddynamic_vector_test.cc125 MovableButNonCopyable(MovableButNonCopyable &&other) { in MovableButNonCopyable() argument
126 mValue = other.mValue; in MovableButNonCopyable()
127 other.mValue = -1; in MovableButNonCopyable()
130 MovableButNonCopyable &operator=(MovableButNonCopyable &&other) { in operator =() argument
132 mValue = other.mValue; in operator =()
133 other.mValue = -1; in operator =()
170 CopyableButNonMovable(const CopyableButNonMovable &other) { in CopyableButNonMovable() argument
171 mValue = other.mValue; in CopyableButNonMovable()
174 CopyableButNonMovable &operator=(const CopyableButNonMovable &other) { in operator =() argument
176 mValue = other.mValue; in operator =()
[all …]
/chre-3.4.0/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h155 VectorIterator(const VectorIterator &other) : data_(other.data_) {}
158 VectorIterator &operator=(const VectorIterator &other) {
159 data_ = other.data_;
165 VectorIterator &operator=(VectorIterator &&other) {
166 data_ = other.data_;
172 bool operator==(const VectorIterator &other) const {
173 return data_ == other.data_;
176 bool operator<(const VectorIterator &other) const {
177 return data_ < other.data_;
180 bool operator!=(const VectorIterator &other) const {
[all …]

123