Home
last modified time | relevance | path

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

/libnativehelper/header_only_include/nativehelper/
Dscoped_utf_chars.h45 ScopedUtfChars(ScopedUtfChars&& rhs) noexcept : in ScopedUtfChars() argument
46 env_(rhs.env_), string_(rhs.string_), utf_chars_(rhs.utf_chars_) { in ScopedUtfChars()
47 rhs.env_ = nullptr; in ScopedUtfChars()
48 rhs.string_ = nullptr; in ScopedUtfChars()
49 rhs.utf_chars_ = nullptr; in ScopedUtfChars()
58 ScopedUtfChars& operator=(ScopedUtfChars&& rhs) noexcept {
59 if (this != &rhs) {
64 env_ = rhs.env_;
65 string_ = rhs.string_;
66 utf_chars_ = rhs.utf_chars_;
[all …]
/libnativehelper/platform_include/nativehelper/detail/
Dsignature_checker.h130 operator==(const ConstexprStringView& lhs, const ConstexprStringView& rhs) {
131 if (lhs.size() != rhs.size()) {
135 if (lhs[i] != rhs[i]) {
143 operator!=(const ConstexprStringView& lhs, const ConstexprStringView& rhs) {
144 return !(lhs == rhs);
344 operator==(const ConstexprOptional<T>& lhs, const ConstexprOptional<T>& rhs) {
345 if (lhs && rhs) {
346 return lhs.value() == rhs.value();
348 return lhs.has_value() == rhs.has_value();
353 operator!=(const ConstexprOptional<T>& lhs, const ConstexprOptional<T>& rhs) {
[all …]
/libnativehelper/tests/
DJniSafeRegisterNativeMethods_test.cpp477 #define EXPECT_CONSTEXPR_EQ(lhs, rhs) \ argument
479 constexpr auto rhs_val = (rhs); \
480 EXPECT_EQ(lhs_val, rhs_val) << "LHS: " << #lhs << ", RHS: " << #rhs; \