HomeSort by relevance Sort by last modified time
    Searched refs:rhs (Results 26 - 50 of 3392) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
optional_U.pass.cpp 14 // optional(optional<U>&& rhs);
27 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);
68 optional<short> rhs; local
69 test<int>(std::move(rhs));
72 optional<short> rhs(short{3});
73 test<int>(std::move(rhs));
76 optional<int> rhs; local
84 optional<int> rhs; local
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/complex.number/complex.ops/
complex_equals_scalar.pass.cpp 14 // operator==(const complex<T>& lhs, const T& rhs);
28 constexpr T rhs(-2.5);
29 static_assert(!(lhs == rhs), "");
33 constexpr T rhs(-2.5);
34 static_assert(!(lhs == rhs), "");
38 constexpr T rhs(1.5);
39 static_assert(!(lhs == rhs), "");
43 constexpr T rhs(1.5);
44 static_assert( (lhs == rhs), "");
55 T rhs(-2.5)
    [all...]
complex_not_equals_scalar.pass.cpp 14 // operator!=(const complex<T>& lhs, const T& rhs);
28 constexpr T rhs(-2.5);
29 static_assert(lhs != rhs, "");
33 constexpr T rhs(-2.5);
34 static_assert(lhs != rhs, "");
38 constexpr T rhs(1.5);
39 static_assert(lhs != rhs, "");
43 constexpr T rhs(1.5);
44 static_assert( !(lhs != rhs), "");
55 T rhs(-2.5)
    [all...]
scalar_equals_complex.pass.cpp 14 // operator==(const T& lhs, const complex<T>& rhs);
28 constexpr std::complex<T> rhs(1.5, 2.5);
29 static_assert(!(lhs == rhs), "");
33 constexpr std::complex<T> rhs(1.5, 0);
34 static_assert(!(lhs == rhs), "");
38 constexpr std::complex<T> rhs(1.5, 2.5);
39 static_assert(!(lhs == rhs), "");
43 constexpr std::complex<T> rhs(1.5, 0);
44 static_assert(lhs == rhs, "");
55 std::complex<T> rhs(1.5, 2.5)
    [all...]
scalar_not_equals_complex.pass.cpp 14 // operator!=(const T& lhs, const complex<T>& rhs);
28 constexpr std::complex<T> rhs(1.5, 2.5);
29 static_assert (lhs != rhs, "");
33 constexpr std::complex<T> rhs(1.5, 0);
34 static_assert (lhs != rhs, "");
38 constexpr std::complex<T> rhs(1.5, 2.5);
39 static_assert (lhs != rhs, "");
43 constexpr std::complex<T> rhs(1.5, 0);
44 static_assert (!(lhs != rhs), "");
55 std::complex<T> rhs(1.5, 2.5)
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/optional/optional.object/optional.object.ctor/
optional_U.pass.cpp 14 // optional(optional<U>&& rhs);
27 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);
68 optional<short> rhs; local
69 test<int>(std::move(rhs));
72 optional<short> rhs(short{3});
73 test<int>(std::move(rhs));
76 optional<int> rhs; local
84 optional<int> rhs; local
    [all...]
  /prebuilts/ndk/r16/sources/android/ndk_helper/
vecmath.h 79 Vec2 operator*( const Vec2& rhs ) const
82 ret.x_ = x_ * rhs.x_;
83 ret.y_ = y_ * rhs.y_;
87 Vec2 operator/( const Vec2& rhs ) const
90 ret.x_ = x_ / rhs.x_;
91 ret.y_ = y_ / rhs.y_;
95 Vec2 operator+( const Vec2& rhs ) const
98 ret.x_ = x_ + rhs.x_;
99 ret.y_ = y_ + rhs.y_;
103 Vec2 operator-( const Vec2& rhs ) cons
    [all...]
  /external/icu/icu4c/source/i18n/
digitinterval.cpp 16 void DigitInterval::expandToContain(const DigitInterval &rhs) {
17 if (fSmallestInclusive > rhs.fSmallestInclusive) {
18 fSmallestInclusive = rhs.fSmallestInclusive;
20 if (fLargestExclusive < rhs.fLargestExclusive) {
21 fLargestExclusive = rhs.fLargestExclusive;
25 void DigitInterval::shrinkToFitWithin(const DigitInterval &rhs) {
26 if (fSmallestInclusive < rhs.fSmallestInclusive) {
27 fSmallestInclusive = rhs.fSmallestInclusive;
29 if (fLargestExclusive > rhs.fLargestExclusive) {
30 fLargestExclusive = rhs.fLargestExclusive
    [all...]
  /frameworks/base/tools/split-select/
SplitDescription.h 34 int compare(const SplitDescription& rhs) const;
35 inline bool operator<(const SplitDescription& rhs) const;
36 inline bool operator==(const SplitDescription& rhs) const;
37 inline bool operator!=(const SplitDescription& rhs) const;
50 bool SplitDescription::operator<(const SplitDescription& rhs) const {
51 return compare(rhs) < 0;
54 bool SplitDescription::operator==(const SplitDescription& rhs) const {
55 return compare(rhs) == 0;
58 bool SplitDescription::operator!=(const SplitDescription& rhs) const {
59 return compare(rhs) != 0
    [all...]
  /external/clang/test/PCH/
cxx-typeid.h 13 bool operator==(const type_info& rhs) const;
14 bool operator!=(const type_info& rhs) const;
16 bool before(const type_info& rhs) const;
20 type_info(const type_info& rhs);
21 type_info& operator=(const type_info& rhs);
  /system/bt/service/common/bluetooth/
advertise_settings.cc 35 bool AdvertiseSettings::operator==(const AdvertiseSettings& rhs) const {
36 if (mode_ != rhs.mode_) return false;
38 if (timeout_ != rhs.timeout_) return false;
40 if (tx_power_level_ != rhs.tx_power_level_) return false;
42 if (connectable_ != rhs.connectable_) return false;
  /external/clang/test/Analysis/
ptr-arith.c 68 // LHS is a label, RHS is NULL
74 // LHS is a non-symbolic value, RHS is NULL
80 // LHS is NULL, RHS is non-symbolic
86 // LHS is a symbolic value, RHS is NULL
92 // LHS is NULL, RHS is a symbolic value
171 void use_symbols(int *lhs, int *rhs) {
172 clang_analyzer_eval(lhs < rhs); // expected-warning{{UNKNOWN}}
173 if (lhs < rhs)
175 clang_analyzer_eval(lhs < rhs); // expected-warning{{FALSE}}
177 clang_analyzer_eval(lhs - rhs); // expected-warning{{UNKNOWN}
    [all...]
  /art/test/ti-agent/
scoped_utf_chars.h 41 ScopedUtfChars(ScopedUtfChars&& rhs) :
42 env_(rhs.env_), string_(rhs.string_), utf_chars_(rhs.utf_chars_) {
43 rhs.env_ = nullptr;
44 rhs.string_ = nullptr;
45 rhs.utf_chars_ = nullptr;
54 ScopedUtfChars& operator=(ScopedUtfChars&& rhs) {
55 if (this != &rhs) {
59 // Move the rhs ScopedUtfChars and zero it out
    [all...]
  /frameworks/base/tools/aapt2/jni/
ScopedUtfChars.h 35 ScopedUtfChars(ScopedUtfChars&& rhs) :
36 env_(rhs.env_), string_(rhs.string_), utf_chars_(rhs.utf_chars_) {
37 rhs.env_ = nullptr;
38 rhs.string_ = nullptr;
39 rhs.utf_chars_ = nullptr;
48 ScopedUtfChars& operator=(ScopedUtfChars&& rhs) {
49 if (this != &rhs) {
53 // Move the rhs ScopedUtfChars and zero it out
    [all...]
  /libnativehelper/header_only_include/nativehelper/
scoped_utf_chars.h 45 ScopedUtfChars(ScopedUtfChars&& rhs) :
46 env_(rhs.env_), string_(rhs.string_), utf_chars_(rhs.utf_chars_) {
47 rhs.env_ = nullptr;
48 rhs.string_ = nullptr;
49 rhs.utf_chars_ = nullptr;
58 ScopedUtfChars& operator=(ScopedUtfChars&& rhs) {
59 if (this != &rhs) {
63 // Move the rhs ScopedUtfChars and zero it out
    [all...]
  /frameworks/native/libs/ui/include/ui/
Region.h 40 Region(const Region& rhs);
41 explicit Region(const Rect& rhs);
46 Region& operator = (const Region& rhs);
65 Region& orSelf(const Rect& rhs);
66 Region& xorSelf(const Rect& rhs);
67 Region& andSelf(const Rect& rhs);
68 Region& subtractSelf(const Rect& rhs);
71 Region& orSelf(const Region& rhs);
72 Region& xorSelf(const Region& rhs);
73 Region& andSelf(const Region& rhs);
    [all...]
  /frameworks/base/libs/androidfw/include/androidfw/
TypeWrappers.h 30 iterator& operator=(const iterator& rhs) {
31 mTypeVariant = rhs.mTypeVariant;
32 mIndex = rhs.mIndex;
36 bool operator==(const iterator& rhs) const {
37 return mTypeVariant == rhs.mTypeVariant && mIndex == rhs.mIndex;
40 bool operator!=(const iterator& rhs) const {
41 return mTypeVariant != rhs.mTypeVariant || mIndex != rhs.mIndex;
  /system/netd/server/binder/android/net/
UidRange.h 60 friend bool operator<(const UidRange& lhs, const UidRange& rhs) {
61 return lhs.mStart != rhs.mStart ? (lhs.mStart < rhs.mStart) : (lhs.mStop < rhs.mStop);
64 friend bool operator==(const UidRange& lhs, const UidRange& rhs) {
65 return (lhs.mStart == rhs.mStart && lhs.mStop == rhs.mStop);
68 friend bool operator!=(const UidRange& lhs, const UidRange& rhs) {
69 return !(lhs == rhs);
  /system/security/keystore/include/keystore/
keystore_return_types.h 71 inline bool operator==(const ResponseCode& rhs) const {
72 return (rhs == ResponseCode::NO_ERROR &&
74 errorCode_ == int32_t(rhs);
76 inline bool operator==(const ErrorCode& rhs) const {
77 return (rhs == ErrorCode::OK &&
79 errorCode_ == int32_t(rhs);
81 inline bool operator!=(const ResponseCode& rhs) const { return !(*this == rhs); }
82 inline bool operator!=(const ErrorCode& rhs) const { return !(*this == rhs); }
    [all...]
  /external/libcxx/test/std/numerics/complex.number/complex.ops/
complex_minus_scalar.pass.cpp 14 // operator-(const complex<T>& lhs, const T& rhs);
21 test(const std::complex<T>& lhs, const T& rhs, std::complex<T> x)
23 assert(lhs - rhs == x);
32 T rhs(3.5);
34 test(lhs, rhs, x);
38 T rhs(-3.5);
40 test(lhs, rhs, x);
complex_plus_scalar.pass.cpp 14 // operator+(const complex<T>& lhs, const T& rhs);
21 test(const std::complex<T>& lhs, const T& rhs, std::complex<T> x)
23 assert(lhs + rhs == x);
32 T rhs(3.5);
34 test(lhs, rhs, x);
38 T rhs(-3.5);
40 test(lhs, rhs, x);
scalar_minus_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);
32 std::complex<T> rhs(3.5, 4.5);
34 test(lhs, rhs, x);
38 std::complex<T> rhs(-3.5, 4.5);
40 test(lhs, rhs, x);
scalar_plus_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);
32 std::complex<T> rhs(3.5, 4.5);
34 test(lhs, rhs, x);
38 std::complex<T> rhs(-3.5, 4.5);
40 test(lhs, rhs, x);
  /external/libcxx/test/support/
private_constructor.hpp 24 bool operator < ( const PrivateConstructor &lhs, const PrivateConstructor &rhs ) { return lhs.get() < rhs.get(); }
26 bool operator < ( const PrivateConstructor &lhs, int rhs ) { return lhs.get() < rhs; }
27 bool operator < ( int lhs, const PrivateConstructor &rhs ) { return lhs < rhs.get(); }
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/optional/optional.object/optional.object.ctor/
copy.pass.cpp 13 // optional(const optional<T>& rhs);
25 test(const optional<T>& rhs, bool is_going_to_throw = false)
27 bool rhs_engaged = static_cast<bool>(rhs);
35 optional<T> lhs = rhs;
39 assert(*lhs == *rhs);
91 optional<T> rhs; local
92 test(rhs);
96 optional<T> rhs(3);
97 test(rhs);
101 optional<T> rhs(3)
106 optional<T> rhs; local
121 optional<T> rhs; local
131 optional<T> rhs; local
    [all...]

Completed in 715 milliseconds

12 3 4 5 6 7 8 91011>>