Lines Matching refs:ScopedRef
130 class ScopedRef {
132 ScopedRef() : ptr_(nullptr, Deleter(nullptr)) {} in ScopedRef() function
133 ScopedRef(T value, Env* env) : ptr_(value, Deleter(env)) {} in ScopedRef() function
155 inline bool operator==(const ScopedRef<T, Env, Deleter>& x,
156 const ScopedRef<U, Env, Deleter>& y) {
161 inline bool operator==(const ScopedRef<T, Env, Deleter>& x, std::nullptr_t) {
166 inline bool operator==(std::nullptr_t, const ScopedRef<T, Env, Deleter>& x) {
171 inline bool operator!=(const ScopedRef<T, Env, Deleter>& x,
172 const ScopedRef<U, Env, Deleter>& y) {
177 inline bool operator!=(const ScopedRef<T, Env, Deleter>& x, std::nullptr_t) {
182 inline bool operator!=(std::nullptr_t, const ScopedRef<T, Env, Deleter>& x) {
187 inline bool operator<(const ScopedRef<T, Env, Deleter>& x,
188 const ScopedRef<U, Env, Deleter>& y) {
193 inline bool operator>(const ScopedRef<T, Env, Deleter>& x,
194 const ScopedRef<U, Env, Deleter>& y) {
202 using ScopedGlobalRef = ScopedRef<T, JavaVM, GlobalRefDeleter>;
207 using ScopedLocalRef = ScopedRef<T, JNIEnv, LocalRefDeleter>;