Home
last modified time | relevance | path

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

12345678910>>...15

/hardware/google/pixel/perfstatsd/include/
Dio_usage.h56 UserIo &operator=(const UserIo &other) {
57 uid = other.uid;
58 fgRead = other.fgRead;
59 bgRead = other.bgRead;
60 fgWrite = other.fgWrite;
61 bgWrite = other.bgWrite;
62 fgFsync = other.fgFsync;
63 bgFsync = other.bgFsync;
67 UserIo operator-(const UserIo &other) const {
70 r.fgRead = fgRead - other.fgRead;
[all …]
/hardware/interfaces/keymaster/4.0/vts/functional/
DKeymasterHidlTest.h45 HidlBuf(const super& other) : super(other) {} in HidlBuf() argument
46 HidlBuf(super&& other) : super(std::move(other)) { other = {}; } in HidlBuf() argument
47 HidlBuf(const HidlBuf& other) : super(other) {} in HidlBuf() argument
48 HidlBuf(HidlBuf&& other) : super(std::move(other)) { other = HidlBuf(); } in HidlBuf() argument
49 explicit HidlBuf(const std::string& other) : HidlBuf() { *this = other; } in HidlBuf() argument
51 HidlBuf& operator=(const super& other) {
52 super::operator=(other);
56 HidlBuf& operator=(super&& other) {
57 super::operator=(std::move(other));
58 other = {};
[all …]
/hardware/interfaces/identity/support/src/
Dcppbor.cpp107 bool Item::operator==(const Item& other) const& { in operator ==()
108 if (type() != other.type()) return false; in operator ==()
111 return *asUint() == *(other.asUint()); in operator ==()
113 return *asNint() == *(other.asNint()); in operator ==()
115 return *asBstr() == *(other.asBstr()); in operator ==()
117 return *asTstr() == *(other.asTstr()); in operator ==()
119 return *asArray() == *(other.asArray()); in operator ==()
121 return *asMap() == *(other.asMap()); in operator ==()
123 return *asSimple() == *(other.asSimple()); in operator ==()
125 return *asSemantic() == *(other.asSemantic()); in operator ==()
[all …]
/hardware/google/av/codec2/include/
DC2Buffer.h276 inline constexpr bool contains(const C2Segment &other) const { in contains()
277 if (!isValid() || !other.isValid()) { in contains()
280 return offset <= other.offset in contains()
281 && offset + size >= other.offset + other.size; in contains()
285 inline constexpr bool operator==(const C2Segment &other) const {
287 return !other.isValid();
289 return offset == other.offset && size == other.size;
293 inline constexpr bool operator!=(const C2Segment &other) const {
294 return !operator==(other);
297 inline constexpr bool operator>=(const C2Segment &other) const {
[all …]
DC2.h161 inline bool operator!=(const type &other) const { return !(*this == other); } \
162 … inline bool operator<=(const type &other) const { return (*this == other) || (*this < other); } \
163 inline bool operator>=(const type &other) const { return !(*this < other); } \
164 inline bool operator>(const type &other) const { return !(*this < other) && !(*this == other); }
167 inline bool operator<(const type &other) const { return field < other.field; } \
168 inline bool operator==(const type &other) const { return field == other.field; } \
172 inline bool operator<(const type &other) const { \
173 return (field & mask) < (other.field & (mask)); \
175 inline bool operator==(const type &other) const { \
176 return (field & mask) == (other.field & (mask)); \
[all …]
DC2Param.h504 inline bool updateFrom(const C2Param &other) { in updateFrom()
505 if (other._mSize <= _mSize && other._mIndex == _mIndex && _mSize > 0) { in updateFrom()
506 memcpy(this, &other, other._mSize); in updateFrom()
657 inline bool operator==(const _C2FieldId &other) const {
658 return _mOffset == other._mOffset && _mSize == other._mSize;
661 inline bool operator<(const _C2FieldId &other) const {
662 return _mOffset < other._mOffset ||
664 (_mOffset == other._mOffset && _mSize > other._mSize);
773 inline C2ParamField(const C2ParamField &other) = default;
778 inline bool operator==(const C2ParamField &other) const {
[all …]
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/
Dauthorization_set.h46 AuthorizationSet(const AuthorizationSet& other) : data_(other.data_) {} in AuthorizationSet() argument
49 AuthorizationSet(AuthorizationSet&& other) noexcept : data_(std::move(other.data_)) {} in AuthorizationSet() argument
52 AuthorizationSet(const hidl_vec<KeyParameter>& other) { *this = other; } in AuthorizationSet() argument
55 AuthorizationSet& operator=(const AuthorizationSet& other) {
56 data_ = other.data_;
61 AuthorizationSet& operator=(AuthorizationSet&& other) noexcept {
62 data_ = std::move(other.data_);
66 AuthorizationSet& operator=(const hidl_vec<KeyParameter>& other) {
67 if (other.size() > 0) {
68 data_.resize(other.size());
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehiclePropertyStore.cpp28 bool VehiclePropertyStore::RecordId::operator==(const VehiclePropertyStore::RecordId& other) const { in operator ==()
29 return prop == other.prop && area == other.area && token == other.token; in operator ==()
32 bool VehiclePropertyStore::RecordId::operator<(const VehiclePropertyStore::RecordId& other) const { in operator <()
33 return prop < other.prop in operator <()
34 || (prop == other.prop && area < other.area) in operator <()
35 || (prop == other.prop && area == other.area && token < other.token); in operator <()
/hardware/interfaces/keymaster/4.1/support/include/keymasterV4_1/
DKeymaster.h57 bool operator>(const VersionResult& other) const {
59 auto rhs = std::tie(other.securityLevel, other.majorVersion, other.minorVersion,
60 other.supportsEc);
/hardware/google/easel/amber/camera/include/
DHdrPlusTypes.h68 bool operator==(const PlaneConfiguration &other) const {
69 return stride == other.stride &&
70 scanline == other.scanline;
73 bool operator!=(const PlaneConfiguration &other) const {
74 return !(*this == other);
93 bool operator==(const ImageConfiguration &other) const {
94 return width == other.width &&
95 height == other.height &&
96 format == other.format &&
97 planes == other.planes &&
[all …]
/hardware/interfaces/camera/common/1.0/default/include/
DCameraMetadata.h51 CameraMetadata(const CameraMetadata &other);
56 CameraMetadata &operator=(const CameraMetadata &other);
101 void acquire(CameraMetadata &other);
106 status_t append(const CameraMetadata &other);
111 status_t append(const camera_metadata* other);
180 void swap(CameraMetadata &other);
/hardware/libhardware/modules/camera/3_4/
Dstream_format.cpp84 bool StreamFormat::operator==(const StreamFormat& other) const { in operator ==()
87 return (type_ == other.type_ && in operator ==()
88 v4l2_pixel_format_ == other.v4l2_pixel_format_ && in operator ==()
89 width_ == other.width_ && height_ == other.height_); in operator ==()
92 bool StreamFormat::operator!=(const StreamFormat& other) const { in operator !=()
93 return !(*this == other); in operator !=()
/hardware/qcom/sdm845/data/ipacfg-mgr/hal/src/
DLocalLogBuffer.cpp51 LocalLogBuffer::FunctionLog::FunctionLog(const FunctionLog& other) : in FunctionLog() argument
52 mName(other.mName) { in FunctionLog()
53 mArgsProvided = other.mArgsProvided; in FunctionLog()
55 mSSArgs.str(other.mSSArgs.str()); in FunctionLog()
56 mSSReturn.str(other.mSSReturn.str()); in FunctionLog()
/hardware/qcom/sm8150/data/ipacfg-mgr/hal/src/
DLocalLogBuffer.cpp51 LocalLogBuffer::FunctionLog::FunctionLog(const FunctionLog& other) : in FunctionLog() argument
52 mName(other.mName) { in FunctionLog()
53 mArgsProvided = other.mArgsProvided; in FunctionLog()
55 mSSArgs.str(other.mSSArgs.str()); in FunctionLog()
56 mSSReturn.str(other.mSSReturn.str()); in FunctionLog()
/hardware/interfaces/keymaster/3.0/vts/functional/
Dauthorization_set.h47 AuthorizationSet(const AuthorizationSet& other) : data_(other.data_) {} in AuthorizationSet() argument
50 AuthorizationSet(AuthorizationSet&& other) : data_(std::move(other.data_)) {} in AuthorizationSet() argument
53 AuthorizationSet(const hidl_vec<KeyParameter>& other) { *this = other; } in AuthorizationSet() argument
56 AuthorizationSet& operator=(const AuthorizationSet& other) {
57 data_ = other.data_;
62 AuthorizationSet& operator=(AuthorizationSet&& other) {
63 data_ = std::move(other.data_);
67 AuthorizationSet& operator=(const hidl_vec<KeyParameter>& other) {
68 if (other.size() > 0) {
69 data_.resize(other.size());
[all …]
/hardware/interfaces/camera/common/1.0/default/
DCameraMetadata.cpp46 CameraMetadata::CameraMetadata(const CameraMetadata &other) : in CameraMetadata() argument
48 mBuffer = clone_camera_metadata(other.mBuffer); in CameraMetadata()
56 CameraMetadata &CameraMetadata::operator=(const CameraMetadata &other) { in operator =() argument
57 return operator=(other.mBuffer); in operator =()
132 void CameraMetadata::acquire(CameraMetadata &other) { in acquire() argument
137 acquire(other.release()); in acquire()
140 status_t CameraMetadata::append(const CameraMetadata &other) { in append() argument
141 return append(other.mBuffer); in append()
144 status_t CameraMetadata::append(const camera_metadata_t* other) { in append() argument
149 size_t extraEntries = get_camera_metadata_entry_count(other); in append()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/hal/src/
DLocalLogBuffer.cpp52 LocalLogBuffer::FunctionLog::FunctionLog(const FunctionLog& other) : in FunctionLog() argument
53 mName(other.mName) { in FunctionLog()
54 mArgsProvided = other.mArgsProvided; in FunctionLog()
56 mSSArgs.str(other.mSSArgs.str()); in FunctionLog()
57 mSSReturn.str(other.mSSReturn.str()); in FunctionLog()
/hardware/interfaces/neuralnetworks/
DTEST_MAPPING8 // testing time. The other sample drivers (fast-float, quant, etc.)
19 // testing time. The other sample drivers (fast-float, quant, etc.)
30 // testing time. The other sample drivers (fast-float, quant, etc.)
41 // testing time. The other sample drivers (fast-float, quant, etc.)
/hardware/interfaces/health/2.0/
DIHealth.hal38 * UNKNOWN for other errors.
49 * UNKNOWN for other errors.
61 * UNKNOWN for other errors.
71 * UNKNOWN for other errors.
86 * UNKNOWN for other errors.
103 * UNKNOWN for other errors.
115 * UNKNOWN for other errors.
125 * UNKNOWN for other errors.
136 * UNKNOWN other errors.
146 * UNKNOWN other errors.
[all …]
/hardware/interfaces/tv/tuner/1.0/
DITuner.hal36 * UNKNOWN_ERROR if tuning failed for other reasons.
50 * UNKNOWN_ERROR if creation failed for other reasons.
62 * UNKNOWN_ERROR if creation failed for other reasons.
73 * UNKNOWN_ERROR if the inquiry failed for other reasons.
85 * UNKNOWN_ERROR if creation failed for other reasons.
96 * UNKNOWN_ERROR if the inquiry failed for other reasons.
108 * UNKNOWN_ERROR if tuning failed for other reasons.
122 * UNKNOWN_ERROR if creation failed for other reasons.
138 * UNKNOWN_ERROR if creation failed for other reasons.
DIDvr.hal35 * UNKNOWN_ERROR if failed for other reasons.
49 * UNKNOWN_ERROR if failed for other reasons.
63 * UNKNOWN_ERROR if failed for other reasons.
77 * UNKNOWN_ERROR if failed for other reasons.
90 * UNKNOWN_ERROR if failed for other reasons.
103 * UNKNOWN_ERROR if failed for other reasons.
116 * UNKNOWN_ERROR if failed for other reasons.
130 * UNKNOWN_ERROR if failed for other reasons.
DILnb.hal40 * UNKNOWN_ERROR if callback setting failed for other reasons.
51 * UNKNOWN_ERROR if failed for other reasons.
62 * UNKNOWN_ERROR if failed for other reasons.
73 * UNKNOWN_ERROR if failed for other reasons.
91 * UNKNOWN_ERROR if failed for other reasons.
99 * Calls to any other method after this will return an error
103 * UNKNOWN_ERROR if failed for other reasons.
/hardware/interfaces/identity/support/include/cppbor/
Dcppbor.h129 bool operator==(const Item& other) const&;
130 bool operator!=(const Item& other) const& { return !(*this == other); }
204 bool operator==(const Int& other) const& { return value() == other.value(); }
220 bool operator==(const Uint& other) const& { return mValue == other.mValue; }
258 bool operator==(const Nint& other) const& { return mValue == other.mValue; }
313 bool operator==(const Bstr& other) const& { return mValue == other.mValue; }
363 bool operator==(const Tstr& other) const& { return mValue == other.mValue; }
391 bool operator==(const CompoundItem& other) const&;
424 Array(const Array& other) = delete;
469 Map(const Map& other) = delete;
[all …]
/hardware/google/av/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
DComponent.h130 bool operator<(const InterfaceKey& other) const {
132 (other.isRemote ?
136 other.remote.unsafe_get()) :
139 (other.isRemote ?
145 other.local.unsafe_get()));
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DTriState.h28 TriState(const TriState<T> &other) : mIsSet(other.mIsSet), mValue(other.mValue) { } in TriState() argument
49 TriState<T>& operator=(const TriState<T> &other) {
50 mIsSet = other.mIsSet;
51 mValue = other.mValue;

12345678910>>...15