Searched refs:T (Results 1 – 8 of 8) sorted by relevance
24 template <typename T>26 enum { type_must_be_complete = sizeof(T) };28 void operator()(T* p) const { in operator()34 template <typename T>35 struct DefaultDelete<T[]> {36 enum { type_must_be_complete = sizeof(T) };37 void operator()(T* p) const {50 template <typename T, typename D = DefaultDelete<T> >54 explicit UniquePtr(T* ptr = NULL) : mPtr(ptr) {62 T& operator*() const { return *mPtr; }[all …]
26 template<typename T>29 ScopedLocalRef(JNIEnv* env, T localRef) : mEnv(env), mLocalRef(localRef) { in ScopedLocalRef()36 void reset(T ptr = NULL) {45 T release() __attribute__((warn_unused_result)) { in release()46 T localRef = mLocalRef; in release()51 T get() const { in get()57 T mLocalRef;
25 #define POINTER_TYPE(T) T* /* NOLINT */ argument31 #define REFERENCE_TYPE(T) T& /* NOLINT */ argument
40 template<typename T>43 explicit scoped_local_ref(C_JNIEnv* env, T localRef = NULL) in scoped_local_ref()52 void reset(T localRef = NULL) { in reset()59 T get() const { in get()65 T mLocalRef;
57 template<typename T> void UNUSED(const T&) {} in UNUSED() argument