/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/complex.number/complex.ops/ |
scalar_times_complex.pass.cpp | 14 // operator*(const T& lhs, const complex<T>& rhs); 21 test(const T& lhs, const std::complex<T>& rhs, std::complex<T> x) 23 assert(lhs * rhs == x); 31 std::complex<T> rhs(1.5, 2.5); 33 test(lhs, rhs, x);
|
/system/bt/service/common/bluetooth/ |
scan_result.cc | 31 bool ScanResult::operator==(const ScanResult& rhs) const { 32 if (device_address_ != rhs.device_address_) return false; 34 if (scan_record_ != rhs.scan_record_) return false; 36 if (rssi_ != rhs.rssi_) return false;
|
scan_settings.cc | 39 bool ScanSettings::operator==(const ScanSettings& rhs) const { 40 if (mode_ != rhs.mode_) return false; 42 if (callback_type_ != rhs.callback_type_) return false; 44 if (result_type_ != rhs.result_type_) return false; 46 if (report_delay_ms_ != rhs.report_delay_ms_) return false; 48 if (match_mode_ != rhs.match_mode_) return false; 50 if (match_count_per_filter_ != rhs.match_count_per_filter_) return false;
|
/external/icu/icu4c/source/i18n/ |
dcfmtimp.h | 33 DecimalFormatInternal &operator=(const DecimalFormatInternal& rhs) { 34 fFastParseStatus = rhs.fFastParseStatus; 35 fFastFormatStatus = rhs.fFastFormatStatus;
|
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ |
explicit_optional_U.pass.cpp | 14 // explicit optional(optional<U>&& rhs); 26 test(optional<U>&& rhs, bool is_going_to_throw = false) 29 bool rhs_engaged = static_cast<bool>(rhs); 33 optional<T> lhs(std::move(rhs)); 43 optional<T> lhs(std::move(rhs)); 69 optional<int> rhs; local 70 test<X>(std::move(rhs)); 73 optional<int> rhs(3); 74 test<X>(std::move(rhs)); 77 optional<int> rhs; local [all...] |
explicit_const_optional_U.pass.cpp | 14 // explicit optional(const optional<U>& rhs); 26 test(const optional<U>& rhs, bool is_going_to_throw = false) 29 bool rhs_engaged = static_cast<bool>(rhs); 33 optional<T> lhs(rhs); 37 assert(*lhs == T(*rhs)); 45 optional<T> lhs(rhs); 48 assert(*lhs == T(*rhs)); 88 optional<U> rhs; local 89 test<T>(rhs); 94 optional<U> rhs(3) 100 optional<U> rhs; local 112 optional<U> rhs; local [all...] |
/hardware/interfaces/confirmationui/support/src/ |
confirmationui_utils.cpp | 25 bool operator==(const ByteBufferProxy& lhs, const ByteBufferProxy& rhs) { 26 if (lhs.size() == rhs.size()) { 28 auto rhsi = rhs.begin();
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/optional/optional.object/optional.object.ctor/ |
explicit_optional_U.pass.cpp | 14 // explicit optional(optional<U>&& rhs); 26 test(optional<U>&& rhs, bool is_going_to_throw = false) 29 bool rhs_engaged = static_cast<bool>(rhs); 33 optional<T> lhs(std::move(rhs)); 43 optional<T> lhs(std::move(rhs)); 69 optional<int> rhs; local 70 test<X>(std::move(rhs)); 73 optional<int> rhs(3); 74 test<X>(std::move(rhs)); 77 optional<int> rhs; local [all...] |
explicit_const_optional_U.pass.cpp | 14 // explicit optional(const optional<U>& rhs); 26 test(const optional<U>& rhs, bool is_going_to_throw = false) 29 bool rhs_engaged = static_cast<bool>(rhs); 33 optional<T> lhs(rhs); 37 assert(*lhs == T(*rhs)); 45 optional<T> lhs(rhs); 48 assert(*lhs == T(*rhs)); 88 optional<U> rhs; local 89 test<T>(rhs); 94 optional<U> rhs(3) 100 optional<U> rhs; local 112 optional<U> rhs; local [all...] |
/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
PVRTVector.cpp | 51 @Input rhs a PVRTMat3 55 PVRTVec3 PVRTVec3::operator*(const PVRTMat3& rhs) const 59 out.x = VERTTYPEMUL(x,rhs.f[0])+VERTTYPEMUL(y,rhs.f[1])+VERTTYPEMUL(z,rhs.f[2]); 60 out.y = VERTTYPEMUL(x,rhs.f[3])+VERTTYPEMUL(y,rhs.f[4])+VERTTYPEMUL(z,rhs.f[5]); 61 out.z = VERTTYPEMUL(x,rhs.f[6])+VERTTYPEMUL(y,rhs.f[7])+VERTTYPEMUL(z,rhs.f[8]) [all...] |
/external/v8/src/base/ |
bits.cc | 28 int32_t SignedMulHigh32(int32_t lhs, int32_t rhs) { 29 int64_t const value = static_cast<int64_t>(lhs) * static_cast<int64_t>(rhs); 34 int32_t SignedMulHighAndAdd32(int32_t lhs, int32_t rhs, int32_t acc) { 36 bit_cast<uint32_t>(SignedMulHigh32(lhs, rhs))); 40 int32_t SignedDiv32(int32_t lhs, int32_t rhs) { 41 if (rhs == 0) return 0; 42 if (rhs == -1) return -lhs; 43 return lhs / rhs; 47 int32_t SignedMod32(int32_t lhs, int32_t rhs) { 48 if (rhs == 0 || rhs == -1) return 0 [all...] |
/external/drm_hwcomposer/ |
autofd.h | 29 UniqueFd(UniqueFd &&rhs) { 30 fd_ = rhs.fd_; 31 rhs.fd_ = -1; 34 UniqueFd &operator=(UniqueFd &&rhs) { 35 Set(rhs.Release()); 75 OutputFd(OutputFd &&rhs) { 76 fd_ = rhs.fd_; 77 rhs.fd_ = NULL; 80 OutputFd &operator=(OutputFd &&rhs) { 81 fd_ = rhs.fd_ [all...] |
/external/libbrillo/brillo/ |
any.cc | 14 Any::Any(const Any& rhs) : data_buffer_(rhs.data_buffer_) { 18 Any::Any(Any&& rhs) : data_buffer_(std::move(rhs.data_buffer_)) { 24 Any& Any::operator=(const Any& rhs) { 25 data_buffer_ = rhs.data_buffer_; 30 Any& Any::operator=(Any&& rhs) { 31 data_buffer_ = std::move(rhs.data_buffer_); 35 bool Any::operator==(const Any& rhs) const { 37 if (strcmp(GetTypeTagInternal(), rhs.GetTypeTagInternal()) != 0 [all...] |
/external/webrtc/webrtc/system_wrappers/include/ |
tick_util.h | 65 // Returns a TickInterval that is the difference in ticks beween rhs and lhs. 66 friend TickInterval operator-(const TickTime& lhs, const TickTime& rhs); 85 const TickInterval& rhs); 86 TickInterval& operator+=(const TickInterval& rhs); 88 // Returns a TickInterval corresponding to rhs - lhs. 90 const TickInterval& rhs); 91 TickInterval& operator-=(const TickInterval& rhs); 93 friend bool operator>(const TickInterval& lhs, const TickInterval& rhs); 94 friend bool operator<=(const TickInterval& lhs, const TickInterval& rhs); 95 friend bool operator<(const TickInterval& lhs, const TickInterval& rhs); [all...] |
/bionic/tools/versioner/src/ |
DeclarationDatabase.h | 54 bool operator==(const AvailabilityValues& rhs) const { 56 std::tie(rhs.introduced, rhs.deprecated, rhs.obsoleted); 59 bool operator!=(const AvailabilityValues& rhs) const { 60 return !(*this == rhs); 84 bool operator==(const DeclarationAvailability& rhs) const { 86 std::tie(rhs.global_availability, rhs.arch_availability); 89 bool operator!=(const DeclarationAvailability& rhs) const [all...] |
/external/swiftshader/src/Reactor/ |
Nucleus.hpp | 73 static Value *createAdd(Value *lhs, Value *rhs); 74 static Value *createSub(Value *lhs, Value *rhs); 75 static Value *createMul(Value *lhs, Value *rhs); 76 static Value *createUDiv(Value *lhs, Value *rhs); 77 static Value *createSDiv(Value *lhs, Value *rhs); 78 static Value *createFAdd(Value *lhs, Value *rhs); 79 static Value *createFSub(Value *lhs, Value *rhs); 80 static Value *createFMul(Value *lhs, Value *rhs); 81 static Value *createFDiv(Value *lhs, Value *rhs); 82 static Value *createURem(Value *lhs, Value *rhs); [all...] |
/frameworks/base/tools/aapt2/util/ |
Maybe.h | 44 Maybe(const Maybe& rhs); 47 Maybe(const Maybe<U>& rhs); // NOLINT(implicit) 49 Maybe(Maybe&& rhs); 52 Maybe(Maybe<U>&& rhs); // NOLINT(implicit) 54 Maybe& operator=(const Maybe& rhs); 57 Maybe& operator=(const Maybe<U>& rhs); 59 Maybe& operator=(Maybe&& rhs); 62 Maybe& operator=(Maybe<U>&& rhs); 99 Maybe& copy(const Maybe<U>& rhs); 102 Maybe& move(Maybe<U>&& rhs); [all...] |
/external/libchrome/base/ |
version_unittest.cc | 91 const char* rhs; member in struct:__anon24443::version_compare 109 base::Version rhs(cases[i].rhs); 110 EXPECT_EQ(lhs.CompareTo(rhs), cases[i].expected) << 111 cases[i].lhs << " ? " << cases[i].rhs; 116 EXPECT_LT(lhs, rhs); 117 EXPECT_LE(lhs, rhs); 118 EXPECT_NE(lhs, rhs); 119 EXPECT_FALSE(lhs == rhs); 120 EXPECT_FALSE(lhs >= rhs); [all...] |
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
IndexRangeCache.h | 77 bool operator<(const IndexRangeKey& rhs) const { 79 size_t start_other = rhs.offset; 81 size_t end_other = rhs.offset + rhs.count * glSizeof(rhs.type); 87 if (type != rhs.type) return type < rhs.type; 88 if (count != rhs.count) return count < rhs.count; 89 if (primitiveRestartEnabled != rhs.primitiveRestartEnabled [all...] |
/external/google-breakpad/src/common/windows/ |
omap_internal.h | 78 int Compare(const AddressRange& rhs) const; 79 bool operator<(const AddressRange& rhs) const { return Compare(rhs) == -1; } 80 bool operator>(const AddressRange& rhs) const { return Compare(rhs) == 1; } 83 bool operator==(const AddressRange& rhs) const { 84 return rva == rhs.rva && length == rhs.length; 86 bool operator!=(const AddressRange& rhs) const { return !((*this) == rhs); } [all...] |
/frameworks/base/tools/aapt2/ |
Resource.h | 111 ResourceNameRef(const ResourceName& rhs); // NOLINT(implicit) 113 ResourceNameRef& operator=(const ResourceNameRef& rhs) = default; member in struct:aapt::ResourceNameRef 114 ResourceNameRef& operator=(ResourceNameRef&& rhs) = default; member in struct:aapt::ResourceNameRef 115 ResourceNameRef& operator=(const ResourceName& rhs); 141 ResourceId(const ResourceId& rhs); 224 inline ResourceId::ResourceId(const ResourceId& rhs) : id(rhs.id) {} 251 inline bool operator<(const ResourceId& lhs, const ResourceId& rhs) { 252 return lhs.id < rhs.id; 255 inline bool operator>(const ResourceId& lhs, const ResourceId& rhs) { [all...] |
/external/libcxx/src/ |
ios.cpp | 301 ios_base::copyfmt(const ios_base& rhs) 309 if (__event_cap_ < rhs.__event_size_) 311 size_t newesize = sizeof(event_callback) * rhs.__event_size_; 318 size_t newisize = sizeof(int) * rhs.__event_size_; 325 if (__iarray_cap_ < rhs.__iarray_size_) 327 size_t newsize = sizeof(long) * rhs.__iarray_size_; 334 if (__parray_cap_ < rhs.__parray_size_) 336 size_t newsize = sizeof(void*) * rhs.__parray_size_; 344 __fmtflags_ = rhs.__fmtflags_; 345 __precision_ = rhs.__precision_ [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/src/ |
ios.cpp | 304 ios_base::copyfmt(const ios_base& rhs) 312 if (__event_cap_ < rhs.__event_size_) 314 size_t newesize = sizeof(event_callback) * rhs.__event_size_; 321 size_t newisize = sizeof(int) * rhs.__event_size_; 328 if (__iarray_cap_ < rhs.__iarray_size_) 330 size_t newsize = sizeof(long) * rhs.__iarray_size_; 337 if (__parray_cap_ < rhs.__parray_size_) 339 size_t newsize = sizeof(void*) * rhs.__parray_size_; 347 __fmtflags_ = rhs.__fmtflags_; 348 __precision_ = rhs.__precision_ [all...] |
/prebuilts/ndk/r16/sources/android/ndk_helper/ |
vecmath.cpp | 38 Vec4 Vec4::operator*( const Mat4& rhs ) const 41 out.x_ = x_ * rhs.f_[0] + y_ * rhs.f_[1] + z_ * rhs.f_[2] + w_ * rhs.f_[3]; 42 out.y_ = x_ * rhs.f_[4] + y_ * rhs.f_[5] + z_ * rhs.f_[6] + w_ * rhs.f_[7]; 43 out.z_ = x_ * rhs.f_[8] + y_ * rhs.f_[9] + z_ * rhs.f_[10] + w_ * rhs.f_[11] [all...] |
/developers/build/prebuilts/gradle/Camera2Video/kotlinApp/Application/src/main/java/com/example/android/camera2video/ |
CompareSizesByArea.kt | 28 override fun compare(lhs: Size, rhs: Size) = 29 signum(lhs.width.toLong() * lhs.height - rhs.width.toLong() * rhs.height)
|